Regina Obe
d21f1fcafa
update 1.5.3 release notes
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7386 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-13 12:30:12 +00:00
Regina Obe
aef4713a15
#609 revise JDBC to use non-deprecated calling syntax
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7384 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-13 11:25:09 +00:00
Regina Obe
2f1a72e107
surpress outputting sql if not in debug mode
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7382 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-13 01:32:47 +00:00
Regina Obe
b89b3db7ca
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
2011-06-13 01:31:22 +00:00
Regina Obe
30cc6266ab
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
2011-06-12 14:33:40 +00:00
Regina Obe
289d988d01
fix division by zero issue
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7379 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-12 06:34:18 +00:00
Regina Obe
5d14666e26
make debug statement conditional
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7378 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-12 04:55:30 +00:00
Regina Obe
d6fd367962
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
2011-06-12 04:52:03 +00:00
Bborie Park
b2ca472ea1
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
2011-06-11 19:26:44 +00:00
Bborie Park
19c5577f52
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
2011-06-11 19:06:15 +00:00
Regina Obe
993729ed0a
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
2011-06-11 13:41:19 +00:00
Regina Obe
23ff6ff522
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
2011-06-11 05:27:47 +00:00
Bborie Park
e5062e5dc9
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
2011-06-11 04:59:19 +00:00
Regina Obe
cfe9376100
Note about issues with raster ST_Transform
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7371 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-11 01:09:22 +00:00
Regina Obe
17cb9e9694
document raster ST_Transform function. Will provide examples later.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7370 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-11 00:43:32 +00:00
Bborie Park
c093bd3940
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
2011-06-11 00:05:53 +00:00
Regina Obe
4d3de745cd
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
2011-06-10 23:19:32 +00:00
Bborie Park
34a1aa8855
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
2011-06-10 23:01:50 +00:00
Pierre Racine
34f97a500c
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
2011-06-10 19:49:29 +00:00
Bborie Park
e0ee22b08f
Fixed error messages.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7365 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-10 18:18:49 +00:00
Bborie Park
5399f6502d
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
2011-06-10 18:14:51 +00:00
Regina Obe
b26d46b635
#609 jdbc error in documentation
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7363 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-10 17:24:50 +00:00
Regina Obe
eac7be8f22
#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
2011-06-10 17:00:27 +00:00
Paul Ramsey
29b76ad054
Update NZ projections for grid transformation support ( #631 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7359 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-10 16:16:31 +00:00
Bborie Park
1bb6dcb742
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
2011-06-10 15:19:03 +00:00
Regina Obe
4141521a8f
more description on reclass expressions
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7356 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-10 05:13:39 +00:00
Regina Obe
2ec608ed7b
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
2011-06-10 01:52:12 +00:00
Paul Ramsey
e01f1fd579
Minor change to work with gserialzed
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7353 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-09 21:27:47 +00:00
Bborie Park
b81b589fca
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
2011-06-09 21:15:09 +00:00
Paul Ramsey
603dc6ab42
Remove some compile warnings
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7351 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-09 21:12:28 +00:00
Paul Ramsey
f15edc497f
Add some ignores
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7350 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-09 21:12:08 +00:00
Paul Ramsey
5b10369991
Bad handling of Inf values in GEOS ( #1013 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7349 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-09 20:51:44 +00:00
Regina Obe
b88cc25d63
#448 add CUnit requirement for testing
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7348 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-09 20:32:26 +00:00
Bborie Park
60641d5947
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
2011-06-09 18:55:35 +00:00
Regina Obe
990d1f8f4c
#1009 typo in index creation
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7345 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-09 16:01:51 +00:00
Bborie Park
3a24b02e1c
- 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
2011-06-08 22:47:14 +00:00
Bborie Park
7e143b23c8
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
2011-06-08 21:10:11 +00:00
Bborie Park
cacf93a15a
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
2011-06-08 00:10:12 +00:00
Bborie Park
0d83cc1894
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
2011-06-08 00:00:51 +00:00
Bborie Park
60c2a10862
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
2011-06-07 22:59:23 +00:00
Bborie Park
4752433c0d
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
2011-06-07 18:21:34 +00:00
Regina Obe
d82984cacf
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
2011-06-07 13:04:23 +00:00
Regina Obe
4f98edfa67
more corrections of erroneous statements
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7335 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-07 12:37:00 +00:00
Regina Obe
54b7135e3e
Fix minor formatting issues
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7334 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-07 12:16:27 +00:00
Regina Obe
18b4ab9aab
forgot output column in histogram type
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7333 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-07 07:45:09 +00:00
Regina Obe
16bb97731f
more correction in ST_Histogram explanation
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7332 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-07 07:41:33 +00:00
Regina Obe
95261443b7
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
2011-06-07 07:26:24 +00:00
Regina Obe
1fecc4a392
missing one proto for ST_Histogram
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7330 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-07 07:24:38 +00:00
Regina Obe
a9289383b7
add description ST_Histogram inputs
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7329 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-07 07:20:53 +00:00
Regina Obe
b53bcba1ba
document histogram type
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7328 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-07 07:10:27 +00:00