Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Use this tag when ArcGIS Desktop is the product you are using but also tag for the application (ArcGIS Pro or ArcMap) that you are using.
1
vote
Computing distance from points to coastline
Have you looked at the Near tool? If I understand the question correctly, it seems like that might be the solution to your problem.
2
votes
Shape area is not updated when importing shapefile from QGIS to Esri Geodatabase
Quick background (for those who are not familiar with this):
- shapefiles do not allow automatic udpating of area fields
- geodatabase feature classes automatically update areas (or lengths, etc.) wh …
-1
votes
Removing white space from field values?
With ArcPy you would do the following:
import arcpy
with arcpy.da.UpdateCursor(r'pathToYourDataset',['theField']) as cursor:
for row in cursor:
row[0] = row[0].strip()
cursor.upd …
2
votes
What makes a MXD file size larger and how to decrease its size?
There is some strange internal memory stuff going on. Basically, anything you do, especially when you execute geoprocessing tasks etc., will add to the mxd's memory.
How to fix this? What I have done …
2
votes
Using ArcPy to zoom to Y,X (string) coordinate pair copy/pasted from Google Maps?
I just got this script to do what you want:
def panToExtent(gmapsLonLat):
mxd = arcpy.mapping.MapDocument('CURRENT')
dataFrame = arcpy.mapping.ListDataFrames(mxd)[0]
lat, lon = gmapsLonL …
3
votes
VB Script or Python for Field Calculator when using greater/less than?
Right-click FROMADDRESS, as you want to populate that one, and open the Field Calculator.
Check the Python button
Check Show Codeblock
Now, in the bigger area you will insert this function:
def f …
1
vote
Create map(s) to help determine site selection
Depending on the distribution of your points, you could do something relatively simple, such as using the Minimum Bounding Geometry tool to create a bounding box. Ideally you would use a convex hull a …
5
votes
Subtracting (erasing) polygons from polygon using ArcGIS for Desktop?
It depends on your license. If you have an advanced license you should have a tool called Erase. Use this tool with both of your datasets and you will get the correct result.
If you do not have that …
3
votes
Accepted
Collect last word from varied length string for filtering, auto labeling and column population?
You are missing a very little detail: the fact that in Python you can pull elements from a list starting at the back. The last element of a list corresponds to index -1.
For example:
location = "Ced …
10
votes
Concatenating string data plus numeric data in ArcMap field calculator?
No need to write a function here. Just hit the Python radio button, and then write this into the box:
Address: + " " + str(!Address_No!) + " " + !StreetName! + " " + !Street_Ty!
What is important: …
1
vote
How to separate states in USA file using ArcGIS for Desktop?
OK, here is the script I wrote a while back, and I just adjusted it for US States, but it will work for any kind of data, as long as it contains a column with unique values.
import arcpy
print 'impor …