Commit graph

4914 commits

Author SHA1 Message Date
Regina Obe 342b6b213a fix some typos and add back curvepolygon example that was crashing before with old ewkt parser
git-svn-id: http://svn.osgeo.org/postgis/trunk@6368 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-14 00:37:18 +00:00
Paul Ramsey 79320ce2bb Second thoughts on stringbuffer changes
git-svn-id: http://svn.osgeo.org/postgis/trunk@6367 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 23:50:52 +00:00
Paul Ramsey 447c10e294 Potential minor speed-up functions for stringbuffering
git-svn-id: http://svn.osgeo.org/postgis/trunk@6366 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 23:40:03 +00:00
Paul Ramsey a086b9a908 Add extra multicurve test for WKT
git-svn-id: http://svn.osgeo.org/postgis/trunk@6365 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 23:34:06 +00:00
Paul Ramsey babffaccab Update parser to handling compound curves within multicurves (#525)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6364 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 21:42:11 +00:00
Paul Ramsey 5b3fb97af4 ST_CollectionExtract returns non-requested type (#457)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6363 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 21:31:29 +00:00
Paul Ramsey 639ab205d8 Return value of snprintf not correctly checked (#556)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6360 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 20:40:48 +00:00
Paul Ramsey 394b847ab5 Improve stringbuffer_t performance (#439). This is largely done already in past passes. Added one small memory fix.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6359 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 20:25:48 +00:00
Paul Ramsey 2a22e258a6 Change default shp2pgsql column to "geom" (#352)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6358 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 20:09:26 +00:00
Regina Obe 804131f347 git-svn-id: http://svn.osgeo.org/postgis/trunk@6357 b70326c6-7e19-0410-871a-916f4a2858ee 2010-12-13 19:50:36 +00:00
Regina Obe c3c376be68 git-svn-id: http://svn.osgeo.org/postgis/trunk@6356 b70326c6-7e19-0410-871a-916f4a2858ee 2010-12-13 19:44:59 +00:00
Regina Obe 6165472397 git-svn-id: http://svn.osgeo.org/postgis/trunk@6355 b70326c6-7e19-0410-871a-916f4a2858ee 2010-12-13 19:44:35 +00:00
Paul Ramsey 120278afd1 Fix ST_Segmentize on curved geometries -- CRASH (#706). This is actually a reflection of inconsistency in the lwgeom_clone() function (creates copy of everything except point array) and the ptarray_clone() function (creates copy of everything). The definitions of _clone, _copy, _release, and _free need to be made consistent and documented.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6354 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 19:43:43 +00:00
Regina Obe 83157df7b0 git-svn-id: http://svn.osgeo.org/postgis/trunk@6353 b70326c6-7e19-0410-871a-916f4a2858ee 2010-12-13 19:42:29 +00:00
Regina Obe 342bcbca1b git-svn-id: http://svn.osgeo.org/postgis/trunk@6352 b70326c6-7e19-0410-871a-916f4a2858ee 2010-12-13 19:34:35 +00:00
Regina Obe 25c67df263 git-svn-id: http://svn.osgeo.org/postgis/trunk@6351 b70326c6-7e19-0410-871a-916f4a2858ee 2010-12-13 19:32:58 +00:00
Regina Obe 548b33d8e9 git-svn-id: http://svn.osgeo.org/postgis/trunk@6350 b70326c6-7e19-0410-871a-916f4a2858ee 2010-12-13 19:25:49 +00:00
Paul Ramsey c5c1ffbe5f Fix up failure in distance calculation (#705) and replace some SRID -1 with SRID_UNKNOWN
git-svn-id: http://svn.osgeo.org/postgis/trunk@6349 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 19:25:15 +00:00
Regina Obe 02e5c33205 git-svn-id: http://svn.osgeo.org/postgis/trunk@6348 b70326c6-7e19-0410-871a-916f4a2858ee 2010-12-13 19:19:18 +00:00
Regina Obe d4b22adae3 Okay changed this to LF since people seemed to like changing this one a lot. We'll see if this fixes my frustrations without causing any frustration for anyone else.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6347 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 16:38:26 +00:00
Regina Obe 6ed503922a remove collection of geometries into crasher group to prevent testing until we revisit #700
git-svn-id: http://svn.osgeo.org/postgis/trunk@6346 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 13:14:51 +00:00
Sandro Santilli ccede85f76 Add comments on the 'edge' topology primitives view
git-svn-id: http://svn.osgeo.org/postgis/trunk@6345 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 10:49:18 +00:00
Sandro Santilli fa64621762 typo
git-svn-id: http://svn.osgeo.org/postgis/trunk@6344 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 09:51:30 +00:00
Nicklas Avén 7ab86c96e3 3d distance functions for line-line cases
git-svn-id: http://svn.osgeo.org/postgis/trunk@6343 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-12 22:42:19 +00:00
Nicklas Avén 1ae1fb8107 Some cleaning up in measure functions in lwgeom_functions_basic.c
git-svn-id: http://svn.osgeo.org/postgis/trunk@6342 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-12 18:59:31 +00:00
Paul Ramsey 9b0af95c1b Remove more SERIALIZED_FORM
git-svn-id: http://svn.osgeo.org/postgis/trunk@6341 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-12 00:12:58 +00:00
Paul Ramsey 1ae5b8f68b ptarray_free now frees the serialized_ptlist, unless FLAGS_GET_READONLY is set.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6340 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-11 00:28:57 +00:00
Sandro Santilli d383600a23 Do not force drop of pre-existing topology schema. Sounds dangerous when start using it for real.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6339 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-11 00:27:25 +00:00
Paul Ramsey cda972ad06 Switch to cstring2text for text returns.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6338 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 23:22:59 +00:00
Paul Ramsey b9aacd1058 Clean out more SERIALIZED_FORM calls
git-svn-id: http://svn.osgeo.org/postgis/trunk@6337 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 23:15:37 +00:00
Paul Ramsey 2e9206755f Clean out some more calls to SERIALIZED_FORM
git-svn-id: http://svn.osgeo.org/postgis/trunk@6336 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 22:45:39 +00:00
Paul Ramsey c7697e2359 Issues with TRIANGLE AND TIN EMPTY collections - hmm do they exist? (#686)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6335 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 20:22:19 +00:00
Paul Ramsey 87b97bb1dd Fix for TIN EMPTY per #686
git-svn-id: http://svn.osgeo.org/postgis/trunk@6334 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 19:44:10 +00:00
Paul Ramsey a2dbab5b3f Fix cunit failures on Polyhedral surface (#697)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6333 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 19:10:16 +00:00
Paul Ramsey 417ee6b8d8 WKB and WKT closure checks are now in X/Y only (#693)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6332 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 18:10:34 +00:00
Sandro Santilli a7b53155c5 Revert GNUMakefile changes as per Mark request. I had enough complains about build scripts this week...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6331 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 18:06:36 +00:00
Paul Ramsey 31241b5881 Fix ST_Segmentize and Polyhedral Surface -- CRASH (#696)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6330 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 18:00:40 +00:00
Sandro Santilli ad15de80f5 Add 'uninstall' rule in the loop. Work around the docs dep by using uninstall deps. Add an 'uninstall' rule to raster subsystem
git-svn-id: http://svn.osgeo.org/postgis/trunk@6329 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 17:57:54 +00:00
Sandro Santilli b6b629d981 Be verbose during recursion. List liblwgeom in SUBDIRS, stub install rules for liblwgeom and utils
git-svn-id: http://svn.osgeo.org/postgis/trunk@6328 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 17:49:20 +00:00
Sandro Santilli a67cd301d7 more ignores
git-svn-id: http://svn.osgeo.org/postgis/trunk@6327 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 17:29:24 +00:00
Sandro Santilli 1443eb0666 Start listing some subdirs to recurse into. Hopefully one day this will become cleaner
git-svn-id: http://svn.osgeo.org/postgis/trunk@6326 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 17:19:58 +00:00
Sandro Santilli 99486a4a7b add .svn to .gitignore (why is this in repo ? oh well.. it is useful anyway)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6325 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 17:19:29 +00:00
Paul Ramsey c0dce4892f Fix for crash in ST_RemovePoint (#695)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6324 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 15:45:03 +00:00
Mateusz Loskot 0e3b39fcfb Fixed problems with truncated decimal places of float-point values in textual output. For large datasets, it was leading to incorrectly calculated dimensions. Now, all floats are formatted with 15 decimal places.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6323 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 14:53:17 +00:00
Paul Ramsey 1694507d1c Wrap up GEOS predicates in EMPTY tests (#685)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6322 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-09 19:17:49 +00:00
Paul Ramsey 96cb871a93 Remove old function calls
git-svn-id: http://svn.osgeo.org/postgis/trunk@6321 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-09 18:52:20 +00:00
Paul Ramsey 35f3457ea6 Fix for centroid crash on emtpy (#684)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6320 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-09 18:51:48 +00:00
Paul Ramsey ce028a39f0 Fix crash in ST_MakeLine (#690)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6319 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-09 18:00:18 +00:00
Paul Ramsey e877933a7d Add config rpath
git-svn-id: http://svn.osgeo.org/postgis/trunk@6318 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-09 16:10:01 +00:00
Regina Obe a6b2f13ddb formatting
git-svn-id: http://svn.osgeo.org/postgis/trunk@6317 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-09 15:00:20 +00:00