|
POST
|
Have you set the Parameter as Output and 'Derived'? Because you're saving to a known location, the tool doesn't have a traditional output to serve.
... View more
06-24-2020
12:23 PM
|
0
|
1
|
9423
|
|
POST
|
Hi, I'd probably investigate what the listlayers() is generating by throwing in a print statement. The cursor should accept a layer object as input, but maybe try layer.dataSource instead (look up the syntax as my capital letters are usually mixed up...). A final thought is that you may have to specify the dataframe object being passed into listlayers()
... View more
06-24-2020
04:31 AM
|
0
|
3
|
1409
|
|
POST
|
Again the indentation will put people off from helping you. How have you constructed this tool? Is it from a script or ModelBuilder? Your path to reference the dataset for CalculateField seems to be based upon the MapDocument being open and using the MapDocument = "Current" but I'm not too sure on the syntax being spat out by Pro here if I'm honest (my lack of knowledge more than anything). I would hazard however that you reference the full filepath to your dataset e.g. r"C:\MyGDB\Feature"
... View more
06-23-2020
03:04 PM
|
0
|
1
|
2510
|
|
POST
|
I would imagine the syntax error is in your Reclass(), I've looked at your reclass() code above and apart from struggling a bit with the indentation I can't see what the double-double quotes are for and why it's not erroring on those initially.
... View more
06-23-2020
01:38 PM
|
0
|
3
|
2510
|
|
POST
|
Hi Yusef, glad to hear it worked out. Using the 'Calculate Statistics' tool should do what you're looking for. Keep the skip factor at 1 for both x and y. I think the default statistics upon loading are done using a higher skip factor for speed.
... View more
06-23-2020
02:33 AM
|
2
|
1
|
4385
|
|
POST
|
Hi Yusef, something has gone wrong with your mosaic, there's no reason to be unbaking your 255 max value, and no guarantee they can be unbaked properly. can you show your mosaic workflow and what format the tiles were supplied in?
... View more
06-22-2020
01:33 PM
|
2
|
4
|
4385
|
|
POST
|
I have a collection of features which may or may not be registered with the sde geodatabase, Oracle 11g Is there a way to programmatically check where this is the case, other than right-clicking? Cheers.
... View more
06-22-2020
01:01 PM
|
0
|
0
|
478
|
|
POST
|
If your datasource is registered to the server it should update automatically.
... View more
06-22-2020
10:27 AM
|
0
|
0
|
918
|
|
POST
|
If it's in projected coordinate system you could do a field calculation with Pythagoras relatively easily: Distance = SQRT[ (X1-X2)^2 + (Y1-Y2)^2 ] but I would hazard that there's no need if you have these spatially located already. Also if you want to do geodesics you will have a lot of fun with the Haversine formula. I would convert your destination points to a separate feature class then run 'Generate Near Table'. If this isn't an option if you have thousands of points a script could use the 'Near' tool, run selections on each feature, generate scratch outputs then merge them back into one feature.
... View more
06-22-2020
08:05 AM
|
0
|
0
|
4385
|
|
POST
|
Hmmm, perhaps set the first 2 parameters as arcpy.GetParameter(0) and (1). I'd take a stab at the dependency not being set as no object is input, however this is just a hypothesis.
... View more
06-22-2020
07:38 AM
|
0
|
0
|
1828
|
|
POST
|
I'm not too sure of the constant parameter, can you not just have this as an input table parameter with the default set as that table, with a network path to the table?
... View more
06-21-2020
08:03 AM
|
0
|
1
|
1948
|
|
POST
|
Are is your data registered to the server as the Z:\ Drive? And do you have your connection for the SDE registered in the datastore?
... View more
06-21-2020
07:37 AM
|
0
|
3
|
1948
|
|
POST
|
What do you mean by App? You definitely don't want to reinvent the wheel in any case. ArcGIS Network Analyst | Overview
... View more
06-21-2020
02:59 AM
|
0
|
0
|
833
|
|
POST
|
I have no idea what I just read (or tried to read).
... View more
06-20-2020
03:50 AM
|
0
|
0
|
2645
|
|
POST
|
I believe this may be solved with Pro's transformation options psb blog from Heather Smith Projection on the fly and geographic transformations
... View more
06-19-2020
12:55 PM
|
0
|
0
|
2824
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-13-2025 01:08 PM | |
| 1 | 09-25-2025 03:19 PM | |
| 1 | 09-24-2025 02:35 PM | |
| 1 | 09-17-2025 02:42 PM | |
| 1 | 09-10-2025 02:35 PM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|