Something about geojson genereated by ODM

The geojson is generated by ODM, but I find something wrong about polygon-value.

The range of coordinates(from wikipedia):

  • The X axis passing through extending from 180 degrees longitude at the Equator (negative) to 0 degrees longitude (prime meridian) at the Equator (positive)
  • The Y axis passing through extending from 90 degrees west longitude at the Equator (negative) to 90 degrees east longitude at the Equator (positive)

How can I get the correct coordinates?

GeoJSON spec has been extended to non-angular coordinate systems (things other than lay long). In this case, the coordinate system is in local UTM.

1 Like

Yep, it’s in UTM.

Technically the current GeoJSON standard does not support CRSes https://tools.ietf.org/html/rfc7946#page-12 but the old one does https://geojson.org/geojson-spec.html#coordinate-reference-system-objects

Long term ODM should probably be modified to always export GeoJSON in WGS84 lat/lon (PRs welcome).

2 Likes