Commit graph

11 commits

Author SHA1 Message Date
Mark Leslie 6a68925c53 Cleaned up distance_sphere and updated documentation.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1492 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-04 19:31:36 +00:00
Sandro Santilli 0f606e4956 Commented out unused variable
git-svn-id: http://svn.osgeo.org/postgis/trunk@1486 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-04 15:54:30 +00:00
Mark Leslie d1e58a9a5b Rebuilt the distance_sphere function.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1466 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-03 17:20:47 +00:00
Sandro Santilli 99425f8eaf Dropped getbox2d_internal().
Removed all castings of getPoint() output, which has been renamed
to getPoint_internal() and commented about danger of using it.
Changed SERIALIZED_FORM() macro to use VARDATA() macro.
All this changes are aimed at taking into account memory alignment
constraints which might be the cause of recent crash bug reports.


git-svn-id: http://svn.osgeo.org/postgis/trunk@1393 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-10 17:41:55 +00:00
Sandro Santilli fa79318c4f Fixed bug in definition of distance_spheroid.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1338 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-24 18:11:50 +00:00
Sandro Santilli d0cb53d9fe Added is_worth_caching_serialized_bbox(). Renamed lwgeom_setSRID() to
pglwgeom_setSRID(). Fixed a bug in PG_LWGEOM_construct support for
AUTOCACHE_BBOX.


git-svn-id: http://svn.osgeo.org/postgis/trunk@1219 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-05 12:44:47 +00:00
Sandro Santilli cf5f06a1d0 Cleanups for older compilers and PG verisons.
git-svn-id: http://svn.osgeo.org/postgis/trunk@934 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-05 21:42:22 +00:00
Sandro Santilli be428ac347 Added ZM dimensions flags knowledge.
git-svn-id: http://svn.osgeo.org/postgis/trunk@929 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-05 16:28:34 +00:00
Sandro Santilli 904c0d5652 Big layout change.
lwgeom.h is public API
liblwgeom.h is private header
lwgeom_pg.h is for PG-links
lw<type>.c contains type-specific functions


git-svn-id: http://svn.osgeo.org/postgis/trunk@909 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-29 10:50:30 +00:00
Sandro Santilli e1ce40dcd9 Changed LWGEOM to PG_LWGEOM.
Changed LWGEOM_construct to PG_LWGEOM_construct.


git-svn-id: http://svn.osgeo.org/postgis/trunk@908 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-29 06:31:42 +00:00
Sandro Santilli 85e55d8846 Added spheroid type and functions
git-svn-id: http://svn.osgeo.org/postgis/trunk@750 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-26 08:57:39 +00:00