[Geojson] success and failure

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Wed Nov 7 06:44:35 PST 2007


Hi list,

I am working with ExtJS against Geoserver's GeoJSON output, and I've run
into a slight compatability issue.

ExtJS expects a boolean attribute named success in the top of the response,
so it can easily determine (without an ErrorReader) if the request failed or
succeeded.

Would it be an idea to add this to the GeoJSON spec?

{success: true, "type":"FeatureCollection" .....

I did see some other metion of this on internet, e.g.:

http://www.openjs.com/articles/ajax/success_error_design_pattern.php

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl








More information about the GeoJSON mailing list