[gdal-dev] Closing disconnected contours

Chaitanya kumar CH chaitanya.ch at gmail.com
Mon Feb 25 02:21:43 PST 2013


zeta,

The gaps are likely caused by pixels with no data. A simple method is to
run gdal_fillnodata.py on the original raster and then create the contours.

http://www.gdal.org/gdal_fillnodata.html



On Mon, Feb 25, 2013 at 1:01 PM, zeta <otrov at hush.ai> wrote:

> Hi,
>
> I have shape file from sample map, consisting of topological contours.
> However many contours have small gaps and I'm looking for a pointer how to
> connect those lines, automatically.
> Does ogr have a method or maybe more generally does anyone know of a tool,
> that would correctly close disconnected contours, which aren't labeled?
> Gaps are small - artifacts from graticules present in original image used
> as source for creating this vector.
>
> Thanks
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130225/a162f10a/attachment.html>


More information about the gdal-dev mailing list