OpenLayers OpenLayers

Ticket #1566 (new feature)

Opened 3 months ago

Last modified 1 month ago

Adding TypeName to feature when parsing GML

Reported by: openlayers Assigned to: tschaub
Priority: critical Milestone: 2.7 Release
Component: Format.GML Version:
Keywords: typeName on feature Cc: commandeur.edwin@gmail.com
State: Needs More Work

Description

A GetFeature request to a WFS may contain queries to different typeNames. To be able to tell apart the data belonging to queries to different typeNames, it is necessary to have typeName information about the feature.

Queries to different typeNames may occur as a part of a search for features that are served by the WFS webservice.

Currently the GML reader adds the fid to the features that it reads, but not the typeName. The suggestions is to also include the typeName.

Attached is a patch that does what is proposed above: adding the typeName to the features read in via the GML reader

As an additional note: when adding the typeName to features read in via the GML reader is approved of, then I would be glad to submit a patch for GeoJSON as well.

With kind regards,

Edwin Commandeur commandeur.edwin@gmail.com

username pending: ecommand

Attachments

addTypeName2feature.patch (1.7 kB) - added by openlayers on 06/02/08 05:07:48.
patch for adding typeNames to features read in via GML reader

Change History

06/02/08 05:07:48 changed by openlayers

  • attachment addTypeName2feature.patch added.

patch for adding typeNames to features read in via GML reader

07/23/08 05:01:49 changed by bartvde

  • milestone set to 2.7 Release.

07/28/08 15:17:21 changed by euzuro

  • priority changed from minor to critical.

07/30/08 10:53:14 changed by euzuro

  • state changed from Review to Needs More Work.

See #1639