]> granicus.if.org Git - postgis/log
postgis
9 years ago#3102 - add include <locale.h> to fix mingw-64 compile issue
Regina Obe [Sun, 26 Apr 2015 00:43:05 +0000 (00:43 +0000)]
#3102 - add include <locale.h>  to fix mingw-64 compile issue

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

9 years ago#3092, Slow performance of geometry_columns
Paul Ramsey [Fri, 24 Apr 2015 17:50:00 +0000 (17:50 +0000)]
#3092, Slow performance of geometry_columns

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

9 years ago#3098, odd dimension mixes in WKT
Paul Ramsey [Thu, 23 Apr 2015 22:56:23 +0000 (22:56 +0000)]
#3098, odd dimension mixes in WKT

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

9 years ago#3091, segfault in unit tests in debug
Paul Ramsey [Thu, 23 Apr 2015 20:00:45 +0000 (20:00 +0000)]
#3091, segfault in unit tests in debug

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

9 years ago#3048, shp2pgsql - illegal number format when specific system locale set
Paul Ramsey [Thu, 23 Apr 2015 19:36:10 +0000 (19:36 +0000)]
#3048, shp2pgsql - illegal number format when specific system locale set

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

9 years ago#3018, GROUP BY geography sometimes returns duplicate rows
Paul Ramsey [Thu, 23 Apr 2015 18:20:00 +0000 (18:20 +0000)]
#3018, GROUP BY geography sometimes returns duplicate rows

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

9 years agoAllow splitting lines by multipoints
Sandro Santilli [Wed, 22 Apr 2015 15:25:42 +0000 (15:25 +0000)]
Allow splitting lines by multipoints

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

9 years agoAllow splitting lines by multilines and (multi)polygon boundaries
Sandro Santilli [Wed, 22 Apr 2015 15:25:32 +0000 (15:25 +0000)]
Allow splitting lines by multilines and (multi)polygon boundaries

Funded by Tuscany Region (Italy) - SITA (CIG: 6002233F59)

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

9 years agoDo not leak symbols outside of header guard block
Sandro Santilli [Wed, 22 Apr 2015 15:25:23 +0000 (15:25 +0000)]
Do not leak symbols outside of header guard block

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

9 years agoAdd NEWS note on ST_SubDivide
Paul Ramsey [Wed, 15 Apr 2015 15:36:21 +0000 (15:36 +0000)]
Add NEWS note on ST_SubDivide

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

9 years ago#3094, found another one
Paul Ramsey [Wed, 15 Apr 2015 15:20:30 +0000 (15:20 +0000)]
#3094, found another one

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

9 years agoeffectivearea: force qsort to always return the same ordering when comparing identica...
Nicklas Avén [Mon, 6 Apr 2015 09:46:00 +0000 (09:46 +0000)]
effectivearea: force qsort to always return the same ordering when comparing identical area. Prevents different result cross platforms.

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

9 years agoadd cunit and regression tests to simplifyvw and seteffectivearea
Nicklas Avén [Sat, 4 Apr 2015 19:44:20 +0000 (19:44 +0000)]
add cunit and regression tests to simplifyvw and seteffectivearea

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

9 years agosimplifyvw: allow polygon inner rings to collapse
Nicklas Avén [Sat, 4 Apr 2015 19:42:02 +0000 (19:42 +0000)]
simplifyvw: allow polygon inner rings to collapse

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

9 years agoclean up
Nicklas Avén [Fri, 3 Apr 2015 22:31:53 +0000 (22:31 +0000)]
clean up

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

9 years agoAdd ST_SimplifyVW
Nicklas Avén [Fri, 3 Apr 2015 22:28:56 +0000 (22:28 +0000)]
Add ST_SimplifyVW

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

9 years agoeffective area: fix multiple bugs in minHeap and make "set m-value" optional
Nicklas Avén [Fri, 3 Apr 2015 22:28:08 +0000 (22:28 +0000)]
effective area: fix multiple bugs in minHeap and make "set m-value" optional

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

9 years agoFix z+ handling
Paul Ramsey [Fri, 27 Mar 2015 16:27:03 +0000 (16:27 +0000)]
Fix z+ handling

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

9 years agoGeoJSON maintenance
Paul Ramsey [Thu, 26 Mar 2015 22:30:51 +0000 (22:30 +0000)]
GeoJSON maintenance

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

9 years agoAdd minheap for ordering areas, and funtionality to avoid collapsing polygons for...
Nicklas Avén [Thu, 26 Mar 2015 19:16:45 +0000 (19:16 +0000)]
Add minheap for ordering areas, and funtionality to avoid collapsing polygons for ST_Seteffectivearea

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

9 years agoEntity the <
Paul Ramsey [Thu, 26 Mar 2015 12:09:10 +0000 (12:09 +0000)]
Entity the <

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

9 years agoAdd doc entry for ST_Subdivide
Paul Ramsey [Wed, 25 Mar 2015 20:25:23 +0000 (20:25 +0000)]
Add doc entry for ST_Subdivide

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

9 years agoinvalid operator. Ticket #3090
Bborie Park [Tue, 24 Mar 2015 13:46:59 +0000 (13:46 +0000)]
invalid operator. Ticket #3090

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

9 years agoFix ST_DumpValues() crasher when cleaning. Ticket #3086
Bborie Park [Mon, 23 Mar 2015 16:23:20 +0000 (16:23 +0000)]
Fix ST_DumpValues() crasher when cleaning. Ticket #3086

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

