|
POST
|
the only parameters are in input folder which contains the shp files and an output folder for where the merged gdb is placed Stu
... View more
01-09-2024
04:42 AM
|
0
|
0
|
1842
|
|
POST
|
i've been trying a few other ways like mergeing 5 files at a time but i now get this error i've even increased the field lengths and set the field map lengths to only use the first 50 characters (from my basic understanding)
... View more
01-08-2024
07:45 AM
|
0
|
0
|
1854
|
|
POST
|
fields = [
['LINENAME "LINENAME" true true false 100 Text 0 0,First,#,{0};', '{0},LINENAME,0,50'],
['LAUNCH "LAUNCH" true true false 100 Text 0 0,First,#,{0};', '{0},LAUNCH,0,50'],
['RECEIVER "RECEIVER" true true false 100 Text 0 0,First,#,{0};', '{0},RECEIVER,0,50'],
['PROJNO "PROJNO" true true false 100 Text 0 0,First,#,{0};', '{0},PROJNO,0,50'],
['INSPTYPE "INSPTYPE" true true false 100 Text 0 0,First,#,{0};', '{0},INSPTYPE,0,50'],
['INSPDATE "INSPDATE" true true false 100 Text 0 0,First,#,{0};', '{0},INSPDATE,0,50'],
]
fmap = ''
for fld in fields:
fm = []
for fc in r_plin:
fm.append(fld[1].format(fc))
fmap = fmap + fld[0].format(','.join(fm))
messages.addMessage(fmap)
#messages.addMessage(fieldMappings)
arcpy.Merge_management(inputs= r_plin,output="C:/tmp.gdb/tmp_Polyline2",field_mappings= fmap) hi @BlakeTerhune above is the code i'm using, i forgot to say i'm using it in an python toolbox in arc catalog thanks Stu
... View more
01-04-2024
01:29 AM
|
0
|
2
|
1877
|
|
POST
|
i'm trying to use the suggestion in this post from @RandyBurton https://community.esri.com/t5/python-questions/merge-with-field-mapping/m-p/560853/highlight/true#M43887 to merge 25 or so shp files and map the fields but using the code i get a strange output any suggestions? Stu
... View more
01-03-2024
01:07 AM
|
0
|
5
|
1963
|
|
POST
|
i'm trying to use your python to merge 25 or so shp files and map the fields but using the code i get a strange output any suggestions? Stu
... View more
01-02-2024
08:14 AM
|
0
|
1
|
3143
|
|
POST
|
for (var i in MLay ){
Insert(ML_array,0,i.FPERSON)
} var c = 0
for (var i in MLay ){
ML_array[c] = i.FPERSON
c +=1
} fixed it with this
... View more
11-22-2023
04:49 AM
|
0
|
0
|
1010
|
|
POST
|
any ideas why the below will work against an AGOL hosted feature service but not against one hosted from our local ArcServer var MLay = Distinct(Contains(FeatureSetByName($map,"lineA"),$feature),'FPERSON')
var ML_array = []
var ML_pop2 = ''
for (var i in MLay ){
Insert(ML_array,0,i.FPERSON)
}
var ML = Distinct(ML_array)
for (var j in ML){
ML_pop2 += ML[j] + ", "
}
return "ML(s): " + ML_pop2
... View more
11-20-2023
07:19 AM
|
0
|
1
|
1034
|
|
POST
|
is there a way to import an ArcGIS Pro Layout into ArcGIS Desktop without recreating it? thanks
... View more
10-13-2023
02:03 AM
|
0
|
1
|
1290
|
|
BLOG
|
is there any way to delete an object that's coming up as this when you view the JSON {
"error": {
"code": 400,
"messageCode": "CONT_0001",
"message": "Item does not exist or is inaccessible.",
"details": []
}
}
... View more
10-06-2023
06:29 AM
|
0
|
0
|
10997
|
|
POST
|
thanks @AndreasHall yea i couldn't find anything either Stu
... View more
06-27-2023
01:58 AM
|
0
|
0
|
1593
|
|
POST
|
is it possible to view a ArcGIS Online Notebook tasks details when you are not the Notebook owner but are an admin? thanks
... View more
06-26-2023
02:41 AM
|
0
|
5
|
1647
|
|
POST
|
help, i have a feature service with over 10 million point features in it, and i have a new dataset that i need to compare against it to identify what features i need to add / update / delete my initial plan was to create a ArcGIS Pro notebook to get all the AGOL features into a pandas dataframe, do the same with my new local dataset and then compare the two. i have done this before with a feature service and it works well but that feature service is only 300k features any suggestions? Stu
... View more
01-18-2023
07:20 AM
|
0
|
0
|
708
|
|
POST
|
thanks @rsalvaleon_esri i think i am going to have to raise a ticket with ESRI it looks like the issue is the geometry of my polygons because if i remove the geometry i can append the data to the feature service. ive even checked the geometry and in data interop and it didnt have any issues so.... Stu
... View more
09-01-2022
07:15 AM
|
0
|
1
|
4244
|
|
POST
|
i'm getting an error 1000 in Data interop when trying to append a set of polygons to an ArcGIS Online feature service the error is: ArcGIS Online Feature Service Writer: 'addResults' error for a feature in 'Missing Buildings'. The error code from the server was '1000' and the message was: 'Invalid column name 'Shape_1'. Invalid column name 'Shape_3'. Invalid column name 'Shape_5'. Invalid column name 'Shape_7'. Invalid column name 'Shape_9'. Invalid column name 'Shape_11'. Invalid column name 'Shape_13'. Invalid column name 'Shape_15'.' ArcGIS Online Feature Service Writer: 0 features successfully written to 'Missing Buildings', but the server rejected the 1 features in the last request due to errors. See warnings above. Aborting translation ARCGISONLINEFEATURES writer: A fatal error has occurred. Check the logfile above for details i can export the same to a FGDB without issue so i'm stumped any ideas?
... View more
09-01-2022
06:33 AM
|
0
|
5
|
4255
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-16-2025 02:25 AM | |
| 1 | 09-08-2025 07:14 AM | |
| 8 | 07-17-2025 01:23 AM | |
| 3 | 07-04-2025 02:55 AM | |
| 1 | 06-27-2025 03:41 AM |
| Online Status |
Offline
|
| Date Last Visited |
04-17-2026
05:42 AM
|