Closed sjaakd closed 1 year ago
thanks for taking the time to explain your use case but i'm not too keen on the idea of introducing an additional argument for configuration options to the arcgisToGeoJSON()
method.
Is it an option not to do this check at all and instead just document it?
sorry, but no. based on the language of the spec, i think the warning is appropriate.
Ok.. fair enough. I've now solved it by saving - calling the method - restoring the CRS. That works for me. Thanks for maintaining this library.
According to rfc7946
In general, GeoJSON processing software is not expected to have access to coordinate reference system databases or to have network access to coordinate reference system transformation parameters. However, where all involved parties have a prior arrangement, alternative coordinate reference systems can be used without risk of data being misinterpreted.
Therefore I think the warning is perhaps correct, but it should at least be possible to suppress it. Now I need to fake WGS84 and later restore the original crs on the ESRI geometry like this