[OpenLayers-Users] howto manage empty geojson streams
Didrik Pinte
lists at dipole-consulting.com
Mon Mar 16 06:43:42 EDT 2009
Hi list,
We have an application that is linked to a servlet that generates a
GeoJSON stream. In some situations, the stream is empty.
Looking a Format/GeoJSON.js, I cannot find the correct way to provide a
valid GeoJSON stream that containts no features. A FeatureCollection
with no feature raise an error, an empty string raises an error too.
What is the best practice for that kind of situation ?
Thanks
Didrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090316/8924b11f/attachment.bin
More information about the Users
mailing list