[gdal-dev] Closing disconnected contours

Chaitanya kumar CH chaitanya.ch at gmail.com
Mon Feb 25 23:32:51 PST 2013


zeta,

gdal_fillnodata is intended for raster images, like a DEM. Your image is a
rendered map.
The image you provided is not suitable for unsupervised processing,
especially with GDAL.


On Tue, Feb 26, 2013 at 12:53 PM, zeta <otrov at hush.ai> wrote:

> Chaitanya kumar CH wrote:
> >
> >Are the lines in topo.tif contour lines? How did you generate them?
>
>
> Hi Chaitanya,
>
> I segmented scanned image, and then did thinning on separation that
> interested me - that is topo contours. Here is link to a part of scanned
> image that I used as example: http://i.imgur.com/Wyv147m.png
>
> I thought also that maybe gdal_fillnodata.py doesn't like thinning (1px
> contours) and I did dilation on same image to get topo contours with 3px
> width, but result was worse.
> Did I expected too much, or maybe my image wasn't prepared corectly for
> gdal algorithm used in gdal_fillnodata.py?
>
>


-- 
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/20130226/beff9831/attachment.html>


More information about the gdal-dev mailing list