Commit graph

1179 commits

Author SHA1 Message Date
Paul Ramsey e3ccbe8241 Quiet pedantic warnings some
git-svn-id: http://svn.osgeo.org/postgis/trunk@13460 b70326c6-7e19-0410-871a-916f4a2858ee
2015-04-29 16:11:39 +00:00
Paul Ramsey d4f3799570 #2587, CompoundCurve with empties parses differently from WKB and WKT
git-svn-id: http://svn.osgeo.org/postgis/trunk@13452 b70326c6-7e19-0410-871a-916f4a2858ee
2015-04-27 17:07:55 +00:00
Paul Ramsey a0885952a8 #3098, odd dimension mixes in WKT
git-svn-id: http://svn.osgeo.org/postgis/trunk@13442 b70326c6-7e19-0410-871a-916f4a2858ee
2015-04-23 22:56:23 +00:00
Paul Ramsey b2755e0c1d #3091, segfault in unit tests in debug
git-svn-id: http://svn.osgeo.org/postgis/trunk@13441 b70326c6-7e19-0410-871a-916f4a2858ee
2015-04-23 20:00:45 +00:00
Sandro Santilli ca80d60917 Allow splitting lines by multipoints
git-svn-id: http://svn.osgeo.org/postgis/trunk@13434 b70326c6-7e19-0410-871a-916f4a2858ee
2015-04-22 15:25:42 +00:00
Sandro Santilli fab1facae8 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
2015-04-22 15:25:32 +00:00
Sandro Santilli b86ef8799a Do not leak symbols outside of header guard block
git-svn-id: http://svn.osgeo.org/postgis/trunk@13432 b70326c6-7e19-0410-871a-916f4a2858ee
2015-04-22 15:25:23 +00:00
Paul Ramsey 154d5c7c3f #3094, found another one
git-svn-id: http://svn.osgeo.org/postgis/trunk@13428 b70326c6-7e19-0410-871a-916f4a2858ee
2015-04-15 15:20:30 +00:00
Nicklas Avén 1d26edb072 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
2015-04-06 09:46:00 +00:00
Nicklas Avén d0d42f9d6b add cunit and regression tests to simplifyvw and seteffectivearea
git-svn-id: http://svn.osgeo.org/postgis/trunk@13421 b70326c6-7e19-0410-871a-916f4a2858ee
2015-04-04 19:44:20 +00:00
Nicklas Avén 4ead61fccf simplifyvw: allow polygon inner rings to collapse
git-svn-id: http://svn.osgeo.org/postgis/trunk@13420 b70326c6-7e19-0410-871a-916f4a2858ee
2015-04-04 19:42:02 +00:00
Nicklas Avén 96ea238137 clean up
git-svn-id: http://svn.osgeo.org/postgis/trunk@13419 b70326c6-7e19-0410-871a-916f4a2858ee
2015-04-03 22:31:53 +00:00
Nicklas Avén 93a5bf613f 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
2015-04-03 22:28:08 +00:00
Paul Ramsey a5e88fd47c Fix z+ handling
git-svn-id: http://svn.osgeo.org/postgis/trunk@13403 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-27 16:27:03 +00:00
Paul Ramsey 732a08784e GeoJSON maintenance
git-svn-id: http://svn.osgeo.org/postgis/trunk@13401 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-26 22:30:51 +00:00
Nicklas Avén 017313588f 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
2015-03-26 19:16:45 +00:00
Sandro Santilli c2c40adf9c 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
2015-03-23 16:04:08 +00:00
Paul Ramsey 7c3a73c89d Reorder to C standard
git-svn-id: http://svn.osgeo.org/postgis/trunk@13373 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-20 15:43:06 +00:00
Paul Ramsey b3f52be48f #3031, allow MULTIPOINT EMPTY into Geometry(Point) columns
git-svn-id: http://svn.osgeo.org/postgis/trunk@13372 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-20 15:34:11 +00:00
Paul Ramsey 92be63975a #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
2015-03-17 16:30:33 +00:00
Paul Ramsey 73e139698b Revert previous commit, problem tricked into raster...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13343 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-16 20:41:54 +00:00
Paul Ramsey be9d28adad Add a regression test for ST_Subdivide
git-svn-id: http://svn.osgeo.org/postgis/trunk@13342 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-16 19:59:20 +00:00
Paul Ramsey f7e12b7efe #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
2015-03-16 18:38:09 +00:00
Sandro Santilli cde84c2d84 Fix bug in comment
git-svn-id: http://svn.osgeo.org/postgis/trunk@13328 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-11 17:31:36 +00:00
Paul Ramsey fd8a0a853f Comments and notes
git-svn-id: http://svn.osgeo.org/postgis/trunk@13326 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-08 23:42:54 +00:00
Paul Ramsey 2c31d1fc61 #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
2015-03-07 01:35:12 +00:00
Paul Ramsey 7293d5e2b5 #3074, add in lwgeom backend for subdivision
git-svn-id: http://svn.osgeo.org/postgis/trunk@13323 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-06 22:03:33 +00:00
Paul Ramsey fc8064f204 #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
2015-03-06 14:45:37 +00:00
Paul Ramsey 53f487070d 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
2015-03-05 19:30:40 +00:00
Paul Ramsey 179a06c7a1 Centralize gbox calculations in liblwgeom
git-svn-id: http://svn.osgeo.org/postgis/trunk@13313 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-05 19:07:08 +00:00
Paul Ramsey cb73df91ec Change more getpoint2d_p to const point calls
git-svn-id: http://svn.osgeo.org/postgis/trunk@13312 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-05 18:38:59 +00:00
Paul Ramsey 4b92e71d1c Change some more functions to use getPoint2d_cp
git-svn-id: http://svn.osgeo.org/postgis/trunk@13311 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-05 18:13:52 +00:00
Paul Ramsey 6cd6afe3d4 Change some getPoint2d_p to getPoint2d_cp
git-svn-id: http://svn.osgeo.org/postgis/trunk@13310 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-05 18:03:23 +00:00
Paul Ramsey 90f6ba3ed4 #3069, bounding boxes added to simple objects on deserialization
git-svn-id: http://svn.osgeo.org/postgis/trunk@13302 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-04 19:47:33 +00:00
Sandro Santilli f89961fc6e 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
2015-02-25 15:03:31 +00:00
Paul Ramsey 5ca27b3f0f #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
2015-02-23 14:36:22 +00:00
Paul Ramsey aab816f87d 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
2015-02-20 20:31:25 +00:00
Paul Ramsey 72679d9daa #3050 Peak into header for GeometryType
git-svn-id: http://svn.osgeo.org/postgis/trunk@13253 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-20 18:22:33 +00:00
Paul Ramsey 18a9eb4e41 #3049 Use getPoint_cp for read-only accesses
git-svn-id: http://svn.osgeo.org/postgis/trunk@13251 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-20 17:48:41 +00:00
Paul Ramsey 8fb855139d #3048, speed up simplify
git-svn-id: http://svn.osgeo.org/postgis/trunk@13248 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-20 15:18:25 +00:00
Sandro Santilli 71c2a26ad3 Remove spaces and capital letters from suite names
I wonder if the suite name should really be the file name,
could work even better...

git-svn-id: http://svn.osgeo.org/postgis/trunk@13246 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-19 16:35:54 +00:00
Paul Ramsey 460fe79eab update readme
git-svn-id: http://svn.osgeo.org/postgis/trunk@13241 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-19 00:13:37 +00:00
Paul Ramsey eaf792e265 Harmonize Suite names
git-svn-id: http://svn.osgeo.org/postgis/trunk@13240 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-18 23:35:24 +00:00
Paul Ramsey 83bbb78dd8 #3041, add remaining tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@13239 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-18 23:13:26 +00:00
Paul Ramsey af14a2ebfb #3041, Cunit 2.1-3 breaks testing
Renovate the raster cunit as well


git-svn-id: http://svn.osgeo.org/postgis/trunk@13238 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-18 22:56:28 +00:00
Paul Ramsey b180432996 #3041, Cunit 2.1-3 breaks testing
This fix is for the liblwgeom cu_tester only, the raster and other
testers remain to be fixed


git-svn-id: http://svn.osgeo.org/postgis/trunk@13237 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-18 21:58:15 +00:00
Sandro Santilli fc4a5f4307 Fix typo in recent rewrite of message handlers
git-svn-id: http://svn.osgeo.org/postgis/trunk@13224 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-17 10:29:26 +00:00
Sandro Santilli 9a1e17e629 Fix build, providing a missing macro from recent commit
git-svn-id: http://svn.osgeo.org/postgis/trunk@13222 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-17 10:20:55 +00:00
Sandro Santilli 514c18980c Remove use of lw_vasprintf from liblwgeom
Drops useless heap allocations

git-svn-id: http://svn.osgeo.org/postgis/trunk@13219 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-17 10:03:42 +00:00
Sandro Santilli 94eda943e2 Fix conditional enabling of json input unit test
git-svn-id: http://svn.osgeo.org/postgis/trunk@13210 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-12 16:58:44 +00:00