Select to view content in your preferred language

Is there a tool to convert the cells of a raster to vector?

4387
5
04-12-2011 09:56 AM
JamalNUMAN
Legendary Contributor
Is there a tool to convert the cells of a raster to vector?

Please, see the attached raster

Is there a way to get the cells on this raster to vector such that each cell becomes a square in the vector class, therefore, the vector will contains feature equal to number of cells in the raster

Of course, I know the tool ???raster to polygon???, but his doesn???t give the vector with individual squares

Thank you

Regards

Jamal
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
5 Replies
TimothyHales
Esri Notable Contributor
Check out this older forum post: http://forums.esri.com/thread.asp?c=93&f=986&t=227834

If that tool is what you are looking for then you can get the latest version of the tool here: http://www.spatialecology.com/gme/
0 Kudos
EricRice
Esri Regular Contributor
Jamal,

We intentionally dissolve the pixel boundaries (for continuous pixel values) so the output is not so large.  This is also why we do not allow you to convert float rasters to polygons.  You could potentially end up with billions of polygon records depending on the size of your raster.  I would suggest using the Create Fishnet tool that is part of core ArcGIS Desktop.  It might take a long time to process if you are going to be creating a lot of cells.

If you need to have the raster value associated with the fishnet polygons, convert your raster to points and do a spatial join.

Regards,
Eric
SteveLynch
Esri Regular Contributor
Use the following 3 GP tools

Create Fishnet
- extent = raster extent
- cell size width/height = raster cell size
- number of rows/columns = number of rows/columns of raster
- Geometry type = Polyline

Raster To Point

Feature To Polygon
- Input features = Fishnet output
- Label Features = Raster To Point output
JamalNUMAN
Legendary Contributor
thank you Eric. it did work.

appreciated

jamal

Jamal,

We intentionally dissolve the pixel boundaries (for continuous pixel values) so the output is not so large.  This is also why we do not allow you to convert float rasters to polygons.  You could potentially end up with billions of polygon records depending on the size of your raster.  I would suggest using the Create Fishnet tool that is part of core ArcGIS Desktop.  It might take a long time to process if you are going to be creating a lot of cells.

If you need to have the raster value associated with the fishnet polygons, convert your raster to points and do a spatial join.

Regards,
Eric
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
JamalNUMAN
Legendary Contributor
Greate eleboration Steve. thank you

Jamal


Use the following 3 GP tools

Create Fishnet
- extent = raster extent
- cell size width/height = raster cell size
- number of rows/columns = number of rows/columns of raster
- Geometry type = Polyline

Raster To Point

Feature To Polygon
- Input features = Fishnet output
- Label Features = Raster To Point output
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos