]> granicus.if.org Git - postgis/log
postgis
10 years agoConvert malloc/free to lwalloc/lwfree
Paul Ramsey [Mon, 7 Jul 2014 22:44:15 +0000 (22:44 +0000)]
Convert malloc/free to lwalloc/lwfree

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

10 years agoProvided 3D behavior examples for ST_Intersection and ST_3DIntersection
Regina Obe [Mon, 7 Jul 2014 22:35:13 +0000 (22:35 +0000)]
Provided 3D behavior examples for ST_Intersection and ST_3DIntersection

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

10 years agouse @ operator instead of ST_CoveredBy(). Ticket #2822
Bborie Park [Mon, 7 Jul 2014 15:39:14 +0000 (15:39 +0000)]
use @ operator instead of ST_CoveredBy(). Ticket #2822

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

10 years agoImprove encoded polyline docs
Sandro Santilli [Mon, 7 Jul 2014 10:25:36 +0000 (10:25 +0000)]
Improve encoded polyline docs

Fix cross-linking between encoded polyline in/out funx
Add link to encoded polyline algorithm format

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

10 years agoAdded support for encoded_polyline input/output (#2349)
Sandro Santilli [Mon, 7 Jul 2014 10:21:22 +0000 (10:21 +0000)]
Added support for encoded_polyline input/output (#2349)

Allow to convert from Encoded Polyline to LineString.
Useful for storing routes from Osrm or Google into PostGIS.

See http://developers.google.com/maps/documentation/utilities/polylinealgorithm

Contributed by Kashif Rasul <kashif.rasul@gmail.com>

Includes unit and regress tests.
Includes documentation.

Signed-off-by: Sandro Santilli <strk@keybit.net>
git-svn-id: http://svn.osgeo.org/postgis/trunk@12750 b70326c6-7e19-0410-871a-916f4a2858ee

10 years agoFix index creation in loaders
Sandro Santilli [Mon, 7 Jul 2014 08:58:17 +0000 (08:58 +0000)]
Fix index creation in loaders

The bug was introduced with previous commit (typo)
See #2811

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

10 years agoDo not explicitly name indexes loading rasters/shapefiles (#2811)
Sandro Santilli [Mon, 7 Jul 2014 08:10:48 +0000 (08:10 +0000)]
Do not explicitly name indexes loading rasters/shapefiles (#2811)

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

10 years agoValidate that ST_MapAlgebra callback function has correct return
Bborie Park [Sun, 6 Jul 2014 20:01:53 +0000 (20:01 +0000)]
Validate that ST_MapAlgebra callback function has correct return
datatype. Ticket #2802

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

10 years agoescape delimiter of ST_Band(). Ticket #2812
Bborie Park [Sun, 6 Jul 2014 18:33:41 +0000 (18:33 +0000)]
escape delimiter of ST_Band(). Ticket #2812

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

10 years agoRaster max extent uses envelope like Geometry. Ticket #2777
Bborie Park [Sun, 6 Jul 2014 18:10:23 +0000 (18:10 +0000)]
Raster max extent uses envelope like Geometry. Ticket #2777

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

10 years agofix obsolete URL in headers
Bborie Park [Sun, 6 Jul 2014 17:32:55 +0000 (17:32 +0000)]
fix obsolete URL in headers

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

10 years agoadded NEWS and updated tests
Bborie Park [Sun, 6 Jul 2014 15:27:39 +0000 (15:27 +0000)]
added NEWS and updated tests

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

10 years agouse empty TEXT array for userargs when no user args and STRICT callback function
Bborie Park [Sun, 6 Jul 2014 15:27:32 +0000 (15:27 +0000)]
use empty TEXT array for userargs when no user args and STRICT callback function

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

10 years ago#2813 add address_standardizer as part of doxygen build
Regina Obe [Sun, 6 Jul 2014 03:17:34 +0000 (03:17 +0000)]
#2813 add address_standardizer as part of doxygen build

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

10 years agomove title below sect1info guess not legal before it.
Regina Obe [Sat, 5 Jul 2014 07:15:09 +0000 (07:15 +0000)]
move title below sect1info guess not legal before it.

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

10 years agomissed a spot (hopefully strk's asleep)
Regina Obe [Sat, 5 Jul 2014 06:43:32 +0000 (06:43 +0000)]
missed a spot (hopefully strk's asleep)

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

10 years agomove term out of listentry
Regina Obe [Sat, 5 Jul 2014 06:26:48 +0000 (06:26 +0000)]
move term out of listentry

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

10 years ago#2801: start work on address_standardizer chapter and cut in
Regina Obe [Sat, 5 Jul 2014 06:14:53 +0000 (06:14 +0000)]
#2801: start work on address_standardizer chapter and cut in

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

10 years ago#2810 document the delimeter argument and big warning to avoid because we may remove...
Regina Obe [Sat, 5 Jul 2014 04:17:37 +0000 (04:17 +0000)]
#2810 document the delimeter argument and big warning to avoid because we may remove it in future versions

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

10 years agoChange append_stringbuffer to take ownership of string parameter
Sandro Santilli [Fri, 4 Jul 2014 16:11:57 +0000 (16:11 +0000)]
Change append_stringbuffer to take ownership of string parameter

Reduces the amount of allocations/deallocations needed during import.

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

10 years agoInline hex conversion of raster wkb in rt_raster_to_hexwkb (#2798)
Sandro Santilli [Fri, 4 Jul 2014 16:11:49 +0000 (16:11 +0000)]
Inline hex conversion of raster wkb in rt_raster_to_hexwkb (#2798)

Speeds up importing large rasters.

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

10 years agoAdd woodbri in git/svn authors file
Sandro Santilli [Fri, 4 Jul 2014 09:45:11 +0000 (09:45 +0000)]
Add woodbri in git/svn authors file

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

10 years agoInclude PostgreSQL failure messages in AddRasterConstraints
Sandro Santilli [Fri, 4 Jul 2014 09:45:04 +0000 (09:45 +0000)]
Include PostgreSQL failure messages in AddRasterConstraints

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

10 years agotest commit to check access rights
Stephen Woodbridge [Thu, 3 Jul 2014 16:37:23 +0000 (16:37 +0000)]
test commit to check access rights

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

10 years agoCheck that ST_MapAlgebra strict callbacks get passed an user arg
Sandro Santilli [Thu, 3 Jul 2014 12:32:40 +0000 (12:32 +0000)]
Check that ST_MapAlgebra strict callbacks get passed an user arg

Closes #2803
Includes a testcase

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

10 years agomissed an edit
Regina Obe [Thu, 3 Jul 2014 03:04:17 +0000 (03:04 +0000)]
missed an edit

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

10 years agoAdd address_standardizer and sfcgal to list of contributions
Regina Obe [Thu, 3 Jul 2014 03:04:03 +0000 (03:04 +0000)]
Add address_standardizer and sfcgal to list of contributions

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

10 years agoFork of http://sourceforge.net/p/pagc/code/HEAD/tree/branches/sew-refactor/postgresql...
Regina Obe [Thu, 3 Jul 2014 02:14:31 +0000 (02:14 +0000)]
Fork of http://sourceforge.net/p/pagc/code/HEAD/tree/branches/sew-refactor/postgresql (svn://svn.code.sf.net/p/pagc/code/branches/sew-refactor/postgresql )  at r361 (Stephen Woodbridge, Walter Sinclair contribution) - address_standardizer extension for PostgreSQL forked from PAGC address standardizer to work with PostgreSQL

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

10 years agoIgnore build artifacts
Paul Ramsey [Tue, 1 Jul 2014 17:45:08 +0000 (17:45 +0000)]
Ignore build artifacts

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

10 years agoIgnore install-sh, generated by autogen.sh
Sandro Santilli [Tue, 1 Jul 2014 16:14:45 +0000 (16:14 +0000)]
Ignore install-sh, generated by autogen.sh

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

10 years agoinstall-sh is a built artifact, should not be in the repository
Sandro Santilli [Tue, 1 Jul 2014 16:13:44 +0000 (16:13 +0000)]
install-sh is a built artifact, should not be in the repository

See http://lists.osgeo.org/pipermail/postgis-devel/2014-June/024327.html

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

10 years agofix build
Paul Ramsey [Mon, 30 Jun 2014 17:55:46 +0000 (17:55 +0000)]
fix build

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

10 years ago#2797 cu_surface.c warning on polyhedralsurface_parse
Paul Ramsey [Mon, 30 Jun 2014 16:43:31 +0000 (16:43 +0000)]
#2797 cu_surface.c warning on polyhedralsurface_parse

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

10 years ago#2796, sfcgal_comments.sql missing for regress testing install
Paul Ramsey [Mon, 30 Jun 2014 16:19:16 +0000 (16:19 +0000)]
#2796, sfcgal_comments.sql missing for regress testing install

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

10 years ago#2793, sfcgal cunit tests do not seem to run
Paul Ramsey [Mon, 30 Jun 2014 16:15:00 +0000 (16:15 +0000)]
#2793, sfcgal cunit tests do not seem to run

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

10 years agoIgnore some build artefacts
Paul Ramsey [Mon, 30 Jun 2014 15:28:50 +0000 (15:28 +0000)]
Ignore some build artefacts

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

10 years agoOops, confused mapnik with postgis
Sandro Santilli [Mon, 30 Jun 2014 14:37:24 +0000 (14:37 +0000)]
Oops, confused mapnik with postgis

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

10 years ago#2790 SET_VARSIZE redefined - to fix swapped out liblwgeom.h with liblwgeom_internal...
Regina Obe [Mon, 30 Jun 2014 02:43:21 +0000 (02:43 +0000)]
#2790 SET_VARSIZE redefined - to fix swapped out liblwgeom.h with liblwgeom_internal.h which includes reference to postgis_config.h to do conditional right thing based in pg version

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

10 years ago#2794 sfcgal regress sfcgal doesn't install if RUNTESTFLAGS is set by user because...
Regina Obe [Sun, 29 Jun 2014 21:21:57 +0000 (21:21 +0000)]
#2794 sfcgal regress sfcgal doesn't install if RUNTESTFLAGS is set by user because trying to reuse that flag.  Define new flag SFCGALTESTFLAGS and pass that along.

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

10 years ago#2488: patch from Vincent Mora to make sfcgal_tickets endian agnostic
Regina Obe [Sun, 29 Jun 2014 18:38:55 +0000 (18:38 +0000)]
#2488: patch from Vincent Mora to make sfcgal_tickets endian agnostic

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

10 years agoupdate postgis_full_version output the old was ancient 1.3 days
Regina Obe [Sun, 29 Jun 2014 04:56:42 +0000 (04:56 +0000)]
update postgis_full_version output the old was ancient 1.3 days

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

10 years ago#2792 docbook validation issues -- remove for raster_comments generation
Regina Obe [Sun, 29 Jun 2014 04:17:47 +0000 (04:17 +0000)]
#2792 docbook validation issues -- remove for raster_comments generation

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

10 years agoupdate docs to include breaking function changes, fact that sfcgal now is supported...
Regina Obe [Fri, 27 Jun 2014 21:23:56 +0000 (21:23 +0000)]
update docs to include breaking function changes, fact that sfcgal now is supported as extension, and how to install sfcgal as extension

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

10 years agoAdd Vincent Mora to credits
Regina Obe [Fri, 27 Jun 2014 21:13:02 +0000 (21:13 +0000)]
Add Vincent Mora to credits

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

10 years ago#2754 postgis_sfcgal extension oops missed new extension folder
Regina Obe [Fri, 27 Jun 2014 21:09:06 +0000 (21:09 +0000)]
#2754 postgis_sfcgal extension oops missed new extension folder

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

10 years ago#2754 need postgis_sfcgal wrapped as an extension - patch provided by Vincent Mora...
Regina Obe [Fri, 27 Jun 2014 20:56:57 +0000 (20:56 +0000)]
#2754 need postgis_sfcgal wrapped as an extension - patch provided by Vincent Mora (vmo)

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

10 years ago#2783 add JSON_CPPGLAGS to CPPFLAGS so works correctly with custom json-dir
Regina Obe [Fri, 27 Jun 2014 20:08:45 +0000 (20:08 +0000)]
#2783 add JSON_CPPGLAGS to CPPFLAGS so works correctly with custom json-dir

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

10 years ago#2704, ST_GeomFromGML() does not work properly with array of gml:pos
Paul Ramsey [Fri, 27 Jun 2014 18:34:37 +0000 (18:34 +0000)]
#2704, ST_GeomFromGML() does not work properly with array of gml:pos

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

10 years agoEnsure conditional has access to configuration values
Paul Ramsey [Fri, 27 Jun 2014 18:32:23 +0000 (18:32 +0000)]
Ensure conditional has access to configuration values

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

10 years ago#2788 Warning on PG_RETURN_HEAPTUPLEHEADER building against PgSQL 9.
Paul Ramsey [Fri, 27 Jun 2014 18:12:55 +0000 (18:12 +0000)]
#2788 Warning on PG_RETURN_HEAPTUPLEHEADER building against PgSQL 9.

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

10 years agoFix undefined behavior in ptarray_calculate_gbox_geodetic (#2774)
Sandro Santilli [Fri, 27 Jun 2014 07:38:02 +0000 (07:38 +0000)]
Fix undefined behavior in ptarray_calculate_gbox_geodetic (#2774)

Patch by Paul Ramsey

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

10 years agoDo not assume utils/create_unpackaged.pl is executable
Sandro Santilli [Fri, 27 Jun 2014 07:35:32 +0000 (07:35 +0000)]
Do not assume utils/create_unpackaged.pl is executable

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

10 years ago#2712 ST_Segmentize exception on Empty input: getPoint4d_p: point offset out of range
Paul Ramsey [Thu, 26 Jun 2014 22:43:22 +0000 (22:43 +0000)]
#2712 ST_Segmentize exception on Empty input: getPoint4d_p: point offset out of range

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

10 years agoAdd note about ./autogen.sh
Sandro Santilli [Thu, 26 Jun 2014 13:04:52 +0000 (13:04 +0000)]
Add note about ./autogen.sh

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

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