<div dir="ltr">Thank you for your answer but unfortunately I had already tried this. I did it again but still nothing. I used a similar configuration with a Rails 3 Application and Ruby 1.9.2 with PostiGIS 2. It was working. I may have done something but I am not able to remember what. I checked everything on my previous code but still nothing. Maybe my configuration of PostGIS on Mac OS X (previously it was Ubuntu 12.04) is bad. Is there something wrong or missing in my process described previously ? <div>
<br></div><div>Thank you again for you time.</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><b>Brice.</b></div></div>
<br><br><div class="gmail_quote">2014-03-04 16:38 GMT+01:00 Margie Roswell [via PostGIS] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=5005825&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span>:<br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">

        <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/" rel="nofollow" link="external" 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>3785</span> code was finally introduced, EPSG issued a change request (EPSG::2008.114, issued in Dec 2008), deprecating the <span>3785</span> code and introducing a new code, 3857, with corresponding parameters..."</span></div>


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


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


</div>
<br><br></div><div class="gmail_quote"><div><div class="h5">On Tue, Mar 4, 2014 at 10:34 AM, benebrice <span dir="ltr"><<a href="http://user/SendEmail.jtp?type=node&node=5005822&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>></span> wrote:<br>
</div></div><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div><div class="h5">

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" rel="nofollow" link="external" 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" rel="nofollow" link="external" 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" rel="nofollow" link="external" 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>
</div></div><a href="http://user/SendEmail.jtp?type=node&node=5005822&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br>
</blockquote></div><br></div>
<br>_______________________________________________
<br>postgis-users mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=5005822&i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a>

        
        
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://postgis.17.x6.nabble.com/Recording-problems-with-PostGIS-tp5005821p5005822.html" target="_blank" rel="nofollow" link="external">http://postgis.17.x6.nabble.com/Recording-problems-with-PostGIS-tp5005821p5005822.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Recording problems with PostGIS, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>

                <a href="http://postgis.17.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></blockquote></div><br></div>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://postgis.17.x6.nabble.com/Recording-problems-with-PostGIS-tp5005821p5005825.html">Re: Recording problems with PostGIS</a><br/>
Sent from the <a href="http://postgis.17.x6.nabble.com/PostGIS-User-f3516033.html">PostGIS - User mailing list archive</a> at Nabble.com.<br/>