<div>Hi Mark, thanks for your help:</div>
<div> </div>
<div>At the moment I am using the following setup at work (I will install to the latest and greatest versions when I can park my current project)</div>
<div> </div>
<div>PostgeSQL 8.2.5 with </div>
<div> </div>
<div>"POSTGIS="1.3.1" GEOS="3.0.0rc4-CAPI-1.3.3" PROJ="Rel. 4.5.0, 22 Oct 2006" USE_STATS"</div>
<div> </div>
<div>I have finally managed to get Mollweide into postgis and its working fine, I just need to reproject and upload 20+ shapefiles now..</div>
<div> </div>
<div>Once again, many thanks for the assistance!</div>
<div> </div>
<div>ATB</div>
<div> </div>
<div>Mark<br><br></div>
<div class="gmail_quote">On Tue, Mar 17, 2009 at 9:54 AM, Mark Cave-Ayland <span dir="ltr"><<a href="mailto:mark.cave-ayland@siriusit.co.uk" target="_blank">mark.cave-ayland@siriusit.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">mark balman wrote:<br><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi all<br> I am trying to add a new equal area projection into postgis (behrmann and/or Robinson). I am struggling to get this to work. From the "<a href="http://spatialreference.org/" target="_blank">spatialreference.org</a> <<a href="http://spatialreference.org/" target="_blank">http://spatialreference.org</a>>" website I uploaded the following into postgis: 
<div><br>  INSERT into spatial_ref_sys (srid, auth_name, auth_srid, proj4text, srtext) values ( 954017, 'esri', 54017, '', 'PROJCS["World_Behrmann",GEOGCS["GCS_WGS_1984",DATUM["WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Behrmann"],PARAMETER["False_Easting",0],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",0],UNIT["Meter",1],AUTHORITY["EPSG","54017"]]');<br>
 After this I add some data in Behrmann projection using shp2pgsql, but trying a transform query such as<br> select AsText(transform(GeomFromText('Point(-75 10)',4326),954017))<br> does not work and crashes postgis.<br>
 I really need to get a global equal area projection to work for my project (have been using Plate Carree, but obviosly not good for performing area intersects) and would be grateful for any pointers on how to do this.<br>
 Many thanks<br> Mark<br></div></blockquote><br><br>Hi Mark,<br><br>The SRTEXT parameter is actually not used for PROJ.4 transformations - it's the proj4text field which is the important part and it appears it's blank in your SQL above. If you can find the equivalent PROJ.4 description, you should be fine.<br>
<br>BTW I'm quite surprised that PROJ.4 crashes with an empty proj4text - which version of PostGIS are you using?<br><br><br>ATB,<br><br>Mark.<br><br>-- <br>Mark Cave-Ayland - Senior Technical Architect<br>PostgreSQL - PostGIS<br>
Sirius Corporation plc - control through freedom<br><a href="http://www.siriusit.co.uk/" target="_blank">http://www.siriusit.co.uk</a><br>t: +44 870 608 0063<br>_______________________________________________<br>postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.refractions.net</a><br><a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</blockquote></div><br>