Questions tagged [antimeridian]

The antimeridian, or 180th meridian, is the meridian which is 180° east or west of the Prime Meridian with which it forms a great circle. It is distinctive among meridians in that it is common to both east longitude and west longitude.

Filter by
Sorted by
Tagged with
2 votes
0 answers
49 views

Chatham Islands Bounding Box issue in EPSG:4326 on GeoServer

I have vector layer published on GeoServer for New Zealand territory including Chatham Islands, that are close to Anti-Meridian line: Layer is sourced from PostgreSQL DB, and it doesn't have ...
Maria Savchenko's user avatar
0 votes
1 answer
106 views

New Zealand map that includes Chatham Islands

I am trying to create a map of New Zealand in R (sf, ggplot2), that includes Chatham Island. I am accessing the online New Zealand map from Natural Earth. Online I can see the Chatham Islands on the ...
Angela Russell's user avatar
0 votes
0 answers
22 views

GeoServer tiles showing different shift depending on the side of the anti-meridian

I have two points, one is on the left side of the anti-meridian and the other is on the right side of the anti-meridian. Both are being retrieved from GeoServer as WFS (red) and as vector tile (orange)...
Falcoa's user avatar
  • 335
1 vote
1 answer
132 views

Draw line between China and South America through the Pacific Ocean in Leaflet

I am relatively new using Leaflet.js. I want to draw a polyline in Leaflet.js between China and South America through the Pacific Ocean. Instead, I can only draw this line through both places through ...
Carlos Muñoz's user avatar
2 votes
0 answers
70 views

Raster crossing anti meridian in QGIS

See the raster overlayed in QGIS below: I am trying to project a GeoTiff in QGIS that crosses the anti meridian, but the area circled in red in the above picture is exactly 180/-180, so there is some ...
Ben Whitely's user avatar
1 vote
1 answer
86 views

st_union in R creates artifacts for global data

I load this polygon data in R which global coverage. https://drive.google.com/file/d/1E-atD4ZhbaQ8Zxv93sFgk9l_atLtG8eJ/view?usp=drive_link It looks like this: In QGIS I can run the dissolve function ...
Lenn's user avatar
  • 1,213
2 votes
0 answers
153 views

How to solve antimeridian split using GDAL

I'm fairly new to GIS and GDAL. But I need to solve the problem with anti-meridian. I have satellite images from Meteor-M2 that can span over -180 / 180 longitude. I created .vrt file with correct GCP ...
dernasherbrezon's user avatar
3 votes
1 answer
3k views

World Map without break line at 180 Meridian (Russia) [duplicate]

I want to create a map of the world (in my case Winkel Tripel but could be Miller or Equal Earth as well) showing Russia's full extent to the right, like in this example - which might be a very common ...
boess's user avatar
  • 47
3 votes
1 answer
532 views

Splitting polygons crossing the antimeridian

I have a global dataset of earthquakes, I want to do some buffering around them. Having the earthquake dataset in the layer "query" and having a polygonlayer called "jordskjelvbuffer&...
MortenSickel's user avatar
  • 3,706
1 vote
1 answer
116 views

gdalwarp antimeridian problem on TIF with GCPs

I've got a non-projected TIF with 440 GCPs (a Sentinel-1 image) that crosses the antimeridian. Normally I just call gdalwarp with -t_srs (in this case 'epsg:3031' Antarctic Polar Stereographic), ...
scalt's user avatar
  • 21
0 votes
0 answers
316 views

Recenter map that crosses international dateline with ggplot and geom_sf

Consider the map of Europe below. Parts of Russia are on the other side of the map. How might I "recenter" the map so that there is less empty space? I guess I need to somehow move the ...
Kene David Nwosu's user avatar
1 vote
0 answers
38 views

Vector files in QGIS are very badly deformed in different projection systems [duplicate]

