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
|
26dcf8d8b6
|
Finish first draft of WKB reader.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6044 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-10-06 15:20:02 +00:00 |
|
Paul Ramsey
|
2d07d7eb59
|
Continue with new WKB parser. Change signature of RHR "right hand rule" functions to "clockwise" to avoid misinterpretations of orientation rules.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6036 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-10-03 18:14:35 +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 |
|
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
|
e003325935
|
Fixed up de-serialization routines to avoid *geoms = malloc(0) cases which were causing free to fail later on down the line (#370)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5099 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-01-04 17:55:14 +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 |
|