Re: [gdal-dev] Question how to use OGRLayerH

2010-04-22 Thread Chaitanya kumar CH
Alexander, I didn't understand your requirements correctly I think PostGIS can help you with the aggregation with just a few SQL commands. If you want to do it programmatically, you have to loop through the layer's features and add up all the linestrings into a multilinestring according to your cr

[gdal-dev] Question how to use OGRLayerH

2010-04-22 Thread Alexander Plum
Hello there, I want to use the GDAL-function 'GDALContourGenerate' to construct highlines. Furthermore I make use of the OGRLayerH which should save the the vector-data-output (the result) of the function called above. I've read the OGR API Tutorial page (http://www.gdal.org/ogr/ogr_apitut.h