-
Notifications
You must be signed in to change notification settings - Fork 10
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
Mapbox GL JS #14
Comments
@azran4u I always get my wgs'es mixed up with my epsg'es, but I believe your issue may be something in how your geojson data is processed. There is no difference between WGS84 and EPSG4326 that would be relevant to this module, so it's not included as an option. https://gis.stackexchange.com/questions/3334/difference-between-wgs84-and-epsg4326 |
I agree with you, yet i'm trying to reproject a geojson so that mapbox gl will render it looking like 'epsg:4326'. |
by looking like 'epsg:4326' I mean Plate-Carrée |
I see. Since this module uses D3 geo libraries for projection math, the projections that would be straightforward to achieve are all listed under the d3-geo-projection and d3-geo libraries. Perhaps these libraries have been updated since we developed this module, and more projections are available. If one of the ones listed at either of the links serves your purposes, but isn't listed as an option, I can look into integrating it. |
Hi,
I'm using mapbox-gl-js with tileset projected EPSG:4326.
My dataset is geoJSON WGS84.
Since Mapbox tries to display data as web mercator, data is not positioned in the correct location on map.
I'm trying to use dirty-reproject to convert the input geoJSON to output geoJSON so Mapbox displays it correctly. Yet, the command dirty-reproject --list doesn't have an epsg:4326 option.
Thanks,
Eyal
The text was updated successfully, but these errors were encountered: