Commit graph

25 commits

Author SHA1 Message Date
Sandro Santilli 21bfcbf735 Move NO_*_VALUE from liblwgeom.h to liblwgeom_internal.h [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7754 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-16 09:47:32 +00:00
Sandro Santilli 99b6091234 Move DIST_MAX and DIST_MIN from liblwgeom.h to liblwgeom_internal.h (weird values, btw) [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7753 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-16 09:25:30 +00:00
Paul Ramsey 0603950296 Match style of liblwgeom.h include guard
git-svn-id: http://svn.osgeo.org/postgis/trunk@7723 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-10 23:16:41 +00:00
Sandro Santilli f9b94014f1 Drop REPEATED_POINTS_* and SPLICE_* defines from liblwgeom.h, move MAXFLOAT to liblwgeom_internal.h [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7716 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-09 15:12:06 +00:00
Sandro Santilli e8814f483c Move floating points comparator macros from liblwgeom.h to liblwgeom_internal.h (not prefixed symbols) [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7714 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-09 14:19:12 +00:00
Sandro Santilli 55e436c1d1 Move getMachineEndian() and error_if_srid_mismatch() from liblwgeom.h to liblwgeom_internal.h
git-svn-id: http://svn.osgeo.org/postgis/trunk@7707 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-08 09:27:09 +00:00
Paul Ramsey c5001b2000 Prototype segmentation code and move lwalgorith.h prototypes into liblwgeom.h and liblwgeom_internal.h
git-svn-id: http://svn.osgeo.org/postgis/trunk@7487 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-25 22:36:51 +00:00
Paul Ramsey 38efcd4727 Move clone prototypes back into public...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6492 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-23 18:05:09 +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 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 f15ed06fc5 Updates to the WKT parser to report errlocation in more places.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6275 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-03 21:38:52 +00:00
Paul Ramsey 5d996dd61e Remove LWGEOM_INSPECTED from perimeter calculation
git-svn-id: http://svn.osgeo.org/postgis/trunk@6238 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 20:28:29 +00:00
Paul Ramsey 7e82a76279 Move affine transforms into liblwgeom and expunge LWGEOM_INSPECTED
git-svn-id: http://svn.osgeo.org/postgis/trunk@6220 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 00:53:03 +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
Paul Ramsey 5e8f733459 Move area calculations fully to liblwgeom and remove LWGEOM_INSPECTED
git-svn-id: http://svn.osgeo.org/postgis/trunk@6214 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-30 21:54:55 +00:00
Paul Ramsey 537e0b0a59 Update geography functions to use the in-build .flags attribute on LWGEOM
git-svn-id: http://svn.osgeo.org/postgis/trunk@6193 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-23 23:47:44 +00:00
Paul Ramsey 262696c293 Make the ptarray_add_point behavior more explicit.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6190 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-23 00:44:24 +00:00
Paul Ramsey 719561604f Make ptarray_append_point handle higher dimensions more consistently.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6186 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-22 22:23:02 +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 805635643d Remove unused function. Rename lwgeom_is_collection to lwtype_is_collection.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6166 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-02 05:52:32 +00:00
Paul Ramsey f544929bb3 Remove DYNPTARRAY and all users of it
git-svn-id: http://svn.osgeo.org/postgis/trunk@6161 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-01 08:11: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 32e4d5caee Clean out scruft from my G_ phase and start attempting to separate _internal from external liblwgeom functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6157 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-31 02:31:34 +00:00
Paul Ramsey 30ec5743e7 Current work on bison-based WKT-to-LWGEOM parser. Implemented for LINESTRING, almost ready to extend to all types.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6091 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-20 22:51:30 +00:00
Paul Ramsey 34f03aa8cd Start the geodetic machinery. Add an internal API header for eventual API rationalisation
git-svn-id: http://svn.osgeo.org/postgis/trunk@4498 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-14 20:30:35 +00:00