<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">Maybe this is it?</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><a href="http://alastaira.wordpress.com/2011/01/23/the-google-maps-bing-maps-spherical-mercator-projection/" target="_blank">http://alastaira.wordpress.com/2011/01/23/the-google-maps-bing-maps-spherical-mercator-projection/</a><br>

</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><span style="color:rgb(51,51,51);font-family:'Lucida Grande',Verdana,Arial,sans-serif;font-size:12px;line-height:19.1875px">"However, less than a year after the official EPSG: <span class="">3785</span> code was finally introduced, EPSG issued a change request (EPSG::2008.114, issued in Dec 2008), deprecating the <span class="">3785</span> code and introducing a new code, 3857, with corresponding parameters..."</span></div>

</div><div class="gmail_extra"><br clear="all"><div><div>--</div><div><a href="http://FarmBillPrimer.org" target="_blank">http://FarmBillPrimer.org</a></div><a href="http://www.BaltimoreUrbanAg.org" target="_blank">http://www.BaltimoreUrbanAg.org</a> (Please send events; This site is hungry.)<br>

<a href="http://www.ExcellentNutrition.org" target="_blank">http://www.ExcellentNutrition.org</a><br><a href="http://www.packtpub.com/drupal-5-views-recipes/book" target="_blank">http://www.packtpub.com/drupal-5-views-recipes/book</a><br>

</div>
<br><br><div class="gmail_quote">On Tue, Mar 4, 2014 at 10:34 AM, benebrice <span dir="ltr"><<a href="mailto:brice.bene@gmail.com" target="_blank">brice.bene@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello,<br>
<br>
I am currently developing a Rails Application (Rails 4.0.2, Ruby 2.1). I am<br>
using RGeo to convert longitude and latitude to a position with the srid<br>
3785 (for PostGIS). When I am on with the terminal, I can project and<br>
unproject the coordinates without any problem. But when I save the position<br>
on PostgreSQL and try to unproject the position, I have an error coming from<br>
RGeo.<br>
<br>
I already posted an issue on the github  RGeo - Issue#65<br>
<<a href="https://github.com/dazuma/rgeo/issues/65" target="_blank">https://github.com/dazuma/rgeo/issues/65</a>>  . Overthere everything is well<br>
explained.<br>
<br>
I am completely blocked on my development because of this error.<br>
<br>
I have installed PostGis via  PostgresApp <<a href="http://postgresapp.com" target="_blank">http://postgresapp.com</a>>   with<br>
the following code lines to create a template before the migration with<br>
Rails according to this template.<br>
<br>
<br>
sudo su postgres<br>
<br>
createdb template_postgis<br>
<br>
createlang plpgsql template_postgis<br>
<br>
psql -d template_postgis -f<br>
/Applications/Postgres93.app/Contents/MacOS/share/postgresql/contrib/postgis-2.1/postgis.sql<br>
<br>
psql -d template_postgis -f<br>
/Applications/Postgres93.app/Contents/MacOS/share/postgresql/contrib/postgis-2.1/spatial_ref_sys.sql<br>
<br>
<br>
If anyone has an idea to unblock me, I would really appreciate it.<br>
<br>
Thank you in advance.<br>
<br>
Regards,<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://postgis.17.x6.nabble.com/Recording-problems-with-PostGIS-tp5005821.html" target="_blank">http://postgis.17.x6.nabble.com/Recording-problems-with-PostGIS-tp5005821.html</a><br>


Sent from the PostGIS - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br>
</blockquote></div><br></div>