Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
1
vote
0answers
40 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
1answer
26 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 ...
0
votes
0answers
97 views

How to compute distance between two spherical Mercator points

I am computing the Mercator points according to the top answer at Convert latitude/longitude point to a pixels (x,y) on Mercator projection. Now that I have two Mercator points on a spherical ...
0
votes
0answers
47 views

Features crosses 180 meridian rendered wrong in mbtiles

I think it is the common issue - rendering vector map crosses 180 meridian. But still no success - I didn't come to any correct solution. The problem is, I have vector layer (exactly, linestring ...
0
votes
2answers
82 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 ...
2
votes
1answer
66 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 ...
1
vote
1answer
465 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, ...
3
votes
1answer
168 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 ...
1
vote
0answers
141 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 ...
0
votes
0answers
50 views

Projecting EUMETSAT precipitation data

I downloaded the H05 – PR-OBS-5 Accumulated precipitation at ground data from H-SAF. The Product User Manual states the dataset is in rectangular stereographic projection centred on 42°N, 10°E. I need ...
1
vote
0answers
88 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 ...
0
votes
2answers
568 views

MapBox or Google Maps Static API: Extent or bounding box of image?

I'm using the MapBox or Google Maps Static API to get map images. I understand that the centre of the image is specified in terms of latitude and longitude, but is there any way to either specify or ...
1
vote
1answer
348 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 ...
1
vote
1answer
165 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
467 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....
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/...
1
vote
0answers
97 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 ...
2
votes
2answers
180 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-...
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, ...
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 ...
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 ...
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 ...
0
votes
1answer
1k views

Project from GCS_WGS_1984 to WGS_1984_Web_Mercator_Auxiliary_Sphere

What is the default transformation method to project data from from GCS_WGS_1984(WIKI 4326) to WGS_1984_Web_Mercator_Auxiliary_Sphere(WIKI 3857)? ArcMap 10.3.1
0
votes
1answer
686 views

Command line tool for reading .shp, .prj and converting to Google Maps lat lngs

I have a data file exported from an ARCGIS system (parcel data from local government). Its a zip file containing 7 files: f.dbf, f.prj, f.sbn, f.sbx, f.shp, f.shp.xml, f.shx. I have a simple ruby ...
1
vote
0answers
594 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
1answer
248 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 ...
2
votes
1answer
485 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 ...
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/...
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?...
0
votes
1answer
313 views

Are with WebMercator the X and Y extents identical?

I am calculating the tile coordinates in a WebMercator projection at different zoom levels and have the following problem: Cartopy suggests that the projection extent in meters is slightly different ...
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 ...
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, ...
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/...
1
vote
2answers
727 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 ...
0
votes
1answer
877 views

Issue on Exporting Shapefile Points to Google Map Longitude & Latitude?

Using ArcGIS 10.2 and Some points in Shapefile with BC Albers Coordinate System I am having problem on Getting Points Longitude & Latitude in Google Map Coordinate System. What I have is a CSV ...
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:/...
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
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 ...
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/...
1
vote
1answer
271 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
0answers
344 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 ...
2
votes
1answer
866 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?
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 ...
17
votes
2answers
4k 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 ...
2
votes
2answers
329 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....
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 ...
0
votes
1answer
3k views

Coordinate conversion - Lat Long to State Plane, ArcServer-Silverlight

I am trying to project a Lat/Long value I get from a table to a x/y value that I can use to plot a graphic. I have seen one way to do this may be to use something like this: feature.Geometry = ...
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 ...
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 ...