|
POST
|
Using the Python parser in the Field Calculator, you can do the following:
... View more
07-17-2017
10:39 AM
|
1
|
2
|
1669
|
|
POST
|
You may want to look into a Hot Spot Analysis—Help | ArcGIS for Desktop. Based on population, distance from sidewalks, distance from other bus stops, and potentiality (can a car reach it? can a bus reach it?) I think you create a concrete analysis of this issue.
... View more
07-17-2017
06:36 AM
|
0
|
0
|
905
|
|
POST
|
Personally, I would use a cursor. Something like this should be a start. with arcpy.da.UpdateCursor(datasource, ['PT','BaseArea','SW_Fee','IASqFt']) as cursor:
for row in cursor:
if row[0] == 'Residential':
if row[1] >= 1501:
row[2] = '$2.50'
if row[1] <= 1500:
row[2] = '$1.50'
elif row[0] == 'Commercial':
print '__whole other set__'
cursor.updateRow(row)
del cursor
... View more
07-13-2017
01:50 PM
|
2
|
0
|
1179
|
|
POST
|
With an internet connection and Collector for ArcGIS, you can do this. If I'm understanding your comment.
... View more
07-13-2017
10:50 AM
|
0
|
0
|
640
|
|
POST
|
Are all the field names and types matching between the .lyr file and the Input Layer?
... View more
07-13-2017
10:47 AM
|
0
|
1
|
1057
|
|
POST
|
Just off the top of my head, a good place for a bus stop should include: -Accessability (can this place be reached via another sidewalk, road or bridge) -Convenience (near other bus stops or other transit stop locations) -Uniqueness (obviously not within 500-1000 feet of another bus stop, depending on usage) I hope this gets you started.
... View more
07-13-2017
10:22 AM
|
1
|
2
|
905
|
|
POST
|
Is the 'Input Layer' in lines 13 and 14 the same layer? Cause you're deleting one layer in line 13 then creating a feature layer from it on line 14.
... View more
07-13-2017
10:15 AM
|
0
|
3
|
1057
|
|
POST
|
try this: AreaList = ["1000 feet", "23908 feet", "1200000000 feet"]
MeterList = [a.replace("feet","meters") for a in AreaList]
print MeterList
... View more
06-30-2017
11:31 AM
|
0
|
4
|
3795
|
|
POST
|
You could use Calculate Field—Help | ArcGIS for Desktop for this. Something like this: arcpy.CalculateField_management(in_fc, "STORMWATER", """str(!STORMWATER!).replace("-","")""", "PYTHON_9.3", "")
... View more
05-25-2017
01:04 PM
|
1
|
1
|
3529
|
|
POST
|
Move the print statement in line 34 to inside the for loop. So move it to between line 33 and 34. This will ensure that you're actually looping through the layer and updating rows. Again, if you need a unique count for each line, this is going to take a while. You may want to just do a Spatial Join.
... View more
05-17-2017
10:56 AM
|
1
|
1
|
826
|
|
POST
|
It seems like you're trying to load duplicate GlobalIDs, maybe?
... View more
05-15-2017
06:46 AM
|
0
|
1
|
1177
|
|
POST
|
A good place to start: Reconcile Versions—Data Management toolbox | ArcGIS Desktop
... View more
05-12-2017
07:09 AM
|
2
|
0
|
3810
|
|
POST
|
IDs should be a list of all unique identifiers for the Trans_Lyr. IDs = []
with arcpy.da.SearchCursor(transLyr, ['..A unique ID field..']) as cursor:
for row in cursor:
IDs.append(row[0])
del cursor
... View more
05-12-2017
07:04 AM
|
0
|
0
|
826
|
| 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
|