]> granicus.if.org Git - postgis/log
postgis
11 years agoadd 2.0.3 and 2.1 sections, break out 2.1 changed from new
Regina Obe [Thu, 2 May 2013 12:00:26 +0000 (12:00 +0000)]
add 2.0.3 and 2.1 sections, break out 2.1 changed from new

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

11 years agoban strk's annoying warning note about using deprecated functions
Regina Obe [Wed, 1 May 2013 13:48:41 +0000 (13:48 +0000)]
ban strk's annoying warning note about using deprecated functions

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

11 years agorevise unpackaged to include pagc stuff
Regina Obe [Wed, 1 May 2013 05:51:08 +0000 (05:51 +0000)]
revise unpackaged to include pagc stuff

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

11 years agofix formatting was causing miss parsing of zips
Regina Obe [Wed, 1 May 2013 05:05:16 +0000 (05:05 +0000)]
fix formatting was causing miss parsing of zips

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

11 years agoone more clarification
Regina Obe [Tue, 30 Apr 2013 03:39:00 +0000 (03:39 +0000)]
one more clarification

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

11 years agoclarify under what conditions you can compile without GDAL
Regina Obe [Tue, 30 Apr 2013 03:35:10 +0000 (03:35 +0000)]
clarify under what conditions you can compile without GDAL

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

11 years ago#2279 fix typo got smallint and int4 confused
Regina Obe [Mon, 29 Apr 2013 05:31:44 +0000 (05:31 +0000)]
#2279 fix typo got smallint and int4 confused

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

11 years ago#2279: fix inability to upgrade from 2.0 to 2.1 by renaming old geog/geom selectivity...
Regina Obe [Sun, 28 Apr 2013 21:27:40 +0000 (21:27 +0000)]
#2279: fix inability to upgrade from 2.0 to 2.1 by renaming old geog/geom selectivity functions to new name (if they are currently used) aand then allowing the standard upgrade to steam roll over the definitions.

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

11 years agoAdded ST_Summary(raster). Ticket #2280
Bborie Park [Fri, 26 Apr 2013 14:47:40 +0000 (14:47 +0000)]
Added ST_Summary(raster). Ticket #2280

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

11 years agoupdates to instructions more coming though should probably just put n onlin documentation
Regina Obe [Thu, 25 Apr 2013 10:07:48 +0000 (10:07 +0000)]
updates to instructions more coming though should probably just put n onlin documentation

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

11 years ago#2260: revise to use new API structure of pagc standardizer
Regina Obe [Thu, 25 Apr 2013 10:07:00 +0000 (10:07 +0000)]
#2260: revise to use new API structure of pagc standardizer

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

11 years agoAdded better handling of file paths for msys
Bborie Park [Wed, 24 Apr 2013 15:54:58 +0000 (15:54 +0000)]
Added better handling of file paths for msys

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

11 years agoAdd update path from 2.0.3 to 2.1.0SVN
Regina Obe [Wed, 24 Apr 2013 03:34:59 +0000 (03:34 +0000)]
Add update path from 2.0.3 to 2.1.0SVN

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

11 years agoAdded parameter to ST_AsBinary(raster) to permit out-db bands to be treated as in...
Bborie Park [Tue, 23 Apr 2013 23:46:27 +0000 (23:46 +0000)]
Added parameter to ST_AsBinary(raster) to permit out-db bands to be treated as in-db. Ticket #2222

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

11 years ago#2275, revert configure argument with-pgconfig
Paul Ramsey [Tue, 23 Apr 2013 21:48:22 +0000 (21:48 +0000)]
#2275, revert configure argument with-pgconfig

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

11 years ago#2277, potential segfault condition removed
Paul Ramsey [Tue, 23 Apr 2013 21:03:35 +0000 (21:03 +0000)]
#2277, potential segfault condition removed

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

