Commit graph

9633 commits

Author SHA1 Message Date
Regina Obe df25351c66 missed an edit
git-svn-id: http://svn.osgeo.org/postgis/trunk@12718 b70326c6-7e19-0410-871a-916f4a2858ee
2014-07-03 03:04:17 +00:00
Regina Obe f6136b350d Add address_standardizer and sfcgal to list of contributions
git-svn-id: http://svn.osgeo.org/postgis/trunk@12717 b70326c6-7e19-0410-871a-916f4a2858ee
2014-07-03 03:04:03 +00:00
Regina Obe 1f64e92017 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
2014-07-03 02:14:31 +00:00
Paul Ramsey 5b79d69994 Ignore build artifacts
git-svn-id: http://svn.osgeo.org/postgis/trunk@12714 b70326c6-7e19-0410-871a-916f4a2858ee
2014-07-01 17:45:08 +00:00
Sandro Santilli ccde882a5d Ignore install-sh, generated by autogen.sh
git-svn-id: http://svn.osgeo.org/postgis/trunk@12713 b70326c6-7e19-0410-871a-916f4a2858ee
2014-07-01 16:14:45 +00:00
Sandro Santilli 7c3d25a663 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
2014-07-01 16:13:44 +00:00
Paul Ramsey 0db98e8f29 fix build
git-svn-id: http://svn.osgeo.org/postgis/trunk@12710 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-30 17:55:46 +00:00
Paul Ramsey 5afe7a893b #2797 cu_surface.c warning on polyhedralsurface_parse
git-svn-id: http://svn.osgeo.org/postgis/trunk@12709 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-30 16:43:31 +00:00
Paul Ramsey 31a2ffad0b #2796, sfcgal_comments.sql missing for regress testing install
git-svn-id: http://svn.osgeo.org/postgis/trunk@12708 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-30 16:19:16 +00:00
Paul Ramsey f6ee57106f #2793, sfcgal cunit tests do not seem to run
git-svn-id: http://svn.osgeo.org/postgis/trunk@12707 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-30 16:15:00 +00:00
Paul Ramsey 1970abd100 Ignore some build artefacts
git-svn-id: http://svn.osgeo.org/postgis/trunk@12706 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-30 15:28:50 +00:00
Sandro Santilli 225347ad30 Oops, confused mapnik with postgis
git-svn-id: http://svn.osgeo.org/postgis/trunk@12705 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-30 14:37:24 +00:00
Regina Obe a3cbbf11d3 #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
2014-06-30 02:43:21 +00:00
Regina Obe 33fe338de2 #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
2014-06-29 21:21:57 +00:00
Regina Obe 0a2e763887 #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
2014-06-29 18:38:55 +00:00
Regina Obe a71cf915ad 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
2014-06-29 04:56:42 +00:00
Regina Obe c5c5d45529 #2792 docbook validation issues -- remove for raster_comments generation
git-svn-id: http://svn.osgeo.org/postgis/trunk@12699 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-29 04:17:47 +00:00
Regina Obe a2ef966509 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
2014-06-27 21:23:56 +00:00
Regina Obe c7d7117d0d Add Vincent Mora to credits
git-svn-id: http://svn.osgeo.org/postgis/trunk@12691 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-27 21:13:02 +00:00
Regina Obe 7c5c936752 #2754 postgis_sfcgal extension oops missed new extension folder
git-svn-id: http://svn.osgeo.org/postgis/trunk@12690 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-27 21:09:06 +00:00
Regina Obe 12e2966e11 #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
2014-06-27 20:56:57 +00:00
Regina Obe a4df5e50b0 #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
2014-06-27 20:08:45 +00:00
Paul Ramsey d60b54a657 #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
2014-06-27 18:34:37 +00:00
Paul Ramsey 8c78421c3a Ensure conditional has access to configuration values
git-svn-id: http://svn.osgeo.org/postgis/trunk@12684 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-27 18:32:23 +00:00
Paul Ramsey 7d8fcb2db7 #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
2014-06-27 18:12:55 +00:00
Sandro Santilli 9ed149511f 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
2014-06-27 07:38:02 +00:00
Sandro Santilli 7302cf66db Do not assume utils/create_unpackaged.pl is executable
git-svn-id: http://svn.osgeo.org/postgis/trunk@12675 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-27 07:35:32 +00:00
Paul Ramsey 3e9260e8a5 #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
2014-06-26 22:43:22 +00:00
Sandro Santilli d16b9683de Add note about ./autogen.sh
git-svn-id: http://svn.osgeo.org/postgis/trunk@12669 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-26 13:04:52 +00:00
Sandro Santilli c68e9c5c05 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
2014-06-26 12:06:08 +00:00
Sandro Santilli 7b0155a9c1 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
2014-06-26 11:03:36 +00:00
Sandro Santilli d464bb2f89 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
2014-06-26 08:02:11 +00:00
Sandro Santilli fdce90e483 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
2014-06-25 13:30:43 +00:00
Sandro Santilli aba916c19e Still build libjson code when having 0.9
git-svn-id: http://svn.osgeo.org/postgis/trunk@12660 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-25 12:31:42 +00:00
Sandro Santilli 6dbe445ac2 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
2014-06-25 11:24:37 +00:00
Sandro Santilli 1e6687c435 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
2014-06-25 10:28:48 +00:00
Sandro Santilli 8bf532be2f Fix warning: no previous prototype for 'lwgeom_sfcgal_version'
git-svn-id: http://svn.osgeo.org/postgis/trunk@12656 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-25 09:49:42 +00:00
Sandro Santilli d3205cf402 Fix SFCGAL tests to work with all versions (#2755)
git-svn-id: http://svn.osgeo.org/postgis/trunk@12654 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-25 08:37:28 +00:00
Sandro Santilli 2e3d8372f3 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
2014-06-25 07:54:02 +00:00
Sandro Santilli 473c5484d8 Report libjson version from postgis_full_version(), closing #2159
git-svn-id: http://svn.osgeo.org/postgis/trunk@12652 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-25 07:25:23 +00:00
Paul Ramsey cb074c46ec #2775 lwline_from_lwmpoint leaks memory
git-svn-id: http://svn.osgeo.org/postgis/trunk@12651 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-24 22:45:39 +00:00
Paul Ramsey 7e66c170c7 #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
2014-06-24 21:59:47 +00:00
Paul Ramsey 14518b261a Use macro GREP instead of hardcoded
git-svn-id: http://svn.osgeo.org/postgis/trunk@12645 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-24 21:04:24 +00:00
Regina Obe d29e8e4b1a #2779 put in missing availability information
git-svn-id: http://svn.osgeo.org/postgis/trunk@12644 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-24 20:58:02 +00:00
Regina Obe 98c107c46c #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
2014-06-24 20:43:03 +00:00
Sandro Santilli aee18e275c 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
2014-06-24 15:27:48 +00:00
Sandro Santilli 22e0abf638 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
2014-06-24 15:12:48 +00:00
Bborie Park 3631ca5c6a add comments for out-db raster in regress tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@12639 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-23 15:36:32 +00:00
Sandro Santilli 35806a72d9 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
2014-06-23 14:39:40 +00:00
Sandro Santilli eea65650a2 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
2014-06-23 08:54:46 +00:00