Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

In my web application, I am retrieving geospatial data from a server backend (Java) to the browser frontend (JavaScript). I am considering two options of how to serialize the data in this communication - XML and JSON.

XML seems to be a faster option as it can be deserialized by browser itself (into a documentElement), while JSON must be deserialized by a JavaScript library. On the other hand, there is a standard for storing geospatial data in JSON (GeoJSON), so using JSON would make the application more standard-compliant.

So my question is, is there an XML equivalent to GeoJSON? I found out that the term GeoXML has already been coined, but it is the name of a library, not a format standard.

share|improve this question
add comment

1 Answer 1

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.