Commit graph

550 commits

Author SHA1 Message Date
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
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 973594a967 Last regression fixes for postgis-on-gserialized
git-svn-id: http://svn.osgeo.org/postgis/trunk@6481 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-22 22:40:58 +00:00
Paul Ramsey 478d697722 Change srid from uint32 to int32 and update gserialized and TYPMOD handlers to deal with signed SRIDs
git-svn-id: http://svn.osgeo.org/postgis/trunk@6480 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-22 21:16:06 +00:00
Paul Ramsey 20ea0dfbae Continue working GSERIALIZED_ON into the code base. Working on switching BOX2DFLOAT4 to a GBOX
git-svn-id: http://svn.osgeo.org/postgis/trunk@6468 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-22 01:08:56 +00:00
Paul Ramsey 4a8cccc765 Remove some ST_ variants of cast-support functions (#302), and start legacy.sql.in.c (#722)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6467 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-21 23:56:23 +00:00
Paul Ramsey 27d02acd29 More clean-up and work on using gserialized.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6463 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-21 21:39:28 +00:00
Paul Ramsey 59e64e6569 Push the UNKNOWN forcing down into gserialized get/set
git-svn-id: http://svn.osgeo.org/postgis/trunk@6462 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-21 18:01:27 +00:00
Paul Ramsey 0fca041c73 Some preliminary fixes to support SRID_UNKNOWN == 0
git-svn-id: http://svn.osgeo.org/postgis/trunk@6458 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-21 01:55:28 +00:00
Paul Ramsey 0762eea772 Arg, there's regression breaks in the last commit!
git-svn-id: http://svn.osgeo.org/postgis/trunk@6454 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-20 19:31:28 +00:00
Paul Ramsey 079be83c16 ST_Intersection for geography is really messed up (#723)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6453 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-20 19:16:33 +00:00
Paul Ramsey b01a34f72f Remove a few more old constructions in favour of forward-compatible approaches.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6450 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-20 04:39:27 +00:00
Paul Ramsey 50fb1f2d2d Remove oddity around gbox duplication
git-svn-id: http://svn.osgeo.org/postgis/trunk@6442 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-18 04:54:22 +00:00
Paul Ramsey e496d56333 More syncro between geometry and geography. Stubbed index binding.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6441 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-18 00:38:15 +00:00
Paul Ramsey ebc5208d24 Harmonize some index support functions to be more generic gserialized functions and less specific geography functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6438 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-17 21:32:11 +00:00
Paul Ramsey fd6d759590 Re-orgs to push the geodetic/cartesian divide a little further under the covers as part of the geometry/geography group hug at the index bindings level.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6437 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-17 20:10:36 +00:00
Sandro Santilli a5815310b0 Add 'distclean' to the SUBDIRS target
git-svn-id: http://svn.osgeo.org/postgis/trunk@6416 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-16 16:28:28 +00:00
Paul Ramsey 3c9593f96b Add in #defines to allow conditional switch-over to GSERIALIZED
git-svn-id: http://svn.osgeo.org/postgis/trunk@6409 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-15 21:31:54 +00:00