9 years agoDo not (re)define strcasestr in a public header (#3088)
Sandro Santilli [Mon, 23 Mar 2015 16:04:08 +0000 (16:04 +0000)]
Do not (re)define strcasestr in a public header (#3088)

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

9 years agoAdd 2.1.5 and 2.1.6 sections in NEWS
Sandro Santilli [Mon, 23 Mar 2015 08:43:44 +0000 (08:43 +0000)]
Add 2.1.5 and 2.1.6 sections in NEWS

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

9 years ago#3087 cast text to geometry lwgeom_regress failure when testing .with CREATE EXTENSIO
Regina Obe [Mon, 23 Mar 2015 04:14:35 +0000 (04:14 +0000)]
#3087 cast text to geometry lwgeom_regress failure when testing .with CREATE EXTENSIO

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

9 years ago#3080 regress failure on 9.5. Put in an OFFSET 0 on all the queries to prevent double...
Regina Obe [Mon, 23 Mar 2015 03:43:42 +0000 (03:43 +0000)]
#3080 regress failure on 9.5. Put in an OFFSET 0 on all the queries to prevent double ST_Reclass calling in 9.5 on constant table

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

9 years agoBack out changes from #3056
Paul Ramsey [Fri, 20 Mar 2015 15:45:29 +0000 (15:45 +0000)]
Back out changes from #3056

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

9 years agoReorder to C order
Paul Ramsey [Fri, 20 Mar 2015 15:43:43 +0000 (15:43 +0000)]
Reorder to C order

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

9 years agoReorder to C standard
Paul Ramsey [Fri, 20 Mar 2015 15:43:06 +0000 (15:43 +0000)]
Reorder to C standard

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

9 years ago#3031, allow MULTIPOINT EMPTY into Geometry(Point) columns
Paul Ramsey [Fri, 20 Mar 2015 15:34:11 +0000 (15:34 +0000)]
#3031, allow MULTIPOINT EMPTY into Geometry(Point) columns

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

9 years agoAdd missing typmod tests for high-dimensioned TINs
Sandro Santilli [Fri, 20 Mar 2015 12:38:38 +0000 (12:38 +0000)]
Add missing typmod tests for high-dimensioned TINs

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

9 years agoAdd non-empty (multi)point cases to the typmod test (#3031)
Sandro Santilli [Fri, 20 Mar 2015 11:07:49 +0000 (11:07 +0000)]
Add non-empty (multi)point cases to the typmod test (#3031)

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

9 years agoFix typo in typmod test (#3031)
Sandro Santilli [Fri, 20 Mar 2015 09:33:15 +0000 (09:33 +0000)]
Fix typo in typmod test (#3031)

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

9 years ago#3056, only do 3d distance calcs when both args are 3d
Paul Ramsey [Wed, 18 Mar 2015 19:13:39 +0000 (19:13 +0000)]
#3056, only do 3d distance calcs when both args are 3d

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

9 years ago#2969, memory leak in the function of "lwtriangle_from_wkb_state"
Paul Ramsey [Tue, 17 Mar 2015 16:30:33 +0000 (16:30 +0000)]
#2969, memory leak in the function of "lwtriangle_from_wkb_state"

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

9 years ago#2941, add test to back up changes
Paul Ramsey [Tue, 17 Mar 2015 14:43:15 +0000 (14:43 +0000)]
#2941, add test to back up changes

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

9 years agoFix availability info for "agg_count" type (#3082)
Sandro Santilli [Tue, 17 Mar 2015 11:42:14 +0000 (11:42 +0000)]
Fix availability info for "agg_count" type (#3082)

Fixes soft-upgrade from 2.1 to 2.2

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

9 years agoFix availability info for "summarystats" type (#3082)
Sandro Santilli [Tue, 17 Mar 2015 11:42:08 +0000 (11:42 +0000)]
Fix availability info for "summarystats" type (#3082)

Adds support for "Missing in" label in sql comment for handling
cases in which a type was missing from a version.

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

9 years agoFix soft upgrade from 2.0 to 2.2 (#3081)
Sandro Santilli [Tue, 17 Mar 2015 10:43:00 +0000 (10:43 +0000)]
Fix soft upgrade from 2.0 to 2.2 (#3081)

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

9 years agoAdd upgrade path from 2.0.6
Sandro Santilli [Tue, 17 Mar 2015 09:19:04 +0000 (09:19 +0000)]
Add upgrade path from 2.0.6

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

9 years agoLibtoolize build of loader unit tester, fixing build for me
Sandro Santilli [Tue, 17 Mar 2015 09:03:20 +0000 (09:03 +0000)]
Libtoolize build of loader unit tester, fixing build for me

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

9 years agoRevert previous commit, problem tricked into raster...
Paul Ramsey [Mon, 16 Mar 2015 20:41:54 +0000 (20:41 +0000)]
Revert previous commit, problem tricked into raster...

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

9 years agoAdd a regression test for ST_Subdivide
Paul Ramsey [Mon, 16 Mar 2015 19:59:20 +0000 (19:59 +0000)]
Add a regression test for ST_Subdivide

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

9 years ago#3061, Allow duplicate points in JSON, GML, GML ST_GeomFrom* functions
Paul Ramsey [Mon, 16 Mar 2015 18:38:26 +0000 (18:38 +0000)]
#3061, Allow duplicate points in JSON, GML, GML ST_GeomFrom* functions

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

9 years ago#3061, do not drop repeated points when reading JSON/GML/KML
Paul Ramsey [Mon, 16 Mar 2015 18:38:09 +0000 (18:38 +0000)]
#3061, do not drop repeated points when reading JSON/GML/KML

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

9 years agoInclude float.h for DBL_DIG define (#3079)
Sandro Santilli [Mon, 16 Mar 2015 15:09:10 +0000 (15:09 +0000)]
Include float.h for DBL_DIG define (#3079)

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

9 years agoGenerate pom.xml at configure time (#2626)
Sandro Santilli [Mon, 16 Mar 2015 09:57:04 +0000 (09:57 +0000)]
Generate pom.xml at configure time (#2626)

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

9 years agoStrip newlines and comments from uninstall/drop scripts
Sandro Santilli [Mon, 16 Mar 2015 08:46:10 +0000 (08:46 +0000)]
Strip newlines and comments from uninstall/drop scripts

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

9 years agoUpdate postgis_restore.pl skip list
Sandro Santilli [Fri, 13 Mar 2015 17:05:29 +0000 (17:05 +0000)]
Update postgis_restore.pl skip list

This was done with "make update-restore".
Adds the missing signatures found in a dump that was reported
to give restore errors:
http://lists.osgeo.org/pipermail/postgis-users/2015-March/040282.html

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

9 years agoDraft an "update-restore" rule to update postgis_restore.pl.in
Sandro Santilli [Fri, 13 Mar 2015 17:05:24 +0000 (17:05 +0000)]
Draft an "update-restore" rule to update postgis_restore.pl.in

It updates the list of known PostGIS signatures from the enabler
and cleanup scripts.

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

9 years agoCanonicalize signature skip list a bit
Sandro Santilli [Fri, 13 Mar 2015 17:05:18 +0000 (17:05 +0000)]
Canonicalize signature skip list a bit

Remove spaces after comma, lowercase, sort.

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

9 years agoClarify the role of ST_DumpValues array indexes
Sandro Santilli [Fri, 13 Mar 2015 12:09:51 +0000 (12:09 +0000)]
Clarify the role of ST_DumpValues array indexes

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

9 years agoFix bug in comment
Sandro Santilli [Wed, 11 Mar 2015 17:31:36 +0000 (17:31 +0000)]
Fix bug in comment

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

9 years agoLibtoolize generator build, fixing it for me
Sandro Santilli [Mon, 9 Mar 2015 18:45:11 +0000 (18:45 +0000)]
Libtoolize generator build, fixing it for me

... not sure why/how it broke (happened recently)

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

9 years agoComments and notes
Paul Ramsey [Sun, 8 Mar 2015 23:42:54 +0000 (23:42 +0000)]
Comments and notes

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

9 years agoFix elog error
Paul Ramsey [Sat, 7 Mar 2015 15:29:07 +0000 (15:29 +0000)]
Fix elog error

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

9 years ago#3074, subdivide any geometry into a simple set of
Paul Ramsey [Sat, 7 Mar 2015 01:35:12 +0000 (01:35 +0000)]
#3074, subdivide any geometry into a simple set of
smaller parts, great for subdividing tables of
Really Big Things into things that are smaller than
the page size

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

9 years ago#3074, add in lwgeom backend for subdivision
Paul Ramsey [Fri, 6 Mar 2015 22:03:33 +0000 (22:03 +0000)]
#3074, add in lwgeom backend for subdivision

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

9 years ago#3074, first piece of infrastructure, count points in a piece
Paul Ramsey [Fri, 6 Mar 2015 14:45:37 +0000 (14:45 +0000)]
#3074, first piece of infrastructure, count points in a piece

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

9 years agoRemove un-used pgsql headers
Paul Ramsey [Fri, 6 Mar 2015 14:13:52 +0000 (14:13 +0000)]
Remove un-used pgsql headers

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

9 years agoFix ST_ClipByBox2D after gbox calculations centralization (r13313)
Sandro Santilli [Fri, 6 Mar 2015 10:35:58 +0000 (10:35 +0000)]
Fix ST_ClipByBox2D after gbox calculations centralization (r13313)

See #3073

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

9 years agoFix build after gbox calculations centralization (r13313)
Sandro Santilli [Fri, 6 Mar 2015 10:05:19 +0000 (10:05 +0000)]
Fix build after gbox calculations centralization (r13313)

NOTE: test for ST_ClipByBox2D still fails

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

9 years agoUpdate expected results from sfcgal tests after bbox cache fix
Sandro Santilli [Fri, 6 Mar 2015 08:53:50 +0000 (08:53 +0000)]
Update expected results from sfcgal tests after bbox cache fix

Ref: #3069

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

9 years agoSimplify geometry type constraint (#3070)
Sandro Santilli [Fri, 6 Mar 2015 08:51:14 +0000 (08:51 +0000)]
Simplify geometry type constraint (#3070)

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

9 years agoMake serialization code more agressive about not adding boxes to small things
Paul Ramsey [Thu, 5 Mar 2015 19:30:40 +0000 (19:30 +0000)]
Make serialization code more agressive about not adding boxes to small things

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

9 years agoMove free before the report
Paul Ramsey [Thu, 5 Mar 2015 19:09:17 +0000 (19:09 +0000)]
Move free before the report

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

9 years agoCentralize gbox calculations in liblwgeom
Paul Ramsey [Thu, 5 Mar 2015 19:07:08 +0000 (19:07 +0000)]
Centralize gbox calculations in liblwgeom

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

9 years agoChange more getpoint2d_p to const point calls
Paul Ramsey [Thu, 5 Mar 2015 18:38:59 +0000 (18:38 +0000)]
Change more getpoint2d_p to const point calls

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

9 years agoChange some more functions to use getPoint2d_cp
Paul Ramsey [Thu, 5 Mar 2015 18:13:52 +0000 (18:13 +0000)]
Change some more functions to use getPoint2d_cp

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

9 years agoChange some getPoint2d_p to getPoint2d_cp
Paul Ramsey [Thu, 5 Mar 2015 18:03:23 +0000 (18:03 +0000)]
Change some getPoint2d_p to getPoint2d_cp

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

9 years agoMove some more primitive pointarray accesses back to liblwgeom where they belong
Paul Ramsey [Thu, 5 Mar 2015 17:59:58 +0000 (17:59 +0000)]
Move some more primitive pointarray accesses back to liblwgeom where they belong

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

9 years agoReplace a few more gserialized reads with the macro
Paul Ramsey [Thu, 5 Mar 2015 17:51:48 +0000 (17:51 +0000)]
Replace a few more gserialized reads with the macro

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

9 years agoCatch remaining detoasting calls and replace with MACRO
Paul Ramsey [Wed, 4 Mar 2015 21:05:19 +0000 (21:05 +0000)]
Catch remaining detoasting calls and replace with MACRO

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

9 years agoWrap de-toastings in a common MACRO
Paul Ramsey [Wed, 4 Mar 2015 20:45:31 +0000 (20:45 +0000)]
Wrap de-toastings in a common MACRO

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

9 years agoBe (slightly) more memory friendly when generating statistics
Paul Ramsey [Wed, 4 Mar 2015 19:49:36 +0000 (19:49 +0000)]
Be (slightly) more memory friendly when generating statistics

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

9 years ago#3069, bounding boxes added to simple objects on deserialization
Paul Ramsey [Wed, 4 Mar 2015 19:47:33 +0000 (19:47 +0000)]
#3069, bounding boxes added to simple objects on deserialization

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

9 years agoHave postgis_typmod_dims return NULL for unconstrained dims (#3068)
Sandro Santilli [Tue, 3 Mar 2015 12:42:47 +0000 (12:42 +0000)]
Have postgis_typmod_dims return NULL for unconstrained dims (#3068)

This is consistent with postgis_constraint_type() also returning
NULL for unconstrained.

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

9 years agoImplement canonical text output for GIDX and BOX2DF
Sandro Santilli [Tue, 3 Mar 2015 10:26:01 +0000 (10:26 +0000)]
Implement canonical text output for GIDX and BOX2DF

They make spatial indexes inspectable with Gevel:
http://www.sai.msu.su/~megera/wiki/Gevel

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

9 years agoFix ND-GiST picksplit method to split on the best plane (#3058)
Sandro Santilli [Mon, 2 Mar 2015 17:33:40 +0000 (17:33 +0000)]
Fix ND-GiST picksplit method to split on the best plane (#3058)

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

10 years agoReduce length of purpose section for ST_Buffer and ST_Intersection
Sandro Santilli [Thu, 26 Feb 2015 10:54:51 +0000 (10:54 +0000)]
Reduce length of purpose section for ST_Buffer and ST_Intersection

Better use description for lengthy text...

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

10 years agoReorder docs parameters
Sandro Santilli [Wed, 25 Feb 2015 15:03:43 +0000 (15:03 +0000)]
Reorder docs parameters

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

10 years agoAdd ST_SwapOrdinates function
Sandro Santilli [Wed, 25 Feb 2015 15:03:31 +0000 (15:03 +0000)]
Add ST_SwapOrdinates function

This is a generalization of ST_FlipCoordinates

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

10 years agoUpdate corporate name OpenGeo -> Boundless
Sandro Santilli [Wed, 25 Feb 2015 08:47:20 +0000 (08:47 +0000)]
Update corporate name OpenGeo -> Boundless

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

10 years agoAdd N-dimensional distance operator with KNN support
Sandro Santilli [Wed, 25 Feb 2015 08:46:08 +0000 (08:46 +0000)]
Add N-dimensional distance operator with KNN support

Includes docs and tests

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

10 years agoInclude the LIMIT clause in KNN scan test queries
Sandro Santilli [Tue, 24 Feb 2015 17:00:08 +0000 (17:00 +0000)]
Include the LIMIT clause in KNN scan test queries

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

10 years agoRe-enable all scan types by the end of index test
Sandro Santilli [Tue, 24 Feb 2015 17:00:02 +0000 (17:00 +0000)]
Re-enable all scan types by the end of index test

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

10 years agoOnly run KNN tests when building against PostgreSQL 9.1+
Sandro Santilli [Tue, 24 Feb 2015 10:20:33 +0000 (10:20 +0000)]
Only run KNN tests when building against PostgreSQL 9.1+

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

10 years agoMake sure <#> order is unambiguous for first result
Sandro Santilli [Tue, 24 Feb 2015 09:17:22 +0000 (09:17 +0000)]
Make sure <#> order is unambiguous for first result

Before this commit the first 2 points (or more) all had a
bounding box distance of 0 so actual order was undefined

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

10 years agoFix scan type detection function to work with nested nodes
Sandro Santilli [Tue, 24 Feb 2015 08:59:45 +0000 (08:59 +0000)]
Fix scan type detection function to work with nested nodes

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

10 years agoAdd test for index supported KNN queries
Sandro Santilli [Mon, 23 Feb 2015 18:27:38 +0000 (18:27 +0000)]
Add test for index supported KNN queries

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

10 years agoDo not require XML support in PostgreSQL for testing purposes
Sandro Santilli [Mon, 23 Feb 2015 18:19:10 +0000 (18:19 +0000)]
Do not require XML support in PostgreSQL for testing purposes

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

10 years agoAdd test for use of GiST index with && operator
Sandro Santilli [Mon, 23 Feb 2015 17:32:30 +0000 (17:32 +0000)]
Add test for use of GiST index with && operator

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

10 years ago#3053: possible bug in geometry_geometrytype (strncat overlap)
Paul Ramsey [Mon, 23 Feb 2015 14:39:22 +0000 (14:39 +0000)]
#3053: possible bug in geometry_geometrytype (strncat overlap)

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

10 years ago#3051, warning: 'end' may be used uninitialized in this function
Paul Ramsey [Mon, 23 Feb 2015 14:36:22 +0000 (14:36 +0000)]
#3051, warning: 'end' may be used uninitialized in this function

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

10 years agoFurther reword docs for <-> and <#> operators
Sandro Santilli [Mon, 23 Feb 2015 10:12:54 +0000 (10:12 +0000)]
Further reword docs for <-> and <#> operators

.. makeing clear KNN is only available with PgSQL 9.1+

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

10 years agoMake <-> and <#> operators also available with pgsql < 9.1
Sandro Santilli [Mon, 23 Feb 2015 10:05:53 +0000 (10:05 +0000)]
Make <-> and <#> operators also available with pgsql < 9.1

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

10 years agoImprove documentation for GetRingEdges (#3046)
Sandro Santilli [Mon, 23 Feb 2015 09:40:14 +0000 (09:40 +0000)]
Improve documentation for GetRingEdges (#3046)

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

10 years agoMove snap-to-grid functions into lwgeom where they belong.
Paul Ramsey [Fri, 20 Feb 2015 20:31:25 +0000 (20:31 +0000)]
Move snap-to-grid functions into lwgeom where they belong.
Modernize geometry construction to use accessors more

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