[Gdal-dev] Contouring that outputs polygons?

Ethan Alpert ealpert at digitalglobe.com
Tue May 24 14:15:17 EDT 2005


Hmm...I'll look into that but I don't think the contour lines can be
closed. On potential problem are boundary conditions. There is no
guarentee given all topologies and subsets that lines can be closed into
polygons.

-e

-----Original Message-----
From: Chapman, Martin [mailto:MChapman at sanz.com] 
Sent: Tuesday, May 24, 2005 12:05 PM
To: Ethan Alpert; gdal-dev
Subject: RE: [Gdal-dev] Contouring that outputs polygons?


Ethan,

It might be a hack, but, you could always modify the output by adding
the first point as the last and changing the geometry type to polygon.
Or, you could just mod the gdal_contour code to make a polygon instead
of a linestring.  

Just a thought.

Martin

-----Original Message-----
From: gdal-dev-bounces at xserve.flids.com
[mailto:gdal-dev-bounces at xserve.flids.com] On Behalf Of Ethan Alpert
Sent: Tuesday, May 24, 2005 11:43 AM
To: gdal-dev
Subject: [Gdal-dev] Contouring that outputs polygons?




Been looking at gdal_contour a bit and noticed that it's output
shapetype is PolyLine. Does anyone know of any contouring utilities that
will output polygons? I'm not particular about what format but most
contouring apps I've found will render the polygons as images but not
export them.

Thanks,

-e
_______________________________________________
Gdal-dev mailing list
Gdal-dev at xserve.flids.com
http://xserve.flids.com/mailman/listinfo/gdal-dev



More information about the Gdal-dev mailing list