[OpenLayers-Trac] [OpenLayers] #1546: Format.GML: introduce geometryType

OpenLayers trac at openlayers.org
Wed May 14 04:24:41 EDT 2008


#1546: Format.GML: introduce geometryType
------------------------+---------------------------------------------------
 Reporter:  bartvde     |       Owner:  tschaub
     Type:  feature     |      Status:  new    
 Priority:  minor       |   Milestone:         
Component:  Format.GML  |     Version:  2.6    
 Keywords:              |       State:         
------------------------+---------------------------------------------------
 Currently in parseFeature the parser loops over all possible geometry
 types, but if a client already knows the geometry type, this is a bit of a
 waste. In my test it took about 200 ms less time on this loop for 100
 features.

 Would it be an idea to introduce a geometryType APIProperty, so people
 knowing the geometryType can set it on the format?

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


More information about the Trac mailing list