Re: [gdal-dev] Python interface to wrapdateline

2016-05-10 Thread Sean Gillies
Hi Brendan, On Tue, May 10, 2016 at 8:45 AM, Even Rouault wrote: > Le mardi 10 mai 2016 16:31:44, DeTracey, Brendan a écrit : > > Hi, > > > > Is there any way to access the wrap dateline capabilities of OGR from the > > Python interface? For example how to split the following polygon: > > > > fr

Re: [gdal-dev] Python interface to wrapdateline

2016-05-10 Thread Even Rouault
Le mardi 10 mai 2016 16:31:44, DeTracey, Brendan a écrit : > Hi, > > Is there any way to access the wrap dateline capabilities of OGR from the > Python interface? For example how to split the following polygon: > > from osgeo import ogr, osr > srs = osr.SpatialReference() > srs.ImportFromEPSG(432

[gdal-dev] Python interface to wrapdateline

2016-05-10 Thread DeTracey, Brendan
Hi, Is there any way to access the wrap dateline capabilities of OGR from the Python interface? For example how to split the following polygon: from osgeo import ogr, osr srs = osr.SpatialReference() srs.ImportFromEPSG(4326) p = ogr.CreateGeometryFromWkt('POLYGON ((160 1, -160 1, -160 -1, 160 -