6

I am using geometries in a JavaScript page and it is best to use JSON objects rather than GML which is XML based. I heard of GeoJSON, but is it an OGC open format?

0

3 Answers 3

9

No, GeoJSON is not an OGC standard:

IETF Geographic JSON Working Group

The Internet Engineering Task Force, in conjunction with the original specification authors, has formed the Geographic JSON WG to standardize the format. Work continues on GitHub at https://github.com/geojson/draft-geojson.

3

OGC Standards are listed on the OGC Standards page.

enter image description here

As you will see GeoJSON is not amongst them.

0
2

As of 2023, GeoJSON is specified in OGC API - Features - Part 1: Core. So although it is not an OGC standard by itself, it can be used to fulfill OGC API standards.

Quoting the document:

GeoJSON is a commonly used format that is simple to understand and well supported by tools and software libraries. Since most Web developers are comfortable with using a JSON-based format supporting GeoJSON is recommended, if the feature data can be represented in GeoJSON for the intended use.

In laymen terms, if you have any interest in serving out geospatial data via APIs, you should consider GeoJSON as a standard.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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