Forked from keum/Difference between EPSG 4326 & 3857
Created
January 12, 2022 12:05
-
-
Save ashnair1/abdb514986ac532ca8e34473d54bee4b to your computer and use it in GitHub Desktop.
EPSG 4326 and EPSG 3857 of Web Mercator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EPSG: 4326 uses a coordinate system on the surface of a sphere or ellipsoid of reference. | |
WGS 84 - Earth as Geoid. -Mercator | |
EPSG: 3857 uses a coordinate system PROJECTED from the surface of the | |
sphere. Earth as perfectly sphere. -Web Mercator | |
Think of it as this way: | |
EPSG 4326 uses a coordinate system the same as a GLOBE (curved surface). | |
EPSG 3857 uses a coordinate system the same as a MAP (flat surface). | |
Convert GDAL to convert HARN NAD83 Washington North (EPSG of 2926) into Web mercator WGS84 (EPSG of 4326) | |
From NICK: | |
TileMill and Github are going to be using the same, Spherical Mercator. | |
EPSG4326 is Plate Carree (Geographic), meaning that it is NOT yet transformed to a projection. | |
You want your GeoJSON to be this. Leaflet likes this and does the projection to Web Mercator for you. | |
An interesting tid bit about 900913 is that it is GOOGLE in digits (like when you play with a calculator). | |
They did this until EPSG made them a valid projection. | |
web mercator NOT == spherical mercator | |
google mercator == Web Mercator (Auxiliary Sphere) | |
Loading data to Mapbox Studio/TileMill has to be in WGS 84, Mercator EPSG:4326 | |
Once those data gets uploaded, it converts into EPSG:3857 WebMercator. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment