Commit graph

4914 commits

Author SHA1 Message Date
Paul Ramsey 52f5e1d919 Remove more appeals to pglwgeom->type
git-svn-id: http://svn.osgeo.org/postgis/trunk@6316 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 23:58:51 +00:00
Paul Ramsey 8d7394cfb2 Remove more appeals to pglwgeom->type
git-svn-id: http://svn.osgeo.org/postgis/trunk@6315 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 23:52:38 +00:00
Paul Ramsey b29ea47814 Remove more appeals to pglwgeom->type
git-svn-id: http://svn.osgeo.org/postgis/trunk@6314 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 23:40:38 +00:00
Paul Ramsey be0118a664 Remove another call to TYPE_HASBBOX
git-svn-id: http://svn.osgeo.org/postgis/trunk@6313 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 23:29:49 +00:00
Paul Ramsey c304020af2 Remove call to TYPE_HASBBOX
git-svn-id: http://svn.osgeo.org/postgis/trunk@6312 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 23:28:33 +00:00
Paul Ramsey 52e0ea43d8 Remove many cases of calls to SERIALIZED_FORM in favour of direct pglwgeom deserialization
git-svn-id: http://svn.osgeo.org/postgis/trunk@6311 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 23:27:37 +00:00
Regina Obe ac756b26d2 need to keep GEOMETRYCOLLECTION EMPTY away from others since GEOS throws geometry collection not support for it often so hiding the crashing in some cases of typed empties.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6310 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 23:19:48 +00:00
Paul Ramsey 892caa698a Remove many instances of lwgeom_getType used on PG_LWGEOM
git-svn-id: http://svn.osgeo.org/postgis/trunk@6309 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 22:31:28 +00:00
Regina Obe 97d243f3da Add more emptiness. We need to explore emptiness more deeply :)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6308 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 22:02:41 +00:00
Paul Ramsey 6e6b0cdc85 When asking for a serialized forms type, use pglwgeom_get_type
git-svn-id: http://svn.osgeo.org/postgis/trunk@6307 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 21:21:18 +00:00
Paul Ramsey a0b3762501 Cut down reliance on TYPE_GETTYPE macro in favor of a function we can repoint later in the serialization change process
git-svn-id: http://svn.osgeo.org/postgis/trunk@6306 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 20:54:45 +00:00
Paul Ramsey 9d0bf60c95 Expunge some TYPE_GETTYPE
git-svn-id: http://svn.osgeo.org/postgis/trunk@6305 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 20:35:43 +00:00
Paul Ramsey 8cbd92b83e Start to work on PG_LWGEOM sanity before changeover
git-svn-id: http://svn.osgeo.org/postgis/trunk@6304 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 20:35:11 +00:00
Paul Ramsey 3b0736d940 Rename has_arc to lwgeom_has_arc
git-svn-id: http://svn.osgeo.org/postgis/trunk@6303 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 19:24:08 +00:00
Paul Ramsey 981517b205 Fix crash on BuildArea(empty) (#683)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6302 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 19:23:47 +00:00
Paul Ramsey 0152eeedc2 Handle empty geometries in ST_Buffer(). If argument empty, return empty. (#682)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6301 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 18:20:18 +00:00
Paul Ramsey 59b90ac7c5 Fix crash in GML output of POLYGON EMPTY (#681)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6300 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 18:06:39 +00:00
Paul Ramsey 6b594e05b5 Fix AsBinary handling of > 2d features in geography (#680)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6299 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 16:20:37 +00:00
Paul Ramsey ba8ee1f4cb Output higher dimensions in astext in geography (#680)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6298 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 16:04:37 +00:00
Paul Ramsey a4dfe6d59f Minor rearrangement of memory handling.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6295 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 00:23:07 +00:00
Paul Ramsey b05eea79c6 Rename lwgeom_from_wkt to lwgeom_parse_wkt to note the use of the parser object.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6294 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 00:02:31 +00:00
Paul Ramsey 77b08404a5 Start flipping over references to srid = -1 to srid = SRID_UNKNOWN
git-svn-id: http://svn.osgeo.org/postgis/trunk@6293 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-07 21:59:54 +00:00
Sandro Santilli 03088d59b5 Use unified diffs for expected/obtained (easier to read)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6292 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-07 21:55:07 +00:00
Paul Ramsey 4cc4123357 Replace the old WKB/WKT parser and emitters with the new ones.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6291 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-07 21:08:05 +00:00
Regina Obe 6c9ea49da1 change to 1 column (st_sharedpaths)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6290 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-07 14:02:55 +00:00
Regina Obe d04b5e0a6a reduce width some more
git-svn-id: http://svn.osgeo.org/postgis/trunk@6289 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-07 13:45:10 +00:00
Regina Obe 17abfbcae6 change color to be clearer reduce width of text
git-svn-id: http://svn.osgeo.org/postgis/trunk@6288 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-07 13:42:27 +00:00
Regina Obe 8ac7e09aca end tbody
git-svn-id: http://svn.osgeo.org/postgis/trunk@6287 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-07 12:51:47 +00:00
Regina Obe 0b3ca97ba9 fix formatting
git-svn-id: http://svn.osgeo.org/postgis/trunk@6286 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-07 12:45:34 +00:00
Regina Obe 6e810dab69 diagram of shared paths
git-svn-id: http://svn.osgeo.org/postgis/trunk@6285 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-07 12:42:28 +00:00
Regina Obe be2816d24e formatting fixes
git-svn-id: http://svn.osgeo.org/postgis/trunk@6284 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-07 12:25:03 +00:00
Regina Obe 3cdc711a41 more examples to demonstrate its not just limited to 1 point snapping
git-svn-id: http://svn.osgeo.org/postgis/trunk@6283 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-07 12:02:00 +00:00
Regina Obe 623c10a8df looks funny in one row, better put each in separate row
git-svn-id: http://svn.osgeo.org/postgis/trunk@6282 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-07 08:30:21 +00:00
Regina Obe d783c61029 example with diagram for ST_Snap
git-svn-id: http://svn.osgeo.org/postgis/trunk@6281 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-07 07:56:36 +00:00
Regina Obe 2201a7349b minor comment corrections
git-svn-id: http://svn.osgeo.org/postgis/trunk@6280 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-06 15:15:49 +00:00
Regina Obe 4e2f2f2b9d start logging sql queries to log table
git-svn-id: http://svn.osgeo.org/postgis/trunk@6279 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-06 15:15:22 +00:00
Sandro Santilli 35f8533793 Add a couple more cases provided by RT-SITA
git-svn-id: http://svn.osgeo.org/postgis/trunk@6278 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-06 15:07:48 +00:00
Sandro Santilli 0eae299124 Document ST_Snap, xref with SnapToGrid
git-svn-id: http://svn.osgeo.org/postgis/trunk@6277 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-06 14:52:50 +00:00
Sandro Santilli f35e41a731 Fix typo in ST_SharedPaths documentation, add some xrefs
git-svn-id: http://svn.osgeo.org/postgis/trunk@6276 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-06 14:21:32 +00:00
Paul Ramsey f15ed06fc5 Updates to the WKT parser to report errlocation in more places.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6275 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-03 21:38:52 +00:00
Paul Ramsey a1ea60fccf Make use of ptarray api for manipulating serialized_pointlist
git-svn-id: http://svn.osgeo.org/postgis/trunk@6274 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-03 16:53:33 +00:00
Paul Ramsey c9f6c54f42 Remove a couple warnings.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6273 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-03 15:53:15 +00:00
Sandro Santilli ac0d74c59b Add SNAP test reported on JTS mailing list
git-svn-id: http://svn.osgeo.org/postgis/trunk@6272 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-03 10:13:38 +00:00
Sandro Santilli 62733cf339 Fix release of wrong memory (same bug as #670, found here for copy&paste)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6271 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-03 09:53:31 +00:00
Sandro Santilli 8727889a67 FREE the right argument (fixes bug #670)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6270 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-03 09:22:35 +00:00
Sandro Santilli ab461267c9 Add test for bug 670
git-svn-id: http://svn.osgeo.org/postgis/trunk@6269 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-03 09:00:54 +00:00
Regina Obe e235f4ef33 document st_sharedpaths and alphabetize listings
git-svn-id: http://svn.osgeo.org/postgis/trunk@6268 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-03 05:40:41 +00:00
Paul Ramsey a907649647 Change i18n instructions to use shp2pgsql_LANG.po as format for po file names.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6267 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-02 20:38:06 +00:00
Paul Ramsey 06128fc114 Remove serialized_pointlist direct access from ./postgis
git-svn-id: http://svn.osgeo.org/postgis/trunk@6266 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-02 20:35:57 +00:00
Paul Ramsey e777a7957f Move is_closed fully to liblwgeom and remove LWGEOM_INSPECTED from IsClosed
git-svn-id: http://svn.osgeo.org/postgis/trunk@6265 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-02 19:09:57 +00:00