felt / geo

A collection of GIS functions for Elixir
MIT License
649 stars 88 forks source link

Default decoded GeoJSON to SRID 4326 (WGS 84) per the spec #219

Closed s3cur3 closed 2 months ago

s3cur3 commented 3 months ago

The GeoJSON spec indicates that all GeoJSON should be assumed to use the WGS 84 datum by default. We should be permissive and allow overriding that datum (as we did previously), but I think the correct behavior here is to make the datum explicit in our decoded Geo.Geometry.t() values.

This is a breaking change, but one which I expect to have quite little impact on users. (See the CHANGELOG.md for more.)

Resolves #129