[OpenLayers-Users] Geojson input: why error on 3d points?

Peter Robins openlayers at peterrobins.co.uk
Wed Apr 29 04:03:24 EDT 2009


I've been having a bizarre problem where the same data (from featureserver) 
has been displayed when in kml format, but not in geojson. Delving into the 
code, I find this is because geojson.read throws an error if there are more 
than 2 coords in a point. Why is this? 3d points are perfectly valid in 
geojson, and it seems illogical that the 2 formats should be handled 
differently.



More information about the Users mailing list