Questions tagged [web-mercator]

Web Mercator a.k.a WGS 84 / Pseudo-Mercator -- Spherical Mercator, is a projected coordinate system used for rendering web maps in applications like Google Maps and OpenStreetMap. The area of use is limited to World maps between 85.06°S and 85.06°N.

Filter by
Sorted by
Tagged with
18
votes
2answers
23k views

Which is correct projection in ArcGIS Server for EPSG:3857/900913?

I want to publish a mapservice in ArcGIS server, which will be overlayed on Google Maps or Bing Maps. For this, the Map Service needs to be in EPSG:3857/900913. The Google Maps projection is supposed ...
17
votes
2answers
5k views

Reprojecting WGS 1984 Web Mercator (EPSG:3857) in Python with GDAL

I am reprojecting rasters in python using GDAL. I need to project several tiffs from geographic WGS 84 coordinates to WGS 1984 Web Mercator (Auxiliary Sphere), in order to use them later in Openlayers ...
9
votes
4answers
11k views

Adding custom map tile layer using QGIS?

I am trying to display the following background map in QGIS 2.0: http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/${z}/${y}/${x}. In a custom web map client, this is ...
6
votes
2answers
3k views

What's the accuracy of Web Mercator EPSG:3857?

Are there any references on the accuracy or (min/max/avg) error of Web Mercator when it comes to e.g. distance calculations? For the sake of completeness, I haven't found any reference to the ...
5
votes
1answer
8k views

Leaflet GeoJSON with projected coordinates (3857)

I am trying to get a GeoJSON with projected coordinates to show in Leaflet. I have no problems loading GeoJSON with lat/lng (EPSG:4326). Here is a fiddle where I load the GeoJSON with unprojected lat/...
5
votes
2answers
2k views

Force an ArcGIS API for JavaScript WMSLayer to use EPSG: 900913 (instead of 102100)

I have a use case where an external WMS server can serve maps in the Web Mercator projection using EPSG code 900913, but won't recognize ESRI's 102100 code. My question is: can I force all WMS ...
5
votes
2answers
3k views

Data points Imported into QGIS are in the middle of ocean

I'm new to QGIS and tried importing some GTFS data in the CSV format (stops.txt). The project CRS, base map CRS and GTFS CRS have all been set to Google Mercator, but the points that are supposed to ...
5
votes
1answer
1k views

Reprojecting Natural Earth “Admin 0 – Countries” shapefile to Web Mercator

I haven't received a reply posting this same question on the Natural Earth forums, so I figured I'd give it a try here. I’m trying to reproject the 1:10m "Admin 0 – Countries" shapefile into a Web ...
4
votes
4answers
1k views

Understanding strange measure distance results from QGIS?

My colleague just told me about incorrect measure distance tool results in QGIS. For reference we used this pond. While our local map provider Mapy.cz and Google Maps: both show about 970 meters ...
4
votes
2answers
4k views

How to change from EPSG:900913 to EPSG:3857 in Postgresql

I didn't use the '-E 3857' switch when importing the OSM data into postgresql using osm2psql. I'm trying to set up a map server for the first time and I'm following the instructions from here: https:/...
4
votes
1answer
8k views

Trying to convert coordinates from WGS84 Web Mercator Auxiliary Sphere to WGS84

I've been struggling with this for way too long now. I've got some data that was georeferenced in the WGS84 Web Mercator Auxiliary Sphere that should have been done just in WGS84. The Auxiliary ...
3
votes
1answer
9k views

Convert GPS coordinates to Web Mercator EPSG:3857 using python/pyproj

I've created a couple of functions using the math package from python 3.5 to transform GPS coordinates to x/y web mercator (pseudo mercator) as explained here: http://wiki.openstreetmap.org/wiki/...
3
votes
4answers
3k views

How to georeference a tile downloaded from Google Maps

I'm trying to georeference a set of image tiles downloaded from a Google Maps site. Based only on each image's Google Maps grid reference and zoom level, how can I calculate the real-world coordinates?...
3
votes
1answer
4k views

Mercator projection: formula for latitude based on pixels?

I am basing this question on knowledge from a previous one: Mercator projection: problem with latitude formula In that question/answer, the formula is given for working out how many pixels above/...
3
votes
1answer
191 views

Differences in angle measurements in Web Mercator

I am trying to measure different angles on 2D map using lat/lon coordinates taken from Google Maps, and Java library JTS. I have noticed a weird thing: my measurements are always distorted, except ...
3
votes
1answer
1k views

calculating bounding box from known centre coordinate and zoom

I have a map, the centre of that map (centrepoint) is = -37,175 ( gps) I know the zoom of the map = 13 I know the size = 320x320px I know there is 111111m in a degree of latitude and a varying degree ...
3
votes
0answers
3k views

