]> granicus.if.org Git - postgis/log
postgis
14 years agoDo not explicitly name GIST opclass (was renamed). Fixes topology after the GSERIALIZ...
Sandro Santilli [Tue, 14 Jun 2011 08:20:43 +0000 (08:20 +0000)]
Do not explicitly name GIST opclass (was renamed). Fixes topology after the GSERIALIZED switch.

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

14 years agoFix libiconv linker flags
Sandro Santilli [Tue, 14 Jun 2011 08:20:16 +0000 (08:20 +0000)]
Fix libiconv linker flags

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

14 years agoApply bug in BOX2DFLOAT4_in function due to GSERIALIZED_ON change (#1020) from dustymugs
Paul Ramsey [Tue, 14 Jun 2011 04:26:58 +0000 (04:26 +0000)]
Apply bug in BOX2DFLOAT4_in function due to GSERIALIZED_ON change (#1020) from dustymugs

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

14 years agoFixed memory leak in RASTER_asGDALRaster of rt_pg.c and left note in comments of...
Bborie Park [Mon, 13 Jun 2011 21:47:27 +0000 (21:47 +0000)]
Fixed memory leak in RASTER_asGDALRaster of rt_pg.c and left note in comments of rt_raster_to_gdal

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

14 years agoMove from GSERIALIZED off by default to on by default. Adjust minor regression change...
Paul Ramsey [Mon, 13 Jun 2011 21:31:49 +0000 (21:31 +0000)]
Move from GSERIALIZED off by default to on by default. Adjust minor regression changes as necessary.

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

14 years agoAllow cunit tests to build and run in OS/X
Paul Ramsey [Mon, 13 Jun 2011 20:20:56 +0000 (20:20 +0000)]
Allow cunit tests to build and run in OS/X

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

14 years agoAdd svn:ignores for some new derived files.
Paul Ramsey [Mon, 13 Jun 2011 19:51:24 +0000 (19:51 +0000)]
Add svn:ignores for some new derived files.

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

14 years agoupdate 1.5.3 release notes
Regina Obe [Mon, 13 Jun 2011 12:30:12 +0000 (12:30 +0000)]
update 1.5.3 release notes

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

14 years ago#609 revise JDBC to use non-deprecated calling syntax
Regina Obe [Mon, 13 Jun 2011 11:25:09 +0000 (11:25 +0000)]
#609 revise JDBC to use non-deprecated calling syntax

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

14 years agosurpress outputting sql if not in debug mode
Regina Obe [Mon, 13 Jun 2011 01:32:47 +0000 (01:32 +0000)]
surpress outputting sql if not in debug mode

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

14 years agochange to return as much address as possible even if no fullname at least try to...
Regina Obe [Mon, 13 Jun 2011 01:31:22 +0000 (01:31 +0000)]
change to return as much address as possible even if no fullname at least try to return city, state, zip

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

14 years agofix typo in reverse_geocode name and get rid of other prot since changed to use defau...
Regina Obe [Sun, 12 Jun 2011 14:33:40 +0000 (14:33 +0000)]
fix typo in reverse_geocode name and get rid of other prot since changed to use default args

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

14 years agofix division by zero issue
Regina Obe [Sun, 12 Jun 2011 06:34:18 +0000 (06:34 +0000)]
fix division by zero issue

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

14 years agomake debug statement conditional
Regina Obe [Sun, 12 Jun 2011 04:55:30 +0000 (04:55 +0000)]
make debug statement conditional

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

14 years agosignificantly improve speed of reverse geocode (when all states loaded), but using...
Regina Obe [Sun, 12 Jun 2011 04:52:03 +0000 (04:52 +0000)]
significantly improve speed of reverse geocode (when all states loaded), but using CTEs and unparameterizing query (parameterized often does not use inheritance), reverse_geocode to use default parameters, put in table column comments to describe some of what loader columns mean.

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

14 years agoAdded function parameter "header_only" to rt_raster_deserialize. This instructs...
Bborie Park [Sat, 11 Jun 2011 19:26:44 +0000 (19:26 +0000)]
Added function parameter "header_only" to rt_raster_deserialize.  This instructs the function to only extract the raster header.

All functions calls to rt_raster_deserialize in rt_pg.c and testwkb.c have been modified to account for the "header_only" parameter.  In addition, functions that can use PG_DETOAST_DATUM_SLICE have been modified to use it.

Associated tickets are #867 and #985.

Now to work on valgrinding rt_pg.c

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

14 years agoRemoved the ST_SummaryStats wrappers: ST_Sum, ST_Mean, ST_Stddev, ST_MinMax. Only...
Bborie Park [Sat, 11 Jun 2011 19:06:15 +0000 (19:06 +0000)]
Removed the ST_SummaryStats wrappers: ST_Sum, ST_Mean, ST_Stddev, ST_MinMax.  Only ST_Count is preserved as it has a shortcut for when "exclude_nodata_value" is FALSE.

Refactored regression test for rt_transform due to removal of some ST_SummaryStats wrappers and make the tests no longer about being exact to specific values but more about being in the appropriate contexts.

Associated ticket is #1005 and to some degree, #985.

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

14 years agoSort what's new 2.0 by name of section insted of id since raster ids start with RT_...
Regina Obe [Sat, 11 Jun 2011 13:41:19 +0000 (13:41 +0000)]
Sort what's new 2.0 by name of section insted of id since raster ids start with RT_ they are being sorted at the top above everything else which is confusing

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

14 years agoFix ST_BandMetaData, ST_AsGDalRaster (they take defaults now so prots have ben removed)
Regina Obe [Sat, 11 Jun 2011 05:27:47 +0000 (05:27 +0000)]
Fix ST_BandMetaData, ST_AsGDalRaster (they take defaults now so prots have ben removed)

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

14 years agoRefactored rt_raster_replace_band in rt_api.c to return the replaced band.
Bborie Park [Sat, 11 Jun 2011 04:59:19 +0000 (04:59 +0000)]
Refactored rt_raster_replace_band in rt_api.c to return the replaced band.
Additional memory cleanups in testapi.c due to segfault and leaks.

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

14 years agoNote about issues with raster ST_Transform
Regina Obe [Sat, 11 Jun 2011 01:09:22 +0000 (01:09 +0000)]
Note about issues with raster ST_Transform

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

14 years agodocument raster ST_Transform function. Will provide examples later.
Regina Obe [Sat, 11 Jun 2011 00:43:32 +0000 (00:43 +0000)]
document raster ST_Transform function.  Will provide examples later.

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

14 years agoFixed bunch of memory leaks in rt_api.c and testapi.c. Will need to valgrind the...
Bborie Park [Sat, 11 Jun 2011 00:05:53 +0000 (00:05 +0000)]
Fixed bunch of memory leaks in rt_api.c and testapi.c.  Will need to valgrind the regression tests to clean up the leaks in rt_pg.c

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

14 years agoget rid of ST_SRSText usage is gone and replaced with just srid so parallel with...
Regina Obe [Fri, 10 Jun 2011 23:19:32 +0000 (23:19 +0000)]
get rid of ST_SRSText usage is gone and replaced with just srid so parallel with geometry.  Update all the function doco -- they used to use srstext, but now they use srid.

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

14 years agoRefactored how GDAL warp options are freed. I believe I was prematurely freeing...
Bborie Park [Fri, 10 Jun 2011 23:01:50 +0000 (23:01 +0000)]
Refactored how GDAL warp options are freed.  I believe I was prematurely freeing the options.

Associated ticket #1015

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

14 years agoGetting pixel value at out of range coordinate should only return a warning. Was...
Pierre Racine [Fri, 10 Jun 2011 19:49:29 +0000 (19:49 +0000)]
Getting pixel value at out of range coordinate should only return a warning. Was broken at r7106. Added a check.

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

14 years agoFixed error messages.
Bborie Park [Fri, 10 Jun 2011 18:18:49 +0000 (18:18 +0000)]
Fixed error messages.

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

14 years agoExplicitly set GDALWarpOptions element padfSrcNoDataImag as it seems some folks are...
Bborie Park [Fri, 10 Jun 2011 18:14:51 +0000 (18:14 +0000)]
Explicitly set GDALWarpOptions element padfSrcNoDataImag as it seems some folks are having regression error.  Based upon the GDAL code, explicitly setting padfSrcNoDataImag and padfDstNoDataImag should eliminate the error message that is occurring.

Associated tickets are #925 and #1015.

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

14 years ago#609 jdbc error in documentation
Regina Obe [Fri, 10 Jun 2011 17:24:50 +0000 (17:24 +0000)]
#609 jdbc error in documentation

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

14 years ago#666 -- strange I don't recall this being an issue on PostGIS 2.0, but seems to be...
Regina Obe [Fri, 10 Jun 2011 17:00:27 +0000 (17:00 +0000)]
#666 -- strange I don't recall this being an issue on PostGIS 2.0, but seems to be also.  Still need regress test for it though.

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

14 years agoUpdate NZ projections for grid transformation support (#631)
Paul Ramsey [Fri, 10 Jun 2011 16:16:31 +0000 (16:16 +0000)]
Update NZ projections for grid transformation support (#631)

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

14 years agoRewrote ST_BandMetaData to use a C function instead of sequential calls for the metad...
Bborie Park [Fri, 10 Jun 2011 15:19:03 +0000 (15:19 +0000)]
Rewrote ST_BandMetaData to use a C function instead of sequential calls for the metadata of a raster's band in plpgsql.  Also added regression tests for ST_MetaData and ST_BandMetaData due to C functions.

Associated ticket #1012

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

14 years agomore description on reclass expressions
Regina Obe [Fri, 10 Jun 2011 05:13:39 +0000 (05:13 +0000)]
more description on reclass expressions

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

14 years agomore examples for ST_Point and example converting to geography
Regina Obe [Fri, 10 Jun 2011 01:52:12 +0000 (01:52 +0000)]
more examples for ST_Point and example converting to geography

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

14 years agoMinor change to work with gserialzed
Paul Ramsey [Thu, 9 Jun 2011 21:27:47 +0000 (21:27 +0000)]
Minor change to work with gserialzed

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

14 years agoRewrote ST_Metadata to make use of a C function instead of sequential calls for the...
Bborie Park [Thu, 9 Jun 2011 21:15:09 +0000 (21:15 +0000)]
Rewrote ST_Metadata to make use of a C function instead of sequential calls for the metadata of a raster in plpgsql.

Associated ticket #1012

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

14 years agoRemove some compile warnings
Paul Ramsey [Thu, 9 Jun 2011 21:12:28 +0000 (21:12 +0000)]
Remove some compile warnings

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

14 years agoAdd some ignores
Paul Ramsey [Thu, 9 Jun 2011 21:12:08 +0000 (21:12 +0000)]
Add some ignores

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

14 years agoBad handling of Inf values in GEOS (#1013)
Paul Ramsey [Thu, 9 Jun 2011 20:51:44 +0000 (20:51 +0000)]
Bad handling of Inf values in GEOS (#1013)

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

14 years ago#448 add CUnit requirement for testing
Regina Obe [Thu, 9 Jun 2011 20:32:26 +0000 (20:32 +0000)]
#448 add CUnit requirement for testing

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

14 years agoReplaced the parameter "srs" in ST_AsGDALRaster with "srid" so as to match that of...
Bborie Park [Thu, 9 Jun 2011 18:55:35 +0000 (18:55 +0000)]
Replaced the parameter "srs" in ST_AsGDALRaster with "srid" so as to match that of ST_Transform and other functions that deals with spatial reference systems.  In doing so, this eliminates the user function ST_srtext and just has a hidden _ST_srtext function for use by the underlying C functions.  Another nice benefit is that I was able to reduce the number of user-facing functions.

Associated ticket #1011

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

14 years ago#1009 typo in index creation
Regina Obe [Thu, 9 Jun 2011 16:01:51 +0000 (16:01 +0000)]
#1009 typo in index creation

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

14 years ago- added additional tests that shouldn't require datum shift files for proj.4.
Bborie Park [Wed, 8 Jun 2011 22:47:14 +0000 (22:47 +0000)]
- added additional tests that shouldn't require datum shift files for proj.4.
- refactored output that would be double precision to be rounded

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

14 years agoRewrote how the standard/sample deviation is computed in ST_SummaryStats for coverage...
Bborie Park [Wed, 8 Jun 2011 21:10:11 +0000 (21:10 +0000)]
Rewrote how the standard/sample deviation is computed in ST_SummaryStats for coverage tables.  It now extends the existing use of a single-pass standard deviation calculation to be able to do the calculation for a coverage table.

Associated ticket #985.

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

14 years agoforgot to comment out debug code for ST_Histogram thus causing rt_histogram regressio...
Bborie Park [Wed, 8 Jun 2011 00:10:12 +0000 (00:10 +0000)]
forgot to comment out debug code for ST_Histogram thus causing rt_histogram regression to fail

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

14 years agofixed ST_SummaryStats for coverage tables where the sum of all tiles was not being...
Bborie Park [Wed, 8 Jun 2011 00:00:51 +0000 (00:00 +0000)]
fixed ST_SummaryStats for coverage tables where the sum of all tiles was not being computed.
Associated ticket #1005

Also added shortcuts to ST_Count for when parameter "exclude_nodata_value" is FALSE, just compute the count based upon the raster's dimensions.  Performance difference between the normal route and the shortcut is negligible for small rasters but noticable when run on large rasters and coverage tables

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

14 years agoAdded support for coverage tables to ST_Histogram. This entailed adding the ability...
Bborie Park [Tue, 7 Jun 2011 22:59:23 +0000 (22:59 +0000)]
Added support for coverage tables to ST_Histogram.  This entailed adding the ability to explicitly specify the min and max values in the underlying C function rt_band_get_histogram.  The min and max parameters should ONLY be used by the established coverage table handling ST_Histogram functions as the returned percent element of the histogram type is changed from returning the percentage to returning the sum of counts for that histogram.

Associated ticket is #934.

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

14 years agoAdd ST_Transform function that achieves the primary purpose of reprojecting a raster...
Bborie Park [Tue, 7 Jun 2011 18:21:34 +0000 (18:21 +0000)]
Add ST_Transform function that achieves the primary purpose of reprojecting a raster to a new projection system.  This makes use of the GDAL Warp API function GDALAutoCreateWarpedVRT().  In the future, the underlying C function is expected to be refactored to support skewing and pixel scaling at the same time the raster is reprojected.

Really minor changes to rt_pg/rt_pg.c adding initilization values to variables for eliminating compile warnings in Windows (thanks Pierre).

Fixed variable "status" in rt_raster_from_gdal_dataset() of rt_core/rt_api.c

Associated ticket is #925

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

14 years agoPut legacy.sql in varname tag so prints out as courier and stands out more. Some...
Regina Obe [Tue, 7 Jun 2011 13:04:23 +0000 (13:04 +0000)]
Put legacy.sql in varname tag so prints out as courier and stands out more.  Some clarification on the geography/geometry choice question

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

14 years agomore corrections of erroneous statements
Regina Obe [Tue, 7 Jun 2011 12:37:00 +0000 (12:37 +0000)]
more corrections of erroneous statements

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

14 years agoFix minor formatting issues
Regina Obe [Tue, 7 Jun 2011 12:16:27 +0000 (12:16 +0000)]
Fix minor formatting issues

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

14 years agoforgot output column in histogram type
Regina Obe [Tue, 7 Jun 2011 07:45:09 +0000 (07:45 +0000)]
forgot output column in histogram type

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

14 years agomore correction in ST_Histogram explanation
Regina Obe [Tue, 7 Jun 2011 07:41:33 +0000 (07:41 +0000)]
more correction in ST_Histogram explanation

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

14 years agomake description of programming match what is going on in histogram example
Regina Obe [Tue, 7 Jun 2011 07:26:24 +0000 (07:26 +0000)]
make description of programming match what is going on in histogram example

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

14 years agomissing one proto for ST_Histogram
Regina Obe [Tue, 7 Jun 2011 07:24:38 +0000 (07:24 +0000)]
missing one proto for ST_Histogram

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

14 years agoadd description ST_Histogram inputs
Regina Obe [Tue, 7 Jun 2011 07:20:53 +0000 (07:20 +0000)]
add description ST_Histogram inputs

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

14 years agodocument histogram type
Regina Obe [Tue, 7 Jun 2011 07:10:27 +0000 (07:10 +0000)]
document histogram type

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

14 years agodocument ST_Histogram
Regina Obe [Tue, 7 Jun 2011 07:02:05 +0000 (07:02 +0000)]
document ST_Histogram

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

14 years agobug fix of r7325 where the wrong variable is used in the "for" loop at line 5442
Bborie Park [Sun, 5 Jun 2011 21:49:51 +0000 (21:49 +0000)]
bug fix of r7325 where the wrong variable is used in the "for" loop at line 5442

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

14 years ago- added additional function parameters "bandNums" and "count" to rt_raster_to_gdal_me...
Bborie Park [Sun, 5 Jun 2011 20:52:48 +0000 (20:52 +0000)]
- added additional function parameters "bandNums" and "count" to rt_raster_to_gdal_mem so that the GDAL dataset created only contains those bands specified
- any calls to rt_raster_to_gdal_mem function was refactored for the new function parameters
- refactored rt_raster_dump_as_wktpolygons to make use of rt_raster_to_gdal_mem so as to reduce duplicate code and improve cleanliness

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

14 years agofix ambiguous column issue now that new zcta5 also has statefp
Regina Obe [Sun, 5 Jun 2011 07:55:27 +0000 (07:55 +0000)]
fix ambiguous column issue now that new zcta5 also has statefp

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

14 years agomore speed optimizations
Regina Obe [Sun, 5 Jun 2011 07:35:14 +0000 (07:35 +0000)]
more speed optimizations

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

14 years agorevise function s so lookup zip utilizes constraint exclusion
Regina Obe [Sun, 5 Jun 2011 07:07:40 +0000 (07:07 +0000)]
revise function s so lookup zip utilizes constraint exclusion

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

14 years ago#1004: census has finally released zcta5 for 2010. Get rid of zcta500 table. replac...
Regina Obe [Sun, 5 Jun 2011 06:13:09 +0000 (06:13 +0000)]
#1004: census has finally released zcta5 for 2010.  Get rid of zcta500 table.  replace with a more generic named zcta5.  Revise loader state script to load in zcta510 data and revise functions to use new zcta5 table.

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

14 years agoFix more erroneous statements about ST_Reclass
Regina Obe [Sat, 4 Jun 2011 02:11:03 +0000 (02:11 +0000)]
Fix more erroneous statements about ST_Reclass

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

14 years agoget rid of TODO note on ST_REclass exmaple -- I already did it.
Regina Obe [Sat, 4 Jun 2011 00:59:34 +0000 (00:59 +0000)]
get rid of TODO note on ST_REclass exmaple -- I already did it.

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

14 years agohuh more mistakes in ST_Reclass
Regina Obe [Sat, 4 Jun 2011 00:58:41 +0000 (00:58 +0000)]
huh more mistakes in ST_Reclass

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

14 years agoAdded rt_raster_from_gdal_dataset function to rt_core/rt_api.c. This function provid...
Bborie Park [Fri, 3 Jun 2011 17:02:57 +0000 (17:02 +0000)]
Added rt_raster_from_gdal_dataset function to rt_core/rt_api.c.  This function provides the functionality needed to convert a GDAL dataset into a PostGIS Raster object.

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

14 years agoCheck for new GDALFPolygonize function. If it isn't present, the old GDALPolygonize...
Jorge Arévalo [Fri, 3 Jun 2011 15:19:40 +0000 (15:19 +0000)]
Check for new GDALFPolygonize function. If it isn't present, the old GDALPolygonize is called. Related ticket #650.

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

14 years agoadd missing ST_ValueCount protos, get rid of ' around , causing comment installation...
Regina Obe [Fri, 3 Jun 2011 06:00:38 +0000 (06:00 +0000)]
add missing ST_ValueCount protos, get rid of ' around , causing comment installation to fail.

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

14 years agofix wording of reclassarg and summarystats
Regina Obe [Thu, 2 Jun 2011 22:51:27 +0000 (22:51 +0000)]
fix wording of reclassarg and summarystats

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

14 years agoFix typo
Regina Obe [Thu, 2 Jun 2011 22:25:19 +0000 (22:25 +0000)]
Fix typo

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

14 years agodocument ST_Band
Regina Obe [Thu, 2 Jun 2011 21:54:57 +0000 (21:54 +0000)]
document ST_Band

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

14 years agoget rid of extra paragraph marks
Regina Obe [Thu, 2 Jun 2011 21:27:02 +0000 (21:27 +0000)]
get rid of extra paragraph marks

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

14 years agoexample how to use variadic version of ST_Reclass raster function, finish off reclass...
Regina Obe [Thu, 2 Jun 2011 21:13:47 +0000 (21:13 +0000)]
example how to use variadic version of ST_Reclass raster function, finish off reclassarg type description, add summarystats type

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

14 years agoClarify GDAL version requirements for Mapserver to load PostGIS raster
Regina Obe [Thu, 2 Jun 2011 05:05:59 +0000 (05:05 +0000)]
Clarify GDAL version requirements for Mapserver to load PostGIS raster

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

14 years agoFixed ticket #650. You need to update your GDAL copy to a release up to 22476 to...
Jorge Arévalo [Wed, 1 Jun 2011 23:50:14 +0000 (23:50 +0000)]
Fixed ticket #650. You need to update your GDAL copy to a release up to 22476 to make it work.

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

14 years agoThe box2d of an empty geometry is NULL, not a point. Closes ticket #938 and regress...
Sandro Santilli [Wed, 1 Jun 2011 12:31:58 +0000 (12:31 +0000)]
The box2d of an empty geometry is NULL, not a point. Closes ticket #938 and regress-tests it.

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

14 years agoput a space after parameter name to try to prevent getting shoved in with type in...
Regina Obe [Wed, 1 Jun 2011 11:55:50 +0000 (11:55 +0000)]
put a space after parameter name to try to prevent getting shoved in with type in reclassarg type def

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

14 years agost_recalss -- hmm screwed up on example. Had overlapping ranges before.
Regina Obe [Wed, 1 Jun 2011 08:22:30 +0000 (08:22 +0000)]
st_recalss -- hmm screwed up on example.  Had overlapping ranges before.

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

14 years agomove raster types to raster section (there are way too many now to try to lump into...
Regina Obe [Wed, 1 Jun 2011 08:17:27 +0000 (08:17 +0000)]
move raster types to raster section (there are way too many now to try to lump into reference_type and do case statements to exclude from postgis_comments).  Revise raster_comments to look for types in reference_raster.  Add docu for ST_Reclass and reclassarg type.  Need at least one more example to show how to use recalssargs.

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

14 years agoadditional code refactoring in rt_raster_from_band
Bborie Park [Tue, 31 May 2011 22:54:18 +0000 (22:54 +0000)]
additional code refactoring in rt_raster_from_band

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

14 years agocode refactored and added copying of raster attributes to new raster in rt_raster_fro...
Bborie Park [Tue, 31 May 2011 22:47:33 +0000 (22:47 +0000)]
code refactored and added copying of raster attributes to new raster in rt_raster_from_band

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

14 years ago#960 get rid of obsolete ST_AsPNG protos to make consistent with implementation
Regina Obe [Tue, 31 May 2011 01:50:18 +0000 (01:50 +0000)]
#960 get rid of obsolete ST_AsPNG protos to make consistent with implementation

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

14 years ago#960 get rid of ST_AsGDALRaster proto and update remaining to be consistent with...
Regina Obe [Tue, 31 May 2011 01:39:18 +0000 (01:39 +0000)]
#960 get rid of ST_AsGDALRaster proto and update remaining to be consistent with new default args.

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

14 years ago#961- reduce number of functions - Get rid of st_area(geography) and change st_area...
Regina Obe [Tue, 31 May 2011 01:29:19 +0000 (01:29 +0000)]
#961- reduce number of functions -  Get rid of st_area(geography) and change st_area(geography, use_spheroid = true) and also have named argument names so callable by named args

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

14 years agodocument missing proto for createtopology
Regina Obe [Tue, 31 May 2011 01:09:04 +0000 (01:09 +0000)]
document missing proto for createtopology

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

14 years agoDocument ST_SummaryStats raster function
Regina Obe [Tue, 31 May 2011 00:54:01 +0000 (00:54 +0000)]
Document ST_SummaryStats raster function

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

14 years agoAdded default values for function parameters of ST_AsTIFF, ST_AsJPEG and ST_AsPNG.
Bborie Park [Mon, 30 May 2011 20:18:23 +0000 (20:18 +0000)]
Added default values for function parameters of ST_AsTIFF, ST_AsJPEG and ST_AsPNG.

Associated ticket is #960

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

14 years agoAdded default parameter for ST_AsGDALRaster
Bborie Park [Mon, 30 May 2011 15:48:37 +0000 (15:48 +0000)]
Added default parameter for ST_AsGDALRaster

Associated ticket is #960

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

14 years agorenamed all instances of "hasnodata" function argument to "exclude_nodata_value"...
Bborie Park [Mon, 30 May 2011 14:53:11 +0000 (14:53 +0000)]
renamed all instances of "hasnodata" function argument to "exclude_nodata_value" in SQL functions (and underlying code where appropriate) ST_SummaryStats, ST_Count, ST_Sum, ST_Mean, ST_StdDev, ST_MinMax, ST_Quantile, ST_Histogram, ST_ValueCount and ST_ValuePercent

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

14 years agoget rid of bash line -- seems unnecessary and breaks if multiple states. Forgot...
Regina Obe [Mon, 30 May 2011 09:45:36 +0000 (09:45 +0000)]
get rid of bash line -- seems unnecessary and breaks if multiple states.  Forgot cd which was making secondary states fail loading.

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

14 years agogit-svn-id: http://svn.osgeo.org/postgis/trunk@7292 b70326c6-7e19-0410-871a-916f4a2858ee
Regina Obe [Mon, 30 May 2011 08:28:13 +0000 (08:28 +0000)]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7292 b70326c6-7e19-0410-871a-916f4a2858ee

14 years agomore corrections and one more example for ST_ValueCount
Regina Obe [Mon, 30 May 2011 08:27:29 +0000 (08:27 +0000)]
more corrections and one more example for ST_ValueCount

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

14 years agofix errors in notes
Regina Obe [Mon, 30 May 2011 07:39:39 +0000 (07:39 +0000)]
fix errors in notes

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

14 years agofill in more missing protos for st_valuecount -- still more to go
Regina Obe [Mon, 30 May 2011 03:57:42 +0000 (03:57 +0000)]
fill in more missing protos for st_valuecount -- still more to go

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

14 years agoput in missing protos for st_quantile. Revise comment generator scripts to properly...
Regina Obe [Mon, 30 May 2011 03:43:09 +0000 (03:43 +0000)]
put in missing protos for st_quantile.  Revise comment generator scripts to properly handle OUT parameters

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

14 years agodocument ST_quantile -- still missing some protos (also get rid of obsolete warnings)
Regina Obe [Mon, 30 May 2011 02:52:07 +0000 (02:52 +0000)]
document ST_quantile -- still missing some protos (also get rid of obsolete warnings)

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

14 years agoreference to st_valuecount in st_dumpaspixels
Regina Obe [Mon, 30 May 2011 01:56:17 +0000 (01:56 +0000)]
reference to st_valuecount in st_dumpaspixels

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

14 years agoMove Bborie's new cool stat functions into their own section. Add documentation...
Regina Obe [Mon, 30 May 2011 01:51:37 +0000 (01:51 +0000)]
Move Bborie's new cool stat functions into their own section.  Add documentation for st_valuecount -- more coming for other raster functions.  macro replace hasnodata with exclude_nodata_value which hopefully will be clearer to everyone.  The raster codebase needs to be changed to agree with new names (mostly for those utilizing named arguments in PostgreSQL 9.0+).  In enhnced section --put a note that hasnodata was renamed to exclude_nodata_value.

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