[postgis-devel] PostGIS 3 and MobilityDB

Paul Ramsey pramsey at cleverelephant.ca
Mon Jul 5 13:35:04 PDT 2021



> On Jul 3, 2021, at 12:49 AM, Esteban Zimanyi <esteban.zimanyi at ulb.be> wrote:
> 
> Dear Paul,
> 
> Many thanks for your reply. May I kindly ask you guidance on how to implement the solution you suggested? 

I think you will not have much choice but to build in the presence of PostgreSQL and PostGIS sources, so you can add the path to the liblwgeom.h header in your build step. Looking at how the ./raster subdirectory builds and links will probably be instructive, since it is also a module that (a) has its own types and functions (b) uses liblwgeom functionality and (c) depends on postgis being core loaded in order to run.

I'm afraid I don't have much more to offer having not done this before, but at a minimum you'll need to have the various build artifacts of postgis core lying around so that implies a built source tree you can access.

P.


> We will closely follow any futur change in liblwgeom's public API and perform any required adaptation in MobilityDB code.
> 
> Regards 
> 
> Esteban 
> 
> On Fri, Jul 2, 2021, 18:15 Paul Ramsey <pramsey at cleverelephant.ca> wrote:
> The simplest expedient is to vendor in a versioned copy of liblwgeom.h and then trust us when we pinky-swear that the we don't change the public API between releases.
> 
> P
> 
> > On Jul 2, 2021, at 8:34 AM, Esteban Zimanyi <esteban.zimanyi at ulb.be> wrote:
> > 
> > Alas MobilityDB only works with PostGIS 2.5. It was never possible to upgrade to version 3 since liblwgeom.h is not exported anymore.
> > 
> > On Fri, Jul 2, 2021, 17:23 Paul Ramsey <pramsey at cleverelephant.ca> wrote:
> > 
> > 
> > > On Jun 25, 2021, at 2:38 AM, Esteban Zimanyi <ezimanyi at ulb.ac.be> wrote:
> > > 
> > > Now that our user base has considerably increased, we are continuously receiving the same question "What about PostGIS 3.1 support?"
> > > 
> > 
> > I'm not sure I even understand the thrust of the question... what about it? Nothing has changed substantially in 3.1 in terms of code structure, etc. Why are not the same things you are doing with earlier versions working for 3.1?
> > 
> > P.
> > _______________________________________________
> > postgis-devel mailing list
> > postgis-devel at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/postgis-devel
> > _______________________________________________
> > postgis-devel mailing list
> > postgis-devel at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/postgis-devel
> 
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-devel
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-devel



More information about the postgis-devel mailing list