]> granicus.if.org Git - postgis/log
postgis
10 years agoAdd README.md to show nice travis link on the github mirror
Sandro Santilli [Thu, 26 Jun 2014 12:06:08 +0000 (12:06 +0000)]
Add README.md to show nice travis link on the github mirror

See http://github.com/postgis/postgis

git-svn-id: http://svn.osgeo.org/postgis/trunk@12668 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoFix potential memory fault in ST_MakeValid
Sandro Santilli [Thu, 26 Jun 2014 11:03:36 +0000 (11:03 +0000)]
Fix potential memory fault in ST_MakeValid

The fault would be triggered by passing a non-empty collection
to ST_MakeValid where any "made-valid" component would result
being non accepted by the final geometry collection constructor.

I'm not sure an input exists right now to trigger that case,
but worth fixing anyway.

Bug found by Alvaro Huarte:
https://github.com/postgis/postgis/pull/21

git-svn-id: http://svn.osgeo.org/postgis/trunk@12666 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoFix handling of bogus argument passed to --with-sfcgal (#2784)
Sandro Santilli [Thu, 26 Jun 2014 08:02:11 +0000 (08:02 +0000)]
Fix handling of bogus argument passed to --with-sfcgal (#2784)

Patch by Vincent Mora

git-svn-id: http://svn.osgeo.org/postgis/trunk@12664 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoWith latest changes, support for libjson 0.9 was restored :)
Sandro Santilli [Wed, 25 Jun 2014 13:30:43 +0000 (13:30 +0000)]
With latest changes, support for libjson 0.9 was restored :)

git-svn-id: http://svn.osgeo.org/postgis/trunk@12661 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoStill build libjson code when having 0.9
Sandro Santilli [Wed, 25 Jun 2014 12:31:42 +0000 (12:31 +0000)]
Still build libjson code when having 0.9

git-svn-id: http://svn.osgeo.org/postgis/trunk@12660 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoOops, unterminated #ifdef
Sandro Santilli [Wed, 25 Jun 2014 11:24:37 +0000 (11:24 +0000)]
Oops, unterminated #ifdef

See https://travis-ci.org/postgis/postgis/builds/28397745#L1062

git-svn-id: http://svn.osgeo.org/postgis/trunk@12659 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoAttempt re-adding support fo libjson < 0.10 (#2723)
Sandro Santilli [Wed, 25 Jun 2014 10:28:48 +0000 (10:28 +0000)]
Attempt re-adding support fo libjson < 0.10 (#2723)

See https://travis-ci.org/postgis/postgis/builds/28394436#L1330

git-svn-id: http://svn.osgeo.org/postgis/trunk@12658 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoFix warning: no previous prototype for 'lwgeom_sfcgal_version'
Sandro Santilli [Wed, 25 Jun 2014 09:49:42 +0000 (09:49 +0000)]
Fix warning: no previous prototype for 'lwgeom_sfcgal_version'

git-svn-id: http://svn.osgeo.org/postgis/trunk@12656 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoFix SFCGAL tests to work with all versions (#2755)
Sandro Santilli [Wed, 25 Jun 2014 08:37:28 +0000 (08:37 +0000)]
Fix SFCGAL tests to work with all versions (#2755)

git-svn-id: http://svn.osgeo.org/postgis/trunk@12654 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoDocument minimum required libjson-c version being 0.10
Sandro Santilli [Wed, 25 Jun 2014 07:54:02 +0000 (07:54 +0000)]
Document minimum required libjson-c version being 0.10

Latest debian stable (wheezy) packages 0.11 already.
See http://trac.osgeo.org/postgis/ticket/2539#comment:6

git-svn-id: http://svn.osgeo.org/postgis/trunk@12653 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoReport libjson version from postgis_full_version(), closing #2159
Sandro Santilli [Wed, 25 Jun 2014 07:25:23 +0000 (07:25 +0000)]
Report libjson version from postgis_full_version(), closing #2159

git-svn-id: http://svn.osgeo.org/postgis/trunk@12652 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2775 lwline_from_lwmpoint leaks memory
Paul Ramsey [Tue, 24 Jun 2014 22:45:39 +0000 (22:45 +0000)]
#2775 lwline_from_lwmpoint leaks memory

git-svn-id: http://svn.osgeo.org/postgis/trunk@12651 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2723 failure to build against external json-c 0.12
Paul Ramsey [Tue, 24 Jun 2014 21:59:47 +0000 (21:59 +0000)]
#2723 failure to build against external json-c 0.12

git-svn-id: http://svn.osgeo.org/postgis/trunk@12647 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoUse macro GREP instead of hardcoded
Paul Ramsey [Tue, 24 Jun 2014 21:04:24 +0000 (21:04 +0000)]
Use macro GREP instead of hardcoded

git-svn-id: http://svn.osgeo.org/postgis/trunk@12645 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2779 put in missing availability information
Regina Obe [Tue, 24 Jun 2014 20:58:02 +0000 (20:58 +0000)]
#2779 put in missing availability information

git-svn-id: http://svn.osgeo.org/postgis/trunk@12644 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2753 Add ST_IsPlanar (hmm did I forget to put in this ST_MinkowskiSum)
Regina Obe [Tue, 24 Jun 2014 20:43:03 +0000 (20:43 +0000)]
#2753 Add ST_IsPlanar (hmm did I forget to put in this ST_MinkowskiSum)

git-svn-id: http://svn.osgeo.org/postgis/trunk@12643 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoRevert r12350 as it didn't fix #2382
Sandro Santilli [Tue, 24 Jun 2014 15:27:48 +0000 (15:27 +0000)]
Revert r12350 as it didn't fix #2382

Upgrades between 2.1 and 2.2 were fixed by r12641 and refraining
from upgrading a GUC in presence of a pre-installed one is not the
right way to deal with the problem (we'd rather want to replace
an old GUC).

See #2755 (thanks vmo)

git-svn-id: http://svn.osgeo.org/postgis/trunk@12642 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoForce load of target shared object before major version check
Sandro Santilli [Tue, 24 Jun 2014 15:12:48 +0000 (15:12 +0000)]
Force load of target shared object before major version check

The load tries to ensure it's the load of the _old_ library that fails,
rather than the one of the _new_ library.

A failed load of the old library would make major version check resort
to call the postgis_scripts_installed() which would contain the correct
version since version 1.1.0 up. Load of the old library should only fail
when the old library is 2.1.0 up so there's no problem there.

NOTE: Failure of loading the _new_ library could still happen if the upgrade
script is loaded in a session in which the _old_ library was used already.
This is not something we can fix as there's no "unload" command in PostgreSQL.

Closes #2382

git-svn-id: http://svn.osgeo.org/postgis/trunk@12641 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoadd comments for out-db raster in regress tests
Bborie Park [Mon, 23 Jun 2014 15:36:32 +0000 (15:36 +0000)]
add comments for out-db raster in regress tests

git-svn-id: http://svn.osgeo.org/postgis/trunk@12639 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoDisable ST_MemSize test for outdb rasters
Sandro Santilli [Mon, 23 Jun 2014 14:39:40 +0000 (14:39 +0000)]
Disable ST_MemSize test for outdb rasters

I don't seem to be able to get a static memory size for them, so
for now the test is disabled (but the problem remains)

git-svn-id: http://svn.osgeo.org/postgis/trunk@12638 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoFix ST_MemSize test query with PostgreSQL 9.1
Sandro Santilli [Mon, 23 Jun 2014 08:54:46 +0000 (08:54 +0000)]
Fix ST_MemSize test query with PostgreSQL 9.1

See https://travis-ci.org/postgis/postgis/builds/28204298#L2377

git-svn-id: http://svn.osgeo.org/postgis/trunk@12637 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoSubtract size of offdb raster paths in test for ST_MemSize
Sandro Santilli [Mon, 23 Jun 2014 07:37:53 +0000 (07:37 +0000)]
Subtract size of offdb raster paths in test for ST_MemSize

Doing so should make the resulting size equal on all systems,
fixing the travis builds:
https://travis-ci.org/postgis/postgis#L2373-L2380

git-svn-id: http://svn.osgeo.org/postgis/trunk@12636 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoTypo
Sandro Santilli [Mon, 23 Jun 2014 07:26:24 +0000 (07:26 +0000)]
Typo

git-svn-id: http://svn.osgeo.org/postgis/trunk@12635 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2770 Document new ST_MemSize for raster and #2769 name change for geometry (ST_MEm_S...
Regina Obe [Sun, 22 Jun 2014 02:51:03 +0000 (02:51 +0000)]
#2770 Document new ST_MemSize for raster and #2769 name change for geometry (ST_MEm_Size to ST_MemSize)

git-svn-id: http://svn.osgeo.org/postgis/trunk@12634 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agofix premature memory free in RASTER_getBandPath (ST_BandPath)
Bborie Park [Sat, 21 Jun 2014 17:30:13 +0000 (17:30 +0000)]
fix premature memory free in RASTER_getBandPath (ST_BandPath)

git-svn-id: http://svn.osgeo.org/postgis/trunk@12631 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoImplement ST_MemSize(raster)
Sandro Santilli [Fri, 20 Jun 2014 10:37:22 +0000 (10:37 +0000)]
Implement ST_MemSize(raster)

Closes #2770
Includes testcases, but no documentation

git-svn-id: http://svn.osgeo.org/postgis/trunk@12630 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoDeprecate ST_Mem_Size, welcome ST_MemSize
Sandro Santilli [Fri, 20 Jun 2014 10:12:35 +0000 (10:12 +0000)]
Deprecate ST_Mem_Size, welcome ST_MemSize

Closes #2769

git-svn-id: http://svn.osgeo.org/postgis/trunk@12629 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2753 fix xsl to not trap intro
Regina Obe [Fri, 20 Jun 2014 06:11:58 +0000 (06:11 +0000)]
#2753 fix xsl to not trap intro

git-svn-id: http://svn.osgeo.org/postgis/trunk@12628 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2753 change func proto ST_Minkowski to ST_MinkowskiSum
Regina Obe [Fri, 20 Jun 2014 05:51:18 +0000 (05:51 +0000)]
#2753 change func proto ST_Minkowski to ST_MinkowskiSum

git-svn-id: http://svn.osgeo.org/postgis/trunk@12627 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2753: patch from vmp -- revised patch moving intro into an abstract instead of as...
Regina Obe [Fri, 20 Jun 2014 05:41:33 +0000 (05:41 +0000)]
#2753: patch from vmp -- revised patch moving intro into an abstract instead of as separate section

git-svn-id: http://svn.osgeo.org/postgis/trunk@12626 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoAdd postgis_noop(raster) function
Sandro Santilli [Thu, 19 Jun 2014 11:23:13 +0000 (11:23 +0000)]
Add postgis_noop(raster) function

git-svn-id: http://svn.osgeo.org/postgis/trunk@12625 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2737 typo
Regina Obe [Mon, 16 Jun 2014 06:55:55 +0000 (06:55 +0000)]
#2737 typo

git-svn-id: http://svn.osgeo.org/postgis/trunk@12624 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2737 add back 900913 and update backup exclusion to exclude these. We still need...
Regina Obe [Mon, 16 Jun 2014 06:53:42 +0000 (06:53 +0000)]
#2737 add back 900913 and update backup exclusion to exclude these. We still need to do somethng about upgrading spatial_ref_sys in general.

git-svn-id: http://svn.osgeo.org/postgis/trunk@12623 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2737 patch from Even Rouault: Upgrade of spatial_ref_sys.sql to EPSG v8.4, note...
Regina Obe [Mon, 16 Jun 2014 06:24:46 +0000 (06:24 +0000)]
#2737 patch from Even Rouault: Upgrade of spatial_ref_sys.sql to EPSG v8.4, note also this update spatial_ref_sys to go back to using DATUM instead of towgs84 (back to  PostGIS 1.5 syntax), add new definitions, fix some existing ones.

git-svn-id: http://svn.osgeo.org/postgis/trunk@12622 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agomissing migration path from 2.1.3
Regina Obe [Wed, 11 Jun 2014 21:38:31 +0000 (21:38 +0000)]
missing migration path from 2.1.3

git-svn-id: http://svn.osgeo.org/postgis/trunk@12618 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agofix typo in function proto for ST_NotSameAlignmentReason (had ST_SameAlignment)
Regina Obe [Mon, 9 Jun 2014 04:25:13 +0000 (04:25 +0000)]
fix typo in function proto for ST_NotSameAlignmentReason (had ST_SameAlignment)

git-svn-id: http://svn.osgeo.org/postgis/trunk@12610 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2752: raster @ and ~ operators not documented
Regina Obe [Sun, 1 Jun 2014 23:38:41 +0000 (23:38 +0000)]
#2752: raster @ and ~ operators not documented

git-svn-id: http://svn.osgeo.org/postgis/trunk@12605 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2752: raster && geometry is undocumented
Regina Obe [Sun, 1 Jun 2014 21:54:36 +0000 (21:54 +0000)]
#2752: raster && geometry is undocumented

git-svn-id: http://svn.osgeo.org/postgis/trunk@12603 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoAdd availability info for raster/geometry operators
Sandro Santilli [Thu, 29 May 2014 09:57:57 +0000 (09:57 +0000)]
Add availability info for raster/geometry operators

See #2752

git-svn-id: http://svn.osgeo.org/postgis/trunk@12601 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoWrap rtpostgis_upgrade.sql in a transaction (#2749)
Sandro Santilli [Tue, 27 May 2014 16:34:18 +0000 (16:34 +0000)]
Wrap rtpostgis_upgrade.sql in a transaction (#2749)

git-svn-id: http://svn.osgeo.org/postgis/trunk@12589 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoadd news for GDAL 2.0
Bborie Park [Sun, 25 May 2014 19:51:05 +0000 (19:51 +0000)]
add news for GDAL 2.0

git-svn-id: http://svn.osgeo.org/postgis/trunk@12585 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agobasic support for GDAL 2.0
Bborie Park [Sun, 25 May 2014 19:51:01 +0000 (19:51 +0000)]
basic support for GDAL 2.0

git-svn-id: http://svn.osgeo.org/postgis/trunk@12584 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoReduce overhead of ST_Simplify calls against points and multipoints
Sandro Santilli [Wed, 21 May 2014 09:46:59 +0000 (09:46 +0000)]
Reduce overhead of ST_Simplify calls against points and multipoints

It takes half the time to run against 800k point records now
(still double the time it takes to return those 800k records directly)

See #2745

git-svn-id: http://svn.osgeo.org/postgis/trunk@12577 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoDrop PlanetPostgis announce (automatic via http://postgis.net/news)
Sandro Santilli [Mon, 19 May 2014 11:15:42 +0000 (11:15 +0000)]
Drop PlanetPostgis announce (automatic via http://postgis.net/news)

git-svn-id: http://svn.osgeo.org/postgis/trunk@12575 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agofix links and version
Regina Obe [Mon, 19 May 2014 03:03:29 +0000 (03:03 +0000)]
fix links and version

git-svn-id: http://svn.osgeo.org/postgis/trunk@12570 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoUse a variable for extname
Sandro Santilli [Wed, 14 May 2014 10:27:38 +0000 (10:27 +0000)]
Use a variable for extname

git-svn-id: http://svn.osgeo.org/postgis/trunk@12565 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoComplain if extension scripts are sourced in psql
Sandro Santilli [Wed, 14 May 2014 10:06:20 +0000 (10:06 +0000)]
Complain if extension scripts are sourced in psql

git-svn-id: http://svn.osgeo.org/postgis/trunk@12564 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoAutomate postgis_download_url setting in doc/postgis.xml
Sandro Santilli [Wed, 14 May 2014 09:09:40 +0000 (09:09 +0000)]
Automate postgis_download_url setting in doc/postgis.xml

Drop manual step from HOWTO_RELEASE (and change list to unnumbered)
Closes #2735

git-svn-id: http://svn.osgeo.org/postgis/trunk@12562 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoDrop checkout step from release procedure, other cleanups
Sandro Santilli [Wed, 14 May 2014 08:43:40 +0000 (08:43 +0000)]
Drop checkout step from release procedure, other cleanups

See #2736

git-svn-id: http://svn.osgeo.org/postgis/trunk@12560 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoReorder release steps to avoid touching repository after tag
Sandro Santilli [Tue, 13 May 2014 17:12:09 +0000 (17:12 +0000)]
Reorder release steps to avoid touching repository after tag

git-svn-id: http://svn.osgeo.org/postgis/trunk@12546 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoAdd "ChangeLog" rule, update HOWTO_RELEASE with that recipe
Sandro Santilli [Tue, 13 May 2014 16:58:25 +0000 (16:58 +0000)]
Add "ChangeLog" rule, update HOWTO_RELEASE with that recipe

git-svn-id: http://svn.osgeo.org/postgis/trunk@12543 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agotweak messages
Bborie Park [Tue, 13 May 2014 15:33:35 +0000 (15:33 +0000)]
tweak messages

git-svn-id: http://svn.osgeo.org/postgis/trunk@12541 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agodisable one unit test
Bborie Park [Tue, 13 May 2014 15:33:31 +0000 (15:33 +0000)]
disable one unit test

git-svn-id: http://svn.osgeo.org/postgis/trunk@12540 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoemit message for unknown GDAL drivers
Bborie Park [Tue, 13 May 2014 15:33:26 +0000 (15:33 +0000)]
emit message for unknown GDAL drivers

git-svn-id: http://svn.osgeo.org/postgis/trunk@12539 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoFix header guard
Sandro Santilli [Tue, 13 May 2014 12:44:36 +0000 (12:44 +0000)]
Fix header guard

git-svn-id: http://svn.osgeo.org/postgis/trunk@12534 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoHeader-guard postgis_config.h
Sandro Santilli [Tue, 13 May 2014 09:24:34 +0000 (09:24 +0000)]
Header-guard postgis_config.h

git-svn-id: http://svn.osgeo.org/postgis/trunk@12530 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agofix url back
Regina Obe [Mon, 12 May 2014 21:41:59 +0000 (21:41 +0000)]
fix url back

git-svn-id: http://svn.osgeo.org/postgis/trunk@12528 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2732 gserialized_estimate crashes under mingw64 windows when compiled with --enabled...
Regina Obe [Mon, 12 May 2014 21:39:29 +0000 (21:39 +0000)]
#2732 gserialized_estimate crashes under mingw64 windows when compiled with --enabled-debug

git-svn-id: http://svn.osgeo.org/postgis/trunk@12527 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agostrcat instead of sprintf
Bborie Park [Tue, 6 May 2014 14:05:41 +0000 (14:05 +0000)]
strcat instead of sprintf

git-svn-id: http://svn.osgeo.org/postgis/trunk@12519 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoTweak search_path inline when creating topology extension
Sandro Santilli [Mon, 5 May 2014 17:09:53 +0000 (17:09 +0000)]
Tweak search_path inline when creating topology extension

Also fixes postgis website url and "make clean" rule.
NOTE: I found that AddToSearchPath code is duplicated, might be
      a good idea to drop one of the two implementations (both
      touched with this commit)

git-svn-id: http://svn.osgeo.org/postgis/trunk@12504 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoRemove debugging print from run_test.pl
Sandro Santilli [Mon, 5 May 2014 08:24:49 +0000 (08:24 +0000)]
Remove debugging print from run_test.pl

git-svn-id: http://svn.osgeo.org/postgis/trunk@12503 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoOffline rasters are always supported
Sandro Santilli [Mon, 5 May 2014 08:08:30 +0000 (08:08 +0000)]
Offline rasters are always supported

git-svn-id: http://svn.osgeo.org/postgis/trunk@12501 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoadd text mentioning env variables
Bborie Park [Sun, 4 May 2014 15:51:26 +0000 (15:51 +0000)]
add text mentioning env variables

git-svn-id: http://svn.osgeo.org/postgis/trunk@12495 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoadded support for POSTGIS_GDAL_ENABLED_DRIVERS and POSTGIS_ENABLE_OUTDB_RASTERS envir...
Bborie Park [Sun, 4 May 2014 15:51:21 +0000 (15:51 +0000)]
added support for POSTGIS_GDAL_ENABLED_DRIVERS and POSTGIS_ENABLE_OUTDB_RASTERS environment variables to set the boot values of the GUCs postgis.gdal_enabled_drivers and postgis.enable_outdb_rasters, respectively

git-svn-id: http://svn.osgeo.org/postgis/trunk@12494 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoHonour "Last Updated" objects comment for upgrade script (#2722)
Sandro Santilli [Wed, 30 Apr 2014 11:37:16 +0000 (11:37 +0000)]
Honour "Last Updated" objects comment for upgrade script (#2722)

git-svn-id: http://svn.osgeo.org/postgis/trunk@12493 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoadd VSICURL keyword for GUC postgis.gdal_enabled_drivers. add GUC posgis.enable_outdb...
Bborie Park [Sat, 26 Apr 2014 14:01:02 +0000 (14:01 +0000)]
add VSICURL keyword for GUC postgis.gdal_enabled_drivers. add GUC posgis.enable_outdb_rasters

git-svn-id: http://svn.osgeo.org/postgis/trunk@12492 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agocheck before inserting records into spatial_ref_sys. ticket #2715
Bborie Park [Wed, 23 Apr 2014 16:16:51 +0000 (16:16 +0000)]
check before inserting records into spatial_ref_sys. ticket #2715

git-svn-id: http://svn.osgeo.org/postgis/trunk@12488 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoUnit tests fail on PostgreSQL 9.1 due to GUC behavior changes between 9.1 and 9.2...
Bborie Park [Tue, 22 Apr 2014 14:29:30 +0000 (14:29 +0000)]
Unit tests fail on PostgreSQL 9.1 due to GUC behavior changes between 9.1 and 9.2. Ticket #2714

git-svn-id: http://svn.osgeo.org/postgis/trunk@12486 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2713: properly cast text to geom (don't enforce bad habits), flag ST_StartPoint...
Regina Obe [Mon, 21 Apr 2014 12:38:26 +0000 (12:38 +0000)]
#2713: properly cast text to geom (don't enforce bad habits), flag ST_StartPoint and ST_EndPoint as working with CIRCULARLINSTRINGS

git-svn-id: http://svn.osgeo.org/postgis/trunk@12485 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2713 flag ST_ForceCurve as a curve function
Regina Obe [Mon, 21 Apr 2014 12:17:14 +0000 (12:17 +0000)]
#2713 flag ST_ForceCurve as a curve function

git-svn-id: http://svn.osgeo.org/postgis/trunk@12484 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2685: get rid of COPY lines (we are now stripping them since 9.4 adds it also when...
Regina Obe [Mon, 21 Apr 2014 08:28:56 +0000 (08:28 +0000)]
#2685: get rid of COPY lines (we are now stripping them since 9.4 adds it also when enable notice only)

git-svn-id: http://svn.osgeo.org/postgis/trunk@12483 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2685: ignore COPY notice (new feature in 9.4 tripping up regress checking)
Regina Obe [Mon, 21 Apr 2014 08:12:06 +0000 (08:12 +0000)]
#2685: ignore COPY notice (new feature in 9.4 tripping up regress checking)

git-svn-id: http://svn.osgeo.org/postgis/trunk@12482 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2626 adding patch suggestion from @shane to jdbc and jdbc-jtsparser java projects...
Baris Ergun [Sat, 19 Apr 2014 08:41:33 +0000 (08:41 +0000)]
#2626 adding patch suggestion from @shane to jdbc and jdbc-jtsparser java projects inorder to be prepared to manually release jdbc jars on OSSRH

git-svn-id: http://svn.osgeo.org/postgis/trunk@12481 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2343 missing --with-sfcgal in docs
Regina Obe [Mon, 14 Apr 2014 23:12:36 +0000 (23:12 +0000)]
#2343 missing --with-sfcgal in docs

git-svn-id: http://svn.osgeo.org/postgis/trunk@12479 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoIf GUC postgis.gdal_enabled_drivers = 'DISABLE_ALL', use of GDALOpen and GDALOpenShar...
Bborie Park [Sun, 13 Apr 2014 22:02:16 +0000 (22:02 +0000)]
If GUC postgis.gdal_enabled_drivers = 'DISABLE_ALL', use of GDALOpen and GDALOpenShared is disabled.

git-svn-id: http://svn.osgeo.org/postgis/trunk@12477 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoremove --disable-offline-raster compile flag as by default the GUC postgis.gdal_enabl...
Bborie Park [Sun, 13 Apr 2014 03:14:14 +0000 (03:14 +0000)]
remove --disable-offline-raster compile flag as by default the GUC postgis.gdal_enabled_drivers is set to DISABLE_ALL

git-svn-id: http://svn.osgeo.org/postgis/trunk@12476 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agodocument the GUC postgis.gdal_enabled_drivers
Bborie Park [Sun, 13 Apr 2014 03:07:45 +0000 (03:07 +0000)]
document the GUC postgis.gdal_enabled_drivers

git-svn-id: http://svn.osgeo.org/postgis/trunk@12475 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoAddition of GUC postgis.gdal_enabled_drivers with default set to all GDAL drivers...
Bborie Park [Sun, 13 Apr 2014 03:07:41 +0000 (03:07 +0000)]
Addition of GUC postgis.gdal_enabled_drivers with default set to all GDAL drivers disabled

git-svn-id: http://svn.osgeo.org/postgis/trunk@12474 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoinitial steps at GUCs and additional drivers to skip by default
Bborie Park [Sun, 13 Apr 2014 03:07:28 +0000 (03:07 +0000)]
initial steps at GUCs and additional drivers to skip by default

git-svn-id: http://svn.osgeo.org/postgis/trunk@12473 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoFix testsuite with custom POSTGIS_REGRESS_DB set
Sandro Santilli [Fri, 11 Apr 2014 09:26:39 +0000 (09:26 +0000)]
Fix testsuite with custom POSTGIS_REGRESS_DB set

git-svn-id: http://svn.osgeo.org/postgis/trunk@12468 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoAlso disable PDF GDAL driver by default
Sandro Santilli [Fri, 11 Apr 2014 09:05:58 +0000 (09:05 +0000)]
Also disable PDF GDAL driver by default

git-svn-id: http://svn.osgeo.org/postgis/trunk@12466 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2711: topology script locations are wrong
Regina Obe [Fri, 11 Apr 2014 04:30:27 +0000 (04:30 +0000)]
#2711: topology script locations are wrong

git-svn-id: http://svn.osgeo.org/postgis/trunk@12464 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoremove some noisy debug messages
Bborie Park [Fri, 11 Apr 2014 00:08:47 +0000 (00:08 +0000)]
remove some noisy debug messages

git-svn-id: http://svn.osgeo.org/postgis/trunk@12461 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoby default, prevent PostGIS raster from using GDAL drivers that can easily be abused...
Bborie Park [Thu, 10 Apr 2014 21:53:49 +0000 (21:53 +0000)]
by default, prevent PostGIS raster from using GDAL drivers that can easily be abused (VRT, MEM, WCS, WMS)

git-svn-id: http://svn.osgeo.org/postgis/trunk@12457 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agodefault blocking of GDAL VRT WCS WMS and MEM drivers
Bborie Park [Thu, 10 Apr 2014 21:53:39 +0000 (21:53 +0000)]
default blocking of GDAL VRT WCS WMS and MEM drivers

git-svn-id: http://svn.osgeo.org/postgis/trunk@12456 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoDo not allow loading offline rasters when explicitly disabled
Sandro Santilli [Thu, 10 Apr 2014 14:35:17 +0000 (14:35 +0000)]
Do not allow loading offline rasters when explicitly disabled

Previous commit only disabled _saving_ rasters with offline flag,
this one prevents actually loading the offline data.
You can still dump databases with offline raster specs.

git-svn-id: http://svn.osgeo.org/postgis/trunk@12455 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoFix typo in error message
Sandro Santilli [Thu, 10 Apr 2014 14:22:59 +0000 (14:22 +0000)]
Fix typo in error message

git-svn-id: http://svn.osgeo.org/postgis/trunk@12454 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoEncode dependency of raster objects on header files
Sandro Santilli [Thu, 10 Apr 2014 14:10:03 +0000 (14:10 +0000)]
Encode dependency of raster objects on header files

git-svn-id: http://svn.osgeo.org/postgis/trunk@12453 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoAllow specifying name of regress database on make check
Sandro Santilli [Thu, 10 Apr 2014 09:54:02 +0000 (09:54 +0000)]
Allow specifying name of regress database on make check

Honours a POSTGIS_REGRESS_DB environment variable

git-svn-id: http://svn.osgeo.org/postgis/trunk@12452 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoFix build with offline raster enabled (the default)
Sandro Santilli [Thu, 10 Apr 2014 09:53:52 +0000 (09:53 +0000)]
Fix build with offline raster enabled (the default)

git-svn-id: http://svn.osgeo.org/postgis/trunk@12451 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoAdd support for disabling offline raster storage at compile time
Sandro Santilli [Thu, 10 Apr 2014 09:18:15 +0000 (09:18 +0000)]
Add support for disabling offline raster storage at compile time

Adds --disable-offline-raster configure switch
Testsuite fails with offline rasters disabled (could be fixed to
skip offline raster tests)

git-svn-id: http://svn.osgeo.org/postgis/trunk@12450 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoQuiet LLVM warnings and remove old ignores from properties
Paul Ramsey [Wed, 9 Apr 2014 20:10:13 +0000 (20:10 +0000)]
Quiet LLVM warnings and remove old ignores from properties

git-svn-id: http://svn.osgeo.org/postgis/trunk@12448 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoAdd more debug prints
Sandro Santilli [Wed, 9 Apr 2014 17:02:10 +0000 (17:02 +0000)]
Add more debug prints

git-svn-id: http://svn.osgeo.org/postgis/trunk@12446 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoadd malformed polygons and linestrings
Regina Obe [Wed, 9 Apr 2014 02:54:42 +0000 (02:54 +0000)]
add malformed polygons and linestrings

git-svn-id: http://svn.osgeo.org/postgis/trunk@12442 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoClean files generated on 'make gaden'
Sandro Santilli [Tue, 8 Apr 2014 08:49:53 +0000 (08:49 +0000)]
Clean files generated on 'make gaden'

And tell git to ignore them

git-svn-id: http://svn.osgeo.org/postgis/trunk@12439 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2672 regresstest
Nicklas Avén [Mon, 7 Apr 2014 19:15:19 +0000 (19:15 +0000)]
#2672 regresstest

git-svn-id: http://svn.osgeo.org/postgis/trunk@12436 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoDocument raster_columns.out_db metadata (Ticket #2705)
Mateusz Loskot [Mon, 7 Apr 2014 15:09:46 +0000 (15:09 +0000)]
Document raster_columns.out_db metadata (Ticket #2705)

git-svn-id: http://svn.osgeo.org/postgis/trunk@12435 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoFix ticket #
Paul Ramsey [Mon, 7 Apr 2014 14:56:19 +0000 (14:56 +0000)]
Fix ticket #

git-svn-id: http://svn.osgeo.org/postgis/trunk@12434 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoHandle error condition from fputs
Mateusz Loskot [Mon, 7 Apr 2014 14:51:51 +0000 (14:51 +0000)]
Handle error condition from fputs

git-svn-id: http://svn.osgeo.org/postgis/trunk@12432 b70326c6-7e19-0410-871a-916f4a2858ee

10 years ago#2704, ST_DumpPoints of EMPTY geometries crashes server
Paul Ramsey [Mon, 7 Apr 2014 14:44:44 +0000 (14:44 +0000)]
#2704, ST_DumpPoints of EMPTY geometries crashes server

git-svn-id: http://svn.osgeo.org/postgis/trunk@12430 b70326c6-7e19-0410-871a-916f4a2858ee