]>
granicus.if.org Git - postgis/log
Sandro Santilli [Mon, 14 Jul 2014 14:36:55 +0000 (14:36 +0000)]
Add note about extent ratainment in ST_Resize, cross link docs
Closes #2833
git-svn-id: http://svn.osgeo.org/postgis/trunk@12780
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 14 Jul 2014 14:36:48 +0000 (14:36 +0000)]
Force rtpostgis.so rebuild on librtcore.a change
git-svn-id: http://svn.osgeo.org/postgis/trunk@12779
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 11 Jul 2014 17:21:09 +0000 (17:21 +0000)]
#2834, ST_Estimated_Extent and mixedCase table names
git-svn-id: http://svn.osgeo.org/postgis/trunk@12778
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Fri, 11 Jul 2014 09:22:36 +0000 (09:22 +0000)]
Drop duplicated commas, add ST_SetValue in See Also for ST_Value
git-svn-id: http://svn.osgeo.org/postgis/trunk@12776
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Fri, 11 Jul 2014 08:36:26 +0000 (08:36 +0000)]
Ignore more generated files
git-svn-id: http://svn.osgeo.org/postgis/trunk@12775
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 10 Jul 2014 01:34:18 +0000 (01:34 +0000)]
resize images and put a not about how the 3D was rendered.
git-svn-id: http://svn.osgeo.org/postgis/trunk@12771
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 10 Jul 2014 01:26:14 +0000 (01:26 +0000)]
forgot to commit changes
git-svn-id: http://svn.osgeo.org/postgis/trunk@12770
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 10 Jul 2014 01:25:05 +0000 (01:25 +0000)]
Add visual examples of extrusion
git-svn-id: http://svn.osgeo.org/postgis/trunk@12769
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 8 Jul 2014 20:28:10 +0000 (20:28 +0000)]
#2820: ST_Segmentize(geography) returns a geography not geometry
git-svn-id: http://svn.osgeo.org/postgis/trunk@12767
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 8 Jul 2014 09:49:45 +0000 (09:49 +0000)]
Add support for sfgal in run_test --extension
git-svn-id: http://svn.osgeo.org/postgis/trunk@12766
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 8 Jul 2014 09:16:22 +0000 (09:16 +0000)]
Cleanup raster drop files
rtpostgis_drop.sql is used to drop obsoleted objects (after)
while rtpostgis_upgrade_cleanup.sql is used to remove things that
need be removed _before_ (incompatible CREATE OR REPLACE).
Ideally nothing would need to be removed _before_ if the
proc_upgrade script was made smarter to determine incompatible
signature changes (but this is for another time).
Closes #2673
git-svn-id: http://svn.osgeo.org/postgis/trunk@12765
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Tue, 8 Jul 2014 02:49:58 +0000 (02:49 +0000)]
fix regexp escaping
git-svn-id: http://svn.osgeo.org/postgis/trunk@12764
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 8 Jul 2014 01:46:20 +0000 (01:46 +0000)]
change to manual creation generated doesn't look right
git-svn-id: http://svn.osgeo.org/postgis/trunk@12761
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 8 Jul 2014 00:37:00 +0000 (00:37 +0000)]
change example to one that takes up more of the realestate
git-svn-id: http://svn.osgeo.org/postgis/trunk@12760
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 8 Jul 2014 00:09:15 +0000 (00:09 +0000)]
fix typo in image make script for ST_StraightSkeleton image
git-svn-id: http://svn.osgeo.org/postgis/trunk@12759
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 7 Jul 2014 23:41:33 +0000 (23:41 +0000)]
missed committing ths file ST_Force2D link id fix
git-svn-id: http://svn.osgeo.org/postgis/trunk@12758
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 7 Jul 2014 23:29:39 +0000 (23:29 +0000)]
another ST_Force_2D id change to ST_Force2D
git-svn-id: http://svn.osgeo.org/postgis/trunk@12757
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 7 Jul 2014 23:17:59 +0000 (23:17 +0000)]
Change link id of ST_Force2D from ST_Force_2D to ST_Force2Dm add doco for ST_StraightSkeleton, add example of switching backend to sfcgal
git-svn-id: http://svn.osgeo.org/postgis/trunk@12756
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 7 Jul 2014 22:53:43 +0000 (22:53 +0000)]
Clean up warnings in encoded polyline code
git-svn-id: http://svn.osgeo.org/postgis/trunk@12755
b70326c6 -7e19-0410-871a-
916f4a2858ee
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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