I have a vector file of a world map, a shapefile. I wanted to make a map of the world centered on the Pacific Ocean, so I used EPSG:8859 BUT the Arctic and Antarctic regions will undergo severe ...
smilecc's user avatar
  • 87
2 votes
1 answer
458 views

Seeking global map projection centered on Americas

I currently use EPSG: 4326. How can I re-project the map so that the blue delineation appears as one continuum, rather than being split into a western and eastern component? EPSG:3832:
tabtimm's user avatar
  • 135
1 vote
0 answers
195 views

gdalwarp antimeridian issue

I realise there are similar questions but I could not find the exact same. Here is what I am trying to do: gdalwarp -t_srs '+proj=stere +lat_0=YY +lon_0=XX +k=1 +x_0=0 +y_0=0 +a=1737400 +b=1737400 +...
oarsome's user avatar
  • 113
4 votes
1 answer
869 views

PostGIS: geometric shapes crossing 180 meridian

How to deal with a problem of intersection of geometry shape (linestring, polygon) and 180 meridian? I have polygons distributed all over the Earth globe, some of them intersecting 180 meridian. The ...
David Langr's user avatar
3 votes
1 answer
473 views

PostGIS - Polygon crossing latitude 0 and longitude 180

I need to find all the couples long/lat (listed in a table) that belong to the area defined by a polygon in PostGIS (version 3.0). My area is defined by the following polygon, which crosses the ...
danilod's user avatar
  • 41
5 votes
1 answer
303 views

Grid of meridians and parallels from South Pole in QGIS print composer

In QGIS 3.16, I'm preparing a map of the emperor penguin colonies in the Antarctica, using the data from the Quantarctica project, but I'm facing a couple of issues with the grid created in the print ...
jpinilla's user avatar
  • 3,230
1 vote
0 answers
125 views

Create geo-referenced raster crossing dateline in Python

I am trying to create a geo-referenced raster from data that crosses the dateline. In one example my data runs from 11-69N, 150-210E. I am pretty new to both Python and creating rasters, but have ...
tth's user avatar
  • 11
2 votes
0 answers
301 views

Reconstructing satellite sensor swath polygon (multiple orbits, antimeridian crossing)

I'm currently working on a project that involves displaying a given satellite's sensor coverage of Earth, with one of the objective being to count how many swaths overlap a given point on Earth over a ...
M2FKXY's user avatar
  • 41
2 votes
1 answer
763 views

Leaflet making ap invisible out of the world's edge

I am working at zoom bounds to my map. Unfortunately, if I go beyond the min zoom 2.75 I start to see the map beyond the World's edge. I mean, that the world map tends to be repeatable, but without ...
Geographos's user avatar
  • 4,077
1 vote
1 answer
561 views

Leaflet Shiny and polygons across the dateline

I have a Shiny app which maps country characteristics to their SF polygons (from rnaturalearth) using Leaflet. I'm having trouble displaying the polygons around the dateline (antemeridian) in the ...
HDK's user avatar
  • 41
2 votes
2 answers
617 views

h3 grids wrapping around projected map

I am trying to create a map out of a file with millions of points. To make this tractable, I am using h3 to aggregate the points. After doing the aggregation using a combination of h3 and pandas in ...
DotPi's user avatar
  • 779
2 votes
1 answer
455 views

Cannot split vector across the 180degree line in QGIS

I am trying to split the vector I imported from geojson across the 180degree line and it gives me an error: No features were split : If there are selected features, the split tool only applies to ...
Joseph Ricafort's user avatar
7 votes
3 answers
1k views

QGIS Vector layer stretched across entire map

I've imported a vector layer with extents between two hemispheres near the antimeridian. Unfortunately, instead of having the geometry split in two, where one part lies east of the antimeridian, and ...
Geographos's user avatar
  • 4,077
5 votes
1 answer
2k views

Reprojecting over the Pacific Ocean with EPSG:3832 gives artefacts

