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
0
votes
0answers
33 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 ...
1
vote
3answers
111 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 ...
2
votes
0answers
29 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 ...
0
votes
1answer
210 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","coordinates":[[[[-180.0,-40....
0
votes
0answers
38 views

gdal2tiles tiling raster crosses 180 meridian

I have raster that has extra 180 longitude (Chukotka peninsula area) and I would like to make tiles (in gdal2tiles) of this .tif and there are some problems: When trying to reproject raster to EPSG:...
1
vote
0answers
201 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 ...
2
votes
1answer
74 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 ...
2
votes
1answer
82 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. ...
2
votes
1answer
183 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 ...
2
votes
1answer
275 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 ...
2
votes
0answers
99 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 ...
1
vote
0answers
208 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 ...
4
votes
1answer
453 views

Determine whether a 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 lng for all points) fails on ...
2
votes
2answers
339 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)?
5
votes
1answer
254 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-...
1
vote
1answer
316 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 ...
4
votes
1answer
277 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 ...
1
vote
0answers
239 views

Define polygon across the 180 meridian in DotSpatial

I am new to DotSpatial and I try to define a polygon that crosses the 180 meridian by following: FeatureSet fs = new FeatureSet(FeatureType.Polygon); Coordinate[] coord = new ...
4
votes
1answer
93 views

Un-splitting data that crosses antimeridian in ArcMap?

I'm working with a set of points in ArcMap that crosses the antimeridian (180°). I need to convert the points to a line but doing so creates a line that doubles back and forth across the globe to ...
4
votes
0answers
745 views

Shapely polygons crossing the antimeridian

Sample data Consider the following WKT Polygon, crossing the international dateline (antimeridian): POLYGON((176 49,-65 49,-65 11,176 11,176 49)) And the following points: POINT(-140 32) # ...
3
votes
1answer
178 views

Use map projections to find closest point over dateline

I want to identify closest points to a polygon over the dateline in an OGR/Python script. I found this workaround for PostGIS but I'm not 100% certain about the applicability in my case. This may be ...
0
votes
2answers
164 views

How to use postgis to reproject 900913 to a different bounding box

The OSM data is in 900913. I need to get 4326, but so that the longitude's range is NOT -180..180, but rather some other, shifted range, based on a parameter. This way, if I need to draw an object ...
2
votes
0answers
147 views

GeoJSON<->TopoJSON roundtrip breaks leaflet on antimeridean

For Wikipedia, I'm writing a service that extracts polygons of a country by a given ID, simplifies them, and produces GeoJSON. The PostGIS query produces this GeoJSON: {"type":"MultiPolygon","...
6
votes
1answer
2k views

xarray slicing across the antimeridian

I'm just starting with using xarray for working with n-dimensional NetCDF datasets. I particularly like the techniques for slicing using both indexes and labels (isel and sel): import xarray as xr ds ...
2
votes
0answers
118 views

Unwanted display of 180 meridian in map [duplicate]

When I use the WGS 84 CRS the Chukotka peninsula east of the 180 meridian is shown on the left of the map. If I project (on-the-fly) the map using a Lambert Azimuth projection, the Chukotka peninsula ...
24
votes
2answers
1k views

Best-practices for databases and APIs with geographic data spanning the antimeridian

What is the best-practice for storing geographic features (lines, polygons and their multipart equivalents) when these features span the antimeridian (±180° longitude), and need to be sent to and ...
3
votes
1answer
580 views

How can I convert PostGIS geography to geometry and split polygons that cross the antimeridian

I have a PostGIS 2.2 table that stores polygons as geography type. The table contains several polygons that cross the antimeridian. I would like to split these polygons at the antimeridian and ...
9
votes
2answers
2k views

Polygons across international dateline [-180..+180 longitude]

I'm trying to generate polygons for satellite orbital swaths. So far I have a method to generate two lines which represent the edge of each swath in [lat,long]. Some of the swath's cross the ...
2
votes
0answers
99 views

how to use st_intersection() with re-projection in POSTGIS?

This is a shipping route from 'Portland to Busan' and I want to check the route against land_polygons like how much distance is traveled by a route through land. And the problem is while checking the ...
1
vote
1answer
160 views

MapProxy and the antimeridian

I am using MapProxy to use my company's tiled map service (TMS) as a web map service (WMS) for consumption by desktop GIS clients. One of the great advantages is being able to add additional ...
5
votes
2answers
1k views

Mapping Russia - Int'l dateline splitting polygon

I am having the issue where the International Dateline is splitting a polygon I am working with. I have a layer of the "Federal Districts" of Russia, and the eastern most federal district is being "...
6
votes
0answers
2k views

How to prevent cross-world lines in ggplot world map?

I'm having issues displaying 'great circles' paths and polygons in ggmap, an extension of ggplot2. Please enter the following code to replicate my issues: https://gist.github.com/Robinlovelace/...
2
votes
2answers
1k views

Using ST_MakeEnvelope over the antimeridian

I'm using ST_MakeEnvelope in PostGIS to try and make geometries that cross the international dateline (antimeridian), but they are making a shape that wraps the other way around the globe. The ...
9
votes
4answers
4k views

Splitting Linestrings on the dateline with OpenLayers

A couple of years ago I posted a questions titled "The International Date Line wrap around" @jdeolive suggested I split the features at the dateLine. So I tried. So when I try to split my satellite ...
5
votes
1answer
2k views

Postgis: Is there a way to do an intersection query based on lines while taking into account the dateline?

This is an exact copy of a question I asked on Stackoverflow a few weeks back and still haven't found a good answer for it. The original question is from here: original question. I've been searching ...
12
votes
8answers
7k views

The International Date Line wrap around

Using OpenLayers, I added a WFS layer (on GeoServer) with a filter that returns all features (black) that intersect my polygon (yellow) placed over some Latin American countries within certain dates. ...