Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

Your Answer


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.