]>
granicus.if.org Git - postgis/log
Regina Obe [Thu, 23 Jun 2011 22:29:56 +0000 (22:29 +0000)]
note about ST_length geography breaking change -- in 1.5 used to return perimeter of a polygon now returns 0 just like geometry
git-svn-id: http://svn.osgeo.org/postgis/trunk@7459
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 23 Jun 2011 21:15:24 +0000 (21:15 +0000)]
time autho stamp signatures
git-svn-id: http://svn.osgeo.org/postgis/trunk@7458
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 23 Jun 2011 21:11:04 +0000 (21:11 +0000)]
fix typos
git-svn-id: http://svn.osgeo.org/postgis/trunk@7457
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 23 Jun 2011 21:08:40 +0000 (21:08 +0000)]
put in author revision id placeholder and have as part of code logic as well
git-svn-id: http://svn.osgeo.org/postgis/trunk@7456
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Thu, 23 Jun 2011 20:46:32 +0000 (20:46 +0000)]
Removed rt_raster_transform from rt_api.c and any calls to it since rt_raster_gdal_warp has same results for reprojections.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7455
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Thu, 23 Jun 2011 20:29:51 +0000 (20:29 +0000)]
Addition of rt_raster_gdal_warp function in rt_api.c. This was written based upon GDAL's gdalwarp utility to provide a flexible means to reproject, change the scale of, adjust the skew (deskew) of and shift the origin of a raster. RASTER_transform in rt_pg.c has been adjusted to make use of rt_raster_gdal_warp instead of rt_raster_transform. Regression te
sts confirm that resulting rasters from rt_raster_gdal_warp are identical to that of rt_raster_transform.
The abilities to change a raster's scale, skew and origin have yet to be tested and have no user-accessible SQL functions as of this revision. This will occur in future revisions.
The function rt_raster_transform will be removed in a future revision.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7454
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 23 Jun 2011 15:36:54 +0000 (15:36 +0000)]
Re-base circular bbox regressions
git-svn-id: http://svn.osgeo.org/postgis/trunk@7453
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 23 Jun 2011 13:57:16 +0000 (13:57 +0000)]
PostGIS Box2D (and && operator) gives wrong result for ST_CircularString type (#578)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7452
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 23 Jun 2011 13:53:49 +0000 (13:53 +0000)]
clean up credits a bit
git-svn-id: http://svn.osgeo.org/postgis/trunk@7451
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 23 Jun 2011 11:07:23 +0000 (11:07 +0000)]
#944 support functions to comb out type,srid, dim from constraint based geometries and integration into geometry_columns_v so that non-typmods and typmods of the world can coexist in harmony
git-svn-id: http://svn.osgeo.org/postgis/trunk@7450
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 23 Jun 2011 11:01:56 +0000 (11:01 +0000)]
Don't interpret types as flags in ST_Summary. Fixes bug #1054 (needs automated testing)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7449
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Wed, 22 Jun 2011 23:13:26 +0000 (23:13 +0000)]
minor addition to GEOMETRYCOLLECTION(EMPTY) warning
git-svn-id: http://svn.osgeo.org/postgis/trunk@7448
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Wed, 22 Jun 2011 23:10:36 +0000 (23:10 +0000)]
#924 - document breaking change
git-svn-id: http://svn.osgeo.org/postgis/trunk@7447
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 22 Jun 2011 22:09:47 +0000 (22:09 +0000)]
ST_ForceRHR POLYGON EMPTY crash (#710)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7446
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 22 Jun 2011 21:33:18 +0000 (21:33 +0000)]
ST_GeoHash POLYGON Empty crash (#711)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7445
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Wed, 22 Jun 2011 06:55:08 +0000 (06:55 +0000)]
Fill in raster coverage protos for ST_Histogram (still need examples for these), fix typo in another function, change ST_SetBandNoDataValue as if it supports default args (the documentation will be consistent with implementation onces #1049 is done)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7444
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 21 Jun 2011 06:13:43 +0000 (06:13 +0000)]
get rid of extraneous proto
git-svn-id: http://svn.osgeo.org/postgis/trunk@7443
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 21 Jun 2011 05:45:01 +0000 (05:45 +0000)]
more fine tuning of output of driver options
git-svn-id: http://svn.osgeo.org/postgis/trunk@7442
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 21 Jun 2011 05:25:12 +0000 (05:25 +0000)]
Fix ST_GDalDrivers output to correctly output options as table. I had thought it was evenly balanced (all options have descriptions), but that is not the case so origianl example had the name and descriptions mismatched
git-svn-id: http://svn.osgeo.org/postgis/trunk@7441
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Tue, 21 Jun 2011 05:05:16 +0000 (05:05 +0000)]
Refactored code and removed the use of SET_VARSIZE for RASTER_band to fix segfault.
Associated ticket is #1044.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7440
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 21 Jun 2011 04:18:10 +0000 (04:18 +0000)]
change bigint to integer for ST_ValueCount record outputs
git-svn-id: http://svn.osgeo.org/postgis/trunk@7439
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 21 Jun 2011 03:26:48 +0000 (03:26 +0000)]
document ST_AsJPEG and fill in missing protos for ST_ValueCount
git-svn-id: http://svn.osgeo.org/postgis/trunk@7438
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 21 Jun 2011 01:52:03 +0000 (01:52 +0000)]
Get rid of removed ST_SummaryStats proto and add new ST_SummaryStats proto
git-svn-id: http://svn.osgeo.org/postgis/trunk@7437
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 20 Jun 2011 21:15:48 +0000 (21:15 +0000)]
ST_Dump with GSerialized POINT EMPTY and EWKT/AsText mismatch (#746)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7436
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 20 Jun 2011 17:08:21 +0000 (17:08 +0000)]
Increase size of generator.c static buffer. (#583)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7435
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 20 Jun 2011 16:58:07 +0000 (16:58 +0000)]
geography: ST_Intersects, ST_DWithin gbox_overlaps: geometries have mismatched dimensionality (#1037)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7433
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Mon, 20 Jun 2011 14:55:22 +0000 (14:55 +0000)]
Changed the regression tests for ST_Transform in preparation for testing replacement ST_Transform function with different underlying code.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7432
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 20 Jun 2011 11:37:40 +0000 (11:37 +0000)]
Add missing SQL/MM functions in the status section (TODO)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7431
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 20 Jun 2011 09:29:31 +0000 (09:29 +0000)]
#1040 -- ST_MinimumBoundingCircle -- replace X(), Y() deprecated calls with ST_X(), ST_Y(). Also changed to use default args. We really need regression tests for this function. Will put on separate task.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7430
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 19 Jun 2011 06:24:45 +0000 (06:24 +0000)]
more cleanup of hard upgrade instructions
git-svn-id: http://svn.osgeo.org/postgis/trunk@7429
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 19 Jun 2011 05:52:03 +0000 (05:52 +0000)]
Amend hard upgrade instructions to remove stuff that is obsolete and add in additional steps needed for PostGIS 2.0. Also update creating new spatial database to include instructions for installing raster and topology support
git-svn-id: http://svn.osgeo.org/postgis/trunk@7428
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 19 Jun 2011 00:31:53 +0000 (00:31 +0000)]
add index check / generation for soundex, lower, geometry gist, and least_hn
git-svn-id: http://svn.osgeo.org/postgis/trunk@7427
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 18 Jun 2011 22:16:54 +0000 (22:16 +0000)]
Fix for #1025 -- Geocoder Failing with NORTH EAST is street name
git-svn-id: http://svn.osgeo.org/postgis/trunk@7426
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Sat, 18 Jun 2011 18:24:36 +0000 (18:24 +0000)]
Error message change
git-svn-id: http://svn.osgeo.org/postgis/trunk@7425
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 18 Jun 2011 07:35:26 +0000 (07:35 +0000)]
hmm lets try that again
git-svn-id: http://svn.osgeo.org/postgis/trunk@7424
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 18 Jun 2011 07:34:47 +0000 (07:34 +0000)]
backout some code didn't mean to commit
git-svn-id: http://svn.osgeo.org/postgis/trunk@7423
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 18 Jun 2011 07:29:07 +0000 (07:29 +0000)]
Found some indexes I missed -- added to tiger_loader, also #1036 create missing_indexes generation script to back install. Still need to put in logic for some more indexes, but htis is a good start. Also documented new function
git-svn-id: http://svn.osgeo.org/postgis/trunk@7422
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 18 Jun 2011 06:03:38 +0000 (06:03 +0000)]
fix error in last commit
git-svn-id: http://svn.osgeo.org/postgis/trunk@7421
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 18 Jun 2011 05:33:56 +0000 (05:33 +0000)]
get rid of unnecessary auto casting
git-svn-id: http://svn.osgeo.org/postgis/trunk@7420
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 18 Jun 2011 05:15:50 +0000 (05:15 +0000)]
#1035 gluing on .0 is making least check always return 0.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7419
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 18 Jun 2011 03:41:35 +0000 (03:41 +0000)]
Change ST_Length, ST_Perimeter for geography to use default parameters, document ST_Perimeter(geography,use_spheroid)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7418
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 17 Jun 2011 22:36:28 +0000 (22:36 +0000)]
Quiet regression failure for minor rounding difference.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7417
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 17 Jun 2011 22:18:59 +0000 (22:18 +0000)]
Bounding box calculation for straight CircString fails (#668)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7416
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 17 Jun 2011 21:26:08 +0000 (21:26 +0000)]
Retrieving and storing Geography column data through JDBC does not work (#350)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7415
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 17 Jun 2011 21:11:05 +0000 (21:11 +0000)]
Define alias ST_Perimeter (for geography ST_Length) (#526)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7414
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Fri, 17 Jun 2011 20:33:37 +0000 (20:33 +0000)]
#1032 fix typos
git-svn-id: http://svn.osgeo.org/postgis/trunk@7413
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Fri, 17 Jun 2011 20:14:39 +0000 (20:14 +0000)]
change geography to geometry and limit view to only output tables and views
git-svn-id: http://svn.osgeo.org/postgis/trunk@7412
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Fri, 17 Jun 2011 20:06:40 +0000 (20:06 +0000)]
fixed parameter passing in ST_AsTiff
git-svn-id: http://svn.osgeo.org/postgis/trunk@7411
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Fri, 17 Jun 2011 15:16:08 +0000 (15:16 +0000)]
Refactored ST_SummaryStats so that there is a non-user _ST_SummaryStats that is the backend of all ST_SummaryStats and ST_ApproxSummary stats functions. This eliminates the "sample_percent" parameter from the one ST_SummaryStats function that had it.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7410
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 16 Jun 2011 21:01:53 +0000 (21:01 +0000)]
Partial typmod support for PostGIS geometry (#944)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7409
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 16 Jun 2011 20:29:43 +0000 (20:29 +0000)]
Some cleanup. change ST_AsGDALRaster example using spatial ref to agree with new syntax of just passing in the srid.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7408
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 16 Jun 2011 02:16:30 +0000 (02:16 +0000)]
put in missing tag
git-svn-id: http://svn.osgeo.org/postgis/trunk@7404
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 16 Jun 2011 02:08:14 +0000 (02:08 +0000)]
document &&& nd interacts bounding box operator
git-svn-id: http://svn.osgeo.org/postgis/trunk@7403
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 15 Jun 2011 23:59:40 +0000 (23:59 +0000)]
Fix up selectivity and operators a little
git-svn-id: http://svn.osgeo.org/postgis/trunk@7402
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 15 Jun 2011 20:22:13 +0000 (20:22 +0000)]
Add a couple more GBOX functions to map to B2DF4 requirements
git-svn-id: http://svn.osgeo.org/postgis/trunk@7401
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Wed, 15 Jun 2011 15:43:51 +0000 (15:43 +0000)]
Changed band pixel types to 64BF instead of 32BF so that the warning messages for data getting converted are mitigated.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7400
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Wed, 15 Jun 2011 14:29:20 +0000 (14:29 +0000)]
Added value for nBandCount attribute of GDALWarpOptions in rt_raster_transform function.
This is based upon the discussion found at:
http://lists.osgeo.org/pipermail/gdal-dev/2011-May/028730.html
Related ticket is #1015
git-svn-id: http://svn.osgeo.org/postgis/trunk@7399
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Wed, 15 Jun 2011 12:44:42 +0000 (12:44 +0000)]
#722 - get rid of transform and remainder of SnapToGrid deprecated family of functions. Add to #945 uninstall_legacy and also legacy.sql.in.c files
git-svn-id: http://svn.osgeo.org/postgis/trunk@7398
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Wed, 15 Jun 2011 01:25:58 +0000 (01:25 +0000)]
Change ST_MapAlgebra to use default args and amend the documentation to reflect change. In so doing fix #969 - inconsistent order of args, #967 raster regress failures on 9.0 and 9.1
git-svn-id: http://svn.osgeo.org/postgis/trunk@7397
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Tue, 14 Jun 2011 19:32:18 +0000 (19:32 +0000)]
Changed SRID to something within the range permitted by GSERIALIZED. As of this revision, all raster regression tests pass successfully.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7396
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 14 Jun 2011 16:21:23 +0000 (16:21 +0000)]
bug in BOX2DFLOAT4_in function due to GSERIALIZED_ON change (#1020)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7395
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Tue, 14 Jun 2011 16:04:34 +0000 (16:04 +0000)]
With GSERIALIZED_ON enabled, adapted code that needs preprocessor conditions. Basically instead of "geometry_gist_sel" and "geometry_gist_joinsel", GSERIALIZED_ON uses "contsel" and "contjoinsel"
git-svn-id: http://svn.osgeo.org/postgis/trunk@7394
b70326c6 -7e19-0410-871a-
916f4a2858ee
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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