|
POST
|
You can replace text in tables. I'd start by replacing "ftx" with " ft x ", and then tackle the other edge cases. How To: Replace the text in multiple fields within an attribute table using the Find and Replace tool
... View more
05-04-2018
03:21 PM
|
2
|
2
|
3034
|
|
POST
|
Similarly, you can add a new point anywhere, and then move it to the specific coordinates: Moving a vertex to an exact x,y location (absolute x,y)—Help | ArcGIS for Desktop
... View more
04-30-2018
02:04 PM
|
2
|
0
|
8451
|
|
POST
|
Okay, counter-proposal: digitize freehand identifying the raster cells to be considered the "manual digitization", convert to raster and back out to line/polygon to get the straight lines.
... View more
04-27-2018
10:59 AM
|
0
|
0
|
5914
|
|
POST
|
If you really want to get into it, I think you're looking for the linear referencing topic of locating a polygon along a route, but it may be overkill: Locating features along routes—Help | ArcGIS for Desktop
... View more
04-27-2018
10:21 AM
|
1
|
1
|
688
|
|
POST
|
There are two options: 1.) export the DDPs as usual, then change the file names (you could do it manually if you want, but can automate as above using Python), or 2.) automate the DDP export using Python and save the outputs as the file names of your choice.
... View more
04-27-2018
09:31 AM
|
0
|
0
|
2653
|
|
POST
|
Maybe it's more complicated than this, but have you ruled out choosing some raster value threshold, setting values above to 1, below to 0, and creating a polygon from that mask? At the very least, I'd try to use this as a starting point - digitizing raster cells looks torturous.
... View more
04-27-2018
09:16 AM
|
1
|
2
|
5914
|
|
POST
|
I'd say your best bet is to export as usual, then change the file name, using the method of your choice, but here's how you can do it in Python: import os
folder = 'example' # folder of files
files = os.listdir(folder) # list of files
for f in [f for f in files if f.startswith('WetlandsMap')]: # loop through matching files
old_name, extension = os.path.splitext(f) # [file name, extension]
old_parts = old_name.split('_') # list split by '_'
new_name = '_'.join([old_parts[1], old_parts[2], old_parts[0]]) # construct new name
os.rename(
os.path.join(folder, f),
os.path.join(folder, ''.join([new_name,extension]))
) # rename the old file with the new name
print(old_name, new_name)
Output:
('WetlandsMap_Tract_1', 'Tract_1_WetlandsMap')
('WetlandsMap_Tract_2', 'Tract_2_WetlandsMap')
... View more
04-26-2018
04:12 PM
|
0
|
0
|
2653
|
|
POST
|
Whether or not this is your problem, you're playing with fire using backslashes in file paths (e.g. "\t" = tab). In short, don't use backslashes, unless in a raw string. See here for three options - don't use the fourth option.
... View more
04-25-2018
04:15 PM
|
1
|
1
|
2855
|
|
POST
|
Even though it's ugly, I suspect you'll see better performance using a where clause in the cursor and delete all rows. Untested, and you might have to play with the quotes: with arcpy.da.UpdateCursor(lyr, 'STREET', whereclause=""" STREET LIKE 'Xit%' OR STREET LIKE 'UPRR%' OR STREET LIKE 'Inpr Mp%' OR STREET LIKE 'Impr%' OR STREET LIKE 'Rxr%' OR STREET LIKE 'I 84%' """) as cursor:
... View more
04-20-2018
10:02 AM
|
2
|
1
|
2211
|
|
POST
|
I guess I don't understand the problem. If you know the number of pixels in each class, and you know the size of the pixel, then you can figure out the area of each class. But, perhaps that's not what you're after.
... View more
04-12-2018
02:34 PM
|
0
|
1
|
2740
|
|
POST
|
If your raster is integer data type, you can open the attribute table and see the pixel count for each class. Otherwise, one of these tools should get you there: Zonal Statistics as Table—Help | ArcGIS for Desktop Tabulate Area—Help | ArcGIS for Desktop
... View more
04-12-2018
10:19 AM
|
2
|
3
|
2740
|
|
POST
|
I'll just draw attention to the fact that in the (correct) example above PointGeometry and Point are two completely different objects, and they must be handled with care.
... View more
04-11-2018
10:56 PM
|
0
|
0
|
3890
|
|
POST
|
Does this work? Displaying model data—Help | ArcGIS for Desktop
... View more
04-11-2018
08:45 AM
|
1
|
3
|
2212
|
|
POST
|
Try using a list (well, a list of lists) rather than semicolon-delimited string Intersect—Help | ArcGIS Desktop
... View more
04-09-2018
10:56 AM
|
1
|
0
|
988
|
|
POST
|
I'm customizing the GeoForm template, including adding a customization to the builder. A basic app, hosted on my own server, is found here: GeoForm I believe I should be able to load the builder by adding "&edit=true" as a url parameter, but I'm asked to sign in, click OK (no text boxes to enter credentials), and taken to an error page saying "Invalid redirect_uri": GeoForm I see in the error page URL, it passes the redirect_uri parameter to a file that doesn't exist on my server (oauth-callback.html). How do I point it elsewhere? I'm sure it's a simple configuration issue. Any ideas?
... View more
04-04-2018
03:26 PM
|
0
|
0
|
786
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-30-2013 02:22 PM | |
| 1 | 04-12-2011 11:19 AM | |
| 1 | 09-17-2021 09:43 AM | |
| 1 | 04-04-2012 12:05 PM | |
| 2 | 07-16-2020 11:31 AM |
| Online Status |
Offline
|
| Date Last Visited |
07-15-2023
12:11 AM
|