[gdal-dev] ArcGIS 9.3 does not recognize .prj file made with GDAL
tools
Dylan Beaudette
debeaudette at ucdavis.edu
Tue Dec 2 17:16:59 EST 2008
Hi,
Any idea on why Arc GIS can understand [1] version of a file, and not another
made by GDAL [2]. This projection file used to work with ArcGIS, and now
seems not to with version 9.3. Could I be generating the file incorrectly?
Here is the code (python) I used to generate the file [2] with GDAL.
#!/usr/bin/env python
# generate a PRJ file
import osgeo.osr as osr
# Set up spatial reference systems
proj_object = osr.SpatialReference()
proj_object.ImportFromProj4('+proj=aea +x_0=0.0 +y_0=0 +lon_0=-96 +lat_0=40.0
+lat_1=20 +lat_2=60.0 ellps=GRS80 +datum=NAD83 +units=m +no_defs')
print proj_object.ExportToWkt()
Attachments:
1. ca_geo_new-arcmap.prj
2. ca_geo_new.prj
Thanks in advance for any ideas.
Dylan
--
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341
-------------- next part --------------
PROJCS["Albers_online_ss_version",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Albers"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-96.0],PARAMETER["Standard_Parallel_1",20.0],PARAMETER["Standard_Parallel_2",60.0],PARAMETER["Latitude_Of_Origin",40.0],UNIT["Meter",1.0]]
-------------- next part --------------
PROJCS["unnamed",GEOGCS["NAD83",DATUM["North_American_Datum_1983",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6269"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9108"]],AUTHORITY["EPSG","4269"]],PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",20],PARAMETER["standard_parallel_2",60],PARAMETER["latitude_of_center",40],PARAMETER["longitude_of_center",-96],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["Meter",1]]
More information about the gdal-dev
mailing list