Respect the srsDimension attribute.
This also fixes http://trac.osgeo.org/openlayers/ticket/2762. Note: it seems there is no "dimension" attribute for posList in the spec. This attribute name is only used in some examples of the GML 3.1 specification, but it is not mentioned in any of the XSDs.
This commit is contained in:
@@ -198,14 +198,19 @@ var cases = {
|
||||
])
|
||||
])
|
||||
]),
|
||||
|
||||
|
||||
"v2/box-coord.xml": new OpenLayers.Bounds(1, 2, 3, 4),
|
||||
|
||||
"v2/box-coordinates.xml": new OpenLayers.Bounds(1, 2, 3, 4)
|
||||
"v2/box-coordinates.xml": new OpenLayers.Bounds(1, 2, 3, 4),
|
||||
|
||||
"v3/linestring3d.xml": new OpenLayers.Geometry.LineString([
|
||||
new OpenLayers.Geometry.Point(1, 2, 3),
|
||||
new OpenLayers.Geometry.Point(4, 5, 6)
|
||||
])
|
||||
|
||||
};
|
||||
|
||||
// cases for v3 use the same geometries
|
||||
// some cases for v3 use the same geometries
|
||||
OpenLayers.Util.extend(cases, {
|
||||
"v3/point.xml": cases["v2/point-coordinates.xml"],
|
||||
"v3/linestring.xml": cases["v2/linestring-coordinates.xml"],
|
||||
|
||||
Reference in New Issue
Block a user