pTransformArg is null. As a side note, even when opening the file in FWTools 2.3.0, the projection reported is just -> Local_CS[""]
Thanks :) Derrick Hoffman Software Engineer Pro Logic Inc. 304 333-2680 x 322 derrick.hoff...@ultra-prologic.com -----Original Message----- From: Frank Warmerdam [mailto:warmer...@pobox.com] Sent: Monday, May 04, 2009 11:58 AM To: Derrick Hoffman Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Problem with old projection string Derrick Hoffman wrote: > //Get GDAL reprojection transform > > void * pTransformArg = GDALCreateReprojectionTransformer(sourceArray, > destArray); Derrick Does the above function return a non-NULL result? Does the GDALReprojectionTransform() function seem to be doing the right thing (ie. success is TRUE and result coordiantes are geographic)? > My problem is that when the dataset is opened, the projection string it > reports is just "Local_CS[""]" > > Any ideas on how I can get the projection for the file in a manner that > my GDAL conversion will work, or an alternative method for converting? It seems to me that the problem isn't specifically with the coordinate reprojection, but with how the output file is created - a matter you haven't described. What is the output format? How are you setting the coordinate system on the output file? Possibly you will need to provide more context. I will say I don't see any inherent problem with the output coordinate system definition you are using. Best regards, -- ---------------------------------------+-------------------------------- ------ I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent This e-mail from Ultra Electronics, ProLogic and any attachments to it are confidential to the intended recipient and may also be privileged or controlled by U.S. export control laws and regulations. No technical data, information or other items provided by Ultra Electronics, ProLogic in connection with this email shall be shared or provided to any foreign persons, entities, or subsidiaries without the expressed written authorization of Ultra Electronic, ProLogic. If you have received it in error please notify the sender and delete it from your system. If you are not the intended recipient you must not copy it or use it for any purpose nor disclose or distribute its contents to any other person. All communications may be subject to interception or monitoring for operational and/or security purposes. Please rely on your own virus checking as the sender cannot accept any liability for any damage arising from any bug or virus infection. _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev