]>
granicus.if.org Git - postgis/log
Bborie Park [Thu, 27 Oct 2011 14:09:47 +0000 (14:09 +0000)]
Added rtpostgis_drop.sql, rtpostgis_drop.sql.in, rtpostgis_upgrade.sql and rtpostgis_upgrade_20_minor.sql to svn:ignore
git-svn-id: http://svn.osgeo.org/postgis/trunk@8012
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Thu, 27 Oct 2011 14:08:24 +0000 (14:08 +0000)]
Refactored rt_band_get_min_value() to call new function rt_pixtype_get_min_value(). Addition of function rt_util_extent_type().
git-svn-id: http://svn.osgeo.org/postgis/trunk@8011
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 26 Oct 2011 23:47:16 +0000 (23:47 +0000)]
Remove PG_LWGEOM_construct
git-svn-id: http://svn.osgeo.org/postgis/trunk@8010
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 26 Oct 2011 23:21:05 +0000 (23:21 +0000)]
Remove orphaned pglwgeom function pglwgeom_compute_serialized_box3d
git-svn-id: http://svn.osgeo.org/postgis/trunk@8009
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 26 Oct 2011 23:07:17 +0000 (23:07 +0000)]
Remove non-gserialized portions of utility functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8008
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 26 Oct 2011 22:58:21 +0000 (22:58 +0000)]
Remove more orphaned box2d support functions
git-svn-id: http://svn.osgeo.org/postgis/trunk@8007
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 26 Oct 2011 22:36:22 +0000 (22:36 +0000)]
Remove *_compute_box2d* functions that are now orphans.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8006
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 25 Oct 2011 21:19:39 +0000 (21:19 +0000)]
Remove gserialized_on conditionals. Only type defines remain to be cleared out.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8005
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 25 Oct 2011 21:05:42 +0000 (21:05 +0000)]
Remove old box2dfloat4 in favor of gbox.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8004
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 25 Oct 2011 20:31:15 +0000 (20:31 +0000)]
Add own copyright on the file. See http://postgis.refractions.net/pipermail/postgis-devel/2004-March/thread.html for historical mail exchanges about it :)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8003
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 25 Oct 2011 20:02:25 +0000 (20:02 +0000)]
Remove old serialized_form index selectivity code.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8002
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Fri, 21 Oct 2011 21:49:25 +0000 (21:49 +0000)]
Explode the topology sections to keep primitive (sql/mm) topology management more separate from higher (TopoGeometry) management.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8001
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Fri, 21 Oct 2011 21:42:12 +0000 (21:42 +0000)]
Added rt_raster_set_geotransform_matrix() to provide quick setting of a raster's geotransform based upon the matrix
git-svn-id: http://svn.osgeo.org/postgis/trunk@8000
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Fri, 21 Oct 2011 19:10:53 +0000 (19:10 +0000)]
Corrected rt_raster_same_alignment() and RASTER_sameAlignment() to behave as an end-user would expect it to. So intead of errors when parameters don't match, return false.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7999
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Fri, 21 Oct 2011 18:11:46 +0000 (18:11 +0000)]
Changed rt_raster_has_no_band to use 0-based band index instead of 1-based. Removed function prototype ST_HasNoData(raster) as the other prototype ST_HasNoData(raster, nband) now uses the default value of 1 for nband.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7998
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Fri, 21 Oct 2011 14:53:29 +0000 (14:53 +0000)]
Changed those functions that is 1-based for band index to 0-based in rt_core. This leaves only rt_raster_has_no_band, which may have other issues as well.
Associated ticket is #754
git-svn-id: http://svn.osgeo.org/postgis/trunk@7997
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Fri, 21 Oct 2011 12:01:12 +0000 (12:01 +0000)]
put in logic to st_setsrid to wgs84 before doing st_distance_sphere in case Paul decides he doesn't want to fix the regression issue noted in #1243
git-svn-id: http://svn.osgeo.org/postgis/trunk@7996
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Thu, 20 Oct 2011 22:24:07 +0000 (22:24 +0000)]
Renamed RASTER_samealignment() to RASTER_sameAlignment() and corrected C++ style comments with C comments
git-svn-id: http://svn.osgeo.org/postgis/trunk@7995
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Thu, 20 Oct 2011 22:07:45 +0000 (22:07 +0000)]
Removed use of PG_DETOAST_DATUM_COPY and PG_FREE_IF_COPY as all rasters should be detoasted using PG_DETOAST_DATUM as it doesn't create a copy, thus consuming more space.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7994
b70326c6 -7e19-0410-871a-
916f4a2858ee
David Zwarg [Thu, 20 Oct 2011 13:31:06 +0000 (13:31 +0000)]
Replaced missing signatures of ST_MapAlgebraFct.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7993
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 20 Oct 2011 00:49:38 +0000 (00:49 +0000)]
move function args to single line so CREATe EXTENSION topology FROM unpackaged script builds corectly
git-svn-id: http://svn.osgeo.org/postgis/trunk@7992
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Wed, 19 Oct 2011 23:47:57 +0000 (23:47 +0000)]
add in missing ST_MapAlgebraFct protos
git-svn-id: http://svn.osgeo.org/postgis/trunk@7991
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Wed, 19 Oct 2011 23:25:54 +0000 (23:25 +0000)]
evidentally missed one or get the wrong ST_MapAlgebraFct proto in last commit
git-svn-id: http://svn.osgeo.org/postgis/trunk@7990
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Wed, 19 Oct 2011 20:31:28 +0000 (20:31 +0000)]
Get rid of st_mapalgebrafct(raster,text,regprocedure,text[]) proto since there is no matching function - messing up my ability to test my extensions
git-svn-id: http://svn.osgeo.org/postgis/trunk@7989
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 18 Oct 2011 11:37:56 +0000 (11:37 +0000)]
#860 Get rid of some dup definitions in ST_MapAlgebraFct and add some missing ones.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7988
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 18 Oct 2011 02:23:57 +0000 (02:23 +0000)]
Add postgis_before_drop for dropping functions that have arument names renamed before reinstall. Just for upgrade script since can't do CREATE OR REPLACE if arg names have changed
git-svn-id: http://svn.osgeo.org/postgis/trunk@7987
b70326c6 -7e19-0410-871a-
916f4a2858ee
David Zwarg [Mon, 17 Oct 2011 16:16:37 +0000 (16:16 +0000)]
Fixed documentation code listing typo for ST_MapAlgebraFct, and added more information about userfunctions and variadic text args.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7986
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 17 Oct 2011 13:45:46 +0000 (13:45 +0000)]
update bios
git-svn-id: http://svn.osgeo.org/postgis/trunk@7985
b70326c6 -7e19-0410-871a-
916f4a2858ee
David Zwarg [Mon, 17 Oct 2011 13:10:13 +0000 (13:10 +0000)]
Added ST_MapAlgebraFct to documentation, with same examples as ST_MapAlgebraExpr
git-svn-id: http://svn.osgeo.org/postgis/trunk@7984
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 16 Oct 2011 18:17:54 +0000 (18:17 +0000)]
upgrade from a1-a3 for topology, beginning of upgrade extension for postgis -- still need to resolve issue of ALTER EXTENSION not having a DROP IF EXISTS -- a bit annoying for aggs.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7983
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Fri, 14 Oct 2011 22:43:43 +0000 (22:43 +0000)]
Move XMin/Max etc out of miscellaneous into accessors -- Per Pierre's suggestion. Seems more logical.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7982
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Fri, 14 Oct 2011 22:36:49 +0000 (22:36 +0000)]
Getr di of the word function in heard. Guess it is kind of stupid
git-svn-id: http://svn.osgeo.org/postgis/trunk@7981
b70326c6 -7e19-0410-871a-
916f4a2858ee
David Zwarg [Fri, 14 Oct 2011 18:11:27 +0000 (18:11 +0000)]
Implemented raster map algebra with user functions/callbacks. (#860)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7980
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 13 Oct 2011 17:54:37 +0000 (17:54 +0000)]
Actually we use bash code, not sh code
git-svn-id: http://svn.osgeo.org/postgis/trunk@7979
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 13 Oct 2011 12:28:15 +0000 (12:28 +0000)]
Add _ST_Resample -- evidentally arg names changed. also got rid of arg names in _ST_AsRaster
git-svn-id: http://svn.osgeo.org/postgis/trunk@7977
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 13 Oct 2011 11:56:20 +0000 (11:56 +0000)]
Some functions need to be dropped before upgrade minor if they need to be recreated. This is required for functions where argument names change but fundamental types do not. Will add this to upgrade minor script build later.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7976
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Wed, 12 Oct 2011 14:36:53 +0000 (14:36 +0000)]
Bug fix for _ST_Intersects(geometry, raster) where the buffering of the intersection could return NULL. This happens if the buffer was passed zero for the buffer distance.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7975
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Wed, 12 Oct 2011 12:51:50 +0000 (12:51 +0000)]
move ST_AddBand to raster constructors section per ticket #1240 and rename Raster Band Accessors and Constructors to just Raster Band Accessors
git-svn-id: http://svn.osgeo.org/postgis/trunk@7974
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Wed, 12 Oct 2011 11:26:24 +0000 (11:26 +0000)]
another minor correction
git-svn-id: http://svn.osgeo.org/postgis/trunk@7972
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Wed, 12 Oct 2011 11:18:31 +0000 (11:18 +0000)]
#1241 apply doc_vacuum_analyze_and_I_None_typo.patch
git-svn-id: http://svn.osgeo.org/postgis/trunk@7971
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 11 Oct 2011 14:37:48 +0000 (14:37 +0000)]
Typename in type specifier doesn't need to be quoted.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7970
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 11 Oct 2011 10:33:25 +0000 (10:33 +0000)]
Ignore more generated files
git-svn-id: http://svn.osgeo.org/postgis/trunk@7969
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 10 Oct 2011 20:50:20 +0000 (20:50 +0000)]
Restrict valid spatial_ref_sys SRID values between 1 and 998999 (#1233)
I guess it'll take some special handling for this change in the upgrade scripts. I didn't do any with this commit.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7968
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 10 Oct 2011 20:38:17 +0000 (20:38 +0000)]
Clamp SRID in typmod parser. Now we get NOTICE/clamp also on create table.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7967
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 10 Oct 2011 20:26:22 +0000 (20:26 +0000)]
Clamp SRID in AddGeometryColumn, update expected topology test results to expect -1 being transformed to 0 (current official UNKNOWN SRID value).
git-svn-id: http://svn.osgeo.org/postgis/trunk@7966
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 10 Oct 2011 19:25:11 +0000 (19:25 +0000)]
Do not use AddGeometryColumn, to avoid having to write an explicit unknown SRID value.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7965
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 10 Oct 2011 17:50:48 +0000 (17:50 +0000)]
Hush NOTICES in regress test currently not emitting any (propedeutic for srid clamping in AddGeometryColumn, which is invoked with SRID=-1 by this testcase)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7964
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 10 Oct 2011 07:38:27 +0000 (07:38 +0000)]
Clamp SRID on serialization and deserialization. Raise an error when clamp_srid receives a number > 999999
git-svn-id: http://svn.osgeo.org/postgis/trunk@7963
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 10 Oct 2011 07:35:36 +0000 (07:35 +0000)]
Do not input an explicit value to mean unknown SRID (in raster test)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7962
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 10 Oct 2011 07:20:59 +0000 (07:20 +0000)]
Do not input an explicit value to mean unknown SRID
git-svn-id: http://svn.osgeo.org/postgis/trunk@7961
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 10 Oct 2011 06:55:50 +0000 (06:55 +0000)]
Use macros for hard-coded "magic" SRIDs used by _BestSRID and ST_Transform, use 999xxx range for them. See ticket #1230.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7960
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Fri, 7 Oct 2011 00:29:40 +0000 (00:29 +0000)]
Added additional error checking and error messages to ST_SameAlignment function
git-svn-id: http://svn.osgeo.org/postgis/trunk@7959
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Thu, 6 Oct 2011 23:25:28 +0000 (23:25 +0000)]
minor cleanup and prettiness.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7958
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Thu, 6 Oct 2011 15:47:22 +0000 (15:47 +0000)]
Make use of clamp_srid function for SRID checks
git-svn-id: http://svn.osgeo.org/postgis/trunk@7957
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 6 Oct 2011 14:08:59 +0000 (14:08 +0000)]
Raise a NOTICE when a SRID <= 0 but != SRID_UNKNOWN is converted
git-svn-id: http://svn.osgeo.org/postgis/trunk@7956
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 6 Oct 2011 13:35:52 +0000 (13:35 +0000)]
Clamp literal SRID values occurring in WKB and WKT.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7955
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 6 Oct 2011 13:35:46 +0000 (13:35 +0000)]
Add clamp_srid internal function returning UNKNOWN for <= 0 values.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7954
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 6 Oct 2011 07:18:16 +0000 (07:18 +0000)]
Do not use an explicit SRID=-1 in EKWT. It's not needed.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7953
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 6 Oct 2011 06:57:42 +0000 (06:57 +0000)]
Do not use an explicit SRID=-1 in EKWT. It's not needed.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7952
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Wed, 5 Oct 2011 23:03:19 +0000 (23:03 +0000)]
Implements ST_SameAlignment.
Associated ticket is #589.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7951
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Wed, 5 Oct 2011 18:55:03 +0000 (18:55 +0000)]
Fixed --with-gdalconfig parameter as per ticket #1167.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7950
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Wed, 5 Oct 2011 18:49:11 +0000 (18:49 +0000)]
As per Bryce's comments in ticket #1174, reduce the number of calculations when doing rt_raster_geopoint_to_cell by using an inverse geotransform matrix. Unlike the patch attached to the ticket, this commit does not change the structure of the rt_raster struct. It may be worth changing the rt_raster struct eventually, but will cost us the single memcpy when serializing rt_raster. Also, changes for testing SRID as "unknown" if value is lte SRID_UNKNOWN (presently 0).
Associated ticket is #1174.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7949
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Wed, 5 Oct 2011 04:54:00 +0000 (04:54 +0000)]
Removed hackish use of POSTGIS_GDAL_VERSION in postgis/sqldefines.h.in and postgis/postgis.sql.in.c. Added conditional compilation of extent resizing based upon GDAL version in rt_api.c
git-svn-id: http://svn.osgeo.org/postgis/trunk@7948
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Tue, 4 Oct 2011 23:32:59 +0000 (23:32 +0000)]
Fixed bug where a call to postgis_full_version causes error if postgis_gdal_version doesn't exist because raster support is not included
git-svn-id: http://svn.osgeo.org/postgis/trunk@7947
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 4 Oct 2011 23:13:28 +0000 (23:13 +0000)]
don't try to call postgis_gdal_version() if not testing raster (the signature is unavailable)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7946
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Tue, 4 Oct 2011 22:38:46 +0000 (22:38 +0000)]
Adds postgis_gdal_version() function as per ticket #1225.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7945
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Tue, 4 Oct 2011 20:51:10 +0000 (20:51 +0000)]
Changed adjustment of extent by half-pixel to full-pixel for points and linestrings to ensure compatibility with GDAL 1.6, 1.7 and 1.8. GDAL 1.9 (current trunk) appears to work fine with half-pixel adjustments.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7944
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 4 Oct 2011 20:46:26 +0000 (20:46 +0000)]
add KNN GIST + credits to news release (was already in docs)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7943
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 4 Oct 2011 20:43:54 +0000 (20:43 +0000)]
minor correction to <#> description
git-svn-id: http://svn.osgeo.org/postgis/trunk@7942
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Tue, 4 Oct 2011 19:50:54 +0000 (19:50 +0000)]
For linestrings, use same logic for points where extent is increased by half a pixel to catch geometries on the edges.
Associated ticket is #1213
git-svn-id: http://svn.osgeo.org/postgis/trunk@7941
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 4 Oct 2011 17:08:11 +0000 (17:08 +0000)]
Do not base availability of SQL ST_Hausdorff* signatures on GEOS version
Tested with GEOS from the 3.1 branch (yes, we still support it !)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7940
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 4 Oct 2011 16:45:33 +0000 (16:45 +0000)]
Simple review of the topology README. Wasn't that outdated :)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7939
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 4 Oct 2011 16:27:34 +0000 (16:27 +0000)]
Do not base availability of SQL isValid* signatures on GEOS version
This is a work for the C level library.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7938
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 4 Oct 2011 14:33:31 +0000 (14:33 +0000)]
Tweak expected test output to expect unknown srid to be reported as 0
If this will change before release, git-revert is our friend
git-svn-id: http://svn.osgeo.org/postgis/trunk@7937
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 4 Oct 2011 14:33:23 +0000 (14:33 +0000)]
Make topology.CreateTopology unknown-srid-agnostic (uses ST_Srid to tell)
Hopefully this makes the topology code stable during the SRID fights :)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7936
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 3 Oct 2011 15:29:34 +0000 (15:29 +0000)]
Guess Nicklas was right - should have looked at my explain. Revised example to use geometry constants. Seems to be a limitation in KNN that it needs constants. Same annoying behavior with my trigram KNN that only constant phrases work, not even constant phrases wrapped in alias work.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7935
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 3 Oct 2011 10:32:47 +0000 (10:32 +0000)]
Drop more non-ascii dashes, update regress tests (#1226) [RT-SIGTA]
There's a still-failing regress test due to SRID 0 being considered != 1
git-svn-id: http://svn.osgeo.org/postgis/trunk@7934
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 3 Oct 2011 10:26:10 +0000 (10:26 +0000)]
Use ASCII dash, not UTF8 one. Fixes #1226. [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7933
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 2 Oct 2011 23:38:36 +0000 (23:38 +0000)]
Add in st_valuecount evidentally changed output in 2.0 series
git-svn-id: http://svn.osgeo.org/postgis/trunk@7932
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Sun, 2 Oct 2011 14:12:12 +0000 (14:12 +0000)]
fixed _st_intersects(raster, geometry, integer) where call to ST_Intersects was hardcoding the first band of raster instead of using user-provided nband.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7931
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 2 Oct 2011 03:18:47 +0000 (03:18 +0000)]
preliminary logic to build an rtpostgis_upgrade_20_minor.sql script. Still missing a drop somewhere since my older db doesn't upgrade because complains about out parameters changed in some function.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7930
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Sat, 1 Oct 2011 17:28:58 +0000 (17:28 +0000)]
Fixed installation path of rtpostgis.sql to contrib/postgis-2.0. Added build of rtpostgis_drop.sql
Associated ticket is #615
git-svn-id: http://svn.osgeo.org/postgis/trunk@7929
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 1 Oct 2011 16:47:33 +0000 (16:47 +0000)]
itemize more removed functions for upgrade purposes
git-svn-id: http://svn.osgeo.org/postgis/trunk@7928
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 1 Oct 2011 03:46:39 +0000 (03:46 +0000)]
add very paertinatnet ST_3DDistance reference to ST_3DDwithin
git-svn-id: http://svn.osgeo.org/postgis/trunk@7927
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 1 Oct 2011 02:58:06 +0000 (02:58 +0000)]
get rid of obsolete proto, replace with new onesfor ST_Intersects. Clarify distinctions between raster/goemtry and geometry/raster operations
git-svn-id: http://svn.osgeo.org/postgis/trunk@7926
b70326c6 -7e19-0410-871a-
916f4a2858ee
David Zwarg [Fri, 30 Sep 2011 20:03:23 +0000 (20:03 +0000)]
Changed ST_MapAlgebra to ST_MapAlgebraExpr. Also moved around the pixeltype parameter -- it is no longer optional. Also updated docs that referred to ST_MapAlgebra. (#860)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7925
b70326c6 -7e19-0410-871a-
916f4a2858ee
David Zwarg [Fri, 30 Sep 2011 18:34:08 +0000 (18:34 +0000)]
Renamed 'nodatavalueexpr' variable. (#866)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7924
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Fri, 30 Sep 2011 00:11:55 +0000 (00:11 +0000)]
Updated regression tests to correctly support change of unknown SRID from -1 to 0.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7923
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 29 Sep 2011 19:43:06 +0000 (19:43 +0000)]
Fix distclean rule to drop Makefile too
git-svn-id: http://svn.osgeo.org/postgis/trunk@7922
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 29 Sep 2011 19:43:00 +0000 (19:43 +0000)]
Define SHELL (used by LIBTOOL and INSTALL) hopefully helps bug #1218
git-svn-id: http://svn.osgeo.org/postgis/trunk@7921
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Thu, 29 Sep 2011 18:53:52 +0000 (18:53 +0000)]
Uncommented include of lwgeom_pg.h in rt_pg.c. Fixed setting SRID to -1 to SRID_UNKNOWN.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7920
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Thu, 29 Sep 2011 18:33:27 +0000 (18:33 +0000)]
Changed function ST_Intersects(raster, raster, int, int) to ST_Intersects(raster, raster). Added additional comments to rt_raster_geopoint_to_cell().
Associated ticket is #1212
git-svn-id: http://svn.osgeo.org/postgis/trunk@7919
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 29 Sep 2011 10:40:18 +0000 (10:40 +0000)]
Do not incentivate use of SRID=-1 in mapserver examples.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7918
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 29 Sep 2011 10:34:58 +0000 (10:34 +0000)]
Do not suggest using "SRID=<unknown>" prefix in EWKT
git-svn-id: http://svn.osgeo.org/postgis/trunk@7917
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 29 Sep 2011 07:18:54 +0000 (07:18 +0000)]
start work building unpackaged
git-svn-id: http://svn.osgeo.org/postgis/trunk@7916
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 29 Sep 2011 04:05:27 +0000 (04:05 +0000)]
add KNN gist and srid =0 breaking change. Add Vizzuality to corporate sponsors
git-svn-id: http://svn.osgeo.org/postgis/trunk@7915
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 28 Sep 2011 23:59:10 +0000 (23:59 +0000)]
Remove gserialized.h define file (actual #define is now temporarily in liblwgeom.h)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7914
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 28 Sep 2011 23:58:34 +0000 (23:58 +0000)]
Remove GSERIALIZED_ON from .sql files.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7913
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 28 Sep 2011 23:38:56 +0000 (23:38 +0000)]
Change "no SRID" SRID to 0 (#286)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7912
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Wed, 28 Sep 2011 21:56:42 +0000 (21:56 +0000)]
document box distance KNN operator
git-svn-id: http://svn.osgeo.org/postgis/trunk@7911
b70326c6 -7e19-0410-871a-
916f4a2858ee