Commit graph

576 commits

Author SHA1 Message Date
Sandro Santilli d4c4cf4d06 Document memory management of lwdoubles_to_latlon and lwpoint_to_latlon
git-svn-id: http://svn.osgeo.org/postgis/trunk@7577 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-04 12:29:31 +00:00
Sandro Santilli 1fc2d96a2b Add missing circular types to geomtype_struct_array, fixing bug #1094
git-svn-id: http://svn.osgeo.org/postgis/trunk@7575 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-04 11:24:37 +00:00
Sandro Santilli a1b0bd03a2 Do not hard-code lenght of geomtype struct array (See #1094)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7574 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-04 11:24:32 +00:00
Paul Ramsey 646d43fc13 Change CompoundString to CompoundCurve
git-svn-id: http://svn.osgeo.org/postgis/trunk@7504 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-27 19:24:00 +00:00
Paul Ramsey a8fcf4ee0b Fix type name for CompoundCurve
git-svn-id: http://svn.osgeo.org/postgis/trunk@7497 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-27 18:02:47 +00:00
Paul Ramsey 2ac38cfd53 ST_IsValidDetail and ST_IsValidReason POLYGON CRASH (#712)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7491 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-26 17:31:30 +00:00
Paul Ramsey 37e28e68c6 Make test for co-linearity a little more double-barrelled.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7490 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-26 03:15:46 +00:00
Paul Ramsey 3c7db22d95 Simplify circle stroking code (#1057)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7489 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-26 02:29:17 +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 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