Hi, I need to remove the root AUTHORITY from a OGRSpatialReferenceH object. I could not find away to do it with the C API. Am I missing something?
I ended up doing the following: OGR_SRSNode *root = static_cast<OGRSpatialReference *>(ref)->GetRoot(); root->DestroyChild(root->FindChild("AUTHORITY")); 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 data FAST with Express Server 7 now with support for MrSID Generation 4 (MG4™), the latest version of LizardTech’s MrSID format, which enables you to serve out specified bands from multi- and hyperspectral imagery and uses alpha-band transparency for better looking mosaics. _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev