Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#4941 closed enhancement (fixed)

GeometryFactory GML import does not support gml envelopes.

Reported by: digimap2k Owned by: warmerdam
Priority: normal Milestone: 1.10.0
Component: OGR_SF Version: 1.9.2
Severity: normal Keywords: gml envelope
Cc:

Description

The OGRGeometryFactory object includes a method to create geometries from GML snippets. When enumerating token types (e.g. polygon, linestring etc) this does not support the gml v3 "Envelope" element. This is important as it is used by the OpenLayers javascript library to specify bounding boxes when using GML within WFS filters.

An example of the OpenLayers filter XML:

<gml:Envelope xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:900913">
	<gml:lowerCorner>-182463.35622477 7128606.1833396</gml:lowerCorner>
	<gml:upperCorner>-170835.37329849 7135743.4908548</gml:upperCorner>
</gml:Envelope>

Change History (3)

comment:1 by Even Rouault, 11 years ago

Component: defaultOGR_SF
Keywords: gml envelope added
Milestone: 1.10.0
Resolution: fixed
Status: newclosed

Fixed in trunk (r25443, r25444)

comment:2 by Even Rouault, 11 years ago

r25445 "GeoRSS: remove OGRGeoRSS_GetGMLEnvelope() that is now useless (#4941)"

comment:3 by Even Rouault, 11 years ago

r25446 "Should have gone with previous commit"

Note: See TracTickets for help on using tickets.