Changes between Version 2 and Version 9 of Ticket #5639


Ignore:
Timestamp:
Oct 1, 2014, 5:29:30 AM (10 years ago)
Author:
Even Rouault
Comment:

harishkumargvs,

I've tested your code with GDAL 1.7 branch, and I also get the "ERROR 1: Too many points (441 out of 441) failed to transform,". I can't understand how it can work for you

The help page of the USGSDEM driver mentions "Input data must already be sampled in a geographic or UTM coordinate system.", and indeed when checking the source code of the driver, I can see it is not ready to receive an input dataset with other kind of coordinate system. So the error you get is logical.

You have 2 options :

  • either provide a geotransform and SRS that are consistent with a geographic or UTM coordinate system
  • or fix the driver to accept other coordinate systems. Regarding the later, I could be contracted to do such a fix. If you are interested, email me at contact at spatialys.com.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5639

    • Property Priority highhighest
    • Property Severity criticalblocker
  • Ticket #5639 – Description

    v2 v9  
    33
    44        USES_CONVERSION;
    5         GDALDataset *poDST = NULL;
     5       
     6{{{
     7GDALDataset *poDST = NULL;
    68        OGRSpatialReference oSRS;
    79        char *prj4 = NULL;
     
    8890        if (poSRS)
    8991                GDALClose(poSRS);
     92}}}
     93
    9094
    9195Note: GDALDriver::CreateCopy() used to work fine with gdal17.dll versioned 1.7.2.0 but with gdal110.dll versioned 1.10.1.0 it fails...