Proper mime type for GeoJSON?

1,082 views
Skip to first unread message

Chris Metcalf

unread,
May 6, 2014, 3:52:15 PM5/6/14
to api-...@googlegroups.com
http://geojson.org/

We're building out some new geospatial functionality for our API, and adding an explicit GeoJSON output type.

However, we already use application/json for our JSON output content-type and for content negotiation, so what should we use for GeoJSON? GeoJSON itself specifies application/json

My gut tells me something like application/json+geojson or application/json+geo, but I can't find an precedent for that on the web.

Anybody else have any good ideas?

Thanks,
Chris

mca

unread,
May 6, 2014, 3:58:21 PM5/6/14
to api-...@googlegroups.com
there was talk on the GeoJSON list to mint a profile[1] and SeanG posted one a while ago[2] but not sure on the status/use of it.

I'd ping the GeoJSON list for comments.

--
You received this message because you are subscribed to the Google Groups "API Craft" group.
To unsubscribe from this group and stop receiving emails from it, send an email to api-craft+...@googlegroups.com.
Visit this group at http://groups.google.com/group/api-craft.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages