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
Nicklas Avén
fe5423a1d8
Add function ST_EffectiveArea, Visvalingam’s algorithm simplification #2227
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13174 b70326c6-7e19-0410-871a-916f4a2858ee
2015-01-11 20:13:12 +00:00
Paul Ramsey
2f93ed1253
Fix Solaris regression failure for string representation of 'Infinity'
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13140 b70326c6-7e19-0410-871a-916f4a2858ee
2014-12-04 00:25:34 +00:00
Paul Ramsey
8b0e91a201
#2938 , fix to include <ring></ring> around curvepolygon rings (eroualt)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13116 b70326c6-7e19-0410-871a-916f4a2858ee
2014-10-31 16:20:30 +00:00
Paul Ramsey
f283252a45
#2938 gml export of curvepolygons fix
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13115 b70326c6-7e19-0410-871a-916f4a2858ee
2014-10-31 00:01:52 +00:00
Sandro Santilli
c35b276bbf
Implement interruptability of ST_Segmentize(geometry)
...
Includes testcases at sql and cunit levels.
Closes #2893
git-svn-id: http://svn.osgeo.org/postgis/trunk@13105 b70326c6-7e19-0410-871a-916f4a2858ee
2014-10-22 14:22:25 +00:00
Sandro Santilli
ded422b8af
Add a method to cancel interruption requests in liblwgeom
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13101 b70326c6-7e19-0410-871a-916f4a2858ee
2014-10-21 14:51:51 +00:00
Sandro Santilli
f75eb0307c
Add interruptability API to liblwgeom
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13099 b70326c6-7e19-0410-871a-916f4a2858ee
2014-10-21 10:08:54 +00:00
Nicklas Avén
eda1447e0b
Fix a precission problem in twkb.
...
Thanks Javier Santana!
git-svn-id: http://svn.osgeo.org/postgis/trunk@13055 b70326c6-7e19-0410-871a-916f4a2858ee
2014-10-10 10:24:56 +00:00
Nicklas Avén
eaaf0e6a0e
Add GeomFromTWKB #2917
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13053 b70326c6-7e19-0410-871a-916f4a2858ee
2014-10-09 18:24:39 +00:00
Nicklas Avén
ecfa1979b9
Fix for #2946 and some empty geometry fixes
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13033 b70326c6-7e19-0410-871a-916f4a2858ee
2014-10-02 20:54:11 +00:00
Sandro Santilli
6a26a66ebd
Fix memory error in ST_ClipByBox2D ( #2950 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13028 b70326c6-7e19-0410-871a-916f4a2858ee
2014-10-02 08:03:25 +00:00
Sandro Santilli
7a02d69978
Fix yet another memory leak in lwgeom_make_valid ( #2947 )
...
The leak occurs on invalid single-component collection input.
git-svn-id: http://svn.osgeo.org/postgis/trunk@13025 b70326c6-7e19-0410-871a-916f4a2858ee
2014-10-01 14:36:41 +00:00
Sandro Santilli
741e42e207
Fix leaks in lwcurvepoly_segmentize and its tester
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13023 b70326c6-7e19-0410-871a-916f4a2858ee
2014-10-01 14:07:12 +00:00
Sandro Santilli
c9ca6dfe39
Fix memory leak in lw_dist2d_poly_curvepoly and lw_dist2d_circstring_poly
...
Also clear the memory management for lwcurvepoly_construct_from_lwpoly .
Fixes #2949 .
git-svn-id: http://svn.osgeo.org/postgis/trunk@13021 b70326c6-7e19-0410-871a-916f4a2858ee
2014-10-01 13:54:05 +00:00
Sandro Santilli
62308c1139
Remove memory leaks from TWKB unit tester
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13020 b70326c6-7e19-0410-871a-916f4a2858ee
2014-10-01 13:26:53 +00:00
Sandro Santilli
944a0e4f39
Adapt the rest of the code to the change in LWGEOM2GEOS function
...
Fixes #2948 (introduced by previous commit)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13019 b70326c6-7e19-0410-871a-916f4a2858ee
2014-10-01 13:13:46 +00:00
Sandro Santilli
b58ad4f2bb
Add support for auto-fix geom structure for GEOS conversions
...
Fixes ST_ClipByBox2D run with non-closed polygon rings in input (#2945 )
git-svn-id: http://svn.osgeo.org/postgis/trunk@13018 b70326c6-7e19-0410-871a-916f4a2858ee
2014-10-01 12:35:58 +00:00
Nicklas Avén
122913b904
This should repair the build but the emty geometry twkb is still corrupt
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13009 b70326c6-7e19-0410-871a-916f4a2858ee
2014-09-30 04:16:10 +00:00
Nicklas Avén
c686da49bf
Add support for bboxes in twkb
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13008 b70326c6-7e19-0410-871a-916f4a2858ee
2014-09-30 03:05:28 +00:00