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

2023-03-16 Thread Tom Hayden
["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0]]""" >>> srs2 = osr.SpatialReference(wkt=p2) >>> srs = osr.SpatialReference(wkt=p) >>> transform_func = osr.CoordinateTransformation(srs2, srs) >>> u = ogr.Geometry(o

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

2023-03-15 Thread Tom Hayden
ogr.wkbPoint) >>> u.AddPoint(0,0) >>> u.Transfrom(transform_func) But the end result is the same point that I originally put in. >>> u.ExportToWkt() 'POINT (0 0 0)' I would (I think?) expect to see a different x value, due to the changing central meridian. In theory, the reprojected point should be offset some. Maybe I'm missing something - is this a bug or am I mis-understanding the role of Central Meridian in projections. Regards -- Tom Hayden ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev