Commit graph

568 commits

Author SHA1 Message Date
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 6111c39b52 Convert some BOX3D functions to GBOX
git-svn-id: http://svn.osgeo.org/postgis/trunk@7486 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-25 21:42:13 +00:00
Paul Ramsey 83b6ddaa76 PostGIS Box2D (and && operator) gives wrong result for ST_CircularString type (#578)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7452 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-23 13:57:16 +00:00
Paul Ramsey ba9576e7f2 ST_ForceRHR POLYGON EMPTY crash (#710)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7446 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-22 22:09:47 +00:00
Paul Ramsey 0fbe086266 ST_GeoHash POLYGON Empty crash (#711)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7445 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-22 21:33:18 +00:00
Paul Ramsey ec001a4dfc geography: ST_Intersects, ST_DWithin gbox_overlaps: geometries have mismatched dimensionality (#1037)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7433 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-20 16:58:07 +00:00
Paul Ramsey c8d72b79fd Bounding box calculation for straight CircString fails (#668)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7416 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-17 22:18:59 +00:00
Paul Ramsey 70f2e449a0 Fix up selectivity and operators a little
git-svn-id: http://svn.osgeo.org/postgis/trunk@7402 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-15 23:59:40 +00:00
Paul Ramsey 8f9cd6b90b Add a couple more GBOX functions to map to B2DF4 requirements
git-svn-id: http://svn.osgeo.org/postgis/trunk@7401 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-15 20:22:13 +00:00
Regina Obe 5db85e534b support for 2D points, add multipoint 2d / 3d to cunit. Add a mapping table to documentation to clarify how we map PostGIS geometries to X3D equivalent.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7199 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-19 04:53:22 +00:00
Regina Obe d559b56176 clean up some compiler warnings
git-svn-id: http://svn.osgeo.org/postgis/trunk@7198 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-19 04:04:14 +00:00
Regina Obe 1087b9e1ff apply astyle
git-svn-id: http://svn.osgeo.org/postgis/trunk@7143 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-13 08:46:38 +00:00
Regina Obe 79ee18cb99 fix some comments
git-svn-id: http://svn.osgeo.org/postgis/trunk@7122 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-10 04:54:28 +00:00
Regina Obe f7d3608aa8 put in a todo why I'm punting properly handling holes for now
git-svn-id: http://svn.osgeo.org/postgis/trunk@7121 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-10 03:57:09 +00:00
Sandro Santilli bfb6b65125 Drop commented out code
git-svn-id: http://svn.osgeo.org/postgis/trunk@7104 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-05 21:12:54 +00:00
Sandro Santilli 7ec29184a5 Do not attempt to read points from empty pointarrays (thanks valgrind for finding this)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7103 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-05 21:12:49 +00:00
Sandro Santilli 0b984b0582 Allow dumping polygons with empty rings, fixing bug #937, add unit testing for that case.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7102 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-05 21:12:43 +00:00
Regina Obe 0a6f9a41c6 more work on handling 3d polygons with holes
git-svn-id: http://svn.osgeo.org/postgis/trunk@7083 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-03 13:35:55 +00:00
Regina Obe 6838d38802 Fix handling of 3d polygons (still doesn't handle holes right), update doc to show example and also caveats so far, add polygon and polyhedralsurface example to c unit tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@7078 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-01 02:46:40 +00:00
Olivier Courtin 3a2e168d32 First implementation of #459. Still need unit tests and docs
git-svn-id: http://svn.osgeo.org/postgis/trunk@7077 b70326c6-7e19-0410-871a-916f4a2858ee
2011-04-30 22:26:18 +00:00
Regina Obe 09e94a071b missed a spot
git-svn-id: http://svn.osgeo.org/postgis/trunk@7064 b70326c6-7e19-0410-871a-916f4a2858ee
2011-04-25 21:19:38 +00:00
Regina Obe 479db05fc1 #923: document fix
git-svn-id: http://svn.osgeo.org/postgis/trunk@7063 b70326c6-7e19-0410-871a-916f4a2858ee
2011-04-25 21:18:15 +00:00
Regina Obe 0d0a95ab1a credit change
git-svn-id: http://svn.osgeo.org/postgis/trunk@7018 b70326c6-7e19-0410-871a-916f4a2858ee
2011-04-11 17:13:51 +00:00
Regina Obe 4971dc9e57 git-svn-id: http://svn.osgeo.org/postgis/trunk@7017 b70326c6-7e19-0410-871a-916f4a2858ee 2011-04-11 16:17:17 +00:00
Regina Obe 23a20132c0 preliminary cunit tests for x3d output functions
git-svn-id: http://svn.osgeo.org/postgis/trunk@7016 b70326c6-7e19-0410-871a-916f4a2858ee
2011-04-11 16:14:29 +00:00
Jorge Arévalo 5cd03f314b liblwgeom/lex.yy.c version 6180 reverted
git-svn-id: http://svn.osgeo.org/postgis/trunk@6982 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-28 22:56:11 +00:00
Jorge Arévalo 5f7d1f9ee9 Missed check added again.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6981 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-28 22:52:59 +00:00
Regina Obe d0095755b4 Fill in coordIndex for multipolygons
git-svn-id: http://svn.osgeo.org/postgis/trunk@6938 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-18 21:13:54 +00:00
Paul Ramsey 19f60054cb Replace variable-length-key 2D index with fixed-length-key for GSERIALIZED case.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6917 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-17 13:44:27 +00:00
Regina Obe 6d74b61ecd Multilinestring working even for closed multilinestrings. Still need to fix polygon and multipolygons. also added example of closed multilinestring.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6915 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-16 22:15:22 +00:00
Regina Obe 02c354beb2 sort of take care of multilinestrings -- doesn't work for multilinestrings with closed linestrings so that's next up to correct.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6914 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-16 20:23:49 +00:00
Regina Obe 2bf0b34042 Alas a functioning polyhedralsurface export viewable in freeWRL. Also add proto that just takes geometry as argument and defaults to precision 15
git-svn-id: http://svn.osgeo.org/postgis/trunk@6903 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-16 04:48:44 +00:00
Regina Obe 577b454c4c Fix copy comment error
git-svn-id: http://svn.osgeo.org/postgis/trunk@6900 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-15 06:01:22 +00:00
Regina Obe 8a64d8217f Lots of fixes. TIN is about perfect, Point, multipoint about perfect too, LINESTRING close.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6899 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-14 17:00:53 +00:00
Regina Obe 9ccce05bff preliminary work on x3d export. Still a lot to go. point, multipoint, tin, linestring almost working. Still need to fiddle with coordindex and spacing and get rid of junk copied from gml not needed.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6897 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-11 21:12:35 +00:00
Nicklas Avén c0c32e6aa0 Copyright notes
git-svn-id: http://svn.osgeo.org/postgis/trunk@6863 b70326c6-7e19-0410-871a-916f4a2858ee
2011-02-24 21:44:19 +00:00
Sandro Santilli 3351fb758b Test new LW_GML_SHORTLINE GML2 option [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6851 b70326c6-7e19-0410-871a-916f4a2858ee
2011-02-22 14:25:22 +00:00
Sandro Santilli a60b0c7d2e Add LW_GML_SHORTLINE flag to prefer <LineString> over <Curve> tag for lines GML3 output [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6850 b70326c6-7e19-0410-871a-916f4a2858ee
2011-02-22 14:25:15 +00:00
Sandro Santilli 160b531256 Use a single bitfield for GML output options [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6849 b70326c6-7e19-0410-871a-916f4a2858ee
2011-02-22 13:01:07 +00:00
Regina Obe 4fd3806ced remark out Paul's cunit test that fails on windows so my regress checks don't always halt and can complete.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6762 b70326c6-7e19-0410-871a-916f4a2858ee
2011-01-28 21:31:53 +00:00
Nicklas Avén 34f4faafe4 fix typo from r6580, and some enhanced notes
git-svn-id: http://svn.osgeo.org/postgis/trunk@6583 b70326c6-7e19-0410-871a-916f4a2858ee
2011-01-08 10:51:39 +00:00
Nicklas Avén 931ed88b53 Fix for ticket #755
git-svn-id: http://svn.osgeo.org/postgis/trunk@6580 b70326c6-7e19-0410-871a-916f4a2858ee
2011-01-07 13:08:53 +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 46133d5280 Guard against empty in isclosed (#740)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6542 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-30 16:54:32 +00:00
Nicklas Avén d72a81b7c1 typo in comment
git-svn-id: http://svn.osgeo.org/postgis/trunk@6537 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-29 15:49:34 +00:00
Nicklas Avén 2a295571f6 3D distance functions against polygons
git-svn-id: http://svn.osgeo.org/postgis/trunk@6528 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-28 22:12:12 +00:00
Paul Ramsey 72cecc3d76 Fix regression failure in standard serialization mode. (#735)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6523 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-28 18:00:34 +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 d96fda6248 ST_Distance_Spheroid is kinda broken (#677)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6516 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-28 00:24:58 +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