[OpenLayers-Trac] [OpenLayers] #1566: Adding TypeName to feature when parsing GML

OpenLayers trac at openlayers.org
Mon Jun 2 05:07:03 EDT 2008


#1566: Adding TypeName to feature when parsing GML
---------------------------------+------------------------------------------
 Reporter:  openlayers           |       Owner:  tschaub
     Type:  feature              |      Status:  new    
 Priority:  minor                |   Milestone:         
Component:  Format.GML           |     Version:         
 Keywords:  typeName on feature  |       State:  Review 
---------------------------------+------------------------------------------
 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 at gmail.com

 username pending: ecommand

-- 
Ticket URL: <http://trac.openlayers.org/ticket/1566>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list