Raster to Polygon problem

9377
17
01-28-2013 05:50 AM
jessevalles
New Contributor
Thanks in advanced.
I have over 100 aerials images that I want to convert to polygons using the raster to polygon tool, but I get an error for this tool [ATTACH=CONFIG]21130[/ATTACH].
All I want to do is to create a base map so that I know which aerial refers to specific area and be able to find it easily.
NOTE: Only have basic license, unfortunately.
0 Kudos
17 Replies
DanPatterson_Retired
MVP Emeritus
The critical error is the one above the highlighted error...your file is too big and the output shapefile is limited to 2 GB and cannot be created.  There is no workaround other than tiling your input file.
0 Kudos
jessevalles
New Contributor
Mr. Patterson,

I was just doing the tool for one tile.
I am attaching the properties for one of the files [ATTACH=CONFIG]21131[/ATTACH].
I am also choosing the simplify shape.
The other error is that I am not using an adequate type of file. I been checking for many ways to fix this but with no luck.
I am not even able to give coordinates to all the file using the define projection tool in a batch mode.
Thanks again.
0 Kudos
DanPatterson_Retired
MVP Emeritus
It is the output polygon shapefile that is too big.  There is a 2 GB limit which is being exceeded.
0 Kudos
jessevalles
New Contributor
I am fairly new to GIS, you know of a way that I can make the tiles smaller so that I can do this export.
Or is there a way to be able to touch the aerial and copy/paste the polygon shape that it has.
0 Kudos
SteveLynch
Esri Regular Contributor
In versions prior to ArcGIS 10 we wrote the output to .shp and then converted to whatever format you wanted. However, from ArcGIS 10 we natively write to the requested format.

Therefore, if you're using ArcGIS 10+ you can output to file geodatabase and you won't hit the 2.1GB file limit.

Regards
Steve
0 Kudos
jessevalles
New Contributor
Thanks so much Steve,

Now the problem is that the table was created successfully but I cannot find it at the location that it was send to..
it does not appear in the  geodatabase.
I already try several ways, the arc catalog, refreshing, closing the file and opening again.

Is there another way to do what the footprint from mosaic tool does but with the license that I currently have?[ATTACH=CONFIG]21165[/ATTACH]
0 Kudos
GayathriAlallasundaram
New Contributor III
Hi,

Are you saying the output polygon featureclass that was created as a result from the raster to polygon tool is missing in the file geodatabase? May be your geodatabase got corrupted, try to make a copy of your geodatabase in another folder location and see if the output is visible there.

Thanks,
Gayathri A.
0 Kudos
jessevalles
New Contributor
Thanks to everyone that has been giving input,

I tried already changing the output database. but still it will not appear.
This is the process that I follow.
I open the raster to polygon tool, put in input raster, keep the value field, select the gdb file to output, and have simplify checked.
After this click OK, and in less than 5 sec. it will tell me that succeeded using the tool.
You can see the location of the file in the results window, but when the gdb is open there is nothing in there.
0 Kudos
T__WayneWhitley
Frequent Contributor
I noticed in your original post you said:

"All I want to do is to create a base map so that I know which aerial refers to specific area and be able to find it easily."

So, in that case, wouldn't simple polys built from X and Y min/max coordinates work?  If so, see:

looping through rasters in an mxd
http://forums.arcgis.com/threads/75142-looping-through-rasters-in-an-mxd?p=265602#7


Rosie Bell has updated the pre-10 code to use arcpy - I'd recommend building the feature class in a table, so change pathnames accordingly.  Otherwise you build a shapefile but you'll likely have to remember to build the spatial index for large layers. Also, I think my original code simply builds from a designated directory of rasters.  Apologize for not making this a script tool (or maybe someone has already?) but I only use this occasionally - once on thousands of tifs that I assumed the run failed for, but it completed successfully to my surprise.  Anyway, what I mean to say is that it is lightning fast with python.

One more interesting thing, if you've ever heard of a 'table-based' image catalog, additionally if you export the attribute table to an independent table (gdb table or dbf table), it becomes readable by ArcGIS as an image catalog... this is legacy support still available at 10.1 I believe, and what it serves as is to auto-load image tiles in the view extent (or a certain scale threshold, if you set the layer properties).

Enjoy,
Wayne
0 Kudos