|
POST
|
Don't know if it helps, but I tried to print the € in a field name like this? import arcpy
featureclass = r"YourPath2FC"
field_names = [f.name.encode("windows-1252") for f in arcpy.ListFields(featureclass)]
print (field_names)
for f in field_names:
print f.decode("windows-1252")
... View more
01-16-2023
05:07 AM
|
1
|
1
|
1606
|
|
POST
|
Hello there's a key: tunnel in the OpenStreetMap data: https://wiki.openstreetmap.org/wiki/DE:Key:tunnel Don't know if you can download this data through ESRI Sources ... ?
... View more
01-09-2023
09:44 PM
|
0
|
0
|
630
|
|
POST
|
could this help you: https://pro.arcgis.com/en/pro-app/latest/tool-reference/cartography/calculate-polygon-main-angle.htm
... View more
01-04-2023
11:23 PM
|
1
|
1
|
1093
|
|
POST
|
I think you will need python to do this - someone posted a solution here: https://gis.stackexchange.com/questions/34647/creating-lines-from-points-pair-coordinates-with-arcpy I tried the code of Chad Cooper there with four points with the old cursors ... it seems to work. Here is the code I used: import arcpy
fieldnames = ['X1', 'Y1', 'X2', 'Y2']
# Needed input/ output files
inExcel = r"YOURPATH\Points.xlsx"
FGDB = r"YOURPATH\Points2Lines.gdb"
outTable = "Coords"
outLines = "Lines"
arcpy.env.workspace = FGDB
arcpy.env.overwriteOutput = True
# Change to your Sheet name!
arcpy.conversion.ExcelToTable(inExcel, outTable, "Test")
in_rows = arcpy.SearchCursor(outTable)
point = arcpy.Point()
array = arcpy.Array()
# Without Spatial Reference, please change!
arcpy.CreateFeatureclass_management(FGDB, outLines, "POLYLINE")
featureList = []
cursor = arcpy.InsertCursor(outLines)
feat = cursor.newRow()
for in_row in in_rows:
# Set X and Y for start and end points
# Change here to your field names
point.X = in_row.X1
point.Y = in_row.Y1
array.add(point)
point.X = in_row.X2
point.Y = in_row.Y2
array.add(point)
# Create a Polyline object based on the array of points
polyline = arcpy.Polyline(array)
# Clear the array for future use
array.removeAll()
# Append to the list of Polyline objects
featureList.append(polyline)
# Insert the feature
feat.shape = polyline
cursor.insertRow(feat)
del feat
del cursor
... View more
01-04-2023
11:00 PM
|
1
|
1
|
3986
|
|
POST
|
If you are not happy with the proposed solutions maybe there is a way to create a profile table with python? Don't know if you use python? Some years ago XanderBakker wrote a script for profile graphs, perhaps it's possible to use this script to export excel tables with the profile data with 1m spacing? The script is here: https://community.esri.com/t5/python-documents/using-python-and-matplotlib-to-create-profile/ta-p/914055
... View more
01-04-2023
02:25 AM
|
0
|
0
|
1846
|
|
POST
|
Maybe you could try the snap tool? https://pro.arcgis.com/de/pro-app/latest/tool-reference/editing/snap.htm
... View more
01-03-2023
10:09 PM
|
0
|
0
|
792
|
|
POST
|
Sorry I did overread that you need a table, I think you could use this tool: https://pro.arcgis.com/en/pro-app/latest/tool-reference/3d-analyst/stack-profile.htm
... View more
01-03-2023
04:05 AM
|
1
|
2
|
1881
|
|
POST
|
could this help you? https://pro.arcgis.com/en/pro-app/latest/help/analysis/3d-analyst/interactively-create-a-profile-graph-with-digitized-lines-on-a-surface.htm
... View more
01-03-2023
02:27 AM
|
0
|
4
|
1914
|
|
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
|
1809
|
|
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
|
1486
|
|
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
|
1513
|
|
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
|
1525
|
|
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
|
1576
|
|
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
|
911
|
|
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
|
915
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-10-2025 08:08 AM | |
| 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 |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|