]> granicus.if.org Git - postgis/log
postgis
13 years agoadd in missing ST_MapAlgebraFct protos
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

13 years agoevidentally missed one or get the wrong ST_MapAlgebraFct proto in last commit
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

13 years agoGet rid of st_mapalgebrafct(raster,text,regprocedure,text[]) proto since there is...
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

13 years ago#860 Get rid of some dup definitions in ST_MapAlgebraFct and add some missing ones.
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

13 years agoAdd postgis_before_drop for dropping functions that have arument names renamed before...
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

13 years agoFixed documentation code listing typo for ST_MapAlgebraFct, and added more informatio...
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

13 years agoupdate bios
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

13 years agoAdded ST_MapAlgebraFct to documentation, with same examples as ST_MapAlgebraExpr
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

13 years agoupgrade from a1-a3 for topology, beginning of upgrade extension for postgis -- still...
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

13 years agoMove XMin/Max etc out of miscellaneous into accessors -- Per Pierre's suggestion...
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

13 years agoGetr di of the word function in heard. Guess it is kind of stupid
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

13 years agoImplemented raster map algebra with user functions/callbacks. (#860)
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

13 years agoActually we use bash code, not sh code
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

13 years agoAdd _ST_Resample -- evidentally arg names changed. also got rid of arg names in...
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

13 years agoSome functions need to be dropped before upgrade minor if they need to be recreated...
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

13 years agoBug fix for _ST_Intersects(geometry, raster) where the buffering of the intersection...
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

13 years agomove ST_AddBand to raster constructors section per ticket #1240 and rename Raster...
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

13 years agoanother minor correction
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

13 years ago#1241 apply doc_vacuum_analyze_and_I_None_typo.patch
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

13 years agoTypename in type specifier doesn't need to be quoted.
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

13 years agoIgnore more generated files
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

13 years agoRestrict valid spatial_ref_sys SRID values between 1 and 998999 (#1233)
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

13 years agoClamp SRID in typmod parser. Now we get NOTICE/clamp also on create table.
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

13 years agoClamp SRID in AddGeometryColumn, update expected topology test results to expect...
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

13 years agoDo not use AddGeometryColumn, to avoid having to write an explicit unknown SRID value.
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

13 years agoHush NOTICES in regress test currently not emitting any (propedeutic for srid clampin...
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

13 years agoClamp SRID on serialization and deserialization. Raise an error when clamp_srid recei...
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

13 years agoDo not input an explicit value to mean unknown SRID (in raster test)
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

13 years agoDo not input an explicit value to mean unknown SRID
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

13 years agoUse macros for hard-coded "magic" SRIDs used by _BestSRID and ST_Transform, use 999xx...
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

13 years agoAdded additional error checking and error messages to ST_SameAlignment function
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

13 years agominor cleanup and prettiness.
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

13 years agoMake use of clamp_srid function for SRID checks
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

13 years agoRaise a NOTICE when a SRID <= 0 but != SRID_UNKNOWN is converted
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

13 years agoClamp literal SRID values occurring in WKB and WKT.
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

13 years agoAdd clamp_srid internal function returning UNKNOWN for <= 0 values.
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

13 years agoDo not use an explicit SRID=-1 in EKWT. It's not needed.
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

13 years agoDo not use an explicit SRID=-1 in EKWT. It's not needed.
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

13 years agoImplements ST_SameAlignment.
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

13 years agoFixed --with-gdalconfig parameter as per ticket #1167.
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

13 years agoAs per Bryce's comments in ticket #1174, reduce the number of calculations when doing...
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

13 years agoRemoved hackish use of POSTGIS_GDAL_VERSION in postgis/sqldefines.h.in and postgis...
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

13 years agoFixed bug where a call to postgis_full_version causes error if postgis_gdal_version...
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

13 years agodon't try to call postgis_gdal_version() if not testing raster (the signature is...
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

13 years agoAdds postgis_gdal_version() function as per ticket #1225.
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

13 years agoChanged adjustment of extent by half-pixel to full-pixel for points and linestrings...
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

13 years agoadd KNN GIST + credits to news release (was already in docs)
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

13 years agominor correction to <#> description
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

13 years agoFor linestrings, use same logic for points where extent is increased by half a pixel...
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

13 years agoDo not base availability of SQL ST_Hausdorff* signatures on GEOS version
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

13 years agoSimple review of the topology README. Wasn't that outdated :)
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

13 years agoDo not base availability of SQL isValid* signatures on GEOS version
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

13 years agoTweak expected test output to expect unknown srid to be reported as 0
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

13 years agoMake topology.CreateTopology unknown-srid-agnostic (uses ST_Srid to tell)
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

13 years agoGuess Nicklas was right - should have looked at my explain. Revised example to use...
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

13 years agoDrop more non-ascii dashes, update regress tests (#1226) [RT-SIGTA]
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

13 years agoUse ASCII dash, not UTF8 one. Fixes #1226. [RT-SIGTA]
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

13 years agoAdd in st_valuecount evidentally changed output in 2.0 series
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

13 years agofixed _st_intersects(raster, geometry, integer) where call to ST_Intersects was hardc...
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

13 years agopreliminary logic to build an rtpostgis_upgrade_20_minor.sql script. Still missing...
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

13 years agoFixed installation path of rtpostgis.sql to contrib/postgis-2.0. Added build of...
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

13 years agoitemize more removed functions for upgrade purposes
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

13 years agoadd very paertinatnet ST_3DDistance reference to ST_3DDwithin
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

13 years agoget rid of obsolete proto, replace with new onesfor ST_Intersects. Clarify distinctio...
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

13 years agoChanged ST_MapAlgebra to ST_MapAlgebraExpr. Also moved around the pixeltype parameter...
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

13 years agoRenamed 'nodatavalueexpr' variable. (#866)
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

13 years agoUpdated regression tests to correctly support change of unknown SRID from -1 to 0.
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

13 years agoFix distclean rule to drop Makefile too
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

13 years agoDefine SHELL (used by LIBTOOL and INSTALL) hopefully helps bug #1218
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

13 years agoUncommented include of lwgeom_pg.h in rt_pg.c. Fixed setting SRID to -1 to SRID_UNKNOWN.
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

13 years agoChanged function ST_Intersects(raster, raster, int, int) to ST_Intersects(raster...
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

13 years agoDo not incentivate use of SRID=-1 in mapserver examples.
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

13 years agoDo not suggest using "SRID=<unknown>" prefix in EWKT
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

13 years agostart work building unpackaged
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

13 years agoadd KNN gist and srid =0 breaking change. Add Vizzuality to corporate sponsors
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

13 years agoRemove gserialized.h define file (actual #define is now temporarily in liblwgeom.h)
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

13 years agoRemove GSERIALIZED_ON from .sql files.
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

13 years agoChange "no SRID" SRID to 0 (#286)
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

13 years agodocument box distance KNN operator
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

13 years agoMake the <-> operator return linear not square units, to match the <#> operator.
Paul Ramsey [Wed, 28 Sep 2011 15:06:51 +0000 (15:06 +0000)]
Make the <-> operator return linear not square units, to match the <#> operator.

git-svn-id: http://svn.osgeo.org/postgis/trunk@7910 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd box-wise ORDER BY for KNN (#701)
Paul Ramsey [Wed, 28 Sep 2011 15:04:38 +0000 (15:04 +0000)]
Add box-wise ORDER BY for KNN (#701)

git-svn-id: http://svn.osgeo.org/postgis/trunk@7909 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoImage generator also uses LWDEBUG macros... how popular !
Sandro Santilli [Wed, 28 Sep 2011 10:13:08 +0000 (10:13 +0000)]
Image generator also uses LWDEBUG macros... how popular !

git-svn-id: http://svn.osgeo.org/postgis/trunk@7908 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMove LWDEBUG macros in a new lwgeom_log.h header file (see #1220)
Sandro Santilli [Wed, 28 Sep 2011 10:05:36 +0000 (10:05 +0000)]
Move LWDEBUG macros in a new lwgeom_log.h header file (see #1220)

Update all implementation files accordingly.
Fix some misuses out of liblwgeom.
Add missing copyright notices in a few files.

git-svn-id: http://svn.osgeo.org/postgis/trunk@7907 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agomerge postgis and raster into a single extension called "postgis", revise postgis_top...
Regina Obe [Tue, 27 Sep 2011 23:29:46 +0000 (23:29 +0000)]
merge postgis and raster into a single extension called "postgis", revise postgis_topology control to depend on this new extension

git-svn-id: http://svn.osgeo.org/postgis/trunk@7906 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agomore drop of functions that changed signature
Regina Obe [Tue, 27 Sep 2011 23:28:14 +0000 (23:28 +0000)]
more drop of functions that changed signature

git-svn-id: http://svn.osgeo.org/postgis/trunk@7905 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoclarify current implementation is centroid of box not the geometry.
Regina Obe [Tue, 27 Sep 2011 17:35:55 +0000 (17:35 +0000)]
clarify current implementation is centroid of box not the geometry.

git-svn-id: http://svn.osgeo.org/postgis/trunk@7904 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDrop duplicated geometry_out definition
Sandro Santilli [Tue, 27 Sep 2011 15:33:22 +0000 (15:33 +0000)]
Drop duplicated geometry_out definition

git-svn-id: http://svn.osgeo.org/postgis/trunk@7903 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agocorrect the description on semantics of knn operator
Regina Obe [Tue, 27 Sep 2011 05:09:53 +0000 (05:09 +0000)]
correct the description on semantics of knn operator

git-svn-id: http://svn.osgeo.org/postgis/trunk@7902 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRemoved ST_Intersects(raster, int, raster, int) version of two raster ST_Intersects.
Bborie Park [Tue, 27 Sep 2011 03:40:08 +0000 (03:40 +0000)]
Removed ST_Intersects(raster, int, raster, int) version of two raster ST_Intersects.

Associated ticket is #1212

git-svn-id: http://svn.osgeo.org/postgis/trunk@7901 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agowrap examples in cdata tags so don't break parser
Regina Obe [Tue, 27 Sep 2011 03:15:41 +0000 (03:15 +0000)]
wrap examples in cdata tags so don't break parser

git-svn-id: http://svn.osgeo.org/postgis/trunk@7900 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agodocument new knn gist operator -- example mostly plagiarized from Paul's postgis...
Regina Obe [Tue, 27 Sep 2011 02:58:51 +0000 (02:58 +0000)]
document new knn gist operator -- example mostly plagiarized from Paul's postgis-devel example with addition of care consideration of safe casting and SQL formatting.  I know I'm getting lazy in my old age.

git-svn-id: http://svn.osgeo.org/postgis/trunk@7899 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agopreliminary work on drop deprecated functions. Not tied into anything yet.
Regina Obe [Tue, 27 Sep 2011 02:22:41 +0000 (02:22 +0000)]
preliminary work on drop deprecated functions.  Not tied into anything yet.

git-svn-id: http://svn.osgeo.org/postgis/trunk@7898 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoget rid of obslete protos for ST_Intersects and revise description to describe new...
Regina Obe [Tue, 27 Sep 2011 02:09:29 +0000 (02:09 +0000)]
get rid of obslete protos for ST_Intersects and revise description to describe new semantics of raster st_intersects

git-svn-id: http://svn.osgeo.org/postgis/trunk@7897 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoput in svn keywords and forcce to LF
Regina Obe [Tue, 27 Sep 2011 01:55:49 +0000 (01:55 +0000)]
put in svn keywords and forcce to LF

git-svn-id: http://svn.osgeo.org/postgis/trunk@7896 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoWrap <-> distance ordering into a PgSQL 9.1+ block.
Paul Ramsey [Mon, 26 Sep 2011 21:05:08 +0000 (21:05 +0000)]
Wrap <-> distance ordering into a PgSQL 9.1+ block.

git-svn-id: http://svn.osgeo.org/postgis/trunk@7895 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd support for KNN-GiST ops. First cut only, much testing required. (#701)
Paul Ramsey [Mon, 26 Sep 2011 20:39:00 +0000 (20:39 +0000)]
Add support for KNN-GiST ops. First cut only, much testing required. (#701)

git-svn-id: http://svn.osgeo.org/postgis/trunk@7894 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDon't use the same name for input parameter and returned table description.
Sandro Santilli [Mon, 26 Sep 2011 14:25:11 +0000 (14:25 +0000)]
Don't use the same name for input parameter and returned table description.

Hopefully fixes ticket #1210 [RT-SIGTA]

git-svn-id: http://svn.osgeo.org/postgis/trunk@7893 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agodocument ST_Intersects(rasta,rastb,nbanda,nbandb) -- left out ST_Intersects(rasta...
Regina Obe [Mon, 26 Sep 2011 06:29:35 +0000 (06:29 +0000)]
document ST_Intersects(rasta,rastb,nbanda,nbandb) -- left out ST_Intersects(rasta,nbanda,rastb,nbandb) - that one offends my senses.

git-svn-id: http://svn.osgeo.org/postgis/trunk@7892 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoadd missing geos flag to let it make check under mingw
Regina Obe [Sun, 25 Sep 2011 20:37:39 +0000 (20:37 +0000)]
add missing geos flag to let it make check under mingw

git-svn-id: http://svn.osgeo.org/postgis/trunk@7891 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRemoved unnecessary typedef for fmin and fmax on windows. Possible fix to #1207.
Bborie Park [Sun, 25 Sep 2011 14:48:57 +0000 (14:48 +0000)]
Removed unnecessary typedef for fmin and fmax on windows.  Possible fix to #1207.

git-svn-id: http://svn.osgeo.org/postgis/trunk@7890 b70326c6-7e19-0410-871a-916f4a2858ee