New port: postgis2 (PostGIS 2.0)

Puneet Kishor punk.kish at gmail.com
Sun Apr 29 05:42:10 PDT 2012




On Apr 29, 2012, at 3:47 AM, vincent habchi <vince at macports.org> wrote:

> Hi everybody,
> 
> I’ve committed this morning in r92462 a new port corresponding to PostGIS v 2.0 and up.
> This port is incompatible with postgis, that is to say PostGIS 1.x. Both install the same files at the same place.


Hmmm... That's a deal breaker for me. I don't have two machines to test it out. Since the two different versions can haooily coexist, why not make it so instead of requiring uninstalling PostGIS 1.5?


> 
> It is therefore *mandatory* before you upgrade to save your databases, uninstall postgis 1.5 first by removing it from your PostGreSQL environment (you should have a script uninstall_postgis in ${prefix}/share/postgresqlXX/contrib/postgis) and then by uninstalling the port, compile the postgis2 port, and restore your databases using the provided script. Further instructions on the PostGIS site http://postgis.refractions.net.
> 
> Be careful of some side effects: the_geom is now called geom, SRID is limited to 999,999, etc.
> 
> PostGIS 2 requires Geos >= 3.3.2 so you must upgrade this library too.
> 
> Please try and report any bug you may find.
> 
> Thanks,
> Vincent
> 
> 
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


More information about the macports-users mailing list