[postgis-users] How can I update proj4 without recompile

Guido Stein gstein at appgeo.com
Wed Nov 29 08:38:29 PST 2017


Thanks for the input.

I really appreciate it.

-guido

On Tue, Nov 28, 2017 at 5:10 PM Paul Ramsey <pramsey at cleverelephant.ca>
wrote:

> Hi Guido,
> Knowing your use case ("wanting to avoid bad area calculations in
> geodetics"), I can say definitively that you're out of luck. Just
> replacing the library file won't do the trick, as the code in PostGIS
> that uses the new proj geodetic area calculations won't be activated
> with anything less than a rebuild.
> ATB,
> P
>
> On Tue, Nov 28, 2017 at 9:59 AM, Guido Stein <gstein at appgeo.com> wrote:
> > Hey folks,
> >
> > I am trying to update the proj4 libraries on my postgis because I think
> the
> > older version of proj4 is giving me faulty areas (known bug). I would
> like
> > to go from 4.8 to 4.9.
> >
> > In talking to some friends I found out that I can make a sym link from
> the
> > existing proj4 to a newly compiled proj4 without an issue. But, I can't
> seem
> > to figure that out completely and need a little help.
> >
> > # Here is what is running on my system:
> >
> > select version();
> >     PostgreSQL 9.5.10 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu
> > 4.8.4-2ubuntu1~14.04.3) 4.8.4, 64-bit
> >
> > select postgis_full_version();
> >     POSTGIS="2.3.3 r15473"
> >     GEOS="3.4.2-CAPI-1.8.2 r3921"
> >     PROJ="Rel. 4.8.0, 6 March 2012"
> >     GDAL="GDAL 1.10.1, released 2013/08/26"
> >     LIBXML="2.9.1"
> >     LIBJSON="0.11.99"
> >     RASTER
> >
> > # here is what I have done so far:
> >
> > - locate the directory of the postgis
> >     pg_congif --pkglibdir
> > - get information about what libraries are associated with postgis
> >     ldd postgis-2.3
> >         libproj.so.0 => /usr/lib/libproj.so.0 (0x00007ff19e1dd000)
> >
> > # this is where I loose the thread
> >
> > I don't know if when I make install if there should be a file I need to
> link
> > here?? Yeah I need a clue and would be grateful for any assistance on
> this.
> >
> > -guido
> >
> > This e-mail message and any attachments may contain confidential or
> legally
> > privileged information. If you are not an intended recipient or otherwise
> > authorized to receive this message, you should not use, copy, distribute,
> > disclose or take any action based on the information contained in this
> > e-mail or any attachments. If you have received this message and
> material in
> > error, please advise the sender immediately by reply e-mail and delete
> this
> > message. Thank you on behalf of Applied Geographics, Inc. (AppGeo).
> > _______________________________________________
> > postgis-users mailing list
> > postgis-users at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/postgis-users
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-users

-- 
This e-mail message and any attachments may contain confidential or legally 
privileged information. If you are not an intended recipient or otherwise 
authorized to receive this message, you should not use, copy, distribute, 
disclose or take any action based on the information contained in this 
e-mail or any attachments. If you have received this message and material 
in error, please advise the sender immediately by reply e-mail and delete 
this message. Thank you on behalf of Applied Geographics, Inc. (AppGeo).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20171129/13d9b4ad/attachment.html>


More information about the postgis-users mailing list