Changeset 13614
- Timestamp:
- 01/28/08 11:08:05 (4 months ago)
- Files:
-
- trunk/gdal/frmts/ilwis/ilwisdataset.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/gdal/frmts/ilwis/ilwisdataset.cpp
r11834 r13614 407 407 { 408 408 string st = ReadElement("MapStore", "Type", pszFileName.c_str()); 409 transform(st.begin(), st.end(), st.begin(), tolower);410 409 411 410 if( EQUAL(st.c_str(),"byte")) … … 482 481 else 483 482 georef = ReadElement("MapList", "GeoRef", osFileName); 484 485 transform(georef.begin(), georef.end(), georef.begin(), tolower);486 483 487 484 //Capture the geotransform, only if the georef is not 'none', … … 789 786 // Fetch coordinate system 790 787 string csy = ReadElement("GeoRef", "CoordSystem", pszGeoRef); 791 transform(csy.begin(), csy.end(), csy.begin(), tolower);792 793 788 string pszProj; 789 794 790 if( (csy.length() != 0) && !EQUAL(csy.c_str(),"unknown.csy")) 795 791 { … … 797 793 //Form the coordinate system file name 798 794 if( !(EQUALN( csy.c_str(), "latlon.csy", 10 )) && 799 !(EQUALN( csy.c_str(), "LatlonWGS84.csy", 15 ))) 795 !(EQUALN( csy.c_str(), "LatlonWGS84.csy", 15 ))) 800 796 { 801 797 string pszBaseName = string(CPLGetBasename(csy.c_str()) ); … … 1319 1315 string domName = ReadElement("BaseMap", "Domain", pszFileName.c_str()); 1320 1316 string pszBaseName = string(CPLGetBasename( domName.c_str() )); 1321 transform(pszBaseName.begin(), pszBaseName.end(), pszBaseName.begin(), tolower);1322 1317 string pszPath = string(CPLGetPath( pszFileName.c_str() )); 1323 1318 … … 1371 1366 1372 1367 string domType = ReadElement("Domain", "Type", pszDomainName.c_str()); 1373 transform(domType.begin(), domType.end(), domType.begin(), tolower);1374 1368 if EQUAL(domType.c_str(),"domainvalue") 1375 1369 {
