Paul Ramsey
b5e299620f
Fix mistake in handling crossings-at-a-vertex
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9948 b70326c6-7e19-0410-871a-916f4a2858ee
2012-06-18 23:59:37 +00:00
Paul Ramsey
d6a24f990b
Silence a warning
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9935 b70326c6-7e19-0410-871a-916f4a2858ee
2012-06-18 22:02:54 +00:00
Paul Ramsey
f4d09fe6af
Quiet some warnings.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9930 b70326c6-7e19-0410-871a-916f4a2858ee
2012-06-18 20:14:44 +00:00
Paul Ramsey
784d85eb47
Hide internal arguments for tree calculations and shut up the print output.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9919 b70326c6-7e19-0410-871a-916f4a2858ee
2012-06-15 23:53:33 +00:00
Paul Ramsey
c90d7682d7
Add circular tree calculations and associated tests in support of faster geography calculations.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9916 b70326c6-7e19-0410-871a-916f4a2858ee
2012-06-15 22:51:57 +00:00
Sandro Santilli
6743c67e8f
Add test for MULTIPOINT processing
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9893 b70326c6-7e19-0410-871a-916f4a2858ee
2012-06-12 09:30:21 +00:00
Sandro Santilli
f556e4b466
Add GEOMETRYCOLLECTION input support for ST_MakeValid ( #1719 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9892 b70326c6-7e19-0410-871a-916f4a2858ee
2012-06-12 09:09:06 +00:00
Sandro Santilli
9de4f47d96
Handle exceptions from GEOSUnionCascaded() in LWGEOM_GEOS_buildArea
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9821 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-25 15:20:50 +00:00
Olivier Courtin
3db83462ff
Use NULL value as default for id on ST_AsGML cunit tests. Related to #1823
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9778 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-22 12:23:35 +00:00
Olivier Courtin
f7d50658af
Fix some unintialized vars. Fix becoming wrong prototype call in GML3 cunit tests. Related to #1823
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9775 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-22 08:49:36 +00:00
Olivier Courtin
b49ecf607c
First implementation of gml:id support for ST_AsGML. Related to #1823 . Not yet really tested. Cunit still missing
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9772 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-21 21:17:59 +00:00
Paul Ramsey
cc9745bb87
Accept PostGIS 1.5 WKB type numbers in WKB parser ( #1807 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9761 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-21 09:36:02 +00:00
Paul Ramsey
a9b2aca592
Error in empty short circuit ( #1828 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9744 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-17 11:54:43 +00:00
Sandro Santilli
a9ec4df52a
Add lwgeom_normalize in LIBLWGEOM, use in cu_buildarea tester
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9742 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-17 11:45:26 +00:00
Sandro Santilli
b6023cb85c
Cleanup new BuildArea code, add profiling prints ( #1806 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9732 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-10 07:24:08 +00:00
Sandro Santilli
f81decb8a1
Significatively speedup BuildArea with complex input ( #1806 )
...
Affects ST_BuildArea, ST_MakeValid and ST_GetFaceGeometry.
Replaces the iterated SymDifference used since 2005 with a more
scalable algorithm. The new algorithm removes from the polygonized
result all polygons whose rings are known to be already represented
by holes or shells of other polygons and finally runs a single
overlay operation (unary union).
With the case attached to ticket #1806 , ST_BuildArea completes
within 12 seconds using the new code while it takes 27 _minutes_
with the old. Both versions return the same result (according to
ST_Equals).
git-svn-id: http://svn.osgeo.org/postgis/trunk@9731 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-09 12:08:16 +00:00
Sandro Santilli
773dd56ad7
Add unit test for lwgeom_buildarea (useful for #1806 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9730 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-09 12:08:06 +00:00
Sandro Santilli
82926b188e
ST_BuildArea: arrange polygonized output reducing overlay cost ( #1806 )
...
By running SymDifference against items with less points first we
reduce the overall cost (output vertices tend to always grow).
git-svn-id: http://svn.osgeo.org/postgis/trunk@9729 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-08 16:47:40 +00:00
Sandro Santilli
bbbedbb401
liblwgeom depends on postgis_config.h and postgis_svn_revision.h ( #1786 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9656 b70326c6-7e19-0410-871a-916f4a2858ee
2012-04-24 09:16:17 +00:00
Paul Ramsey
488412eb37
Fix incorrect call to geom->type where geom->flags is needed
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9651 b70326c6-7e19-0410-871a-916f4a2858ee
2012-04-20 03:28:42 +00:00
Paul Ramsey
7fba2e0c26
st_isclosed() doesn't return false for unclosed POLYGONS only LINESTRINGS ( #1756 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9650 b70326c6-7e19-0410-871a-916f4a2858ee
2012-04-20 03:23:47 +00:00
Sandro Santilli
5a74e2c988
fix ST_SymDifference(empty, geom) to return geom ( #1776 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9641 b70326c6-7e19-0410-871a-916f4a2858ee
2012-04-13 21:04:15 +00:00
Sandro Santilli
c1a7bd366f
Fix NaN from ptarray_locate_point with zero-length lines ( #1772 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9630 b70326c6-7e19-0410-871a-916f4a2858ee
2012-04-12 07:21:38 +00:00
Sandro Santilli
49a0e802d1
Fix comment doc about lwline_split_by_point_to
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9629 b70326c6-7e19-0410-871a-916f4a2858ee
2012-04-12 07:21:23 +00:00
Sandro Santilli
ef23e9cc80
Call config.status if liblwgeom.h.in newer than liblwgeom.h ( #1691 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9623 b70326c6-7e19-0410-871a-916f4a2858ee
2012-04-10 15:51:06 +00:00
Sandro Santilli
150b274d69
Allow for 1.#INF to be threated as Inf ( #1736 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9613 b70326c6-7e19-0410-871a-916f4a2858ee
2012-04-05 09:11:51 +00:00
Sandro Santilli
fd783e7b6b
Have BuildArea catch exception from GEOSSymDifference ( #1738 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9581 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-30 08:36:17 +00:00
Paul Ramsey
4c6b078e68
Skip over geodetic check for empty geometries.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9538 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-23 21:07:00 +00:00
Paul Ramsey
3d2539a7de
Allow build to work under DEBUG=5
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9537 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-23 19:14:13 +00:00
Paul Ramsey
01828634d2
Parse error on WKT for multi with empty elements ( #1703 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9530 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-22 16:55:18 +00:00
Sandro Santilli
5dfa7e3cc4
Add a ptarray_simplify parameter to preserve min vertices ( #1698 )
...
A polygon ring collapsed to a segment is still better handled by
mapnik than the same ring collapsed to a single point. This commit
retains at least 3 vertices for polygons.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9528 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-22 15:07:03 +00:00
Sandro Santilli
d89b799534
Do not drop collapsed polygon shells ( #1698 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9527 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-22 15:06:52 +00:00
Paul Ramsey
cf8753bd36
Make distclean should remove all the Makefile's generated by ./configure
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9522 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-21 20:32:29 +00:00
Sandro Santilli
8953eee57c
Be quieter on polygon ring collapse (in ST_Simplify)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9514 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-16 19:11:09 +00:00
Sandro Santilli
082d160615
Add simple tests to stringbuffer class ( #1668 )
...
Hopefully these fail on windows so it's easier to test.
It may take a memory debugger to really see the failure.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9487 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-13 17:08:59 +00:00
Sandro Santilli
b5887ec9f7
Rename misc testsuite to "misc"
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9486 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-13 17:08:48 +00:00
Paul Ramsey
820079f092
Roll back changes for autodetecting C99 vsnprintf ( #1688 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9485 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-13 16:23:38 +00:00
Paul Ramsey
8be09879c7
Complete alternate implementation of vsnprintf, vasprintf for non-C99 systems. ( #1668 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9477 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-12 21:27:39 +00:00
Paul Ramsey
a0a812c9b6
Work around difference between behavior of MS snprintf and C99 snprintf. ( #1668 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9435 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-09 17:46:29 +00:00
Paul Ramsey
ca7f754260
ST_Summary output contains a spurious "+" sign ( #1663 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9420 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-07 17:40:39 +00:00
Paul Ramsey
f0c1952990
Work around default rule for lexer generation. ( #1644 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9411 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-06 18:55:19 +00:00
Paul Ramsey
82d7a6fce7
Defines are picked up from ../../postgis_config.h via ../liblwgeom_internal.h
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9402 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-05 22:54:48 +00:00
Paul Ramsey
496cb3223a
Add an SRID to box3d to allow lossless casts.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9390 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-02 23:35:32 +00:00
Sandro Santilli
febf179ddf
Add tests for ptarray_insert_point (see #1640 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9364 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-01 12:25:58 +00:00
Sandro Santilli
a389fd3cdc
Check args passed to ptarray_set_point4d
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9363 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-01 12:25:50 +00:00
Paul Ramsey
269ec63ddf
make parse location error test a little more lenient
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9357 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-29 18:58:06 +00:00
Paul Ramsey
806aea20c6
Fix regression due to new error message in GML generation
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9332 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-28 18:29:57 +00:00
Paul Ramsey
d7136cab32
Make error message on GML2 calls for TIN more instructive ( #1591 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9331 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-28 18:09:49 +00:00
Paul Ramsey
fe680e5cfd
Quiet compile warning.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9321 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-27 18:13:49 +00:00
Paul Ramsey
57ac13f0ff
Change dos to unix lineends. ( #1598 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9265 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 19:29:59 +00:00
Paul Ramsey
7922084791
Really remove the dos linefeeds this time ( #1598 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9263 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 19:18:21 +00:00
Paul Ramsey
c936b1eab7
Revert dos lineending commit that blew away those files...
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9262 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 19:08:00 +00:00
Paul Ramsey
b69faad591
Use consistent UNIX line endings ( #1598 ) fix up those files that pass through the C preprocessor at least.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9261 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 19:01:46 +00:00
Sandro Santilli
29f91d6e4a
Add a ptarray_transform function in liblwgeom API
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9247 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-21 14:32:59 +00:00
Sandro Santilli
f9662411e8
Make one-point lines convertible to GEOS, see #1543
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9184 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-14 13:31:22 +00:00
Sandro Santilli
13839e6dfb
Move SRID max and user-max definitions to configure.ac
...
This should help keeping postgis_restore.pl and core in sync
wrt SRID ranges.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9167 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-13 14:48:17 +00:00
Sandro Santilli
16e500b650
Clamp SRID valuesu > SRID_MAXIMUM to fall in the reserved range ( #1505 )
...
The reserved range is SRID_USER_MAXIMUM+1 to SRID_MAXIMUM.
Core takes care of typmod clamping, postgis_restore.pl takes care
of clamping table definition and spatial_ref_sys entries.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9145 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-10 16:53:15 +00:00
Sandro Santilli
3e3feaa9dd
Add SRID_USER_MXIMUM define
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9144 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-10 16:53:07 +00:00
Sandro Santilli
5703e75da6
Drop postgis_config.h include from lwgeom_pg.h header.
...
Generally, package config files should _not_ be included
by package headers. In this specific case the aim is overriding
POSTGIS_DEBUG_LEVEL in implementation files for the sake of
enabling debugging of a single file.
Also part of this commit is addition of copyright header in
two files which were missing it (used git history to figure
assignments)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9134 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-09 17:00:23 +00:00
Paul Ramsey
87b77c0663
More verbose message, per DFuhriman
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9128 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-09 00:42:07 +00:00
Paul Ramsey
e2f360b6b9
Invalid geography polygons: BOOM! Could not generate outside point! ( #1046 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9127 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-09 00:37:43 +00:00
Paul Ramsey
87a2a38faa
Stop relying on private projects.h PROJ header ( #1541 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9108 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-08 18:51:32 +00:00
Olivier Courtin
697466ebbb
Bugfixes related to #1552 , and somehow to #665 . Thanks to Sandro for report and valgrind stuff !
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9097 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-08 15:17:32 +00:00
Olivier Courtin
5bbe44ece1
restore (at least) tin_geom and psurface_geom unit tests call. Related to #665
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9093 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-08 05:29:07 +00:00
Olivier Courtin
ba21d4a710
Fix BBOX handling in serialization. Still related to #665
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9092 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-08 05:23:00 +00:00
Olivier Courtin
b47f7f9852
Change BBOX double to float in serialization. Related to #665
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9091 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-08 04:36:59 +00:00
Paul Ramsey
e87f11fe1c
Remove another dying test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9087 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-08 00:15:49 +00:00
Paul Ramsey
888e99f0a3
Remove failing test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9086 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-08 00:14:48 +00:00
Olivier Courtin
0cb5dea359
Still several bugfixes related to #665
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9080 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-07 23:37:57 +00:00
Olivier Courtin
53adb1e7df
Still bugfixes. Related to #665
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9076 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-07 21:30:36 +00:00
Olivier Courtin
ebc3ea58b2
Restore surface cunit tests
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9074 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-07 21:04:50 +00:00
Olivier Courtin
3194a27c1b
Fix some bugfixes. Handle EMPTY use cases. Minor changes. Related to #665
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9073 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-07 21:01:48 +00:00
Paul Ramsey
49d9ea4505
lwgeom_release ( #699 ), reviewed all usage of lwgeom_release
...
and replaced with lwgeom_free where possible. Changed the
def'n of lwgeom_release so that it only frees the containing
objects, and not any sub-objects, for those few remaining
cases that required a gentler freeing of objects.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9072 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-07 19:42:49 +00:00
Olivier Courtin
82f920b632
temp desactivation of surface unit test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9059 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-07 02:34:56 +00:00
Olivier Courtin
61fe032fc9
Temp remove su_surface till everything fixed on it...
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9057 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-06 23:30:27 +00:00
Olivier Courtin
0ffd119683
Fix a bug in tgeom_free, related to #665
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9053 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-06 21:15:33 +00:00
Paul Ramsey
c1f7407a09
Geography should support SRIDs other than 4326 ( #1538 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9029 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-04 01:30:14 +00:00
Mark Cave-Ayland
081a23da7c
Fix missing #ifdef POSTGIS_GEOS_VERSION ... #endif preventing liblwgeom from compiling on GEOS < 3.3.0.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9018 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-03 21:03:46 +00:00
Paul Ramsey
6d81609804
Add lwcollection_homogenize and ST_Homogenize ( #375 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9009 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-01 23:18:19 +00:00
Paul Ramsey
e34578aeaf
Support curves in lwgeom_homogenize ( #1526 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9008 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-01 23:00:09 +00:00
Paul Ramsey
2094c8d249
Try again to fix #1292
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8992 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-01 05:30:28 +00:00
Paul Ramsey
402f405698
Remove some compile warnings.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8984 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-31 20:46:18 +00:00
Paul Ramsey
08f331e6b0
ST_SnapToGrid returns a value out of range ( #1292 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8980 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-31 18:19:36 +00:00
Paul Ramsey
71f14f9f03
Rename ST_BuildArea backend function
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8979 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-31 18:12:58 +00:00
Paul Ramsey
883b8860cb
ST_Segmentize returns invalid LINESTRING for zero-length input ( #1304 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8971 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-30 21:52:47 +00:00
Paul Ramsey
04bf7dcc44
ST_LocateBetweenElevations should return NULL and not fail if intersection is void ( #1250 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8969 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-30 20:41:59 +00:00
Paul Ramsey
f9976f0977
GML for empty geometries should be NULL ( #1377 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8966 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-30 00:37:45 +00:00
Nicklas Avén
75ce3f50f8
Increase robustness in distance-calculations when point is on segment.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8965 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-29 23:30:18 +00:00
Paul Ramsey
cd548c37a1
Fix one remaining crasher for ST_AsGML('SRID=4326;POLYGON EMPTY');
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8951 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-27 23:31:18 +00:00
Paul Ramsey
e21896ff31
Tighten up on-arc test a bit more.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8948 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-27 20:55:22 +00:00
Paul Ramsey
723625e4ab
#920 (ST_LineToCurve generating invalid CURVEPOLYGON)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8945 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-27 18:54:37 +00:00
Sandro Santilli
7ffd5b6675
Implement lwline_from_lwgeom_array (untested)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8930 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-26 12:59:59 +00:00
Sandro Santilli
e916935621
Don't let ptarray_append_ptarray change read-only pointarrays
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8929 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-26 12:59:51 +00:00
Sandro Santilli
8ff256bab6
Test that mixed dimensionality is not allowed by ptarray_append_ptarray
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8928 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-26 12:59:43 +00:00
Sandro Santilli
eb921b6dc9
Add more test for FLAGS_GET_ and FLAGS_SET_
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8927 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-26 12:34:32 +00:00
Sandro Santilli
925d626bbd
Implement ptarray_append_ptarray, and change its signature
...
This is propedeutic to ticket #1500
git-svn-id: http://svn.osgeo.org/postgis/trunk@8926 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-26 09:16:37 +00:00
Paul Ramsey
2e723cb276
SVG empty geometries gives invalid memory alloc ( #1038 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8920 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-24 22:23:53 +00:00
Sandro Santilli
6ef84a957a
Don't let ST_Multi create collections of a single EMPTY ( #1489 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8892 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-20 14:47:24 +00:00
Paul Ramsey
331f360a22
Transforming from SRID 4267 to 4326 returns incorrect result ( #1301 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8880 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-20 00:11:41 +00:00
Sandro Santilli
c7983112e0
Add ST_Summary(geography), "G" flag ( #1277 ), document ( #649 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8868 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-18 14:17:11 +00:00
Paul Ramsey
cb6ae71bc4
Rename lwpoint_interpolate to point_interpolate
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8851 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 22:26:45 +00:00
Sandro Santilli
58adce3839
Fix 2.5d split ( #745 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8847 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 17:37:12 +00:00
Sandro Santilli
ed2cc838c7
Move lwgeom_summary to liblwgeom ( #1446 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8838 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 12:33:16 +00:00
Sandro Santilli
ca21d39436
Fix WKB output for POINT EMPTY with SRID or higher dims ( #1478 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8835 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 11:22:27 +00:00
Sandro Santilli
ae22d6192d
Fix reading TRIANGLE EMPTY in WKB form ( #1474 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8833 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 10:31:18 +00:00
Sandro Santilli
10732e13a9
Implement lwgeom_same for MULTICURVE and MULTISURFACE ( #1475 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8831 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 10:24:54 +00:00
Sandro Santilli
615bdce18a
Implement lwgeom_same for CURVEPOLYGON types ( #1475 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8830 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 10:21:09 +00:00
Sandro Santilli
fa2077921b
Implement lwgeom_same for COMPOUNDCURVE ( #1475 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8829 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 10:18:07 +00:00
Sandro Santilli
6e285b15a1
Implement lwgeom_same for circularstring ( #1475 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8828 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 10:11:44 +00:00
Sandro Santilli
6b4c747328
A CURVEPOLY is also a collection. Fixes #1473 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8827 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 09:11:45 +00:00
Sandro Santilli
930da10769
Prevent lwcollection_construct from creating non-collection types
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8826 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 09:11:38 +00:00
Paul Ramsey
cce54f7523
Add ST_InterpolatePoint, deprecate ST_Locate_Between_Measures and ST_Locate_Along_Measure. Document new functions. Alter regressions and docs to use AsText instead of AsEWKT.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8811 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-14 01:03:37 +00:00
Mark Cave-Ayland
fb5749edae
Switch liblwgeom to use the POSTGIS_* defines already generated by configure, rather than passing them in directly.
...
Similar to my previous commit, however here the aim is that by moving the logic outside of make then we can
potentially allow other generators (such as CMake) to detect and use other compilers rather than embedding
specific -D flags into the command line.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8809 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-14 00:49:21 +00:00
Paul Ramsey
6f1e0a2f48
Add in an offset option to ST_LocateBetween
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8794 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-12 21:43:56 +00:00
Paul Ramsey
816f40e8aa
Add support for MULTIPOINT and POINT to ST_LocateBetween
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8793 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-12 19:55:30 +00:00
Paul Ramsey
af3b7fe1db
Flip ST_LocateBetween to use the same LRS code as ST_LocateBetweenElevations
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8792 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-12 19:07:02 +00:00
Sandro Santilli
7a3b803b9e
Fix lw_dist2d_pt_seg(B, AB), see #1459
...
Includes regress testing. Should also fix #1383
git-svn-id: http://svn.osgeo.org/postgis/trunk@8790 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-12 17:06:04 +00:00
Sandro Santilli
442a2c98e3
Fix bug in dimension computer for collection WKT.
...
The parser got confused by inner M letters.
This commit also improves speed early breaking the loop over WKT.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8788 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-12 11:21:06 +00:00
Sandro Santilli
9acf63d0cb
Fix a bug in gserialized_read_gbox_p reading garbage in EMPTY point
...
Includes cunit test. Fixes #1458 .
git-svn-id: http://svn.osgeo.org/postgis/trunk@8785 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-12 08:52:03 +00:00
Sandro Santilli
605fa40a95
gbox_float_round: do not attempt to round M when not present
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8784 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-12 08:51:58 +00:00
Sandro Santilli
a58b999828
Expose gbox_float_round to liblwgeom API
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8783 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-12 08:51:53 +00:00
Paul Ramsey
4565be828a
Change references to BOX2DFLOAT4 to just BOX2D and remove the struct. Ding dong.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8782 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-11 19:45:13 +00:00
Sandro Santilli
8c6afecd88
Fix bug in gbox_same -> lwgeom_same -> ST_OrderingEquals ( #1454 )
...
Adds regression test for lwgeom_same and ST_OrderingEquals
git-svn-id: http://svn.osgeo.org/postgis/trunk@8779 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-11 18:45:00 +00:00
Sandro Santilli
e6d78c3dc7
Add paranoid test of another malformed WKB found in #168
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8775 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-11 15:57:22 +00:00
Paul Ramsey
559feb23d9
Add ST_LocateAlong support for multipoints too (completeness)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8758 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-10 23:22:18 +00:00
Paul Ramsey
242d9c9476
Bind ST_LocateAlong() to the new LRS function that supports offsets.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8757 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-10 23:14:28 +00:00
Sandro Santilli
bfa3222be1
Reflect type of empty from ST_Dimension ( #1441 )
...
No existing testcase fail, no new testcase is added.
This change doesn't invalidate any part of the reference manual.
Reference manual isn't updated.
Signed-off-by: Charlie Brown
git-svn-id: http://svn.osgeo.org/postgis/trunk@8748 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-10 14:58:16 +00:00
Sandro Santilli
92026a713b
Use a standard lwcollection_allows_subtype function to guard against bad input.
...
Fixes #698 (and #1445 in a better way)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8747 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-10 13:17:21 +00:00
Sandro Santilli
25c22d217e
Check type of elements added to multi geometries. Fixes #1445 .
...
Includes regress testing both at the liblwgeom and postgis levels.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8742 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-10 11:36:14 +00:00
Sandro Santilli
3c7f558165
Add "M" type modifiers on elements of GEOMETRYCOLLECTION
...
Reflects specs in doc/ZMgeoms.txt and satisfies the parser.
Closes ticket #724 .
git-svn-id: http://svn.osgeo.org/postgis/trunk@8741 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-10 10:06:11 +00:00
Paul Ramsey
acc2cfbad5
Interim progress on LRS work.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8726 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-09 18:27:30 +00:00
Sandro Santilli
af8bb4eaa7
Change lwgeom_is_empty to return spatial emptiness ( #671 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8725 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-09 18:01:15 +00:00
Sandro Santilli
c532c9b846
Add lwgeom_construct_empty API call
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8720 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-09 17:01:48 +00:00
Sandro Santilli
b839549e93
Implement lwcompound_construct_empty
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8719 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-09 17:01:43 +00:00
Sandro Santilli
8f99c827d6
Return typed empties from lwcollection_extract
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8717 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-09 16:20:13 +00:00
Sandro Santilli
69eec45ee6
Fix compiler warnings
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8715 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-09 15:03:36 +00:00
Paul Ramsey
c71f36af42
Move offset curve generation into liblwgeom with other geos functionality
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8689 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-06 21:39:50 +00:00
Paul Ramsey
cbd71f7374
Change to GNU macro NAN. Still not feeling The Confidence.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8667 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-03 23:52:42 +00:00
Paul Ramsey
1ce64dcce5
Make numerical stability fix actually be present
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8666 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-03 23:42:03 +00:00
Paul Ramsey
5b2836f00c
Hm, nan() function?
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8665 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-03 23:28:47 +00:00
Paul Ramsey
343f318428
Make ST_Azimuth(p1, p1) return NULL and make ST_Project(p1, 0, NULL) return p1.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8662 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-03 22:07:34 +00:00
Paul Ramsey
f1ca2a8e8e
Change units to radians and add some tests ( #657 and #1305 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8655 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-03 19:21:32 +00:00
Paul Ramsey
67196edc60
ST_Azimuth on the spheroid ( #1305 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8496 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-21 19:07:02 +00:00
Paul Ramsey
35c0bbf274
Add ST_Project(geography, distance, azimuth) ( #657 ) to construct a new point given a heading and a distance.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8495 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-21 18:42:08 +00:00
Sandro Santilli
f6b0715b67
Use own implementation of endian detection, should fix #1172
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8488 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-21 14:37:11 +00:00
Sandro Santilli
0b1585a165
Report full exception string on ST_Intersection failure (see #1173 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8445 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-16 15:16:47 +00:00
Sandro Santilli
8b9b187c8e
Fix crash on ST_AsGML('POLYGON EMPTY') ( #681 )
...
Also tweak GML of empty types to be smaller and include
regression testing both at the liblwgeom and sql level
git-svn-id: http://svn.osgeo.org/postgis/trunk@8412 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 16:02:44 +00:00
Sandro Santilli
f622087235
Restrict disabled code to the one really hurting
...
See ticket #665 for more informations.
The commit also renames the test suite to "surface".
git-svn-id: http://svn.osgeo.org/postgis/trunk@8337 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-09 16:27:35 +00:00
Sandro Santilli
f4d0271104
gbox_float_round: don't roundup Z value if the box doesn't have one
...
Fixes #1309
git-svn-id: http://svn.osgeo.org/postgis/trunk@8336 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-09 15:33:14 +00:00
Sandro Santilli
26fbbe9457
Add a public lwgeom_get_bbox function ( #1324 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8335 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-09 14:37:16 +00:00
Sandro Santilli
4a1645eaab
Don't let lwgeom_add_bbox syntetize a fake box for empty geometries
...
Empty geometries have no box. Period.
Update GML extent output for empty geometries to handle the special
case by using empty tags. Regress test it.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8334 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-09 14:37:11 +00:00
Sandro Santilli
9df7101d93
Fix segfault in GML3 extent output ( #1323 )
...
Add support for srsDimension in GML3 extent output.
Add unit level comprensive regression testing.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8333 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-09 13:50:50 +00:00
Sandro Santilli
c83db31fe5
Add a gbox_overlaps_2d function, use when appropriate ( #1357 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8331 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-09 11:18:09 +00:00
Paul Ramsey
c80ebf1baa
Guard against NaN values in coordinates passing into GEOS ( #627 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8328 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-08 22:16:08 +00:00
Paul Ramsey
0e96180dc6
Check that NaN coordinate values find their way into bboxes, they do, NaN is bigger than Inf, apparently.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8327 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-08 21:57:37 +00:00
Paul Ramsey
75294b428d
Test for bbox calculations when there's an infinite coordinate.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8326 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-08 21:26:39 +00:00
Paul Ramsey
22c50e8e1b
ST_AddPoint returns incorrect result on Linux ( #1335 ) from roualt
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8257 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-29 20:22:40 +00:00
Paul Ramsey
7dfa77b7cd
ST_AsSVG kills whole postgres server when fails ( #1028 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8246 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-26 06:07:16 +00:00
Sandro Santilli
9b6698d0bf
Const-correct GML signatures
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8229 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-23 17:28:48 +00:00
Sandro Santilli
80aca4236e
Add a vertex-snap-tolerance parameter to ptarray_substring
...
This is aimed at improving robustness for ST_Split, which now
uses an hard-coded tolerance of 1e-14 (see #1311 )
git-svn-id: http://svn.osgeo.org/postgis/trunk@8212 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 16:32:27 +00:00
Sandro Santilli
d9e5af37f8
Add testcase for #1311 (lwgeom_split).
...
Also fix existing testcase (wasn't really testing it).
git-svn-id: http://svn.osgeo.org/postgis/trunk@8206 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 14:59:36 +00:00
Sandro Santilli
6858a09203
Fix memory leak in lwgeom_split
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8205 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 14:59:30 +00:00
Sandro Santilli
2b175a2560
Hush warning about missing prototype.
...
This is really a commit intended to amend the previous for the sake
of pointing to the correct bug being closed by it: #1273 (not #1023
which is more complex)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8204 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 12:10:25 +00:00
Sandro Santilli
a12f1614a8
Have gserialized_get_gbox_p always return a round-to-float box
...
That is, even when computing the box from scratch.
This makes the box always float-oriented,
consistently between cached and computed boxes.
Closes (hopefully forever) bug #1023 .
Includes testcase otherwise failing.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8203 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 12:03:48 +00:00
Sandro Santilli
ad654fc47d
Rename "LibGeom Suite" to simply "libgeom", for easy of use
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8200 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 08:23:31 +00:00
Sandro Santilli
c99397c62f
Surrender to evidence of the narrow ring tested being clockwise
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8199 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 08:21:41 +00:00
Sandro Santilli
50593de781
Improve robustness of ptarray_isccw (see #1302 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8198 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 08:08:18 +00:00
Sandro Santilli
fb8e246a7a
Add another test for ptarray_isccw, which incredibly seems to disagree with the same check done when the same ring occurs in a polygon
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8194 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-20 21:35:18 +00:00
Sandro Santilli
70e7934d65
Do not memcpy to self in ptarray_reverse (see #1302 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8193 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-20 21:19:12 +00:00
Sandro Santilli
9e055f1d2d
Better indent for comparing obtained/expected
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8192 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-20 21:19:07 +00:00
Sandro Santilli
ae35965dfb
Add test for lwgeom_force_clockwise (see #1302 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8190 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-20 20:51:22 +00:00
Sandro Santilli
2d2e91275b
Add test for ptarray_isccw (see #1302 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8189 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-19 17:28:33 +00:00
Sandro Santilli
beb62064f5
Make sure to "round-to-float" boxes read from serialized, no matter if there was or not a cache. Fixes #1273 . Includes regress testing. Note: would be worth to also test the 2-points line case (I didn't in this specific commit, but the patch should fix that as well).
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8134 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-10 11:10:19 +00:00
Sandro Santilli
51f91a5015
Re-fix robustness issue on 32bit system (seg is 0-based, npoints is 1-based but segments is npoints-1)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8115 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-08 10:23:07 +00:00
Sandro Santilli
68a37aec98
Add test for bug #1270
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8113 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-08 08:55:09 +00:00
Sandro Santilli
5233a6baf7
Fix st_line_locate_point check for "last point" ( #1271 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8112 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-08 08:51:15 +00:00
Sandro Santilli
c26ff81c65
Enhance robustness of ptarray_locate_point, fixing bug #1269 .
...
Includes regression testcase.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8107 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-07 17:01:50 +00:00
Sandro Santilli
486f798b57
Double-check line splitting to avoid returning empty components
...
It happened on my 32bit system based on presence or absence of an lwnotice call, probably a compiler bug...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8105 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-06 20:17:43 +00:00
Sandro Santilli
2dcd5728a6
Fix clean rule to get rid of .o files
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8092 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-04 18:17:10 +00:00
Sandro Santilli
174a4e7ac5
Fix builds againts GEOS < 3.3
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8089 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-04 08:15:53 +00:00
Sandro Santilli
dec5cc525b
Add an lwgeom_node function in liblwgeom (see #1206 )
...
Includes testcase
git-svn-id: http://svn.osgeo.org/postgis/trunk@8088 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-04 06:45:10 +00:00
Sandro Santilli
1cb3777da3
Add lwcollection_reserve internal function
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8086 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-03 17:28:01 +00:00
Sandro Santilli
269d6aad6f
Pass GEOS version to unit tests, skip test for SPLIT when building against older geos.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8085 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-03 17:09:17 +00:00
Sandro Santilli
b0c8e0a039
Add an line-by-point internal split function taking an output vector.
...
Regress test the new function.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8084 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-03 16:20:39 +00:00
Paul Ramsey
8b18d8006f
Composite geometries end up with nested BBOX caches ( #1254 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8078 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-02 04:28:05 +00:00
Paul Ramsey
829e2b017f
Make st_summary at least return consistent results ( #1254 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8076 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-01 17:59:00 +00:00
Paul Ramsey
c4b39b9516
Increase accuracy of area calculation ( #810 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8068 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-31 21:18:11 +00:00
Paul Ramsey
2398afc183
Move gserialized_get_gbox_p to liblwgeom and gserialized_read_gbox_p to liblwgeom_internal
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8066 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-31 20:55:05 +00:00
Paul Ramsey
2844486b6c
Rename pglwgeom_box2d_p
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8065 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-31 20:23:44 +00:00
Paul Ramsey
93087d39dc
Remove some duplicate headers (much of this to be done...)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8053 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-30 20:57:56 +00:00
Paul Ramsey
a7f66610ba
Remove SERIALIZED_FORM
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8052 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-30 20:45:58 +00:00
Paul Ramsey
183dde1c71
Remove pglwgeom_ndims
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8046 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-29 20:35:41 +00:00
Paul Ramsey
475ce68b84
Remove pglwgeom_get_zm
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8044 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-29 20:04:04 +00:00
Paul Ramsey
ed669e1e99
Remove pglwgeom_has_bbox, pglwgeom_has_z, pglwgeom_has_m
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8040 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-29 00:58:28 +00:00
Paul Ramsey
77b1fcfecb
Remove BOX2DFLOAT4->GBOX and PG_LWGEOM->GSERIALIZED #defines
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8034 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-28 20:46:18 +00:00
Paul Ramsey
4a21c4e067
Fix call to geometry_type_from_string to use right type.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8033 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-28 18:21:13 +00:00
Paul Ramsey
bb58aea581
Move clone support functions into internal
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8032 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-28 18:09:20 +00:00
Paul Ramsey
b6f412c18c
Replace min/max/abs macros with FP_* variants in liblwgeom/ and with pgsql variants in postgis/
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8031 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-28 18:01:57 +00:00
Paul Ramsey
dbcd82cb6b
Remove orphaned box3d and box2dfloat4 utility functions
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8030 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-28 17:52:58 +00:00
Paul Ramsey
4bd609aeff
Remove orphaned _compute_box3d functions
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8029 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-28 17:44:00 +00:00
Paul Ramsey
e6f8141eb3
Remove box2df_from_gbox and gbox_from_box2df
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8028 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-28 17:35:18 +00:00
Paul Ramsey
07f2341e38
Ensure calls to lwgeom->type use type of uint8_t
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8027 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-28 17:01:02 +00:00
Paul Ramsey
e4e64ae0ba
Remove old profiling code
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8026 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-28 14:51:08 +00:00
Paul Ramsey
5fb082d9b2
Remove old 8-bit type utility functions.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8025 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-27 23:02:03 +00:00
Paul Ramsey
199316c6fe
Remove LWGEOM_Min* and LWGEOM_Max*
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8024 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-27 22:48:36 +00:00
Paul Ramsey
912a2ca7db
Remove serialized_form functions:
...
lwpoint_serialize_size
lwpoint_serialize
lwpoint_serialize_buf
lwline_serialize_size
lwline_serialize
lwline_serialize_buf
lwpoly_serialize_size
lwpoly_serialize
lwpoly_serialize_buf
lwtriangle_serialize_size
lwtriangle_serialize
lwtriangle_serialize_buf
lwcircstring_serialize_size
lwcircstring_serialize
lwcircstring_serialize_buf
lwcollection_serialize_size
lwcollection_serialize_buf
lwgeom_constructempty
lwgeom_constructempty_buf
lwgeom_empty_length
lwgeom_serialize_size
lwgeom_serialize
lwgeom_serialized_construct
lwgeom_getsrid
git-svn-id: http://svn.osgeo.org/postgis/trunk@8023 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-27 21:03:00 +00:00
Paul Ramsey
ec2726d627
Remove printBYTES
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8022 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-27 20:52:02 +00:00
Paul Ramsey
67e6db7d20
Reorder header file a little.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8021 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-27 20:51:13 +00:00
Paul Ramsey
fef5fe43bb
Complete removal of LWGEOM_INSPECTED
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8020 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-27 20:14:46 +00:00
Paul Ramsey
0d8648f178
Remove LWGEOM_INSPECTED
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8019 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-27 20:07:17 +00:00
Paul Ramsey
62203821fa
Remove old deserialze and inspected functions.
...
serialized_lwgeom_size
lwgeom_size_subgeom
lwgeom_size_point
lwgeom_size_line
lwgeom_size_circstring
lwgeom_size_poly
lwgeom_size_triangle
lwgeom_deserialize
lwpoint_deserialize
lwline_deserialize
lwpoly_deserialize
lwtriangle_deserialize
lwcircstring_deserialize
lwmpoint_deserialize
lwmline_deserialize
lwmpoly_deserialize
lwcollection_deserialize
lwcompound_deserialize
lwcurvepoly_deserialize
lwmcurve_deserialize
lwmsurface_deserialize
lwpsurface_deserialize
lwtin_deserialize
printMULTI
lwgeom_inspect
lwgeom_getpoint_inspected
lwgeom_getpoint
lwgeom_getline_inspected
lwgeom_getline
lwgeom_getpoly
lwgeom_getpoly_inspected
lwgeom_gettriangle
lwgeom_gettriangle_inspected
lwgeom_getcircstring_inspected
lwgeom_getgeom_inspected
lwgeom_getsubgeometry
lwgeom_getsubgeometry_inspected
lwgeom_getsubtype
lwgeom_getsubtype_inspected
lwgeom_getnumgeometries
lwgeom_getnumgeometries_inspected
git-svn-id: http://svn.osgeo.org/postgis/trunk@8018 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-27 20:05:32 +00:00
Paul Ramsey
74a5cb5d6a
Remove compute_serialized_box3d
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8017 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-27 19:23:19 +00:00
Paul Ramsey
08d4e95d25
Remove duplicate and unused is_worth_caching_serialized_bbox and is_worth_caching_lwgeom_bbox
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8016 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-27 19:10:23 +00:00
Sandro Santilli
7d11ddf33d
Wrap lines within 80 columns
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8013 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-27 14:35:07 +00:00
Paul Ramsey
9ed058b80b
Remove more orphaned box2d support functions
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8007 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-26 22:58:21 +00:00
Paul Ramsey
b38b09da0e
Remove *_compute_box2d* functions that are now orphans.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8006 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-26 22:36:22 +00:00
Sandro Santilli
da5f340340
Clamp SRID on serialization and deserialization. Raise an error when clamp_srid receives a number > 999999
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7963 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-10 07:38:27 +00:00
Sandro Santilli
bdf85a6160
Raise a NOTICE when a SRID <= 0 but != SRID_UNKNOWN is converted
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7956 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-06 14:08:59 +00:00
Sandro Santilli
9125e2d304
Clamp literal SRID values occurring in WKB and WKT.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7955 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-06 13:35:52 +00:00
Sandro Santilli
c5019f6762
Add clamp_srid internal function returning UNKNOWN for <= 0 values.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7954 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-06 13:35:46 +00:00
Sandro Santilli
1e179f2522
Fix distclean rule to drop Makefile too
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7922 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-29 19:43:06 +00:00
Sandro Santilli
39d7914c30
Define SHELL (used by LIBTOOL and INSTALL) hopefully helps bug #1218
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7921 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-29 19:43:00 +00:00
Paul Ramsey
e287dff03d
Remove GSERIALIZED_ON from .sql files.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7913 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-28 23:58:34 +00:00
Paul Ramsey
afa9374199
Change "no SRID" SRID to 0 ( #286 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7912 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-28 23:38:56 +00:00
Sandro Santilli
809ae790e4
Move LWDEBUG macros in a new lwgeom_log.h header file (see #1220 )
...
Update all implementation files accordingly.
Fix some misuses out of liblwgeom.
Add missing copyright notices in a few files.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7907 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-28 10:05:36 +00:00
Sandro Santilli
ca4ebbe2e4
Use libtool to link liblwgeom unit tester (helps testing the shared library)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7792 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-29 14:45:23 +00:00
Sandro Santilli
91dd7fc219
Drop duplicated typedef [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7770 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-20 16:43:23 +00:00
Sandro Santilli
ebd64f02f5
Install liblwgeom.h under a sensible location... [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7769 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-20 15:55:13 +00:00
Sandro Santilli
1e09b5c1b8
Include version in liblwgeom.h [RT-SIGTA]
...
Closes ticket #1164
git-svn-id: http://svn.osgeo.org/postgis/trunk@7762 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-19 10:12:00 +00:00
Sandro Santilli
b131652f6c
Drop (u)int32 and uchar in favor of C99 standard int types [RT-SIGTA]
...
This commit drops PostgreSQL references in liblwgeom.h (C_H define)
and hopefully reduces the noise generated by custom symbols.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7761 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-19 09:34:58 +00:00
Sandro Santilli
b6e5840726
Install liblwgeom on 'make install' [RT-SIGTA]
...
Uses liblwgeom.h as the API header for liblwgeom.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7759 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-19 08:16:23 +00:00
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
Sandro Santilli
e83e96db9b
Honour DISTDIR when installing liblwgeom. Drop the finish call as it may require root privileges on some systems [RT-SIGTA].
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7752 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-16 09:15:49 +00:00
Sandro Santilli
f3db965181
Second attempt at libtool usage. Seems better to me now.
...
PostGIS clients still all use the static version of the library.
Libraries are not installed by default.
[RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7744 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-13 10:06:07 +00:00
Sandro Santilli
a7e6fe6c36
Move lwproj_from_string from libpgcommon to liblwgeom [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7741 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-12 19:18:46 +00:00
Sandro Santilli
9e0173b08b
liblwgeom/cunit also needs PROJ_CPPFLAGS
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7740 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-12 17:57:17 +00:00
Sandro Santilli
23bb1c43b2
Rename make_project to lwproj_from_string, ready to be moved to liblwgeom [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7739 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-12 17:55:40 +00:00
Sandro Santilli
4239e692bb
Make transformation and projection cache API available (ticket #1053 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7734 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-12 17:25:01 +00:00
Sandro Santilli
54b8ca3739
Drop unused macros CARTESIAN and GEODETIC from liblwgeom.h
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7733 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-12 10:12:26 +00:00
Sandro Santilli
1d4276c497
Snap and SharedPaths are both direct GEOS proxies, not extra [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7732 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-12 10:11:57 +00:00
Sandro Santilli
09ea66209a
Export lwgeom_sharedpaths to liblwgeom, and fix exception message [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7731 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-12 09:11:26 +00:00
Sandro Santilli
625e72615d
Export lwgeom_split to liblwgeom, const-correct it [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7727 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-11 08:04:20 +00:00
Sandro Santilli
64acaf3bf8
Export lwgeom_snap to liblwgeom [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7726 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-11 07:52:10 +00:00
Sandro Santilli
89bb89d9d1
Give PARSER_CHECK macros an LW_ prefix [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7725 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-11 07:51:45 +00:00
Sandro Santilli
34a0789b21
Fix parser documentation [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7724 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-11 07:50:45 +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
Paul Ramsey
05d5133dcb
Little checks in clean_wkt_out_suite
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7722 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-10 22:43:54 +00:00
Paul Ramsey
60b4daef28
Remove old WKB/WKT parsers and generators and switch all internal references remaining (mostly in cunit) over to the new implementations.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7721 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-10 22:28:05 +00:00
Sandro Santilli
9e51495630
Export lwgeom_makevalid to liblwgeom [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7720 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-09 16:56:02 +00:00