Mongo CRS

33 views
Skip to first unread message

Sebastian Rauer

unread,
Oct 24, 2016, 8:30:25 AM10/24/16
to mongodb-dev
Hi,

i have a question regarding mongo db crs.

Is it right, that mongo db only support follwing crs: "urn:x-mongodb:crs:strictwinding:EPSG:4326"?

My geodata are in "EPSG:4258". 

How can i insert and query CRS:EPSG:4258?

Best regards,
Sebastian

Siyuan Zhou

unread,
Oct 24, 2016, 11:50:24 AM10/24/16
to mongodb-dev
Hi Sebastian,

Right now, MongoDB supports 2 different Coordinate Reference Systems.
  • "urn:ogc:def:crs:OGC:1.3:CRS84" or "EPSG:4326", used by GPS and the default CRS of GeoJSON in MongoDB.
  • "urn:x-mongodb:crs:strictwinding:EPSG:4326", the CRS used for the Big Polygon feature. The data range is the same as "EPSG:4326", but the winding order of a polygon is defined strictly.
For any other coordinate reference systems, the application has to convert the between coordinate reference systems.

Thanks,
Siyuan

Sebastian Rauer

unread,
Oct 25, 2016, 2:05:41 AM10/25/16
to mongodb-dev
Hi Siyuan,

tanks for your reply. I convert the coordinates by self. 

Thanks alot,
Sebastian
Reply all
Reply to author
Forward
0 new messages