Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC 7946 warning: non-WGS84 GeoJSON output. #574

Open
ABCBeacuse opened this issue Feb 18, 2023 · 1 comment
Open

RFC 7946 warning: non-WGS84 GeoJSON output. #574

ABCBeacuse opened this issue Feb 18, 2023 · 1 comment

Comments

@ABCBeacuse
Copy link

I had a problem converting the Shp file to GeoJSON,
Can you give me an command to fix it ?

@mbloch
Copy link
Owner

mbloch commented Feb 18, 2023

GeoJSON files usually use the WGS84 coordinate system, which has coordinates in degrees of latitude and longitude. It looks like you have a "projected" Shapefile, which uses a different kind of coordinate system. You can try this:

mapshaper input.shp -proj wgs84 -o output.geojson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants