Hi there,
I need to add a projection to support an imported shapefiles dataset with the following projection: PROJCS [ "Business Analyst Projection", GEOGCS[ "GCS_WGS_1984", DATUM[ "D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]], PRIMEM["Greenwich",0.0], UNIT["Degree",0.0174532925199433]], PROJECTION["Equidistant_Conic"], PARAMETER["False_Easting",0.0], PARAMETER["False_Northing",0.0], PARAMETER["Central_Meridian",-88.02657853618898], PARAMETER["Standard_Parallel_1",41.82305904132364], PARAMETER["Standard_Parallel_2",41.82305804132364], PARAMETER["Latitude_Of_Origin",0.0], UNIT["Meter",1.0] ] I used the following SQL to add the projection to the spatial_ref_sys table: INSERT INTO spatial_ref_sys (srid, auth_name, auth_srid, srtext, proj4text) VALUES (9998, 'EPSG', 9998, 'PROJCS["Business Analyst Projection", GEOGCS["GCS_WGS_1984", DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]], PRIMEM["Greenwich",0.0], UNIT["Degree",0.0174532925199433]], PROJECTION["Equidistant_Conic"], PARAMETER["False_Easting",0.0], PARAMETER["False_Northing",0.0], PARAMETER["Central_Meridian",-88.02657853618898], PARAMETER["Standard_Parallel_1",41.82305904132364], PARAMETER["Standard_Parallel_2",41.82305804132364], PARAMETER["Latitude_Of_Origin",0.0], UNIT["Meter",1.0]]', '+proj=eqdc +lat_0=41.82305904132364 +lon_0=-88.02657853618898 +lon_1=-88.02657853618898 +lon_2=-88.02657853618898 +x_0=0 +y_0=0 +a=6378137.0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs'); When I tried to do a transform test [ update major set geom=transform(geom, 4326) ], I go the following error: ERROR: AddToPROJ4SRSCache: couldn't parse proj4 string: '+proj=eqdc +lat_0=41.82305904132364 +lon_0=-88.02657853618898 +lon_1=-88.02657853618898 +lon_2=-88.02657853618898 +x_0=0 +y_0=0 +a=6378137.0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs': major axis or radius = 0 or not given BTW, I found no documentation that provides a complete listing of parameters I need to set for eqdc projection. Thanks for any hint. DWW ____ This communication may contain information that is confidential, privileged or subject to copyright. If you are not the intended recipient, please advise by return e-mail and delete the message and any attachments immediately without reading, copying or forwarding to others.
_______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users