[postgis-users] installing 2 versions of postgis

Vishal Mehta vishal.mehta at sei-us.org
Tue Aug 23 10:08:36 PDT 2011


Thanks Regina,
I am about to try it.

Is it possible to have,using this procedure, under the same database, two templates (template_postgis20 and template_postgis15), and then create a new database with template_postgis15 as the template;

Or is it best to create a new database directly with 1.5 version?

As I understand it, I am going to

-          backup the newer versions of proj.dll and geos*.dll, run the bat script and then copy back the newer geos*.dll and proj.dll, and delete the old geos*.dll that the 1.5 bat script would copy over

-          I was going to comment out the postgisgui copy in the bat script because that is already installed during the 2.0 installation

Does that sound right to you?
Thanks,
Vishal

From: postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of Paragon Corporation
Sent: Friday, August 19, 2011 11:27 PM
To: 'PostGIS Users Discussion'
Subject: Re: [postgis-users] installing 2 versions of postgis

Vishal,

You just need to install the postgis scripts for 1.5 in the database (and copy over the postgis-1.5.dll etc in the lib folder).

Both can coexist on same cluster as long as they are in different databases.

If you look at the zip download packages we have the batch file will install the postgis in the specified database
PostGIS 1.5: http://www.postgis.org/download/windows/#windbinaries
PostGIS 2.0: http://www.postgis.org/download/windows/experimental.php#PostGIS_2_0_0

The only thing to keep in mind is currently they will share the same GEOS and Proj.  The PostGIS 2.0 has a slightly newer GEOS (geos 3.3.1 branch and I think the PostGIS 1.5.3 we packaged GEOS 3.3.0).  Note: 1.5.2 we packaged with GEOS 3.2  which won't work with PostGIS 2.0.

If you plan to run both, you should use the GEOS in PostGIS 2.0.0 since the PostGIS 2.0.0 GEOS will is  backward compatible with 1.5.2 and 1.5.3.

Let us know if any of this is unclear.

Hope that helps,
Regina
http://www.postgis.us

________________________________
From: postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of Vishal Mehta
Sent: Friday, August 19, 2011 3:22 PM
To: postgis-users at postgis.refractions.net
Subject: [postgis-users] installing 2 versions of postgis

Hi all,

Ihave ondows7-postgresql9-postgis2.0 installed. I installed postgis 2.0 using these instructions:

http://gis4free.wordpress.com/2011/03/10/how-to-install-and-configure-postgis-raster-on-windows/

My qn is how can I have postgis1.5 also installed, say in a different database, on the same machine and database cluster?

Thanks,
Vishal

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20110823/462d17ff/attachment.html>


More information about the postgis-users mailing list