11 years agoAdded test for loading out-db rasters in raster2pgsql
Bborie Park [Tue, 23 Apr 2013 20:37:11 +0000 (20:37 +0000)]
Added test for loading out-db rasters in raster2pgsql

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

11 years agoExplicitly initialize memory as valgrind complains
Bborie Park [Tue, 23 Apr 2013 19:32:18 +0000 (19:32 +0000)]
Explicitly initialize memory as valgrind complains

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

11 years agoAdded bash versions of "bootstrapping" code for rt_addband test
Bborie Park [Tue, 23 Apr 2013 19:32:14 +0000 (19:32 +0000)]
Added bash versions of "bootstrapping" code for rt_addband test

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

11 years agoAddition of ST_AddBand(raster, ...) for out-db bands. Ticket #2276
Bborie Park [Tue, 23 Apr 2013 19:32:06 +0000 (19:32 +0000)]
Addition of ST_AddBand(raster, ...) for out-db bands. Ticket #2276

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

11 years agooops had wrong data type for tables
Regina Obe [Wed, 17 Apr 2013 12:46:07 +0000 (12:46 +0000)]
oops had wrong data type for tables

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

11 years agoProperly escape dashes in man pages
Sandro Santilli [Wed, 17 Apr 2013 06:58:45 +0000 (06:58 +0000)]
Properly escape dashes in man pages

Patch by Markus Wanner <markus@bluegap.ch>

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

11 years agoAdded numerical parameters version of ST_SetGeoReference(raster).
Bborie Park [Tue, 16 Apr 2013 18:23:36 +0000 (18:23 +0000)]
Added numerical parameters version of ST_SetGeoReference(raster).
Ticket #613

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

11 years agoChange PGCONFIG to PG_CONFIG
Paul Ramsey [Tue, 16 Apr 2013 15:21:42 +0000 (15:21 +0000)]
Change PGCONFIG to PG_CONFIG

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

11 years agoLink to wikipedia article about GeoHash from ST_GeoHash
Sandro Santilli [Tue, 16 Apr 2013 07:40:36 +0000 (07:40 +0000)]
Link to wikipedia article about GeoHash from ST_GeoHash

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

11 years agoEmit warning when changing a raster's georeference if raster has any
Bborie Park [Mon, 15 Apr 2013 21:40:34 +0000 (21:40 +0000)]
Emit warning when changing a raster's georeference if raster has any
out-db bands. Also updated docs with note. Ticket #2244

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

11 years agoadd new use_pagc_addess_parser switch in list
Regina Obe [Mon, 15 Apr 2013 21:14:09 +0000 (21:14 +0000)]
add new use_pagc_addess_parser switch in list

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

11 years agoAdd -s to usage string of postgis_restore.pl. See #2264
Sandro Santilli [Mon, 15 Apr 2013 08:02:02 +0000 (08:02 +0000)]
Add -s to usage string of postgis_restore.pl. See #2264

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

11 years agoAssociated CLI fix for #2272: shp2pgsql-gui crashes when given filenames with dots.
Mark Cave-Ayland [Sat, 13 Apr 2013 18:26:44 +0000 (18:26 +0000)]
Associated CLI fix for #2272: shp2pgsql-gui crashes when given filenames with dots.

After some experimentation, the best solution seems to be to use a separate scan to
remove the extension before finding the non-path section when deriving the table
name.

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

11 years agoFix for bug #2272: shp2pgsql-gui crashes when given filenames with dots.
Mark Cave-Ayland [Sat, 13 Apr 2013 17:36:22 +0000 (17:36 +0000)]
Fix for bug #2272: shp2pgsql-gui crashes when given filenames with dots.

This was a combination of two bugs: firstly, we weren't initialising the
state variable field_names to NULL, and so if the variable happened to
be filled with junk and we were unable to import a shape file, we would
end up freeing a random pointer.

Secondly, shapelib tries to be clever and strip off any file extension
by searching for a "." character from the end of the filename, hence
causing the truncation of the filename. Resolve this by leaving the
.shp/.dbf extension from the file selector in the filename string so
that shapelib does the right thing.

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

11 years ago#2260 - fix normalize discrepancy in pagc handling service drives
Regina Obe [Sat, 13 Apr 2013 07:15:18 +0000 (07:15 +0000)]
#2260 - fix normalize discrepancy in pagc handling service drives

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

11 years ago#945, clean up build artefacts and upgrade script
Paul Ramsey [Fri, 12 Apr 2013 18:46:39 +0000 (18:46 +0000)]
#945, clean up build artefacts and upgrade script

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

11 years ago#945, remove the old selectivity code, now no longer being called
Paul Ramsey [Fri, 12 Apr 2013 18:33:50 +0000 (18:33 +0000)]
#945, remove the old selectivity code, now no longer being called

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

11 years agoRewrite the postgis_restore.pl improvement line
Sandro Santilli [Fri, 12 Apr 2013 16:20:22 +0000 (16:20 +0000)]
Rewrite the postgis_restore.pl improvement line

The commit message was also wrong, it's not the dump having postgis
in custom schema but the new install...

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

11 years agopostgis_restore.pl support for dump with postgis in custom schema
Sandro Santilli [Fri, 12 Apr 2013 16:10:28 +0000 (16:10 +0000)]
postgis_restore.pl support for dump with postgis in custom schema

See #2264 -- thanks Thomas (frost242)

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

11 years agoPrevent parallel make of raster. Ticket 2271
Bborie Park [Thu, 11 Apr 2013 20:14:44 +0000 (20:14 +0000)]
Prevent parallel make of raster. Ticket 2271

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

11 years agogive license faq a permanent pretty anchor.
Regina Obe [Wed, 10 Apr 2013 20:06:50 +0000 (20:06 +0000)]
give license faq a permanent pretty anchor.

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

11 years agoFix expression-based ST_MapAlgebra resulting in regression failures on some machines
Bborie Park [Tue, 9 Apr 2013 23:45:43 +0000 (23:45 +0000)]
Fix expression-based ST_MapAlgebra resulting in regression failures on some machines

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

11 years agoFix access to random memory during ANALYZE
Sandro Santilli [Tue, 9 Apr 2013 22:43:27 +0000 (22:43 +0000)]
Fix access to random memory during ANALYZE

The bug was introduced with previous commit, see #2269

As part of this fix, the stawidth field of pg_statistics is
changed to represent the average _compressed_ size rather
than the average _uncompressed_ size of non-null geometry
values. This may have some consequence on the planner (not
known at time of commit).

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

