Sandro Santilli
|
092bfedef2
|
Implement ptarray_clone (shallow) and update clone documentation (doxygen), have lw*_clone clone the POINTARRAY but not the serialized point list (using ptarray_clone), add unit testing for lwgeom_clone. See ticket #1102.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7608 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-07-06 14:29:26 +00:00 |
|
Sandro Santilli
|
d33f3e4c46
|
Rename ptarray_clone to ptarray_clone_deep, to be conformant with lwgeom_clone_deep in that it copies the serialized pointlist too
git-svn-id: http://svn.osgeo.org/postgis/trunk@7605 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-07-06 09:40:38 +00:00 |
|
Sandro Santilli
|
7df2a4d4e0
|
const-correct lw*_is_closed
git-svn-id: http://svn.osgeo.org/postgis/trunk@7601 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-07-06 07:42:13 +00:00 |
|
Paul Ramsey
|
eb724d0df5
|
gserialized enabled ST_Reverse LINESTRING EMPTY crash (#743)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6546 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-12-30 23:17:20 +00:00 |
|
Paul Ramsey
|
45e380936b
|
Over-determined dimensionality in building line from lwptarray
git-svn-id: http://svn.osgeo.org/postgis/trunk@6520 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-12-28 01:10:38 +00:00 |
|
Paul Ramsey
|
1e2f558d94
|
ST_MakeLine aggregate function crashes with empty geometries (#729)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6515 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-12-27 22:41:57 +00:00 |
|
Paul Ramsey
|
c3e6c0c363
|
ST_AddPoint is broken (#662)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6491 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-12-23 18:03:30 +00:00 |
|
Paul Ramsey
|
fd6d759590
|
Re-orgs to push the geodetic/cartesian divide a little further under the covers as part of the geometry/geography group hug at the index bindings level.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6437 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-12-17 20:10:36 +00:00 |
|
Paul Ramsey
|
c5c1ffbe5f
|
Fix up failure in distance calculation (#705) and replace some SRID -1 with SRID_UNKNOWN
git-svn-id: http://svn.osgeo.org/postgis/trunk@6349 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-12-13 19:25:15 +00:00 |
|
Paul Ramsey
|
77b08404a5
|
Start flipping over references to srid = -1 to srid = SRID_UNKNOWN
git-svn-id: http://svn.osgeo.org/postgis/trunk@6293 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-12-07 21:59:54 +00:00 |
|
Paul Ramsey
|
4cc4123357
|
Replace the old WKB/WKT parser and emitters with the new ones.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6291 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-12-07 21:08:05 +00:00 |
|
Paul Ramsey
|
49ddf44404
|
Remove LWGEOM_INSPECTED from pointn, startpoint, endpoint, and migrate functionality to liblwgeom.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6264 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-12-02 18:52:26 +00:00 |
|
Paul Ramsey
|
5ff93efd20
|
Move length calculations fully to liblwgeom and remove LWGEOM_INSPECTED
git-svn-id: http://svn.osgeo.org/postgis/trunk@6215 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-11-30 22:55:54 +00:00 |
|
Olivier Courtin
|
586c389dc8
|
Change POINTARRAY.dims to POINTARRAY.flags. Related to #658
git-svn-id: http://svn.osgeo.org/postgis/trunk@6205 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-11-25 18:38:20 +00:00 |
|
Olivier Courtin
|
df80a93181
|
Change SRID to srid in LWGEOM struct (and also in CHIP too). Rename some functions related to SRID from Camel notation to lower case: errorIfSRIDMismatch, pglwgeom_getSRID, pglwgeom_setSRID, LWGEOM_getSRID, LWGEOM_setSRID, hasSRID. Related to #658
git-svn-id: http://svn.osgeo.org/postgis/trunk@6204 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-11-25 17:34:21 +00:00 |
|
Paul Ramsey
|
0a1c671fae
|
Ensure that flags are initialized cleanly in constructors
git-svn-id: http://svn.osgeo.org/postgis/trunk@6194 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-11-24 00:28:40 +00:00 |
|
Olivier Courtin
|
931390d022
|
#658 part 1. Enhance LWGEOM struct (type, flags and GBOX) and related functions call.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6180 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-11-21 19:02:23 +00:00 |
|
Paul Ramsey
|
4afb908dba
|
An argument for git. This massive commit includes the renaming of function in the ptarray API, the removal of some pointArray_* variants in favor of ptarray_* variants, and, importantly, the adition of _append_point and _insert_point options for pointarrays. Functions have been switched over to using the API instead of managing the serialized_pointlist themselves. This has necessitated the re-writing of some functions. Simplify2d and Force2d have been re-written as lwgeom functions instead of serialized form functions, and moved into liblwgeom. There are still some major functions to move into liblwgeom, including the point_in_polygon functions that support the intersects shortcuts and the linear referencing fuctions in lwgeom_functions_analytic.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6175 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-11-18 05:28:19 +00:00 |
|
Paul Ramsey
|
e7c8b8f73d
|
Change pointArray_construct() to ptarray_construct_reference_data()
git-svn-id: http://svn.osgeo.org/postgis/trunk@6170 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-11-04 23:21:06 +00:00 |
|
Paul Ramsey
|
0bb9c409dd
|
Flip all the internal liblwgeom files over to use liblwgeom_internal.h
git-svn-id: http://svn.osgeo.org/postgis/trunk@6160 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-11-01 01:28:12 +00:00 |
|
Paul Ramsey
|
33b6ad1711
|
Add in the ISO extended types to the WKT parser and emitter.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6101 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-10-22 23:27:13 +00:00 |
|
Paul Ramsey
|
37111647d5
|
Put the WKT new parser files into repo so others can see them and I can work in synch with trunk.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6060 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-10-10 00:08:58 +00:00 |
|
Olivier Courtin
|
c09ea80cd2
|
Astyle session on whole trunk
git-svn-id: http://svn.osgeo.org/postgis/trunk@5825 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-08-15 08:30:08 +00:00 |
|
Olivier Courtin
|
8fea23dce8
|
Add Triangle and TIN new geometry type. Add Cunit tests on parse stage, related to #561. Add ST_AsGML support TIN and Triangle for GML 3. Slightly cast change in PolyhedralSurface LWGEOM struct Remove PolyhedralSurface support from forceRHR function as orientation is meaningfull in PS. Move is_closed functions from PostGIS to LWGEOM dir and related cunit test case on line and curves.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5821 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-08-13 17:29:29 +00:00 |
|
Paul Ramsey
|
1ca9049cde
|
Some function renaming: lwgeom_typename => lwtype_name. The internal float/up/down functions get slightly better names. Make collection types re-sizable: added maxgeoms to all collections, and created lwcollection_add_lwgeom() function. Remove all *_add functions. Revized homogenize function to use the new _add_lwgeom and variants.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5439 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-03-16 03:13:33 +00:00 |
|
Paul Ramsey
|
a17c33cc33
|
Update the bbox when you alter the underlying geometry (#410) ST_SetPoint, ST_Ad
dPoint, ST_RemovePoint.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5384 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-03-08 23:28:28 +00:00 |
|
Sandro Santilli
|
f6ac58c764
|
ST_RemoveRepeatedPoints [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@5273 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-02-21 12:22:08 +00:00 |
|
Paul Ramsey
|
8cabdcf81f
|
1.5 astyle pass
git-svn-id: http://svn.osgeo.org/postgis/trunk@5181 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-02-01 17:35:55 +00:00 |
|
Paul Ramsey
|
ea8d4c5585
|
Remove warning from lwline
git-svn-id: http://svn.osgeo.org/postgis/trunk@5170 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-01-26 20:20:47 +00:00 |
|
Paul Ramsey
|
f0894275df
|
Make ST_AddMeasure handle multilinestrings as well as linestrings.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5168 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-01-26 18:56:22 +00:00 |
|
Paul Ramsey
|
7b65335f33
|
Add ST_AddMeasure and associated documentations (#390)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5162 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-01-25 21:03:42 +00:00 |
|
Mark Cave-Ayland
|
b7d587678b
|
Merge Paul's geodetic (geography) branch into trunk, as per discussions on postgis-devel. Most of the merge was automatic (albeit quite slow), with a few manual touch-ups where the merge algorithm couldn't handle this automatically. "make check" runs and passes, so I hope I haven't managed to break too much ;)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4494 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-09-14 10:54:33 +00:00 |
|
Paul Ramsey
|
cfb44a749f
|
astyle --style=ansi --indent=tab (#133)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4168 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-06-11 16:44:03 +00:00 |
|
Paul Ramsey
|
cdfcc4e366
|
Propset Author Id Keyword Revision on all files.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3639 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-02-04 00:28:37 +00:00 |
|
Paul Ramsey
|
6744f68423
|
Rename lwfree_* to *_free.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3510 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-01-09 17:41:23 +00:00 |
|
Paul Ramsey
|
825548243f
|
Alter lwfree_* to deep-free memory. Add variants of *_release to support shallow-free. Go through lwgeom/ and replace any lwfree_* instances with *_release where appropriate. (Surprisingly few.)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3502 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-01-08 17:04:00 +00:00 |
|
Paul Ramsey
|
d33c9f9c04
|
Complete the pfree_* to lwfree_* renaming.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3448 b70326c6-7e19-0410-871a-916f4a2858ee
|
2008-12-18 20:35:27 +00:00 |
|
Mark Cave-Ayland
|
ffde636dc0
|
Split the basic geometry accessors into a separate static library liblwgeom.a; this potentially allows re-use of the liblwgeom functions from within PostGIS, or could be extended at a later date to include databases other than MySQL. This patch includes a change to the liblwgeom handler functions; instead of sprinkling init_pg_func()s around the source, I have changed the default liblwgeom handlers to make use of a callback to allow linked libraries to set their own handlers the first time any of them are called. I have also tidied up the parser API a little in liblwgeom.h, which means wktparse.h can be removed from all of the headers in the lwgeom/ directory, plus renamed wktunparse.c to lwgunparse.c to keep things similar to lwgparse.c. Finally, I renamed liblwgeom.c to lwutil.c to avoid confusion within the new interface. TODO: the liblwgeom Makefile has some gcc-specific options, but these can be fixed later - it seemed more important to make the warnings visible to developers.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2815 b70326c6-7e19-0410-871a-916f4a2858ee
|
2008-06-29 19:11:48 +00:00 |
|