Hi all,
I got a shapefile with a .prj file on it. I pasted the contents to
http://prj2epsg.org and got that this http://prj2epsg.org/epsg/5070
This srs does not seem to be in PostGIS so I am trying to add it. Now, the
first thing I tried was sending it to spatialreference and I got this
Try running MorphFromESRI on the srs before generating the proj4?
P
On Mon, Aug 15, 2011 at 2:25 PM, Javier de la Torre
jato...@vizzuality.com wrote:
Hi all,
I got a shapefile with a .prj file on it. I pasted the contents
to http://prj2epsg.org and got that this http://prj2epsg.org/epsg/5070
You mean:
srs.MorphFromESRI()
srs.ExportToProj4()
That still produce
srs.ExportToProj4()
ERROR 6: No translation for Albers Equal Area to PROJ.4 format is known.
On Aug 15, 2011, at 5:28 PM, Paul Ramsey wrote:
Try running MorphFromESRI on the srs before generating the proj4?
P
On Mon,
Very odd. Well, the proj4text you want is:
+proj=aea +lon_0=-96 +lat_0=23 +lat_1=29.5 +lat_2=45.5 +datum=NAD83
But, why OGR cannot produce that? Don't know.
P
On Mon, Aug 15, 2011 at 2:38 PM, Javier de la Torre
jato...@vizzuality.com wrote:
You mean:
srs.MorphFromESRI()
srs.ExportToProj4()
Thanks Paul,
Now, it is a pity there is no way to automate this to a decent level.
Is there nobody working on a generic shapefile importer that can accept any
sort of shapefile and try to load it using the .prj file?
I will keep trying :)
Javier.
On Aug 15, 2011, at 5:55 PM, Paul Ramsey