I am trying to center the Natuarl Earth 10m on the Pacific. I have followed instructions from QGIS Tutorial: How to Change the Map Projection to be Centered Over the Pacific Ocean. When I change ...
Corpuscular's user avatar
7 votes
1 answer
248 views

+0-180 degrees of mesh layer are displaying as horizontal lines [QGIS]

I have been trying to display weather data from ECMWF in QGIS on top of a base map, but half of the heatmap rendered from the mesh layer (imported via grib) displays as straight horizontal lines. I ...
Michal Paszkiewicz's user avatar
2 votes
1 answer
386 views

Wrapping a GeoTIFF over the antimeridian in QGIS

I want to make a map of marine sampling locations for a study, and in this context show some bathymetric profiles. So in my map I have shapefiles from NaturalEarth as well as GeoTIFF bathymetry data. ...
flurble's user avatar
  • 123
1 vote
0 answers
96 views

How to reproject data from [-180 180] to [0 360]? [duplicate]

I have both a GeoJSON and shapefile of volcanoes along the Pacific Ring of Fire. The area I want to render in the map is right around the antimeridian, so Leaflet cuts it in half. I initially tried to ...
vastava's user avatar
  • 125
1 vote
0 answers
35 views

Control direction of lines around earth

in QGIS 3.4.14, I am trying to draw a line from Los Angeles to Tokyo. With an XYZ Tile base map turned on, the line goes east from Los Angeles (over Africa) to Tokyo. I would like the line to appear ...
Alan's user avatar
  • 11
3 votes
1 answer
1k views

Changing projection from 0 360 to -180 180 for a simple raster

I'm trying to convert a raster with projections of (0, 360) to (-180, 180), and I've tried various SO solutions such as this, but it gave me a cropped output that doesn't have the western hemisphere. ...
Ali Abbas's user avatar
5 votes
1 answer
801 views

GDAL VectorTranslate creates shards/fragments along anti-meridian

I have challenge to take a GeoJSON file and convert the CRS to WGS84/EPSG:4326 and also split the polygons along the anti-meridian. These are both in preparation for presenting the data via mapbox....
Mike Honey's user avatar
2 votes
1 answer
269 views

Making XY To Line not give shortest distance in ArcMap

I am creating a very simple map through XY to Line in AcrGIS. However, since the destination is New Zealand and located at the bottom corner of global maps it creates the following. Is there a way ...
Hank's user avatar
  • 21
1 vote
3 answers
520 views

Removing 180th meridian line on map of Russia?

I'm not sure how to remove the line that represents the 180th meridian (international dateline) on my polygon. I have the "Russia Country Boundary 2017" feature layer added from the Living Atlas. My ...
JoshALogs's user avatar
2 votes
0 answers
89 views

Removing a 'non-gap' gap from a polygon that straddles +/- 180 longitude; looking for an R-based, code solution

I am working with a set of polygons from here: http://lme.edc.uri.edu/index.php/digital-data. In the artic, there are several polygons that straddle the +/- 180 longitude line. These are single ...
JPC's user avatar
  • 71
2 votes
1 answer
354 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 ...
Mike Jackson's user avatar
1 vote
2 answers
3k views

Get a bounding box of a geometry that crosses the antimeridian using OGR

