POST
|
Sorry about the delay in responding. The error information is below. Traceback (most recent call last): File "E:\holeInRaster\EraseRaster.py", line 24, in <module> main() File "E:\holeInRaster\EraseRaster.py", line 20, in main result = arcpy.sa.ExtractByPolygon(ras, points, method) File "c:\program files (x86)\arcgis\desktop10.3\arcpy\arcpy\sa\Functions.py", line 1300, in ExtractByPolygon extraction_area) File "c:\program files (x86)\arcgis\desktop10.3\arcpy\arcpy\sa\Utils.py", line 53, in swapper result = wrapper(*args, **kwargs) File "c:\program files (x86)\arcgis\desktop10.3\arcpy\arcpy\sa\Functions.py", line 1295, in Wrapper extraction_area) File "c:\program files (x86)\arcgis\desktop10.3\arcpy\arcpy\geoprocessing\_base.py", line 504, in <lambda> return lambda *args: val(*gp_fixargs(args, True)) RuntimeError: Object: Error in executing tool Failed to execute (EraseRaster).
... View more
02-09-2016
07:18 AM
|
0
|
2
|
1188
|
POST
|
Thanks, it looks like this tool is going to work. I got the tool setup and I tried using it. I got an error the first time but I will continue testing and maybe tweaking and see if I can get it to work. Thanks again.
... View more
02-08-2016
11:33 AM
|
0
|
5
|
1188
|
POST
|
You are right, it sounds very complicated but I'll give it a try.
... View more
02-08-2016
09:33 AM
|
0
|
0
|
3983
|
POST
|
I was only using the US map and the state of Texas as an example, but I will look into Making a Mosaic Layer
... View more
02-08-2016
09:23 AM
|
0
|
7
|
1188
|
POST
|
The solution in the Erase but for raster thread is to use Raster Calculator but as far as I can see the Raster Calculator uses only Raster data and I don't have raster data for the shape that I what to cut out. Maybe I can convert my vector area into raster and then use the Raster Calculator.
... View more
02-08-2016
09:18 AM
|
0
|
2
|
3983
|
POST
|
It looks like the Extract by Polygon only accepts X Y coordinates for the Polygon that represents Texas, if I was extracting or masking a rectangle the X Y coordinates would be easy but I'm not sure how to specify a shape as complex and the state of Texas with X Y coordinates.
... View more
02-08-2016
08:52 AM
|
0
|
4
|
3983
|
POST
|
I can clip the raster data to get the state of Texas but not the United States without Texas.
... View more
02-08-2016
07:30 AM
|
0
|
0
|
3983
|
POST
|
For example, if I have a raster layer of Digital Elevation which represents the United States and I want to keep everything except the state of Texas. I have a vector layer polygon of the state of Texas which I hope can be used to clip or mask or intersect the raster data. How do I get the raster DEM layer with an area cutout or missing where Texas was?
... View more
02-08-2016
07:00 AM
|
0
|
31
|
16650
|
POST
|
I used the Reduce font size option in the Maplex Labeling Engine and the results are exactly what I need. This saved me from individually making custom labels for hundreds of lakes. Is it possible to mark more than one answer as the correct answer? All three answers were very helpful. I will use the Define Classses feature to write Expressions for custom labels when I need that. I was not aware that I could use Expressions like that. The Reduce font size option was perfect but I did not know that the Maplex Labeling Engine existed so I would have had a hard time figuring that out until Chad mentioned Maplex and then I found it. In ArcMap 10.3.1 I found it under the drop-down menus along the top, Customize >> Toolbars >> Labeling then under the Labeling drop-down on the left side of the Labeling toolbar, pick Use Maplex Label Engine. Thank you all, you saved me a lot of time.
... View more
01-22-2016
08:17 AM
|
1
|
0
|
2876
|
POST
|
Thank you Wes. As a test, I set the labels for the Lakes as Label all features the same way, the I added the expression below. The expression verifies as ok, but nothing happens. I have a Field named PARENTID and the data type is Long. All the PARENTID fields in the attribute table have a value of 0 (zero). I tried the expression without the cLng, like this " if ([PARENTID] = 0) then" but that didn't help either. Function FindLabel ( [PARENTID] ) if (cLng([PARENTID]) = 0) then FindLabel = "<CLR red='255'><FNT size = '44'>" + [OFFICIAL_N] + "</FNT></CLR>" end if End Function === below does work === Function FindLabel ( [OFFICIAL_N] ) if [OFFICIAL_N] = "Bee Lake" then FindLabel = "<CLR red='255'><FNT size = '44'>" + [OFFICIAL_N] + "</FNT></CLR>" end if End Function
... View more
01-21-2016
01:35 PM
|
1
|
1
|
2876
|
POST
|
I have a topo map with various polygons representing lakes. The label applied from the name field of the attribute table is the same size for each lake whether the lake is huge or tiny. Is it possible to make the label automatically change size to match the polygon? Maybe the label could be a percentage of the polygon size?
... View more
01-21-2016
09:28 AM
|
0
|
6
|
6307
|
POST
|
I have a vector layer that represents "wetlands". I can't seem to find a specific symbol for wetlands which I have seen on other ArcGIS maps. Also, the same thing for the symbol that represents waterfalls. See images below for symbols. Where can I find these symbols? I have symbols that look similar in an Arc Desktop folder put they are not exactly the same.
... View more
01-04-2016
09:47 AM
|
0
|
4
|
6017
|
POST
|
I have several .gdb files which contain hundreds of files within the .gdb files. I have managed to put together a topo map with ArcMap by Adding Vector data and adding some of the .gdbtable files which are lakes, contour lines, etc. Are labels, like lake names usually within the .gdb files? Would they be in the .gdbtable files? Or, in a different type of file within the .gdb file? I can use the ArcMap Label Manager to add the lake names but I would rather find the existing data, if that data might be in the .gdb files.
... View more
11-23-2015
12:45 PM
|
0
|
2
|
2618
|
Title | Kudos | Posted |
---|---|---|
2 | 01-28-2022 06:58 PM | |
1 | 02-12-2017 01:54 PM | |
1 | 01-21-2016 01:35 PM | |
1 | 01-02-2017 08:19 AM | |
1 | 01-22-2016 08:17 AM |
Online Status |
Offline
|
Date Last Visited |
07-18-2023
11:19 PM
|