|
POST
|
can you login to your esri account? The link doesn't work, it is appearing as text only.
... View more
04-01-2020
04:04 AM
|
0
|
0
|
869
|
|
POST
|
David Pike in the comments of my post ...input with type Double
... View more
04-01-2020
03:53 AM
|
3
|
0
|
2940
|
|
POST
|
Are you retrieving your parameters in the toolbox using GetParameter or GetParameterAsText or sys.argv ? You need to check what the toolbox returns which is usually a text representation of the parameter. I have used some that you have mentioned and just perform the conversion in the script x = GetParameterAsText(3) # parameter is defined as required, input with type Double
try:
x = float(x) # ensure inputs can be cast
..... with the requisite check for errors on the humanware side.
... View more
03-31-2020
01:51 PM
|
1
|
0
|
2940
|
|
IDEA
|
hmmmm https://www.arcgis.com/home/item.html?id=df4bf75fc2414792b69cacd4f9c65596 I will have to add it to my Free Tools extension then /blogs/dan_patterson/2019/08/08/free-tools-polygons-to-lines-or-segments
... View more
03-31-2020
10:54 AM
|
0
|
1
|
2856
|
|
POST
|
webby stuff is usually in a Web Mercator projection
... View more
03-31-2020
09:09 AM
|
2
|
1
|
4272
|
|
POST
|
well I just finished 30+ years of teaching... so enjoy! I think the file size of 0 bytes is important and that i could repeat the selection that it is benign. The help files contain information on when a lock is an issue and for the most part, it is the "sharesies thing" with multiple people potentially using the same data. I also think python might be done with "arc stuff" when you delete it and it is garbage collected... but that doesn't mean that arc is done with python until you kill the python thread that is running then there is nothing left to hand on to.
... View more
03-31-2020
09:02 AM
|
0
|
0
|
1190
|
|
POST
|
Points To Line—Data Management toolbox | Documentation Split Line At Vertices—Data Management toolbox | Documentation Then a join of the point data back to the line might work IF! you have the appropriate license
... View more
03-31-2020
04:14 AM
|
1
|
0
|
2297
|
|
POST
|
FAQ: Why am I getting schema locks on shapefiles? effectively, the observations are as expected since they don't persist on process close
... View more
03-31-2020
12:01 AM
|
0
|
2
|
4888
|
|
POST
|
import arcpy
f = r"C:\Git_Dan\npgeom\Project_npg\npgeom.gdb\Polygons2"
res = arcpy.SelectLayerByAttribute_management(f, "NEW_SELECTION", '"OBJECTID" > 1')
res[0]
<arcpy._mp.Layer at 0x18f06bc35f8>
res[1]
'2'
res.getInput(0)
'C:\\Git_Dan\\npgeom\\Project_npg\\npgeom.gdb\\Polygons2'
res.getInput(1)
'NEW_SELECTION'
res.getOutput(0)
<arcpy._mp.Layer at 0x18f06bc5fd0>
res.cancel()
del res
Lock remained until the kernel was restarted. Project not opened, lock file had a size of 0 bytes. Delete_management did squat. del res killed it in python and wasn't available after line 24. So script or no script.... locks remain until the calling/using thread was terminated.. which sort of makes sense to me, just in case you might want to use the selection. clear_selection, cleared it, but produces another result (getting a headache) and the lock remained. Restarting the kernel killed the process and the lock went away (and I got coffee). Now what I didn't do was try Copy_management to save the result to disk to see if that freed the lock.
... View more
03-30-2020
09:04 PM
|
1
|
3
|
4888
|
|
POST
|
ArcGIS Desktop license types—ArcGIS Pro | Documentation example for single use... totally untried by me! A Single Use license can be transferred to a different machine used by a different individual by deauthorizing the license on the currently authorized machine and repeating the authorization process on the new machine. named user is easier An organization member who has been assigned an ArcGIS Pro license uses their ArcGIS Online or ArcGIS Enterprise account credentials to sign in to ArcGIS Pro. The member can sign in to the application on any machine on which it is installed (up to three machines at the same time).
... View more
03-30-2020
08:29 PM
|
1
|
0
|
2703
|
|
POST
|
Turn it into a script, run it. Python won't lock it, and if the lock is there it is a Pro issue. Also, dump the shapefile and try it with a featureclass in a gdb
... View more
03-30-2020
07:12 PM
|
0
|
1
|
4888
|
|
POST
|
hmmmm Select Layer By Location—Data Management toolbox | Documentation Determines how the selection will be applied to the input and how to combine it with an existing selection. Note that there is no option here to clear an existing selection. To clear a selection, use the CLEAR_SELECTION option on the Select Layer By Attribute tool. Since you are doing it line by line, why not whip in a Select Layer By Attribute—Data Management toolbox | Documentation with the above clearing the selection to see if that does anything I assume that you have Pro open when you are doing this, which may also be an issue.
... View more
03-30-2020
06:19 PM
|
0
|
3
|
4888
|
|
POST
|
Yes... but I don't know where those documents offhand. Got something to do with returning the thing to the place and uninstalling, then installing on the new machine. Never had to do it Good luck
... View more
03-30-2020
04:53 PM
|
0
|
0
|
2703
|
|
POST
|
sorry, nothing I can suggest... but if you can, there are good deals to be had... not much you can do,perhaps a static globe for now
... View more
03-30-2020
04:40 PM
|
0
|
2
|
2703
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-03-2017 11:39 AM | |
| 1 | 08-05-2019 05:21 PM | |
| 1 | 09-02-2016 08:05 AM | |
| 1 | 01-15-2018 01:10 PM | |
| 1 | 09-17-2018 12:48 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:22 AM
|