Commit graph

4051 commits

Author SHA1 Message Date
Sandro Santilli 5f67d6b4a9 Don't refuse to unparse malformed geometries. Fixes #411. Didn't seem to expose the crash in #168, the testcase for it was expanded to extract invalidity reason.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5214 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-08 18:54:47 +00:00
Sandro Santilli 4220883b8c Simplify hooks on GEOS error reporter function from isvalid* functions
git-svn-id: http://svn.osgeo.org/postgis/trunk@5213 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-06 13:57:52 +00:00
Sandro Santilli 42283ab8a1 Add another test for #407
git-svn-id: http://svn.osgeo.org/postgis/trunk@5212 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-06 13:48:44 +00:00
Olivier Courtin 15b944bf9c Fix non NULL terminated string in ST_AsSVG with GEOMETRYCOLLECTION EMPTY, cf #409 reported by sdikiy. Add related unit test
git-svn-id: http://svn.osgeo.org/postgis/trunk@5211 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-06 10:49:22 +00:00
Sandro Santilli 23e253ef0e Add ST_isValidDetail item
git-svn-id: http://svn.osgeo.org/postgis/trunk@5208 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-05 20:58:32 +00:00
Sandro Santilli f82e241795 Register a buffer-logger as error-reporter from ST_isValidReason and ST_isValidDetail so to catch exceptions thrown by GEOS at postgis->geos conversion for the sake of reporting actual error. Fixes ticket #408. Completed with testcase.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5207 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-05 20:55:54 +00:00
Sandro Santilli c536428885 A space after return type looks better (and seems to be the policy) for funcdef tags
git-svn-id: http://svn.osgeo.org/postgis/trunk@5206 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-05 17:58:25 +00:00
Sandro Santilli cc5170bdf6 Document ST_IsValidDetail
git-svn-id: http://svn.osgeo.org/postgis/trunk@5205 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-05 17:57:20 +00:00
Sandro Santilli cc3f13155e Add ST_isValidDetail(geom) returns valid_detail (new type!)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5204 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-05 17:26:23 +00:00
Sandro Santilli d1112b13fe Astyle run (a-ha, got you!)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5203 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-04 20:30:44 +00:00
Paul Ramsey 67ee851c79 Push version numbers on trunk forward to next release.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5202 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-04 17:43:47 +00:00
Paul Ramsey a738761136 Update release dates and changelog for 1.5.0
git-svn-id: http://svn.osgeo.org/postgis/trunk@5197 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-04 17:21:23 +00:00
Paul Ramsey 27325d61cc Initialize config->createindex value to 0
git-svn-id: http://svn.osgeo.org/postgis/trunk@5195 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-03 22:42:13 +00:00
Paul Ramsey d9eae98863 Fix handling of "missing table argument" case to use file name properly.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5194 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-03 21:42:20 +00:00
Paul Ramsey 91be7cc89d Add --no-psqlrc to run_test (#405)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5193 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-02 23:47:46 +00:00
Paul Ramsey efbe46afd6 Tiny re-format
git-svn-id: http://svn.osgeo.org/postgis/trunk@5190 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-02 22:44:06 +00:00
Paul Ramsey 7cc28c272a Extra information per Greg Troxel
git-svn-id: http://svn.osgeo.org/postgis/trunk@5189 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-02 17:44:18 +00:00
Paul Ramsey 50e31965d2 Update usage string to show correct default encoding.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5188 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-02 16:13:31 +00:00
Paul Ramsey d88a1c0003 astyle recent change
git-svn-id: http://svn.osgeo.org/postgis/trunk@5187 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-02 04:14:29 +00:00
Paul Ramsey 5cf6746c28 Fix segfault on cases where not enough arguments are provided. (#402)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5186 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-02 02:41:36 +00:00
Paul Ramsey 32142bcf98 Fix mis-handling of the commandline operations modes (#401)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5185 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-02 00:15:14 +00:00
Paul Ramsey 0af138172d Silence 'no-eol' compiler warning.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5184 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-01 18:24:09 +00:00
Paul Ramsey 8cabdcf81f 1.5 astyle pass
git-svn-id: http://svn.osgeo.org/postgis/trunk@5181 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-01 17:35:55 +00:00
Paul Ramsey 2bfaa2112f Keep floats out of registers for spheroid calculation. Fixes odd bug in OS/X gcc 4.1. Could probably be narrowed to only use flag on affected platform. (#395)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5180 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-29 21:24:24 +00:00
Regina Obe 6fa673f73f fix example
git-svn-id: http://svn.osgeo.org/postgis/trunk@5179 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-29 18:22:35 +00:00
Paul Ramsey 3c9467dda4 Extra debugging information in spheroid area calculation.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5178 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-29 18:00:16 +00:00
Paul Ramsey d061e19bf1 Make area unit tests actually test against known good values
git-svn-id: http://svn.osgeo.org/postgis/trunk@5177 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-28 17:42:52 +00:00
Olivier Courtin fbec01c10c revert r5175 commit about points results on #304. Related to #395
git-svn-id: http://svn.osgeo.org/postgis/trunk@5176 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-28 15:51:28 +00:00
Olivier Courtin 71f4c88c47 In regress/tickets* Add missing srid 32702 and 32602. Add results from #304 tests. Related to #395
git-svn-id: http://svn.osgeo.org/postgis/trunk@5175 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-28 15:28:04 +00:00
Sandro Santilli 3b09b14843 Fix 'maintainer-clean' rule
git-svn-id: http://svn.osgeo.org/postgis/trunk@5174 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-28 15:09:45 +00:00
Mark Cave-Ayland a676bfaeef Fix astyle.sh script so that if astyle cannot be found then it immediately aborts with an error. Per report from Nicklas.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5173 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-28 14:23:35 +00:00
Mark Cave-Ayland 79912b58fc Add "make astyle" target to clean up source tree formatting as per the style guidelines.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5172 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-28 12:19:04 +00:00
Paul Ramsey 151d59d317 Make GEOS test insist on >= 3.1.1
git-svn-id: http://svn.osgeo.org/postgis/trunk@5171 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-26 21:10:56 +00:00
Paul Ramsey ea8d4c5585 Remove warning from lwline
git-svn-id: http://svn.osgeo.org/postgis/trunk@5170 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-26 20:20:47 +00:00
Paul Ramsey c5d3d7025b Add example for ST_AddMeasure on multilinestring
git-svn-id: http://svn.osgeo.org/postgis/trunk@5169 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-26 19:08:19 +00:00
Paul Ramsey f0894275df Make ST_AddMeasure handle multilinestrings as well as linestrings.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5168 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-26 18:56:22 +00:00
Paul Ramsey e540e7baa4 Remove unneeded See Also section.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5167 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-26 17:24:49 +00:00
Paul Ramsey 62187d8995 Remove ST_StartMeasure ST_EndMeasure
git-svn-id: http://svn.osgeo.org/postgis/trunk@5166 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-26 17:09:30 +00:00
Paul Ramsey ea143119f6 Ignore postgis_comments.sql
git-svn-id: http://svn.osgeo.org/postgis/trunk@5165 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-26 01:13:28 +00:00
Paul Ramsey 26a9c2e81e Replace soft tabs with hard.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5164 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-25 21:08:44 +00:00
Paul Ramsey 37ea66d6e3 Add uninstall recipe for AddMeasure (#390)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5163 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-25 21:06:15 +00:00
Paul Ramsey 7b65335f33 Add ST_AddMeasure and associated documentations (#390)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5162 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-25 21:03:42 +00:00
Nicklas Avén abefba0204 git-svn-id: http://svn.osgeo.org/postgis/trunk@5161 b70326c6-7e19-0410-871a-916f4a2858ee 2010-01-24 09:10:31 +00:00
Nicklas Avén f74a53225c Tiny Typo
git-svn-id: http://svn.osgeo.org/postgis/trunk@5160 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-23 23:31:31 +00:00
Nicklas Avén d886fe1fc9 remove ST_Maxdistance from TODO and note that C-version is still TODO for ST_DumpPoints
git-svn-id: http://svn.osgeo.org/postgis/trunk@5159 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-23 23:29:07 +00:00
Paul Ramsey 69411182c7 Add note on removing milestone from trac
git-svn-id: http://svn.osgeo.org/postgis/trunk@5156 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-22 06:05:10 +00:00
Paul Ramsey b6d4db1bf0 Updates for 1.5.0rc1
git-svn-id: http://svn.osgeo.org/postgis/trunk@5150 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-21 16:44:21 +00:00
Nicklas Avén 4c3126d011 add missing comment
git-svn-id: http://svn.osgeo.org/postgis/trunk@5149 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-21 13:08:34 +00:00
Nicklas Avén 2a46f5271b Fix for make check on MingW #389
git-svn-id: http://svn.osgeo.org/postgis/trunk@5148 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-21 07:19:31 +00:00
Paul Ramsey 462e0ceb8b Updated XML release notes (#374)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5147 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-21 00:06:05 +00:00