[gdal-dev] How to compare the horizontal coordinate systems of two WKTs

2016-03-04 Thread John Hayes
Hi, I need to find out if two WKTs have the same horizontal coordinate systems. I found OSRIsSameVertCS() but I need some like it for horizontal CS. I'm thinking something like this should do the trick: ref1 = OSRNewSpatialReference(wkt1); if (OSRIsCompound(ref1)) ref1 = (ref1);

[gdal-dev] How do you remove the root AUTHORITY node from a OGRSpatialReferenceH?

2011-09-13 Thread John Hayes
THORITY")); I would prefer to use the C API. I was hoping something like OSRSetAuthority(ref, targetKey, NULL, 0) could be used. Thanks, -john John Hayes Senior Software Engineer LizardTech p: 206-652-5211 f: 206-652-0880 jha...@lizardtech.com www.lizardtech.com Serve up your image dat

[gdal-dev] reprojection to WGS 1984 Web Mercator

2009-08-04 Thread John Hayes
Hi, I'm having problems warping an image to WGS 1984 Web Mercator. The lat/long center point moved south by 10 arc-minutes. Does anyone have some suggestion on how to fix this? I'm pretty sure the USA_Contiguous_Equidistant_Conic transform worked fine because I looked at the lag/long in Go