Re: [postgis-users] Problem compiling PostGIS2.0 with GEOS 1.3.3+

2012-06-26 Thread Sandro Santilli
Jan, please file a ticket for this or it'll get lost in oblivion. --strk; On Mon, Jun 25, 2012 at 01:07:08PM +0200, Jan Hartmann wrote: > > On 06/25/2012 11:32 AM, Sandro Santilli wrote: > > > >Autotools do something like this: > > > >DEFAULT_INCLUDES = -I. -I$(top_builddir)/include > >-I$(top_

Re: [postgis-users] TopologyException and ST_Intersection

2012-06-26 Thread Sandro Santilli
On Mon, Jun 25, 2012 at 07:23:33PM -0400, jdmorgan wrote: > Hi Sandro, > > Thanks for your reply. Here is the PostGIS version we are using: > POSTGIS="1.5.3" GEOS="3.3.1-CAPI-1.7.1" PROJ="Rel. 4.7.1, 23 > September 2009" LIBXML="2.7.6" USE_STATS > > Is it easy to upgrade the GEOS or the POSTGIS

Re: [postgis-users] Simplifying Polygons

2012-06-26 Thread Robert_Clift
Try ST_SimplifyPreserveTopology. -Rob From: postgis-users-boun...@postgis.refractions.net [mailto:postgis-users-boun...@postgis.refractions.net] On Behalf Of Steve Horn Sent: Tuesday, June 26, 2012 8:39 AM To: postgis-users@postgis.refractions.net Subject: [post

Re: [postgis-users] Simplifying Polygons

2012-06-26 Thread Francois Hugues
Hello, This is an ordinary problem and there are tow solution to solve it : - a plpg function wrote by nicolas ribot : http://trac.osgeo.org/postgis/wiki/UsersWikiSimplifyPreserveTopology - a function wrote by sandro santilli using the new topology functions of postgis 2 : http://strk.keybit.ne

Re: [postgis-users] Simplifying Polygons

2012-06-26 Thread Francois Hugues
It preserves topology for a simple polygon but not for an entire layer Hugues. De : postgis-users-boun...@postgis.refractions.net [mailto:postgis-users-boun...@postgis.refractions.net] De la part de robert_cl...@doh.state.fl.us Envoyé : mardi 26 juin 2012 14:45 À : postgis-users@postgi

Re: [postgis-users] Simplifying Polygons

2012-06-26 Thread Sandro Santilli
On Tue, Jun 26, 2012 at 08:38:56AM -0400, Steve Horn wrote: > Anyone know how I can simplify the polygons and keep them all "fitting > together"? http://trac.osgeo.org/postgis/wiki/UsersWikiSimplifyPreserveTopology --strk; Sent from our free software http://www.gnu.org/philosophy/free-sw.html

[postgis-users] proj4 error between versions 8.4.2 (works) and 9.1.4 (doesn't work)

2012-06-26 Thread Basques, Bob (CI-StPaul)
I'm getting an error in proj4text in 9.1.4 for our custom projection which works just fine in 8.4.2. when inserting a geom like: INSERT INTO InsertInfoStp(. . . . the_geom, . . . .) VALUES (. . . . ST_T

Re: [postgis-users] proj4 error between versions 8.4.2 (works) and 9.1.4 (doesn't work)

2012-06-26 Thread Basques, Bob (CI-StPaul)
Sorry, forgot to add the error: ERROR: AddToPROJ4SRSCache: couldn't parse proj4 string: '+proj=lcc +lat_2=44.88 +lat_1=45.13 +lat_0=44.79 +lon_0=-93.383334 +x_0=152400.3048 +y_0=30480.0610 +units=ft +to_meter=0.30480060960122 +a=6378418.941 +b=635703

Re: [postgis-users] proj4 error between versions 8.4.2 (works) and 9.1.4 (doesn't work)

2012-06-26 Thread Basques, Bob (CI-StPaul)
Geez, I think I need to slow down some. I figured out it would probably be more pertinent to list the POSTGIS version instead of PostGres. proj4 parsing error in : "POSTGIS="1.5.3" GEOS="3.3.3-CAPI-1.7.4" PROJ="Rel. 4.8.0, 6 March 2012" LIBXML="2.7.8" USE_STATS" the INSERT works fine in: "PO

Re: [postgis-users] Problem using ST_AsRaster

2012-06-26 Thread Bborie Park
You could try variants 9 or 10 (the last two) described in the docs... http://postgis.refractions.net/documentation/manual-svn/RT_ST_AsRaster.html You'll probably need to call ST_Rescale afterwards to change the scale of the resulting raster to match that of your reference raster. By default, ST

[postgis-users] Erase equivalent

2012-06-26 Thread Sean Christopher Conway
Can somebody give me a rough query for the equivalent of an ArcGIS ERASE using two polygons. Cheers, Sean. ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users

Re: [postgis-users] Erase equivalent

2012-06-26 Thread Bborie Park
On 06/26/2012 03:41 PM, Sean Christopher Conway wrote: > > Can somebody give me a rough query for the equivalent of an ArcGIS ERASE > using two polygons. Cheers, Sean. > ___ > postgis-users mailing list > postgis-users@postgis.refractions.net > http://po

Re: [postgis-users] Topology performance test

2012-06-26 Thread Luca Morandini
On 06/22/2012 09:05 PM, Sandro Santilli wrote: Not at all ! Congratulations, you found a bug ! Ouch, it hurts pretty much. Time to push a 3.3.5 to fix this mess. Thanks Sandro, with the release of GEOS 3.3.5 things look in order: select postgis_full_version(); POSTGIS="2.1.0SVN r9949" GEOS="