|
POST
|
https://www.explainxkcd.com/wiki/index.php/2180:_Spreadsheets
... View more
09-14-2020
06:20 PM
|
2
|
0
|
4256
|
|
POST
|
Joe... I didn't have any issues with the 2.6.1 upgrade. It didn't affect anything really important for python at all. I think it upgraded python to 3.6.10 (I upgraded to 3.6.12 after, I think), which is just security fixes. I also upgraded Spyder (4.1.5), numpy (1.19.1) and IPython without issues. The changelog is here Release notes for ArcGIS Pro 2.6—ArcGIS Pro | Documentation But if things go bad. conda list --revisions
conda install --revision N # N is the number of the good times PS, it is a good idea to do a conda list in your base and your clone to make sure that the versions of any important packages are on the same verison
... View more
09-14-2020
02:59 PM
|
1
|
0
|
1149
|
|
POST
|
Lance Cole from the Integrate help, you ruled out the suggestions in the Topology link? Topology basics—ArcMap | Documentation
... View more
09-14-2020
02:48 PM
|
0
|
0
|
1554
|
|
POST
|
Use one of the methods I suggested. Next time you should format the column as text before you put anything in it. Your column was formatted as numbers with a custom format. and hence wasn't text
... View more
09-14-2020
09:54 AM
|
3
|
1
|
6374
|
|
POST
|
Fixing the excel sheet would be easiest =TEXT(A2,"00#######") +"000" in cell C2, put in the above formula and copy it down the column In cell C1... Give it a name like Parcel_txt Or just do it in Pro using a field calculator function.... easy as 1, 2, 3
... View more
09-14-2020
03:27 AM
|
2
|
5
|
6374
|
|
POST
|
This is the type of issue... with a workaround ... that should be reported to Tech Support to have a case opened. You have identified that it worked in previous issues. You have provided a workaround. Tech support would be the ones that can associate it with other issues that are seemingly unrelated. Tech support can also test on a larger number of test cases to confirm whether it is data source and or type specific. Please, contact Tech Support and reference this thread, in case others weigh in.
... View more
09-13-2020
06:46 PM
|
1
|
1
|
2315
|
|
POST
|
# ---- indent the following by 4 spaces !!!!!
for root,dirs,files in os.walk(rootFolder):
for name in files:
if name.endswith(".shp"):
shpName = name #os.path.splitext(name)[0]
# absolute file path of shapefile river splits
absFile = os.path.abspath(os.path.join(rootFolder,shpName))
water_body_feature_class = absFile
# Process: Create Constant Raster
arcpy.gp.CreateConstantRaster_sa(
constant_raster_, "1", "FLOAT", DEM, water_body_feature_class)
# Process: Feature Vertices To Points
arcpy.FeatureVerticesToPoints_management(
water_body_feature_class, point_feature, "ALL")
# Process: Extract Multi Values to Points
arcpy.gp.ExtractMultiValuesToPoints_sa(
point_feature, DEM + ' ' +'elevation', 'NONE')
# Process: Summary Statistics
arcpy.Statistics_analysis(
point_feature_with_elevation, min_elevation, "elevation MIN", "")
# Process: Get Field Value
#arcpy.GetFieldValue_mb(min_elevation, "MIN_elevation", "Double", "0")
SC = arcpy.SearchCursor(min_elevation)
field_name = 'MIN_elevation'
for row in SC:
value=row.getValue(field_name)
# Process: Raster Calculator
rastercalc=arcpy.sa.Raster(constant_raster_)*float(value)
# Process: Extract by Mask (2)
WaterMask = arcpy.gp.ExtractByMask_sa(
rastercalc, water_body_feature_class)
arcpy.CopyRaster_management(
WaterMask,outputDir+"\\"+name.replace(".shp",'')+".img")
Print statements.... means throw some in so people can see the output that you are getting. Also, your rastercalculator would only process one value since lines 29 onward were improperly indented. I suspect the differences weren't due to Windows differences, but differences in copying and/or formatting from one machine to the other. Also... note my comment to indent all the lines above by 4 spaces and replace your "for..... " section to the end with the above... after you throw in some print statements to monitor output names etc.
... View more
09-12-2020
11:39 AM
|
0
|
0
|
2941
|
|
POST
|
ArcGIS API for Python | ArcGIS for Developers API Reference for the ArcGIS API for Python — arcgis 1.8.2 documentation Don't expect riveting examples in the help however
... View more
09-12-2020
11:24 AM
|
0
|
0
|
2754
|
|
POST
|
Scott... is this the tutorial you are referring to? Use deep learning to assess palm tree health | Learn ArcGIS Issues abound https://community.esri.com/search.jspa?q=palm-tree-health
... View more
09-12-2020
02:59 AM
|
0
|
2
|
2754
|
|
POST
|
Yes, that is what I said initially... nothing has changed since then https://community.esri.com/thread/259568-arcgis-server-1071-why-wgs-1984-web-mercator-auxiliary-sphere-is-compulsory-whe…
... View more
09-12-2020
02:34 AM
|
3
|
0
|
3010
|
|
POST
|
You have to cycle through the selection, A couple of print statements would make it apparent whether you are getting just the first or just the last
... View more
09-11-2020
04:14 PM
|
0
|
0
|
2300
|
|
POST
|
Just going by the help topics, so I presume you have gone through Replica—ArcGIS Pro | Documentation only to find you can list the properties ListReplicas—ArcGIS Pro | Documentation to see that everything in arcpy is readonly You might want to check out some of these ArcGIS Ideas Unregister Replication via Arcpy and ArcToolbox Tool looks like what you want The rest of the tools in Arctoolbox don't seem to fit what you need specifically Unregister Replica (Data Management)—ArcGIS Pro | Documentation
... View more
09-11-2020
03:11 PM
|
1
|
1
|
2084
|
|
POST
|
tiny steps... tiny steps... you still didn't get the crucial line correct for row in cursor should be for row in cursor:
... View more
09-11-2020
02:27 PM
|
1
|
2
|
2648
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a week ago | |
| 1 | 4 weeks ago | |
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago |