|
POST
|
Is the 'Contractor' field a string type? You may want to use FieldDelimiters to be safe: AddFieldDelimiters—ArcPy Functions | ArcGIS for Desktop. Something like this may work. field = 'Contractor'
datasource = r'path to datasource'
qry = arcpy.AddFieldDelimiters(datasource, field) + " LIKE '%TLG%'"
... View more
12-14-2016
08:43 AM
|
0
|
0
|
4529
|
|
POST
|
Have you tried Alter Field—Data Management toolbox | ArcGIS for Desktop ?
... View more
12-05-2016
06:36 AM
|
0
|
1
|
2976
|
|
POST
|
You can add a feature class to an Enterprise geodatabase for maintaining locations and notes. Collector can be used offline with multiple users at once. It also comes with a standard downloadable basemap. We use it and it's pretty awesome so far. And it's free! Lastly, it works successfully on Windows and iOS. We've deployed it on Andriod as well but are currently experiencing troubles with two feature classes relating to a single table in our EGDB. I'd still recommend it on Windows and iOS though.
... View more
12-01-2016
12:56 PM
|
1
|
2
|
2252
|
|
POST
|
Have you tried ArcGIS Collector? It seems to meet all the requirements.
... View more
12-01-2016
08:02 AM
|
0
|
7
|
2252
|
|
POST
|
I would give Joshua Bixby the credit for answering the question.
... View more
11-30-2016
12:27 PM
|
0
|
0
|
3304
|
|
POST
|
This path doesn't seem right to me: X:/GIS/geo_databases/labelling_features.gdb|data Do you mean to put '/' instead of '|'? X:/GIS/geo_databases/labelling_features.gdb/data
... View more
11-28-2016
01:05 PM
|
1
|
0
|
1401
|
|
POST
|
Something like this should work. import arcpy
date = 'date_field'
time = 'time_field'
new = 'new_field'
feature = r'path to dataset'
with arcpy.da.UpdateCursor(feature, [new, date, time]) as cursor:
for row in cursor:
if row[0] is None:
row[0] = str(row[1]) + '/' + str(row[2]) # can separate the fields with anything you'd like
cursor.updateRow(row)
... View more
11-28-2016
10:43 AM
|
0
|
0
|
683
|
|
POST
|
Please read up on cursors: SearchCursor—Data Access module | ArcGIS for Desktop
... View more
11-18-2016
12:06 PM
|
1
|
5
|
2977
|
|
POST
|
Try this: with arcpy.da.UpdateCursor(newLayer, [field1]) as cursor: Put the field variable in brackets.
... View more
11-18-2016
10:27 AM
|
0
|
0
|
4979
|
|
POST
|
I see... then try using this: arcpy.env.qualifiedFieldNames = False See here: How to export joined feature classes without losing field name? - Geographic Information Systems Stack Exchange
... View more
11-17-2016
06:03 PM
|
2
|
0
|
1723
|
|
POST
|
This may help: Alter Field— ArcGIS for Desktop There is a 'clear_field_alias' condition in this tool.
... View more
11-17-2016
02:03 PM
|
0
|
2
|
1723
|
|
POST
|
See previous post: append-tool-and-field-mapping-help-examples
... View more
11-17-2016
12:15 PM
|
1
|
0
|
2363
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-28-2024 11:43 AM | |
| 1 | 09-12-2025 07:32 AM | |
| 1 | 10-26-2018 06:50 AM | |
| 1 | 10-26-2018 08:43 AM | |
| 1 | 02-25-2016 07:50 PM |
| Online Status |
Offline
|
| Date Last Visited |
12-02-2025
01:10 PM
|