New port: postgis2 (PostGIS 2.0)
vincent habchi
vince at macports.org
Sun Apr 29 01:47:54 PDT 2012
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.
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
More information about the macports-users
mailing list