[OpenLayers-Trac] [OpenLayers] #2966: Cannot parse GeoJSON if it
contains Z values.
OpenLayers
trac-20090302 at openlayers.org
Tue Dec 7 12:30:26 EST 2010
#2966: Cannot parse GeoJSON if it contains Z values.
----------------------------+-----------------------------------------------
Reporter: wavded | Owner: tschaub
Type: bug | Status: new
Priority: major | Milestone: 2.11 Release
Component: Format.GeoJSON | Version: 2.9
Keywords: | State:
----------------------------+-----------------------------------------------
Using:
{{{
var parser = OpenLayers.Format.GeoJSON();
parser.read(data)
}}}
Against each of these JS objects, the one with Z will return null.
GeoJSON seems to support points with a Z value although not useful for OL
it should still parse and ignore it.
Doc: [http://geojson.org/geojson-spec.html#positions GeoJSON Positions]
--
Ticket URL: <http://trac.openlayers.org/ticket/2966>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list