[FWTools] gdal_polygonize
Roger André
randre at gmail.com
Wed Apr 8 22:22:00 EST 2009
Hi John,
I wrote a very un-optimized tool to do this a little while ago. It's a
Python script that you can probably run in FWTools. Just be sure that you
put it in your FWTools/bin directory, and then that you create an
appropriate environment setting script with the same name in
FWTools/bin_safe. Just do a search for gdal_merge.py and you'll see what I
mean.
You'll need to do some editing of the script to specify the pixel values you
want to vectorize, but that should be pretty straight-forward.
Good luck, and let me know if you need any help getting it to run.
Roger
--
On Wed, Apr 8, 2009 at 8:03 PM, John Zastrow <jcz at northredoubt.com> wrote:
> We need to vectorize a large class raster (landuse) that we produced
> using spatial analyst. ArcGIS is refusing to take it further and our
> friends at ESRI are stumped. So, we are ready throw some FOSS tools at
> the problem and the next step is to simply vectorize about 12 raster
> classes into a vector that we'll clean up from there. I think
> gdal_polygonize (http://www.gdal.org/gdal_polygonize.html) will help me
> get the product out. But, I tried two types of FWtools installs for
> Windows (osgeo and maptools) and was bitten by the "old gen" problem
> with each.
>
> I'll happily kick over to Ubuntu-based linux or keep on Windows if
> someone can recommend a surefire way to get gdal_polygonize running
> quickly - or recommend a replacement.
>
> _______________________________________________
> FWTools mailing list
> FWTools at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/fwtools
> http://fwtools.maptools.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/fwtools/attachments/20090408/fca172f6/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdal_img2shp_v2.py
Type: text/x-python
Size: 2355 bytes
Desc: not available
Url : http://lists.maptools.org/pipermail/fwtools/attachments/20090408/fca172f6/attachment.py
More information about the FWTools
mailing list