[OpenLayers-Users] compressed and/or binary GML to make the client side happy

darrepac pascal.darre at laposte.net
Wed Oct 29 15:59:35 EDT 2008




Tim Schaub-3 wrote:
> 
> 
> Guess we have different notions of quick.  25 seconds for something to 
> load in a browser is enough time for me to decide something is broken.
> 
> If you're ok, waiting 25 seconds before even starting to parse features, 
> then the next step is to look into deferred geometry parsing.
> 
> 
Let's say quicker than waiting 10min and having half of the time a crash of
my machine or FF :-/
If it makes 25sec, I can reduce the number of feature to 1000 and get about
7sec which is reasonable.

Then, what do you mean by "to look into deferred geometry parsing" ?
You mean my GML is badly written? Here is a feature extract:

<gml:featureMember xmlns:gml="http://www.opengis.net/gml">
<feature:features xmlns:feature="http://mapserver.gis.umn.edu/mapserver">
<feature:geometry>
<gml:Polygon srsName="EPSG:4326">
<gml:outerBoundaryIs>
<gml:LinearRing>
<gml:coordinates>0.81769824,42.75548827 0.64103387,42.75548827
0.64103387,42.66129881 0.81769824,42.66129881
0.81769824,42.75548827</gml:coordinates>
</gml:LinearRing>
</gml:outerBoundaryIs>
</gml:Polygon>
</feature:geometry>
<feature:ogc_fid>1</feature:ogc_fid>
<feature:name>http://www.google.com</feature:name>
<feature:description>onepolygon</feature:description>
<feature:visibility>visible</feature:visibility>
</feature:features>
</gml:featureMember>
-- 
View this message in context: http://www.nabble.com/compressed-and-or-binary-GML-to-make-the-client-side-happy-tp20216202p20234766.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list