Re: [gdal-dev] Reprojecting with Same Projection but Different Central_Meridians

2023-03-16 Thread Tom Hayden
You guys are the best - thank you. I thought I was going crazy. Brad - your code worked great on version 3.6.0 but when I was running this locally on 3.0.4. I get the wrong answer at the end. No problem, though, because this is fixed now. Thank you!! >>> transform_func = osr.CoordinateTransformati

Re: [gdal-dev] Reprojecting with Same Projection but Different Central_Meridians

2023-03-16 Thread Brad Hards
On Thursday, 16 March 2023 3:13:59 PM AEDT Tom Hayden wrote: > >>> u.Transfrom(transform_func) Did this line not give you an error? In any case, I used: import osgeo.osr as osr import osgeo.ogr as ogr p = 'PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",

Re: [gdal-dev] Reprojecting with Same Projection but Different Central_Meridians

2023-03-16 Thread Rahkonen Jukka
you think it does. -Jukka Rahkonen- Lähettäjä: gdal-dev Puolesta Tom Hayden Lähetetty: torstai 16. maaliskuuta 2023 6.14 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] Reprojecting with Same Projection but Different Central_Meridians Hello - I apologize if this is not the right place

[gdal-dev] Reprojecting with Same Projection but Different Central_Meridians

2023-03-15 Thread Tom Hayden
Hello - I apologize if this is not the right place to ask this question. This is a question about a specific set of projections and coordinate transformations using the osr/ogr libraries. Suppose I have two projections where the only thing that differs is the Central Meridian value. See below (the