Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
So, is the below the best way to get the goodies of 2.0.0 for Ubuntu? It’s a theoretical question, as I have GEOS and GDAL in place, but for the curious… . Best, Steve http://www.clemetparks.com/images/esig/cmp-ms-90x122.pngStephen Mather Geographic Information Systems (GIS) Manager (216) 635-3243 s...@clevelandmetroparks.com http://www.clemetparks.com/ clevelandmetroparks.com From: postgis-users-boun...@postgis.refractions.net [mailto:postgis-users-boun...@postgis.refractions.net] On Behalf Of Charlie Sharpsteen Sent: Friday, March 16, 2012 3:58 PM To: postgis-us...@googlegroups.com Cc: PostGIS Users Discussion Subject: Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases? On Thursday, March 15, 2012 10:40:00 AM UTC-7, Charlie Sharpsteen wrote: Ok, I now have a nightly build set up that is tracking the PostGIS trunk. Binaries are being built for Oneric (11.11) and Precise (12.04-dev) ... I will ponder upgrading GEOS and GDAL and setting up a stable build for the most recent beta releases. The PostGIS nightly builds have been augmented with GEOS 3.3.2 and now include the topology plugin. GDAL 1.7.x is still being used from the official Ubuntu repositories. The installation steps are now: sudo apt-add-repository ppa:sharpie/for-science # To get GEOS 3.3.2 sudo apt-add-repository ppa:sharpie/postgis-nightly sudo apt-get update sudo apt-get install postgresql-9.1-postgis The build of GEOS 3.3.2 was created using the following steps: * Forking the official Ubuntu sources for GEOS 3.2.2. * Backporting GEOS from Debian Wheezy to get to 3.3.1 along with associated packaging updates. * Merging in 3.3.2 from the official GEOS tarball. This was accomplished by: bzr branch lp:ubuntu/geos cd geos bzr merge debianlp:wheezy/geos # De-stage all Debian patches prior to an upstream import quilt pop -a bzr merge-upstream # Finds the latest GEOS tarball and merges it in! quilt push -a # Fix any outdated patches. I had to fix one patch conflict caused by the last command, but otherwise everything went smoothly. GDAL is at 1.9.0 in Debian Experimental, but backporting looks like a moderate headache so I'm holding off for now. I may set up a stable build of PostGIS beta packages, but it looks like we are pretty close to 2.0 so I may wait until the official release. The nightly builds against the SVN trunk _should_ be pretty stable in the lead up to 2.0. -Charlie image001.png___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
Good job Charlie!!! On 03/15/2012 06:40 PM, Charlie Sharpsteen wrote: On Wednesday, March 14, 2012 8:18:35 AM UTC-7, Charlie Sharpsteen wrote: On Wednesday, March 14, 2012 12:02:24 AM UTC-7, Sandro Santilli wrote: On Tue, Mar 13, 2012 at 07:50:32PM -0700, Charlie Sharpsteen wrote: I was wondering if anyone has a Personal Package Archive for Ubuntu that is tracking the 2.0 beta releases. I looked at the UbuntuGIS and Postgis project pages on Launchpad, but the only releases listed there were for 1.5.x. Even the unstable repostory of UbuntuGIS was still tracking 1.5.x. I'm not aware of any. It'd be very welcome if you want to setup one. --strk; Allright, I'll take a shot at it. Looks like there is a Launchpad repository that is synching with PostGIS SVN every 6 hours or so---perhaps I can get a nightly build set up. -Charlie Ok, I now have a nightly build set up that is tracking the PostGIS trunk. Binaries are being built for Oneric (11.11) and Precise (12.04-dev) and can be installed thusly: sudo apt-add-repository ppa:sharpie/postgis-nightly sudo apt-get update sudo apt-get install postgresql-9.1-postgis Caveats: * No build of `postgis` or `libpostgis-java`, the only package provided is `postgresql-9.1-postgis` which contains the PostGIS plugins, extensions and command line tools. * Builds against GEOS 3.2.2, supplied by the standard Ubuntu repositories, thus the topology extension is unavailable. * Builds against GDAL 1.7.0, supplied by the standard Ubuntu repositories, thus some raster functionalities are unavailable. The raw materials that went into creating this build were the PostGIS repository on Launchpad which synchs with the upstream SVN trunk ~every 6 hours: https://code.launchpad.net/~registry/postgis/trunk This repostory can be cloned using bazaar via `bzr branch lp:postgis`. The other component is the official Ubuntu PostGIS repository that contains the debian packaging materials: https://code.launchpad.net/~ubuntu-branches/ubuntu/precise/postgis/precise This repository can be cloned using `bzr branch lp:ubuntu/postgis`. My strategy was to fork `lp:ubuntu/postgis`, edit the contents of the debian subdirectory to make it compatible with 2.0-dev and then publish the edited fork to Launchpad under my `+junk` section. After this was done, I set up a `bzr-builder` recipe that fuses `lp:postigs`, which tracks the upstream PostGIS repo, with the debian subdirectory contained in `lp:~sharpie/+junk/postgis`, which contains my edited packaging info, to create a nightly build: # bzr-builder format 0.3 deb-version {debupstream}~r{revno}~ppa{revno:packaging} lp:postgis nest-part packaging lp:~sharpie/+junk/postgis debian debian Pretty slick. I will ponder upgrading GEOS and GDAL and setting up a stable build for the most recent beta releases. -Charlie ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
On Thu, Mar 15, 2012 at 11:49:08AM -0700, Charlie Sharpsteen wrote: On Thursday, March 15, 2012 10:42:52 AM UTC-7, Stephen V. Mather wrote: Pretty slick. I will ponder upgrading GEOS and GDAL and setting up a stable build for the most recent beta releases. Wow. That would be awesome. GDAL should be pretty simple. The problem with GEOS is that it is pretty far down at the base of the GIS foodchain---so lots of libraries that are used by GDAL also use GEOS and would need to be updated as well. I doubt I will have the time to compile my way through everything between GEOS and GDAL. It really depends on whether they are using the C++ or C API. C-API users work just fine with a newer GEOS. Check out http://trac.osgeo.org/geos/wiki/Applications And ask your preferred application to _stop_ using the C++ API :) --strk; ,--o-. | __/ |Delivering high quality PostGIS 2.0 ! | / 2.0 |http://strk.keybit.net - http://vizzuality.com `-o--' ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
On Thursday, March 15, 2012 10:40:00 AM UTC-7, Charlie Sharpsteen wrote: Ok, I now have a nightly build set up that is tracking the PostGIS trunk. Binaries are being built for Oneric (11.11) and Precise (12.04-dev) ... I will ponder upgrading GEOS and GDAL and setting up a stable build for the most recent beta releases. The PostGIS nightly builds have been augmented with GEOS 3.3.2 and now include the topology plugin. GDAL 1.7.x is still being used from the official Ubuntu repositories. The installation steps are now: sudo apt-add-repository ppa:sharpie/for-science # To get GEOS 3.3.2 sudo apt-add-repository ppa:sharpie/postgis-nightly sudo apt-get update sudo apt-get install postgresql-9.1-postgis The build of GEOS 3.3.2 was created using the following steps: * Forking the official Ubuntu sources for GEOS 3.2.2. * Backporting GEOS from Debian Wheezy to get to 3.3.1 along with associated packaging updates. * Merging in 3.3.2 from the official GEOS tarball. This was accomplished by: bzr branch lp:ubuntu/geos cd geos bzr merge debianlp:wheezy/geos # De-stage all Debian patches prior to an upstream import quilt pop -a bzr merge-upstream # Finds the latest GEOS tarball and merges it in! quilt push -a # Fix any outdated patches. I had to fix one patch conflict caused by the last command, but otherwise everything went smoothly. GDAL is at 1.9.0 in Debian Experimental, but backporting looks like a moderate headache so I'm holding off for now. I may set up a stable build of PostGIS beta packages, but it looks like we are pretty close to 2.0 so I may wait until the official release. The nightly builds against the SVN trunk _should_ be pretty stable in the lead up to 2.0. -Charlie ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
On Wednesday, March 14, 2012 8:18:35 AM UTC-7, Charlie Sharpsteen wrote: On Wednesday, March 14, 2012 12:02:24 AM UTC-7, Sandro Santilli wrote: On Tue, Mar 13, 2012 at 07:50:32PM -0700, Charlie Sharpsteen wrote: I was wondering if anyone has a Personal Package Archive for Ubuntu that is tracking the 2.0 beta releases. I looked at the UbuntuGIS and Postgis project pages on Launchpad, but the only releases listed there were for 1.5.x. Even the unstable repostory of UbuntuGIS was still tracking 1.5.x. I'm not aware of any. It'd be very welcome if you want to setup one. --strk; Allright, I'll take a shot at it. Looks like there is a Launchpad repository that is synching with PostGIS SVN every 6 hours or so---perhaps I can get a nightly build set up. -Charlie Ok, I now have a nightly build set up that is tracking the PostGIS trunk. Binaries are being built for Oneric (11.11) and Precise (12.04-dev) and can be installed thusly: sudo apt-add-repository ppa:sharpie/postgis-nightly sudo apt-get update sudo apt-get install postgresql-9.1-postgis Caveats: - No build of `postgis` or `libpostgis-java`, the only package provided is `postgresql-9.1-postgis` which contains the PostGIS plugins, extensions and command line tools. - Builds against GEOS 3.2.2, supplied by the standard Ubuntu repositories, thus the topology extension is unavailable. - Builds against GDAL 1.7.0, supplied by the standard Ubuntu repositories, thus some raster functionalities are unavailable. The raw materials that went into creating this build were the PostGIS repository on Launchpad which synchs with the upstream SVN trunk ~every 6 hours: https://code.launchpad.net/~registry/postgis/trunk This repostory can be cloned using bazaar via `bzr branch lp:postgis`. The other component is the official Ubuntu PostGIS repository that contains the debian packaging materials: https://code.launchpad.net/~ubuntu-branches/ubuntu/precise/postgis/precise This repository can be cloned using `bzr branch lp:ubuntu/postgis`. My strategy was to fork `lp:ubuntu/postgis`, edit the contents of the debian subdirectory to make it compatible with 2.0-dev and then publish the edited fork to Launchpad under my `+junk` section. After this was done, I set up a `bzr-builder` recipe that fuses `lp:postigs`, which tracks the upstream PostGIS repo, with the debian subdirectory contained in `lp:~sharpie/+junk/postgis`, which contains my edited packaging info, to create a nightly build: # bzr-builder format 0.3 deb-version {debupstream}~r{revno}~ppa{revno:packaging} lp:postgis nest-part packaging lp:~sharpie/+junk/postgis debian debian Pretty slick. I will ponder upgrading GEOS and GDAL and setting up a stable build for the most recent beta releases. -Charlie ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
Pretty slick. I will ponder upgrading GEOS and GDAL and setting up a stable build for the most recent beta releases. Wow. That would be awesome. http://www.clemetparks.com/images/esig/cmp-ms-90x122.pngStephen Mather Geographic Information Systems (GIS) Manager (216) 635-3243 s...@clevelandmetroparks.com http://www.clemetparks.com/ clevelandmetroparks.com image001.png___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
On Thursday, March 15, 2012 10:42:52 AM UTC-7, Stephen V. Mather wrote: Pretty slick. I will ponder upgrading GEOS and GDAL and setting up a stable build for the most recent beta releases. Wow. That would be awesome. GDAL should be pretty simple. The problem with GEOS is that it is pretty far down at the base of the GIS foodchain---so lots of libraries that are used by GDAL also use GEOS and would need to be updated as well. I doubt I will have the time to compile my way through everything between GEOS and GDAL. -Charlie ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
Looks awesome, Charlie. I'll definitely be giving this a shot today :) -Skye On Mar 15, 2012, at 1:40 PM, Charlie Sharpsteen wrote: On Wednesday, March 14, 2012 8:18:35 AM UTC-7, Charlie Sharpsteen wrote: On Wednesday, March 14, 2012 12:02:24 AM UTC-7, Sandro Santilli wrote: On Tue, Mar 13, 2012 at 07:50:32PM -0700, Charlie Sharpsteen wrote: I was wondering if anyone has a Personal Package Archive for Ubuntu that is tracking the 2.0 beta releases. I looked at the UbuntuGIS and Postgis project pages on Launchpad, but the only releases listed there were for 1.5.x. Even the unstable repostory of UbuntuGIS was still tracking 1.5.x. I'm not aware of any. It'd be very welcome if you want to setup one. --strk; Allright, I'll take a shot at it. Looks like there is a Launchpad repository that is synching with PostGIS SVN every 6 hours or so---perhaps I can get a nightly build set up. -Charlie Ok, I now have a nightly build set up that is tracking the PostGIS trunk. Binaries are being built for Oneric (11.11) and Precise (12.04-dev) and can be installed thusly: sudo apt-add-repository ppa:sharpie/postgis-nightly sudo apt-get update sudo apt-get install postgresql-9.1-postgis Caveats: No build of `postgis` or `libpostgis-java`, the only package provided is `postgresql-9.1-postgis` which contains the PostGIS plugins, extensions and command line tools. Builds against GEOS 3.2.2, supplied by the standard Ubuntu repositories, thus the topology extension is unavailable. Builds against GDAL 1.7.0, supplied by the standard Ubuntu repositories, thus some raster functionalities are unavailable. The raw materials that went into creating this build were the PostGIS repository on Launchpad which synchs with the upstream SVN trunk ~every 6 hours: https://code.launchpad.net/~registry/postgis/trunk This repostory can be cloned using bazaar via `bzr branch lp:postgis`. The other component is the official Ubuntu PostGIS repository that contains the debian packaging materials: https://code.launchpad.net/~ubuntu-branches/ubuntu/precise/postgis/precise This repository can be cloned using `bzr branch lp:ubuntu/postgis`. My strategy was to fork `lp:ubuntu/postgis`, edit the contents of the debian subdirectory to make it compatible with 2.0-dev and then publish the edited fork to Launchpad under my `+junk` section. After this was done, I set up a `bzr-builder` recipe that fuses `lp:postigs`, which tracks the upstream PostGIS repo, with the debian subdirectory contained in `lp:~sharpie/+junk/postgis`, which contains my edited packaging info, to create a nightly build: # bzr-builder format 0.3 deb-version {debupstream}~r{revno}~ppa{revno:packaging} lp:postgis nest-part packaging lp:~sharpie/+junk/postgis debian debian Pretty slick. I will ponder upgrading GEOS and GDAL and setting up a stable build for the most recent beta releases. -Charlie ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users Skye Book (516) 816-4762 ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
On 03/15/2012 11:49 AM, Charlie Sharpsteen wrote: On Thursday, March 15, 2012 10:42:52 AM UTC-7, Stephen V. Mather wrote: Pretty slick. I will ponder upgrading GEOS and GDAL and setting up a stable build for the most recent beta releases. Wow. That would be awesome. GDAL should be pretty simple. The problem with GEOS is that it is pretty far down at the base of the GIS foodchain---so lots of libraries that are used by GDAL also use GEOS and would need to be updated as well. I doubt I will have the time to compile my way through everything between GEOS and GDAL. I wouldn't worry too much about other software that would depend on GEOS. Just build the toolchain you need and if someone else uses parts of your toolchain, it would be their problem to resolve conflicts. -bborie -- Bborie Park Programmer Center for Vectorborne Diseases UC Davis 530-752-8380 bkp...@ucdavis.edu ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
On 03/14/2012 03:50 AM, Charlie Sharpsteen wrote: Hello, I was wondering if anyone has a Personal Package Archive for Ubuntu that is tracking the 2.0 beta releases. I looked at the UbuntuGIS and Postgis project pages on Launchpad, but the only releases listed there were for 1.5.x. Even the unstable repostory of UbuntuGIS was still tracking 1.5.x. -Charlie ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users I packaged the beta2 for RHEL/CentOS 6, but they are completly untested, due to a almost complete lack of time. Peter -- Peter Hopfgartner web : www.r3-gis.com ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
On Wednesday, March 14, 2012 12:02:24 AM UTC-7, Sandro Santilli wrote: On Tue, Mar 13, 2012 at 07:50:32PM -0700, Charlie Sharpsteen wrote: I was wondering if anyone has a Personal Package Archive for Ubuntu that is tracking the 2.0 beta releases. I looked at the UbuntuGIS and Postgis project pages on Launchpad, but the only releases listed there were for 1.5.x. Even the unstable repostory of UbuntuGIS was still tracking 1.5.x. I'm not aware of any. It'd be very welcome if you want to setup one. --strk; Allright, I'll take a shot at it. Looks like there is a Launchpad repository that is synching with PostGIS SVN every 6 hours or so---perhaps I can get a nightly build set up. -Charlie ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
That would be amazing. But, there is no ppa for geos 3.3 either and I am not sure about gdal 1.9... It might be a little early to have a ppa repo and dependencies with unavailable packages My 2 cents. On 03/14/2012 04:18 PM, Charlie Sharpsteen wrote: On Wednesday, March 14, 2012 12:02:24 AM UTC-7, Sandro Santilli wrote: On Tue, Mar 13, 2012 at 07:50:32PM -0700, Charlie Sharpsteen wrote: I was wondering if anyone has a Personal Package Archive for Ubuntu that is tracking the 2.0 beta releases. I looked at the UbuntuGIS and Postgis project pages on Launchpad, but the only releases listed there were for 1.5.x. Even the unstable repostory of UbuntuGIS was still tracking 1.5.x. I'm not aware of any. It'd be very welcome if you want to setup one. --strk; Allright, I'll take a shot at it. Looks like there is a Launchpad repository that is synching with PostGIS SVN every 6 hours or so---perhaps I can get a nightly build set up. -Charlie ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
On Wednesday, March 14, 2012 8:21:48 AM UTC-7, Denis Rouzaud wrote: That would be amazing. But, there is no ppa for geos 3.3 either and I am not sure about gdal 1.9... It might be a little early to have a ppa repo and dependencies with unavailable packages My 2 cents. Pretty sure I built PostGIS from source against GDAL 1.7 and GEOS 3.2.2 from the Oneiric standard repository. Are there any critical functions that are inactive without the latest and greatest versions of these libraries? -Charlie ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
You are right, but there notices in http://postgis.refractions.net/documentation/manual-svn/postgis_installation.html#id2744974 GEOS geometry library, version 3.2.2 or greater, but GEOS 3.3.2+ is recommended. Without GEOS 3.3, you will be missing some major enhancements with handling of topological exceptions and improvements to geometry validation and making geometries valid such as ST_ValidDetail and ST_MakeValid. GEOS 3.3.2+ is also required for topology support. GEOS is available for download fromhttp://trac.osgeo.org/geos/and 3.3+ is backward-compatible with older versions so fairly safe to upgrade. GDAL, version 1.6 or higher (1.9 or higher is preferable since some things will not work well with lower versions). This is needed for raster support and will be required in final release of PostGIS 2.0.http://trac.osgeo.org/gdal/wiki/DownloadSource. I am no expert, but I am not sure it's good idea to deliver builds of postgis in a sub-optimal config. On 03/14/2012 04:29 PM, Charlie Sharpsteen wrote: On Wednesday, March 14, 2012 8:21:48 AM UTC-7, Denis Rouzaud wrote: That would be amazing. But, there is no ppa for geos 3.3 either and I am not sure about gdal 1.9... It might be a little early to have a ppa repo and dependencies with unavailable packages My 2 cents. Pretty sure I built PostGIS from source against GDAL 1.7 and GEOS 3.2.2 from the Oneiric standard repository. Are there any critical functions that are inactive without the latest and greatest versions of these libraries? -Charlie ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
As of some time during the alpha releases, it started wanting Geos 3.3.. Not sure what functionality is touching the dependency thiough -Skye On Mar 14, 2012, at 11:29 AM, Charlie Sharpsteen wrote: On Wednesday, March 14, 2012 8:21:48 AM UTC-7, Denis Rouzaud wrote: That would be amazing. But, there is no ppa for geos 3.3 either and I am not sure about gdal 1.9... It might be a little early to have a ppa repo and dependencies with unavailable packages My 2 cents. Pretty sure I built PostGIS from source against GDAL 1.7 and GEOS 3.2.2 from the Oneiric standard repository. Are there any critical functions that are inactive without the latest and greatest versions of these libraries? -Charlie ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
On Wednesday, March 14, 2012 8:32:50 AM UTC-7, Denis Rouzaud wrote: You are right, but there notices in http://postgis.refractions.net/documentation/manual-svn/postgis_installation.html#id2744974 GEOS geometry library, version 3.2.2 or greater, but GEOS 3.3.2+ is recommended. Without GEOS 3.3, you will be missing some major enhancements with handling of topological exceptions and improvements to geometry validation and making geometries valid such as ST_ValidDetail and ST_MakeValid. GEOS 3.3.2+ is also required for topology support. GEOS is available for download fromhttp://trac.osgeo.org/geos/ http://trac.osgeo.org/geos/and 3.3+ is backward-compatible with older versions so fairly safe to upgrade. GDAL, version 1.6 or higher (1.9 or higher is preferable since some things will not work well with lower versions). This is needed for raster support and will be required in final release of PostGIS 2.0. http://trac.osgeo.org/gdal/wiki/DownloadSource. I am no expert, but I am not sure it's good idea to deliver builds of postgis in a sub-optimal config. Well, a sub-optimal build gets more work done than no build any day of the week. Plus, all of this work has to be done eventually---easier to improve something than start from scratch. It does look like a GDAL upgrade to 1.9 would be a good idea though if the final version will require it. I have plenty of experience building this stuff from maintaining most of the GIS stack for the Homebrew package manager on OS X. Entirely new to Debian packaging though, so that will slow me down quite a bit. -Charlie On Wednesday, March 14, 2012 8:32:50 AM UTC-7, Denis Rouzaud wrote: You are right, but there notices in http://postgis.refractions.net/documentation/manual-svn/postgis_installation.html#id2744974 GEOS geometry library, version 3.2.2 or greater, but GEOS 3.3.2+ is recommended. Without GEOS 3.3, you will be missing some major enhancements with handling of topological exceptions and improvements to geometry validation and making geometries valid such as ST_ValidDetail and ST_MakeValid. GEOS 3.3.2+ is also required for topology support. GEOS is available for download fromhttp://trac.osgeo.org/geos/ http://trac.osgeo.org/geos/and 3.3+ is backward-compatible with older versions so fairly safe to upgrade. GDAL, version 1.6 or higher (1.9 or higher is preferable since some things will not work well with lower versions). This is needed for raster support and will be required in final release of PostGIS 2.0. http://trac.osgeo.org/gdal/wiki/DownloadSource. I am no expert, but I am not sure it's good idea to deliver builds of postgis in a sub-optimal config. On 03/14/2012 04:29 PM, Charlie Sharpsteen wrote: On Wednesday, March 14, 2012 8:21:48 AM UTC-7, Denis Rouzaud wrote: That would be amazing. But, there is no ppa for geos 3.3 either and I am not sure about gdal 1.9... It might be a little early to have a ppa repo and dependencies with unavailable packages My 2 cents. Pretty sure I built PostGIS from source against GDAL 1.7 and GEOS 3.2.2 from the Oneiric standard repository. Are there any critical functions that are inactive without the latest and greatest versions of these libraries? -Charlie ___ postgis-users mailing listpostgis-users@postgis.refractions.nethttp://postgis.refractions.net/mailman/listinfo/postgis-users ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
On Wednesday, March 14, 2012 8:40:22 AM UTC-7, Charlie Sharpsteen wrote: It does look like a GDAL upgrade to 1.9 would be a good idea though if the final version will require it. I have plenty of experience building this stuff from maintaining most of the GIS stack for the Homebrew package manager on OS X. Entirely new to Debian packaging though, so that will slow me down quite a bit. -Charlie Actually, after re-reading the installation notes, it doesn't look like GDAL 1.9 is mandatory---just that GDAL = 1.6 will be mandatory once PostGIS 2.0 is released. -Charlie ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
On Wednesday, March 14, 2012 8:44:16 AM UTC-7, Charlie Sharpsteen wrote: On Wednesday, March 14, 2012 8:40:22 AM UTC-7, Charlie Sharpsteen wrote: It does look like a GDAL upgrade to 1.9 would be a good idea though if the final version will require it. I have plenty of experience building this stuff from maintaining most of the GIS stack for the Homebrew package manager on OS X. Entirely new to Debian packaging though, so that will slow me down quite a bit. -Charlie Actually, after re-reading the installation notes, it doesn't look like GDAL 1.9 is mandatory---just that GDAL = 1.6 will be mandatory once PostGIS 2.0 is released. -Charlie Allright, took a few jabs at this and here is what I have found so far: - Without GEOS 3.3.2, PostGIS must be configured `--without-topology` so this definitely knocks out a big chunk of 2.0 functionality. - 2.0.0beta2 can compile against the dependencies supplied for PostGIS 1.5.x via `apt-get build-dep postgis` with the addition of GDAL 1.7.0 via `apt-get install libgdal1-dev`. However, 2.0.0beta3, released today, and the current SVN head fail during configure: RASTER: Raster support requested checking for GDAL = 1.6.0... found checking gdal.h usability... yes checking gdal.h presence... yes checking for gdal.h... yes checking ogr_api.h usability... yes checking ogr_api.h presence... yes checking for ogr_api.h... yes checking cpl_conv.h usability... yes checking cpl_conv.h presence... yes checking for cpl_conv.h... yes checking for GDALAllRegister in -lgdal... no configure: error: could not find gdal This is odd, because running nm against the libraries shows that the symbol is there: vagrant@vagrant-64:~/postgis-2.0.0beta3$ nm --dynamic /usr/lib/libgdal1.7.0.so | grep GDALAllRegister 0021a820 T GDALAllRegister Don't know if this is a bug in the latest beta, or a problem with Ubuntu's GDAL 1.7.0 libraries. Any advice would be appreciated. -Charlie ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
On 03/14/2012 01:00 PM, Charlie Sharpsteen wrote: On Wednesday, March 14, 2012 8:44:16 AM UTC-7, Charlie Sharpsteen wrote: On Wednesday, March 14, 2012 8:40:22 AM UTC-7, Charlie Sharpsteen wrote: It does look like a GDAL upgrade to 1.9 would be a good idea though if the final version will require it. I have plenty of experience building this stuff from maintaining most of the GIS stack for the Homebrew package manager on OS X. Entirely new to Debian packaging though, so that will slow me down quite a bit. -Charlie Actually, after re-reading the installation notes, it doesn't look like GDAL 1.9 is mandatory---just that GDAL= 1.6 will be mandatory once PostGIS 2.0 is released. -Charlie Allright, took a few jabs at this and here is what I have found so far: - Without GEOS 3.3.2, PostGIS must be configured `--without-topology` so this definitely knocks out a big chunk of 2.0 functionality. - 2.0.0beta2 can compile against the dependencies supplied for PostGIS 1.5.x via `apt-get build-dep postgis` with the addition of GDAL 1.7.0 via `apt-get install libgdal1-dev`. However, 2.0.0beta3, released today, and the current SVN head fail during configure: RASTER: Raster support requested checking for GDAL= 1.6.0... found checking gdal.h usability... yes checking gdal.h presence... yes checking for gdal.h... yes checking ogr_api.h usability... yes checking ogr_api.h presence... yes checking for ogr_api.h... yes checking cpl_conv.h usability... yes checking cpl_conv.h presence... yes checking for cpl_conv.h... yes checking for GDALAllRegister in -lgdal... no configure: error: could not find gdal This is odd, because running nm against the libraries shows that the symbol is there: vagrant@vagrant-64:~/postgis-2.0.0beta3$ nm --dynamic /usr/lib/libgdal1.7.0.so | grep GDALAllRegister 0021a820 T GDALAllRegister Don't know if this is a bug in the latest beta, or a problem with Ubuntu's GDAL 1.7.0 libraries. Any advice would be appreciated. I'd call it a bug in Ubuntu's GDAL. If you called gdal-config --libs the output is -L/usr/lib -lgdal1.7.0 which is something special for the debian/Ubuntu packages. It probably is so that you can have multiple GDAL library packages. I just fixed this earlier today (after Beta3 got released) for someone on IRC. Try r9499. -bborie -- Bborie Park Programmer Center for Vectorborne Diseases UC Davis 530-752-8380 bkp...@ucdavis.edu ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
For compiling 2.0 for Ubuntu, I’d recommend doing a custom build of GDAL 1.9 with GEOS 3.3.2—otherwise you’ll have the package manager bringing in GEOS 3.2.x for GDAL 1.7, and then you’ll have two GEOS libraries floating out there… . Might fix the problem below too. http://www.clemetparks.com/images/esig/cmp-ms-90x122.pngStephen Mather Geographic Information Systems (GIS) Manager (216) 635-3243 s...@clevelandmetroparks.com http://www.clemetparks.com/ clevelandmetroparks.com From: postgis-users-boun...@postgis.refractions.net [mailto:postgis-users-boun...@postgis.refractions.net] On Behalf Of Charlie Sharpsteen Sent: Wednesday, March 14, 2012 4:01 PM To: postgis-us...@googlegroups.com Cc: Charlie Sharpsteen; PostGIS Users Discussion Subject: Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases? On Wednesday, March 14, 2012 8:44:16 AM UTC-7, Charlie Sharpsteen wrote: On Wednesday, March 14, 2012 8:40:22 AM UTC-7, Charlie Sharpsteen wrote: It does look like a GDAL upgrade to 1.9 would be a good idea though if the final version will require it. I have plenty of experience building this stuff from maintaining most of the GIS stack for the Homebrew package manager on OS X. Entirely new to Debian packaging though, so that will slow me down quite a bit. -Charlie Actually, after re-reading the installation notes, it doesn't look like GDAL 1.9 is mandatory---just that GDAL = 1.6 will be mandatory once PostGIS 2.0 is released. -Charlie Allright, took a few jabs at this and here is what I have found so far: - Without GEOS 3.3.2, PostGIS must be configured `--without-topology` so this definitely knocks out a big chunk of 2.0 functionality. - 2.0.0beta2 can compile against the dependencies supplied for PostGIS 1.5.x via `apt-get build-dep postgis` with the addition of GDAL 1.7.0 via `apt-get install libgdal1-dev`. However, 2.0.0beta3, released today, and the current SVN head fail during configure: RASTER: Raster support requested checking for GDAL = 1.6.0... found checking gdal.h usability... yes checking gdal.h presence... yes checking for gdal.h... yes checking ogr_api.h usability... yes checking ogr_api.h presence... yes checking for ogr_api.h... yes checking cpl_conv.h usability... yes checking cpl_conv.h presence... yes checking for cpl_conv.h... yes checking for GDALAllRegister in -lgdal... no configure: error: could not find gdal This is odd, because running nm against the libraries shows that the symbol is there: vagrant@vagrant-64:~/postgis-2.0.0beta3$ nm --dynamic /usr/lib/libgdal1.7.0.so | grep GDALAllRegister 0021a820 T GDALAllRegister Don't know if this is a bug in the latest beta, or a problem with Ubuntu's GDAL 1.7.0 libraries. Any advice would be appreciated. -Charlie image001.png___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
On Wednesday, March 14, 2012 1:00:37 PM UTC-7, Charlie Sharpsteen wrote: - 2.0.0beta2 can compile against the dependencies supplied for PostGIS 1.5.x via `apt-get build-dep postgis` with the addition of GDAL 1.7.0 via `apt-get install libgdal1-dev`. However, 2.0.0beta3, released today, and the current SVN head fail during configure: RASTER: Raster support requested checking for GDAL = 1.6.0... found checking gdal.h usability... yes checking gdal.h presence... yes checking for gdal.h... yes checking ogr_api.h usability... yes checking ogr_api.h presence... yes checking for ogr_api.h... yes checking cpl_conv.h usability... yes checking cpl_conv.h presence... yes checking for cpl_conv.h... yes checking for GDALAllRegister in -lgdal... no configure: error: could not find gdal This is odd, because running nm against the libraries shows that the symbol is there: vagrant@vagrant-64:~/postgis-2.0.0beta3$ nm --dynamic /usr/lib/ libgdal1.7.0.so | grep GDALAllRegister 0021a820 T GDALAllRegister Don't know if this is a bug in the latest beta, or a problem with Ubuntu's GDAL 1.7.0 libraries. Any advice would be appreciated. -Charlie Found the problem in config.log: configure:19617: gcc -o conftest -I/usr/include/gdal conftest.c -lgdal -L/usr/lib -lgdal1.7.0 5 /usr/bin/ld: cannot find -lgdal The configure script is trying to link against both libgdal and libgdal1.7.0, but libgdal.so does not exist, only libgdal1.7.0.so. According to config.log, this has been identified and stored in LIBGDAL_LDFLAGS: LIBGDAL_LDFLAGS='-L/usr/lib -lgdal1.7.0' But the test scripts are still trying to pass `-lgdal`. Looks like a bug in the PostGIS configure script. -Charlie ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
On Wednesday, March 14, 2012 1:05:14 PM UTC-7, Sandro Santilli wrote: On Wed, Mar 14, 2012 at 01:00:37PM -0700, Charlie Sharpsteen wrote: - Without GEOS 3.3.2, PostGIS must be configured `--without-topology` so this definitely knocks out a big chunk of 2.0 functionality. Yep, what about a GEOS ppa ? --strk; Possible, but i'm trying to start simple---the fewer plates spinning on the stage the better. -Charlie ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
Yeah, this is what was fixed in r9499 by using the autoconf lib search or whatever the command is.. It indeed builds, but the regression tests fail.. -Skye On Mar 14, 2012, at 4:11 PM, Charlie Sharpsteen wrote: On Wednesday, March 14, 2012 1:00:37 PM UTC-7, Charlie Sharpsteen wrote: - 2.0.0beta2 can compile against the dependencies supplied for PostGIS 1.5.x via `apt-get build-dep postgis` with the addition of GDAL 1.7.0 via `apt-get install libgdal1-dev`. However, 2.0.0beta3, released today, and the current SVN head fail during configure: RASTER: Raster support requested checking for GDAL = 1.6.0... found checking gdal.h usability... yes checking gdal.h presence... yes checking for gdal.h... yes checking ogr_api.h usability... yes checking ogr_api.h presence... yes checking for ogr_api.h... yes checking cpl_conv.h usability... yes checking cpl_conv.h presence... yes checking for cpl_conv.h... yes checking for GDALAllRegister in -lgdal... no configure: error: could not find gdal This is odd, because running nm against the libraries shows that the symbol is there: vagrant@vagrant-64:~/postgis-2.0.0beta3$ nm --dynamic /usr/lib/libgdal1.7.0.so | grep GDALAllRegister 0021a820 T GDALAllRegister Don't know if this is a bug in the latest beta, or a problem with Ubuntu's GDAL 1.7.0 libraries. Any advice would be appreciated. -Charlie Found the problem in config.log: configure:19617: gcc -o conftest -I/usr/include/gdal conftest.c -lgdal -L/usr/lib -lgdal1.7.0 5 /usr/bin/ld: cannot find -lgdal The configure script is trying to link against both libgdal and libgdal1.7.0, but libgdal.so does not exist, only libgdal1.7.0.so. According to config.log, this has been identified and stored in LIBGDAL_LDFLAGS: LIBGDAL_LDFLAGS='-L/usr/lib -lgdal1.7.0' But the test scripts are still trying to pass `-lgdal`. Looks like a bug in the PostGIS configure script. -Charlie ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users Skye Book (516) 816-4762 ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
[postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?
Hello, I was wondering if anyone has a Personal Package Archive for Ubuntu that is tracking the 2.0 beta releases. I looked at the UbuntuGIS and Postgis project pages on Launchpad, but the only releases listed there were for 1.5.x. Even the unstable repostory of UbuntuGIS was still tracking 1.5.x. -Charlie ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users