Sandro Santilli
6858a09203
Fix memory leak in lwgeom_split
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8205 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 14:59:30 +00:00
Sandro Santilli
2b175a2560
Hush warning about missing prototype.
...
This is really a commit intended to amend the previous for the sake
of pointing to the correct bug being closed by it: #1273 (not #1023
which is more complex)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8204 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 12:10:25 +00:00
Sandro Santilli
a12f1614a8
Have gserialized_get_gbox_p always return a round-to-float box
...
That is, even when computing the box from scratch.
This makes the box always float-oriented,
consistently between cached and computed boxes.
Closes (hopefully forever) bug #1023 .
Includes testcase otherwise failing.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8203 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 12:03:48 +00:00
Sandro Santilli
4cbae93e9e
Add testcase for ticket #1302 (now passes)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8202 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 09:33:51 +00:00
Sandro Santilli
f622223663
Update expected error messages not to include the "topology" namespace (now that it's part of the search_path).
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8201 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 08:33:43 +00:00
Sandro Santilli
ad654fc47d
Rename "LibGeom Suite" to simply "libgeom", for easy of use
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8200 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 08:23:31 +00:00
Sandro Santilli
c99397c62f
Surrender to evidence of the narrow ring tested being clockwise
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8199 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 08:21:41 +00:00
Sandro Santilli
50593de781
Improve robustness of ptarray_isccw (see #1302 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8198 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 08:08:18 +00:00
Regina Obe
243df1584e
Logic to add topology to database search path on install or upgrade
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8197 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 07:48:23 +00:00
Regina Obe
37eff362f3
FIX upgrade script - complement to r8186 - drop all mapalgebra functions before upgrade because for pg9.0+ CREATE OR REPLACE FUNCTION fails if argument names have changed. Also update docs to reflect new naming of userfunction to onerasteruderfunc,tworasteruserfunc,onerasternguserfunc
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8196 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 04:02:24 +00:00
Regina Obe
17d7faa55d
fix some ST_MapAlgebra userfunc arg names to agree with code. Still ng ones to go and drop fix.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8195 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-20 21:37:44 +00:00
Sandro Santilli
fb8e246a7a
Add another test for ptarray_isccw, which incredibly seems to disagree with the same check done when the same ring occurs in a polygon
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8194 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-20 21:35:18 +00:00
Sandro Santilli
70e7934d65
Do not memcpy to self in ptarray_reverse (see #1302 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8193 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-20 21:19:12 +00:00
Sandro Santilli
9e055f1d2d
Better indent for comparing obtained/expected
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8192 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-20 21:19:07 +00:00
Sandro Santilli
72fb032864
Fix 'clean' rule under loader to drop stuff under .libs
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8191 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-20 20:51:27 +00:00
Sandro Santilli
ae35965dfb
Add test for lwgeom_force_clockwise (see #1302 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8190 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-20 20:51:22 +00:00
Sandro Santilli
2d2e91275b
Add test for ptarray_isccw (see #1302 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8189 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-19 17:28:33 +00:00
Bborie Park
ab61f4c1b9
Addition of function rt_util_gdal_datatype_to_pixtype to complement rt_util_pixtype_to_gdal_datatype.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8188 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 23:47:35 +00:00
David Zwarg
9c5c07eaaa
Documented ST_Rotation and ST_SetRotation.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8187 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 22:38:34 +00:00
Bborie Park
b4f0215f7e
Update parameter names for regprocedure data types
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8186 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 21:41:55 +00:00
David Zwarg
5255d20dab
Nodata mode defaults to 'ignore' if it is NULL. Added tests for out of range neighborhoods.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8185 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 21:28:04 +00:00
David Zwarg
d7c4d5437d
Non-functional change. Updated author email address for dzwarg.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8184 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 20:56:57 +00:00
David Zwarg
663a3de49e
Refactored ST_MapAlgebraFctNgb to cache userfunction lookup, and accept NULL input and output values.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8183 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 20:53:46 +00:00
David Zwarg
15c2f240d2
Refactored ST_MapAlgebraFct to cache userfunction lookup, and accept NULL input and output values.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8182 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 20:15:00 +00:00
Bborie Park
028ea10f03
Added a flag --with-raster-dblwarning so as to provide the software builder the option of enabling all the value truncation/clamping/conversion warnings, which can be many. The new default is to suppress those warnings. All appropriate regression tests have been updated.
...
Associated ticket is #1307
git-svn-id: http://svn.osgeo.org/postgis/trunk@8181 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 18:30:00 +00:00
David Zwarg
1459ec6ebd
Enabled all tests on ST_MapAlgebraFctNgb.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8180 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 15:53:54 +00:00
David Zwarg
9ba7a6f7e4
Fixed debug problem in #1308
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8179 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 14:53:36 +00:00
Regina Obe
87fa569eb0
fix minor typo
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8178 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 13:59:37 +00:00
Regina Obe
bae31762d6
document new ST_GeomFromGeoJSON function. Will provide examples later once resolved my JSON-C compilation issues
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8177 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 13:58:47 +00:00
Regina Obe
6a224caf22
minor corrections
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8176 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 13:24:40 +00:00
Regina Obe
63d0e6f221
increment alpha release number to allow upgrade with extensions
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8175 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 03:36:13 +00:00
Regina Obe
8f54b1b807
fix code comment
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8174 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 03:08:15 +00:00
Regina Obe
0091b2d5c6
forgot pixeltype in ngb arg list
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8173 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 02:54:03 +00:00
Regina Obe
ab9c39ad7a
fix typo in linkends
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8172 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 02:48:08 +00:00
Regina Obe
b0e613318d
put in missing spaces
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8171 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 02:32:21 +00:00
Regina Obe
51715284de
ST_MapAlgebraFctNgb (and put in immuatable for other st_mapalgebras)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8170 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 02:31:02 +00:00
Regina Obe
9e7dea4b9a
#1306 : document rescale and provide examples, fix st_resample args. (still 2 more to go in this ticket)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8169 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 01:15:54 +00:00
Paul Ramsey
ace966d7c3
Move library link to appropriate place.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8168 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 00:29:19 +00:00
Paul Ramsey
07b03da783
Add ST_GeomFromGeoJSON ( #376 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8167 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 00:17:56 +00:00
Regina Obe
a096f85bb3
correct ST_Resample arguments to agree with implementation. Still need to fill in descriptions of what all params mean
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8166 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 00:17:37 +00:00
Bborie Park
8faec69f9a
Fix the 8.4 error only described in #1296 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8165 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-17 22:48:57 +00:00
Bborie Park
b0d49a75a7
Additional corrections and cleanup for ST_BandNoDataValue
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8164 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-17 15:04:50 +00:00
Bborie Park
126497eeb6
Fixed a bunch of other nodataval datatype issues.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8163 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-17 14:57:40 +00:00
Bborie Park
6183db8972
Fixed invalid handling of nodatavalue in ST_BandMetaData(). Issue arises due to C backend using Float8GetDatum while SQL frontend using real datatype.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8162 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-17 14:49:34 +00:00
Regina Obe
b3c88f4103
put in some spacing
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8161 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-17 04:25:51 +00:00
Regina Obe
879dbc0616
more event ideas
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8160 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-17 01:44:08 +00:00
Regina Obe
b86e8ad814
put in missing svn:keywords fix formatting of cards so easier to break on pages
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8159 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-16 20:39:43 +00:00
Regina Obe
61d688ca1e
Post GIS day commemorative cards generator
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8158 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-16 17:38:44 +00:00
Regina Obe
2412000666
logic to create a an topology_upgrade_20_minor.sql
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8157 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-16 03:41:37 +00:00
Bborie Park
78010c6c62
Removed hardcoded SRID of 0 and replaced with ST_SRID('Point(0 0)'::geometry)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8156 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-15 18:15:36 +00:00