POST
|
In addition, if you want to count the number of overlapping sub_strings in your string, maybe this could work: string = 'ABCDCDC'
sub_string = 'CDC'
results = 0
sub_len = len(sub_string)
for i in range(len(string)):
if string[i:i+sub_len] == sub_string:
results += 1
print (results) source: https://stackoverflow.com/questions/8899905/count-number-of-occurrences-of-a-substring-in-a-string#comment50169124_8900059
... View more
01-02-2023
11:27 PM
|
0
|
0
|
1486
|
POST
|
There's an answer from ESRI. I've edited the 3D object in the wrong coordinate system (WGS 1984 Web Mercator (auxiliary sphere)) which causes the wrong measurements.
... View more
11-16-2022
10:25 PM
|
0
|
0
|
1107
|
POST
|
Thank you for your help and I've invited you. I think the size of the half cylinder now look similar to ArcGIS Pro, only the measurement tool result in different meters?
... View more
11-03-2022
07:38 AM
|
0
|
0
|
1134
|
POST
|
Unfortunately I can't share it here in geonet. In addition I have delete the hole scene. But I could recreate it. Maybe there is a way to share it with you personaly?
... View more
11-03-2022
06:50 AM
|
0
|
2
|
1146
|
POST
|
Hello, I've a problem with the measure tool in ArcGIS online. I exported a ArcGIS Pro (2.9.3) Scene to ArcGIS online and put the scene in the experience builder. In the scene there is a 3D cylinder with a hight of 450m and a diameter of 1000m. But in the experience builder I can only measure a diameter of 650m instead of 1000m? See attached images ... Any ideas what could be the problem?
... View more
11-03-2022
12:54 AM
|
0
|
5
|
1197
|
POST
|
If I use this it seems to work, convert to string: arcpy.management.AlterField(inFc, str(f.name), str(f.aliasName), str(f.aliasName)) Thank you JeffK for the hint with the legal field names ...
... View more
10-19-2022
06:49 AM
|
0
|
0
|
753
|
POST
|
Ah Ok, thank you for your answer. But it wasn't me who puts points in the field name, it is caused throught several arcpy.managment.AddJoin and then copy features processes .... so I don't know how to avoid the points?
... View more
10-19-2022
06:19 AM
|
0
|
0
|
757
|
POST
|
Hello, I try to rename the fields of a feature class with their alias name, but I get an error message ERROR 99999. I use notebook in ArcGIS PRo 2.9.3 Any ideas why? inFc = "A4_Moorkulisse_2022"
fields = arcpy.ListFields(inFc)
for f in fields:
print (f.name + " - " + f.aliasName)
if f.aliasName in ("OBJECTID", "SHAPE"):
continue
else:
arcpy.management.AlterField(inFc, f.name, f.aliasName, f.aliasName) print output: A4_Moorkulisse_2022.OBJECTID - OBJECTID A4_Moorkulisse_2022.SHAPE - SHAPE A4_Moorkulisse_2022.A3_Moorkulisse_2022_A2_Moorkulisse_2022_A1_Moorkulisse_2022_SP_R - Ref_Prozent ExecuteError: ERROR 999999: Beim Werkzeug ist ein unerwarteter Fehler aufgetreten. Wenden Sie sich an den technischen Support von Esri (http://esriurl.com/support), und ziehen Sie die Fehlerhilfe zu Rate, die Informationen zu möglichen Lösungen oder Problemumgehungen enthält.
Fehler beim Ausführen von (AlterField).
... View more
10-19-2022
05:17 AM
|
0
|
3
|
788
|
POST
|
Hello, I observe a small problem with the arcpy.SummarizeWithin_analysis in ArcGIS Pro 2.9.3. Somehow the Summarized area is bigger than the destination area of the polygon? 100,07 %? Not that much but ugly in the attribute table 🙂 What can be the reason? Both polygon feature classes have the same coord. system and both have no overlays as far as I can say? Is it a normal inaccuracy? Or is there something wrong with the geometries? GE_Kulisse = "Projektkulisse_2018"
polys = "A18_Moorkulisse_2022"
poly = GE_Kulisse
outFeatureClass = "A19_Moorkulisse_2022"
keepAll = 'KEEP_ALL'
sumFields = ""
addShapeSum = 'ADD_SHAPE_SUM'
groupField = ''
addMinMaj = ''
addPercents = ''
outTable = ''
arcpy.SummarizeWithin_analysis(polys, poly, outFeatureClass, keepAll,
sumFields, addShapeSum, 'METERS', groupField,
addMinMaj, addPercents, outTable)
... View more
10-19-2022
12:55 AM
|
0
|
0
|
375
|
POST
|
Maybe have a look here ... if you don't find it https://gis.stackexchange.com/questions/131132/how-to-create-a-missing-dbf-file-for-shapefile
... View more
09-15-2022
04:46 AM
|
0
|
0
|
2141
|
POST
|
I think for the first part of your question I would convert the raster to polygon, add a dissolve field with one value, do a dissolve on the polygons and then do a multipart to singlepart to be able to select the wanted group size of the polygons. This polygon feature class I would further use to "select/mask" all the wanted cells of the raster data or to use as input in the zonal statistic tool for the second part of your question? https://pro.arcgis.com/de/pro-app/2.8/tool-reference/spatial-analyst/extract-by-mask.htm https://pro.arcgis.com/de/pro-app/2.8/tool-reference/spatial-analyst/zonal-statistics.htm But the second part of your question I didn't really understand ...
... View more
09-15-2022
02:01 AM
|
0
|
0
|
1407
|
POST
|
Maybe the problem is the recording date. If I understand it right the tool tries to write the recording date of the foto in the attribute table ... has img1 a recording date? https://pro.arcgis.com/de/pro-app/latest/tool-reference/data-management/geotagged-photos-to-points.htm EDIT: no it's not the problem - the value is then "Null" of the date field - so I don't know ... btw I can convert both pictures to point but without the option "add photos as attachment" (don't have a advanced license)
... View more
09-14-2022
06:15 AM
|
1
|
0
|
5013
|
POST
|
Hallo, musst du nicht einfach auch die Wassereinzugsgebiete berechnen, für die Zuordnung zu den Strängen? https://pro.arcgis.com/de/pro-app/latest/tool-reference/spatial-analyst/how-stream-order-works.htm https://pro.arcgis.com/de/pro-app/latest/tool-reference/spatial-analyst/basin.htm
... View more
08-16-2022
11:35 PM
|
0
|
0
|
599
|
POST
|
Could it be some kind of refreshing problem and that you can't refresh the map/ catalog view programatically in pro? Don't know, maybe something to read: https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-arcpy-how-to-refresh-the-map/td-p/406325/page/3
... View more
08-10-2022
03:54 AM
|
0
|
1
|
2619
|
Title | Kudos | Posted |
---|---|---|
1 | 05-13-2025 05:05 AM | |
1 | 04-28-2025 03:40 AM | |
4 | 08-13-2024 10:49 PM | |
1 | 08-13-2024 09:52 PM | |
2 | 02-15-2024 07:44 AM |
Online Status |
Offline
|
Date Last Visited |
yesterday
|