[gdal-dev] Convert grid to polygon shapefile

Paul Harwood runette at gmail.com
Mon Apr 10 01:57:57 PDT 2023


If you have the raster version, what about this
https://gdal.org/programs/gdal_polygonize.html ?

On Fri, 7 Apr 2023 at 10:34, Paul Meems <bontepaarden at gmail.com> wrote:

> Hello List,
> I'm working on a C# application that uses Golden Software Surfer to create
> maps, but I also need to export the data to a polygon shapefile.
> Unfortunately, Surfer creates a shapefile with shapes on top of each other
> instead of inside each other, and Golden Software support couldn't help
> with this issue.
>
> I have a grid-file in Surfer Bin Grid format that can be converted to
> other raster formats, a border shapefile created using ST_Convexhull, and a
> text file indicating the values of the polygons.
>
> [image: image.png]
>
> Can anyone recommend a way to use GDAL/OGR to make a polygon shapefile
> from these resources, or suggest an alternative approach?
>
> Regards,
>
> Paul
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230410/0f9f0764/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 17410 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230410/0f9f0764/attachment.png>


More information about the gdal-dev mailing list