I'm trying to get a bounding box of the geometry that crosses the antimeridian using OGR: from osgeo import ogr geom = ogr.CreateGeometryFromJson('{"type":"MultiPolygon","...
dr_times's user avatar
  • 928
10 votes
1 answer
1k views

PostGIS geography returns area < 0.0

I am trying to convert a geometry column to a geography column and calculate the area using this query: SELECT dccode,SUM(CAST(St_Area(geom::geography,true) AS NUMERIC)) as Area FROM schema....
Matt's user avatar
  • 1,181
2 votes
0 answers
368 views

How to generate a Global Voronoi diagram?

Using arcMap, QGIS and similar software it is easy to create a non-global Voronoi diagram. The resulting shapefile polygons however are showing weird behavior when crossing the -180 meridian or the ...
RutgerH's user avatar
  • 3,265
2 votes
1 answer
292 views

Reproject with shifted central meridian - dateline gap in ArcGIS

I have reprojected a file of global ocean zoning to Winkel III shifting the central meridian to -180 to center it on the Pacific using ArcGIS 10.5. Doing so, a gap at the dateline appears: In a ...
Kristina's user avatar
  • 1,073
2 votes
1 answer
161 views

Removing lines from a polygon that has been reprojected to cross the antimeridian

I have a polygon file in qgis3.0 representing global tectonic plates. I have reprojected the original file in WGS84 (EPSG:4326) to PDC Mercator (EPSG:3832) using only the features that are needed. ...
Ewan's user avatar
  • 163
2 votes
1 answer
597 views

data reprojection and the antimeridian

I am trying to produce an earthquake map of the south-west pacific ocean area around New Zealand and its surrounding islands. In order to produce a map which crosses the antimeridian, I took two ...
Ewan's user avatar
  • 163
2 votes
1 answer
705 views

Line through polygons spanning 180-degree line

In ArcMap 10.2, I am trying to render a shapefile with polygons in the Pacific Ocean, which span the 180-degree line. The resulting image shows a line going through the polygons at the meridian, and I ...
user116949's user avatar
2 votes
0 answers
267 views

Hibernate spatial intersects() over antimeridian

I have a DB full of objects that contain a location (usually a polygon). I have a query defined that uses Hibernate Spatial's intersects() method to find all the objects that are with a box that's ...
user1050166's user avatar
2 votes
0 answers
475 views

How to display the geojson polygon after 180th meridian in leaflet?

Like the vector grid plugin in the leaflet: http://leaflet.github.io/Leaflet.VectorGrid/demo-geojson.html see the above example at zoom level 1 or 2 Is there any way to display geojson, not as a tile ...
Rajprabhu A's user avatar
5 votes
1 answer
4k views

Leaflet MapBox Issue of poly line which crosses the antimeridian

I am using mapbox leaflet js in my application "https://api.mapbox.com/mapbox.js/v3.0.1/mapbox.js". Previously i was using google map, I am facing an issue when i draw a polyline in map which crosses ...
user110197's user avatar
7 votes
3 answers
2k views

Determining whether polygon crosses the antimeridian

I'm working on a system that uses bounding boxes as a fast first check for a point-in-polygon filter. My current naive implementation (just taking the min/max lat and long for all points) fails on ...
nrabinowitz's user avatar
4 votes
3 answers
1k views

Does exist a Python library to generate polygons avoiding antimeridian issues?

If I need to generate a polygon that crosses the anti-meridian, does it exists a Python library that treat such cases (partitioning such polygon and generate a multipart polygon)?
Ricardo Barros Lourenço's user avatar
7 votes
1 answer
945 views

Is there an inverse operation to ST_Shift_Longitude in PostGIS < 2.3?

ST_Shift_Longitude(geom) (renamed to ST_Shift_Longitude in PostGIS 2.2) adds 360 to longitudes below 0, thereby (for lon-lat coordinates like WGS84) moving the part of the world "left" (west) of the 0-...
das-g's user avatar
  • 1,445
1 vote
1 answer
971 views

Is it possible to wrap date line with gdal.VectorTranslate()?

I use '-wrapdateline' option in ogr2ogr to split the polygons at the anti meridian. But in ogr2ogr Python port bWrapDateline is hardcoded to False. Is there a way to pass 'wrapdateline' option to ...
dr_times's user avatar
  • 928
6 votes
1 answer
1k views

Transforming a shapefile from EPSG:3338 to EPSG:4326?

I'm trying to transform this shapefile from EPSG:3338 (Alaska Albers) to EPSG:4326. When I display the file in EPSG:3338 in QGIS it looks as you'd expect: But when I display it in EPSG:4326 I see ...
Richard's user avatar
  • 3,289