[gdal-dev] Shapefile OGR question/concern

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Wed Mar 12 19:22:45 EDT 2008


On Wed, 2008-03-12 at 18:03 -0400, Christiaan Janssen wrote:
> I understand the need for the first and last point but what I don't
> understand is why it is not handled appropriately (in my opinion) per
> format. If KML only wants 4 points for a rectangle and other formats
> want 5 (first and last point the same) why doesn't the import/export
> function build the shape to an internal standard (ie have everything
> load in with the first point repeated at the end). I tried importing a
> shapefile into an OGRDataset and then exported it out to KML only to
> have Google Earth hang on the resultant KML file. This obviosuly
> implies that I would have to implement vector format specific
> implementations, is there a reason for this?
>  
> Christiaan

I'd also like to hear more about it. A good place to start reading/
searching would is probably http://www.gdal.org/ogr/drv_kml.html



 



More information about the gdal-dev mailing list