Changeset 11638

Show
Ignore:
Timestamp:
06/10/07 02:25:04 (1 year ago)
Author:
mloskot
Message:

Added detection of 'ESRI::' prefix in ESRI-style WKT format of projection definition if it's read from given file instead of string (Ticket #1656).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/gdal/ogr/ogrspatialreference.cpp

    r11348 r11638  
    15861586    else 
    15871587    { 
     1588        if( EQUALN(pszBufPtr,"ESRI::",6) ) 
     1589        { 
     1590            bESRI = TRUE; 
     1591            pszBufPtr += 6; 
     1592        } 
     1593 
    15881594        err = importFromWkt( &pszBufPtr ); 
    15891595        if( err == OGRERR_NONE && bESRI )