Converting lat/long to EPSG:3857 coordinates

The map widget I'm using gives me click locations in lat/long. I need to convert those coordinates to EPSG:3857 to query a database. Most of the solutions I've found use the formula described in ...
2
votes
1answer
864 views

What is the correct coordinate system for google geocoded text file layers?

When importing a text file containing lat/longs geocoded from something like GPSVisualizer.com into QGIS, what is the correct coordinate system to select? Most web services (GpsVisualizer included) ...
2
votes
1answer
876 views

How to convert to web mercator projection using an open source tool?

I've got a KML file which I need converted to a web mercator projection. This file will go into Tilemill. What are some good open source tools to convert files to the web mercator projection?
2
votes
2answers
1k views

Convert UTM to Web Mercator

I'm looking to programmatically convert UTM to Web Mercator (a.k.a. Spherical Mercator, EPSG:3857, EPSG:3785, OpenLayers:900913). I'm looking for the algorithm, or something that runs on iOS (Swift, ...
2
votes
1answer
1k views

Get XY coordinates in UTM from web-mercator where UTM zone is not known

How to get XY(northing/easting) coordinates in UTM where data is WGS_1984_Web_Mercator_Auxiliary_Sphere(WKID: 3857) coordinate system and UTM zone is unknown. For e.g. India falls under multiple UTM ...
2
votes
1answer
504 views

Web Mercator to 3d globe projection problems

I've been trying to use map tile images from services like OpenStreetMap to create a globe, and I've mostly succeeded. The problem is that when I compare my globe to one using the same image source ...
2
votes
1answer
1k views

Reprojecting from Lambert Conformal Conic into EPSG:3857?

I'm trying to reproject a plain png image file into EPSG:3857 for use in an OpenLayers application. I'm pulling the image from the NWS site at: http://rapidrefresh.noaa.gov/HRRR/for_web/hrrr_ncep_jet/...
2
votes
2answers
331 views

ST_Distance Webmercator Error

I do have one more question pertaining to ST_Distance. I tried to add to my previous post but I made a new post. When applying the following query to my javascript I get this error: SELECT c....
2
votes
1answer
787 views

Blank MapServer WMS image at low zoom levels in OpenLayers

I have an OpenLayers map using OSM as the baselayer with several layers coming from MapServer via WMS. The OL map is in EPSG:3857 and my mapfile (and shapefiles) are in EPSG:4326. In my mapfile I ...
2
votes
1answer
73 views

GDALWARP cuts off right edge of image?

I'm reprojecting GFS GRIB files to EPSG:3857 using gdalwarp. Resulting file get little bit shorter to the right so when I zoom in from zoom level 5 and higher, I can see vertical line with missing ...
2
votes
2answers
186 views

Problem aligning points near North Pole using Web Mercator with QGIS and Google Street View

This is my first time using QGIS 2.18. I created a project with EPSG:3857. Added OpenLayers Plug-in to use Google Street View as a map for the points and data I want to work on. I love self-...
1
vote
1answer
256 views

Where to get world-map images for use in webglearth

I am using webglearth for a 3D earth globe. I already bought MapTiler, from the same makers. Now I am struggling with finding different world-map-images with the right projection. I need either WGS ...
1
vote
2answers
2k views

Mercator vs. Web Mercator for Large Scale Topographic Maps

I have 8 terabytes of imagery that is in either lon/lat or UTM projection that I will be using for the basis of large scale topographic maps. I have been studying the differences between Mercator and ...
1
vote
1answer
1k views

CartoDB Convert from the_geom to google's lat long

I have a CartoDB table that when I query it via the rest api I get something like this: { "name": "sas", "street": "la plata 2390", "cartodb_id": 1, "created_at": "2013-06-26T00:46:21.412Z", ...
1
vote
1answer
169 views

Difference in Spherical Mercator(google/mapbox/supercluster code) calculation and Postgis 3857

As per source code of supercluster, google map utils and mapbox formula to convert (lng, lat) to spherical mercator is as x = lng/360 + 0.5; siny = Math.sin(Math.toRadians(lat)); y = 0.5 * Math.log((...
1
vote
1answer
28 views

Normalize OSM geometry to 1x1 coordinate system

I'm extracting a couple of geometries with overpass turbo and need to "normalize" their shape from lat-lon to [[0-1][0-1]] coordinates. The first thing I've tried is probably pretty wrong: get ...
1
vote
1answer
3k views

How do I convert tile pixels to longitude and latitude for web mercator?

I need a function to convert from tile pixels (x, y) from the Web Mercator projection (aka EPSG::3857 or SRID 900913), to longitude and latitude. I'd like the function to be written in pseudo-code or ...
1
vote
2answers
4k views

Proj4js Problem in converting coordinates from google mercator

I am a really beginner into web-cartography, so sorry if this subject is rudimentary or basic but I truly search for a long time and I am still stick in it. So the problem is: I don't understand why ...
1
vote
1answer
582 views

Converting a pixel coordinate in GeoTIFF to a latitude and longitude?

I have a GeoTIFF with the following meta information: PROJCS["WGS 84 / Pseudo-Mercator", GEOGCS["WGS 84", DATUM["WGS_1984", SPHEROID["WGS 84",6378137,298.257223563, ...
1
vote
1answer
500 views

Reprojecting from MODIS Sinusoidal to Web Mercator: how to calculate output raster dimensions?

I have a MODIS image from AWS in sinusoidal projection and I want to calculate output raster size after reprojecting it into Web Mercator (EPSG:3857). $ gdalinfo MCD43A4.A2017185.h11v03.006....
1
vote
1answer
131 views

Alternative to Web Mercator projection that does not look too small on phone?

My issue with Web Mercator as a projection to use online is that I think it gives people an unrealistic perception of space. Greenland looking massive is a good example. One benefit of Web Mercator, ...
1
vote
2answers
748 views

Scalebar gives error in measurement in Qgis: Different measurements of distance on OSM tiles and GoogleEarth

I've created a map of Bordeaux using the QGIS map compositor by following this procedure: Used the OSM plugin to display an OSM map and zoomed to Bordeaux Used the print composer to create a map of ...
1
vote
1answer
278 views

Transforming image from Web Mercator Projection to Simple Cylindrical (Plate Carree) projection?

I have an image that is projected using the Web Mercator projection. Does anybody know how to transform (in ArcMap) this image from the Web Mercator projection to the Simple Cylindrical (Plate ...
1
vote
2answers
3k views

How to display WGS 1984 Web Mercator (Auxiliary Sphere) services in Google Earth?

The basemap services provided by Esri (on ArcGIS Online, Data and Maps for Sever, and the Data Appliance for ArcGIS) use the WGS 1984 Web Mercator (Auxiliary Sphere) spatial reference (WKIDs 102100 or ...
1
vote
1answer
1k views

Pseudo Mercator error?

I'm mapping on QGIS, I have a vector layer and his CRS is on EPSG:4326 - WGS 84, but also I wanted to put a satellite image, so when I do it, the image use WGS 84 / Pseudo Mercator. The problem is, ...
1
vote
0answers
45 views

Changing Map Coordinate System Changes in ArcGIS Pro Changes Azimuth

I am trying to create a label that will overlay a line in ArcGIS Pro, the layer is coming from a PostGIS database. The underlying materialized view for the label/symbol overlay is something like this: ...
1
vote
0answers
145 views

Converting latitude/longitude to full range referential

I have a list of latitudes and longitudes expressed as follow: -1 <= latitude <= 0 0 <= longitude <= 1 Those coordinates represent POIs on a fantasy map displayed using the Leaflet ...
1
vote
0answers
94 views

Why don't public organizations support Web Mercator EPSG 3857 for WMS? [closed]

Given that Web Mercator is the defacto standard for web mapping and all basemaps (Google, ESRI, Mapbox) are based on this coordinate system.. Why do many organizations e.g. NOAA not publish their WMS ...
1
vote
0answers
101 views

satellite imagery basemap for webmapping application

I am currently trying to develop a small webmapping application to show some point data which covers the whole planet. I do want to use projections different from webmercator, like Robinson ...
1
vote
0answers
618 views

Transform projection with SharpMap

I have SharpMap loading a shapefile and displaying the rendered image to a PictureBox. If I open the shapefile in QGis I can see the SRC: +proj=merc +lon_0=100 +lat_ts=-41 +x_0=0 +y_0=0 +datum=...
1
vote
0answers
346 views

Google Map Projection Skew - Need correct Projection

I'm having a really difficult time resolving skewed grids when projecting onto Google maps using Alteryx outputs. Within the module, I'm taking GRD files and aggregating rows and columns to re-size ...
1
vote
1answer
1k views

How to get screen coordinate from geographic one?

I need to know, how can I convert some geographic coordinates to the screen one. I want to remind you about desktop coordinates system, how it look like: I've developed soft, which is loading map ...
1
vote
1answer
362 views

Open Basemap in different Projection (Transverse Mercator) - QGIS

I have data in a transverse Mercator projection which is a different projection from my base map (Spherical Mercator / Web Mercator / pseudo-Mercator). I really would like to create a map in a TM ...
0
votes
2answers
92 views

Converting between coordinate systems but retain visual shape? [closed]

We have some data that is stored in GeoJSON format (using EPSG:4326), but now we want to display the data in the mapbox-gl-js, which only supports EPSG:3857 for display (support for other projections ...