Changeset 630

Show
Ignore:
Timestamp:
02/21/07 16:18:45
Author:
cph
Message:

as per #116 I'm commenting out this code - also discussed with Sean

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • PCL/trunk/PCL-GDAL/cartography/data/disk.py

    r627 r630  
    103103            srs = SpatialReference(proj4) 
    104104 
    105             if sref.GetAuthorityName('GEOGCS').upper() == 'EPSG': 
    106                 try: 
    107                     # Prefer the EPSG over PROJ.4 if available 
    108                     epsg = int(sref.GetAuthorityCode('GEOGCS')) 
    109                     srs = SpatialReference(epsg=epsg) 
    110                 except (TypeError, ValueError): 
    111                     pass 
     105            #as per #116 the following code does not work correctly 
     106            #if sref.GetAuthorityName('GEOGCS').upper() == 'EPSG': 
     107            #    try: 
     108            #        # Prefer the EPSG over PROJ.4 if available 
     109            #        epsg = int(sref.GetAuthorityCode('GEOGCS')) 
     110            #        srs = SpatialReference(epsg=epsg) 
     111            #    except (TypeError, ValueError): 
     112            #        pass 
    112113 
    113114            schema = []