11 years agoAvoid uselessly detoasting full geometries on ANALYZE (#2269)
Sandro Santilli [Tue, 9 Apr 2013 18:35:34 +0000 (18:35 +0000)]
Avoid uselessly detoasting full geometries on ANALYZE (#2269)

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

11 years agoRemoved debug statements
Bborie Park [Sat, 6 Apr 2013 18:14:00 +0000 (18:14 +0000)]
Removed debug statements

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

11 years agoGBOX variables not initialized for empty geometries. Ticket #2257
Bborie Park [Sat, 6 Apr 2013 18:11:13 +0000 (18:11 +0000)]
GBOX variables not initialized for empty geometries. Ticket #2257

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

11 years agochange to use some elements from parse_address
Regina Obe [Fri, 5 Apr 2013 14:37:43 +0000 (14:37 +0000)]
change to use some elements from parse_address

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

11 years agoadd pagc regression testing. Will upload the regress output once I look into the...
Regina Obe [Fri, 5 Apr 2013 14:28:33 +0000 (14:28 +0000)]
add pagc regression testing.  Will upload the regress output once I look into the regression failures

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

11 years ago#2192: doco patch
Regina Obe [Thu, 4 Apr 2013 06:46:47 +0000 (06:46 +0000)]
#2192: doco patch

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

11 years ago#2258 get rid of explicit public (so people can install postgis in any schema they...
Regina Obe [Wed, 3 Apr 2013 22:53:01 +0000 (22:53 +0000)]
#2258 get rid of explicit public (so people can install postgis in any schema they want), but insure we use security invoker to call new st_esimatedExtent to prevent malicious code injection.

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

11 years agomark pagc lookup tables is_custom = true as editable
Regina Obe [Wed, 3 Apr 2013 13:39:41 +0000 (13:39 +0000)]
mark pagc lookup tables is_custom = true as editable

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

11 years ago#2261: fix creation of next next upgrade script, add null protection for pagc_normali...
Regina Obe [Wed, 3 Apr 2013 12:54:46 +0000 (12:54 +0000)]
#2261: fix creation of next next upgrade script, add null protection for pagc_normalize_address

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

11 years ago#2193: implement upgrade next next functionality hack, implement swap -- SELECT set_g...
Regina Obe [Tue, 2 Apr 2013 22:22:59 +0000 (22:22 +0000)]
#2193: implement upgrade next next functionality hack, implement swap -- SELECT set_geocode_setting('use_pagc_address_parser','true');  will cause geocoder to use pagc address parser instead of build in normalizer

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

11 years ago#2193: get rid of redundant call.
Regina Obe [Tue, 2 Apr 2013 20:51:36 +0000 (20:51 +0000)]
#2193: get rid of redundant call.

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

11 years ago#2193 integrate pagc in extension (loads helper tables) and also upgrade and create...
Regina Obe [Tue, 2 Apr 2013 20:46:12 +0000 (20:46 +0000)]
#2193 integrate pagc in extension (loads helper tables) and also upgrade and create scripts, modify tables some more.  Still need to put in another folder with c files for compile and in manual on how to enable.

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

11 years ago#2193: pretype (not ideal because norm_addy doesn't have slot for it so just stuff...
Regina Obe [Tue, 2 Apr 2013 15:07:12 +0000 (15:07 +0000)]
#2193: pretype (not ideal because norm_addy doesn't have slot for it so just stuff in streettypeabbrev ) .norm_addy should ideally be changed.

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

11 years agoforgot the pre direction
Regina Obe [Tue, 2 Apr 2013 14:57:52 +0000 (14:57 +0000)]
forgot the pre direction

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

11 years agoFirst step of integrating the pagc normalizer, add the tables and wrapper function...
Regina Obe [Tue, 2 Apr 2013 14:43:52 +0000 (14:43 +0000)]
First step of integrating the pagc normalizer, add the tables and wrapper function that return a norm_addy object and also a geocode_setting option to swap out old address parser with pagc

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

11 years ago#2018 mark ST_Dwithin as also supporting curves. Just taking rpamsey's word for...
Regina Obe [Sun, 31 Mar 2013 01:55:16 +0000 (01:55 +0000)]
#2018 mark ST_Dwithin as also supporting curves.  Just taking rpamsey's word for this -- will test later.

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

11 years ago#2018: highlight that curves are now supported - examples forthcoming. Also broke...
Regina Obe [Sat, 30 Mar 2013 01:19:11 +0000 (01:19 +0000)]
#2018: highlight that curves are now supported - examples forthcoming.  Also broke geography into separate example section

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

11 years ago#2018, Remove old bruteforce function and replace with new one.
Paul Ramsey [Fri, 29 Mar 2013 20:38:14 +0000 (20:38 +0000)]
#2018, Remove old bruteforce function and replace with new one.

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

11 years agoSet CFLAGS in loader cunit tests so that mingw can run tests
Bborie Park [Fri, 29 Mar 2013 20:37:55 +0000 (20:37 +0000)]
Set CFLAGS in loader cunit tests so that mingw can run tests

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

11 years agoRemoved commented out variants of ST_MapAlgebra removed in r11222.
Bborie Park [Fri, 29 Mar 2013 16:47:46 +0000 (16:47 +0000)]
Removed commented out variants of ST_MapAlgebra removed in r11222.

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

11 years agoAdded news about Ticket #2133
Bborie Park [Fri, 29 Mar 2013 16:36:38 +0000 (16:36 +0000)]
Added news about Ticket #2133

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

11 years agoCode cleanup to shut gcc up
Bborie Park [Fri, 29 Mar 2013 16:34:05 +0000 (16:34 +0000)]
Code cleanup to shut gcc up

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

11 years agoRefactored expression variant of ST_MapAlgebra() to be faster.
Bborie Park [Fri, 29 Mar 2013 16:33:57 +0000 (16:33 +0000)]
Refactored expression variant of ST_MapAlgebra() to be faster.
Performance is almost as good as ST_MapAlgebraExpr(). Ticket #2133

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

11 years agofix link
Regina Obe [Fri, 29 Mar 2013 15:55:25 +0000 (15:55 +0000)]
fix link

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

11 years ago#2018, Distance calculation support for arc features (circstring, compoundcurve,...
Paul Ramsey [Thu, 28 Mar 2013 22:11:09 +0000 (22:11 +0000)]
#2018, Distance calculation support for arc features (circstring, compoundcurve, curvepolygon)

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

11 years agochange variable used to __MINGW64_VERSION_MAJOR (the mingw64_w32 doesn't have __MING...
Regina Obe [Thu, 28 Mar 2013 13:32:44 +0000 (13:32 +0000)]
change variable used to __MINGW64_VERSION_MAJOR  (the mingw64_w32 doesn't have __MINGW64_ (only the mingw64-w64 has that)

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

11 years ago#1668: if mingw64 and it returns <0 switch to _vscprintf native windows implementatio...
Regina Obe [Thu, 28 Mar 2013 09:30:19 +0000 (09:30 +0000)]
#1668: if mingw64 and it returns <0 switch to _vscprintf native windows implementation. Thanks to swoodbridge for pointing out the define to use.

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

11 years agoFix bad dimensions when rescaling rasters with default geotransform
Bborie Park [Wed, 27 Mar 2013 13:30:42 +0000 (13:30 +0000)]
Fix bad dimensions when rescaling rasters with default geotransform
matrix. Ticket #2251

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

11 years agoflag #945 as complete
Paul Ramsey [Tue, 26 Mar 2013 15:47:49 +0000 (15:47 +0000)]
flag #945 as complete

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

11 years ago#2201, ST_GeoHash wrong on boundaries
Paul Ramsey [Tue, 26 Mar 2013 15:24:19 +0000 (15:24 +0000)]
#2201, ST_GeoHash wrong on boundaries

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

11 years ago#2186, gui progress bar update is slowing loads
Paul Ramsey [Tue, 26 Mar 2013 13:12:54 +0000 (13:12 +0000)]
#2186, gui progress bar update is slowing loads

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

11 years agoEnhanced ST_Union(raster, uniontype) to union all bands of all rasters.
Bborie Park [Tue, 26 Mar 2013 04:14:48 +0000 (04:14 +0000)]
Enhanced ST_Union(raster, uniontype) to union all bands of all rasters.
Ticket #2200.

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

11 years agorevert wrong regress encoding stuff from r11205
Olivier Courtin [Mon, 25 Mar 2013 18:45:46 +0000 (18:45 +0000)]
revert wrong regress encoding stuff from r11205

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

11 years agoRelated to #1553. Add missing free in cu_surface cunit to be valgrind clean. As TGEOM...
Olivier Courtin [Mon, 25 Mar 2013 18:41:48 +0000 (18:41 +0000)]
Related to #1553. Add missing free in cu_surface cunit to be valgrind clean. As TGEOM was not used as storage serialization, i purely remove TGEOM for now, and kept only the TIN/POLYHEDRALSURFACE lwgeom expression (will see in future if we really need to have a 3D topological storage PostGIS side)

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

11 years agoRemoved old raster core tests from configure
Bborie Park [Mon, 25 Mar 2013 17:17:58 +0000 (17:17 +0000)]
Removed old raster core tests from configure

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

11 years agoDelete old core raster tests. Ticket #2115
Bborie Park [Mon, 25 Mar 2013 17:11:42 +0000 (17:11 +0000)]
Delete old core raster tests. Ticket #2115

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

11 years agoAddition of ST_FromGDALRaster(). This is what happens on a long airplane
Bborie Park [Mon, 25 Mar 2013 03:14:49 +0000 (03:14 +0000)]
Addition of ST_FromGDALRaster(). This is what happens on a long airplane
flight! Ticket #2123.

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

11 years agoAdded item regarding -n of raster2pgsql. Ticket #2231
Bborie Park [Mon, 25 Mar 2013 03:08:52 +0000 (03:08 +0000)]
Added item regarding -n of raster2pgsql. Ticket #2231

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

11 years agoAdded ability to specify name of filename column in raster2pgsql. More
Bborie Park [Mon, 25 Mar 2013 03:05:13 +0000 (03:05 +0000)]
Added ability to specify name of filename column in raster2pgsql. More
stuff being done stuck in a tube at 30k feet.

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

11 years agoRevert "Add '-x c' switch to CPP / CC when used as SQL preprocessor"
Sandro Santilli [Fri, 22 Mar 2013 16:12:20 +0000 (16:12 +0000)]
Revert "Add '-x c' switch to CPP / CC when used as SQL preprocessor"

It seems it wasn't needed, see #2239

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

11 years agoFix lineal TopoJSON output to keep multi components separated
Sandro Santilli [Fri, 22 Mar 2013 12:34:34 +0000 (12:34 +0000)]
Fix lineal TopoJSON output to keep multi components separated

REF: #2228

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

11 years agoAdd '-x c' switch to CPP / CC when used as SQL preprocessor
Sandro Santilli [Fri, 22 Mar 2013 11:20:07 +0000 (11:20 +0000)]
Add '-x c' switch to CPP / CC when used as SQL preprocessor

Hopefully it'll set us free to name our input files with any
extension we decide.

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

11 years agoFix ST_InvDistWeigh4MA() to handle a situation when neighborhood is
Bborie Park [Thu, 21 Mar 2013 21:28:05 +0000 (21:28 +0000)]
Fix ST_InvDistWeigh4MA() to handle a situation when neighborhood is
empty except the center pixel.

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

11 years agoFix areal TopoJSON output to group and order polygon rings (#2228)
Sandro Santilli [Thu, 21 Mar 2013 16:15:51 +0000 (16:15 +0000)]
Fix areal TopoJSON output to group and order polygon rings (#2228)

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

11 years agoReview comments above Makefile rule to generate .sql from .sql.in
Sandro Santilli [Thu, 21 Mar 2013 09:01:28 +0000 (09:01 +0000)]
Review comments above Makefile rule to generate .sql from .sql.in

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

11 years agoHave functions deprecated in 2.1.0 raise a WARNING message (#1994)
Sandro Santilli [Wed, 20 Mar 2013 17:38:58 +0000 (17:38 +0000)]
Have functions deprecated in 2.1.0 raise a WARNING message (#1994)

Drop use of some deprecated functions by other functions
(as exposed by testsuite).

Add a _postgis_deprecate service function for the message, so we
can change from WARNING to NOTICE or we can tweak the message,
in a central place.

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

11 years agoDeprecate non-CamelCase linear referencing function (#1994)
Sandro Santilli [Wed, 20 Mar 2013 16:47:24 +0000 (16:47 +0000)]
Deprecate non-CamelCase linear referencing function (#1994)

- ST_Line_Interpolate_Point renamed to ST_LineInterpolatePoint
- ST_Line_Substring renamed to ST_LineSubstring
- ST_Line_Locate_Point renamed to ST_LineLocatePoint

Tests updated to use the new signature, docs updated to show the
new signature and report deprecations

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

11 years agoAdd perturbating edges in TopoJSON test
Sandro Santilli [Wed, 20 Mar 2013 16:10:40 +0000 (16:10 +0000)]
Add perturbating edges in TopoJSON test

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

11 years agoUpdate TopoJSON example with correct output, add note about arc indices
Sandro Santilli [Wed, 20 Mar 2013 12:18:06 +0000 (12:18 +0000)]
Update TopoJSON example with correct output, add note about arc indices

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

11 years agoSpeedup areal TopoJSON output routine to use edge walking
Sandro Santilli [Wed, 20 Mar 2013 11:44:37 +0000 (11:44 +0000)]
Speedup areal TopoJSON output routine to use edge walking

Now it takes 6% of the time to do the same thing !

Tweak tests to expect new arcs numbering and order.
Also fixes missing comma separating polygon ring arcs.

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

11 years agoFix AsTopoJSON call in testcase
Sandro Santilli [Wed, 20 Mar 2013 10:27:07 +0000 (10:27 +0000)]
Fix AsTopoJSON call in testcase

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

11 years agoProperly encode TopoJSON.sql.in dependency into topology.sql
Sandro Santilli [Wed, 20 Mar 2013 10:26:51 +0000 (10:26 +0000)]
Properly encode TopoJSON.sql.in dependency into topology.sql

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

11 years agoOops, forgot to add topojson test expectancy (#2240)
Sandro Santilli [Wed, 20 Mar 2013 07:48:15 +0000 (07:48 +0000)]
Oops, forgot to add topojson test expectancy (#2240)

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

11 years agoAdd AsTopoJSON(TopoGeometry) function (#2228)
Sandro Santilli [Tue, 19 Mar 2013 18:29:38 +0000 (18:29 +0000)]
Add AsTopoJSON(TopoGeometry) function (#2228)

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

11 years agoCleanup and integrate documentation of ST_GetFaceEdges
Sandro Santilli [Tue, 19 Mar 2013 11:52:47 +0000 (11:52 +0000)]
Cleanup and integrate documentation of ST_GetFaceEdges

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

11 years agoMove GML function under a new export/ subdir
Sandro Santilli [Tue, 19 Mar 2013 09:59:41 +0000 (09:59 +0000)]
Move GML function under a new export/ subdir

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

11 years agoDrop the .c suffix of sql files to preprocess under topology/ dir
Sandro Santilli [Tue, 19 Mar 2013 09:53:17 +0000 (09:53 +0000)]
Drop the .c suffix of sql files to preprocess under topology/ dir

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

11 years agoDrop the .c suffix of sql files to preprocess under raster/ dir
Sandro Santilli [Tue, 19 Mar 2013 09:16:45 +0000 (09:16 +0000)]
Drop the .c suffix of sql files to preprocess under raster/ dir

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

11 years ago#2238: clarify neighborhood distance terminology
Regina Obe [Mon, 18 Mar 2013 19:50:47 +0000 (19:50 +0000)]
#2238: clarify neighborhood distance terminology

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

11 years agoDrop unused variables
Sandro Santilli [Mon, 18 Mar 2013 18:14:52 +0000 (18:14 +0000)]
Drop unused variables

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

11 years agoDrop the .c suffix of sql files to preprocess
Sandro Santilli [Mon, 18 Mar 2013 17:20:18 +0000 (17:20 +0000)]
Drop the .c suffix of sql files to preprocess

The suffix was added to make compilers happy about preprocessing,
but invoking cpp directly should be just fine (SQLPP macro)

This is an experimental change under postgis/, if everyone is happy
the same thing will be done for raster/ and topology/

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