]> granicus.if.org Git - postgis/log
postgis
13 years agoshp2pgsql gui wrong use of create spatial index (#1091)
Paul Ramsey [Sat, 17 Sep 2011 19:59:41 +0000 (19:59 +0000)]
shp2pgsql gui wrong use of create spatial index (#1091)

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

13 years agoTypo in testcase label
Sandro Santilli [Sat, 17 Sep 2011 07:58:30 +0000 (07:58 +0000)]
Typo in testcase label

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

13 years agoTypo
Sandro Santilli [Sat, 17 Sep 2011 07:10:09 +0000 (07:10 +0000)]
Typo

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

13 years agoMinor inline documentation updates
Sandro Santilli [Sat, 17 Sep 2011 06:58:16 +0000 (06:58 +0000)]
Minor inline documentation updates

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

13 years agoImplement ST_RemEdgeNewFace (#1188) [RT-SIGTA]
Sandro Santilli [Sat, 17 Sep 2011 06:46:04 +0000 (06:46 +0000)]
Implement ST_RemEdgeNewFace (#1188)  [RT-SIGTA]

Includes regress testing and documentation.

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

13 years agofixups and code cleanups for the rt_raster_gdal_rasterize to better handle point...
Bborie Park [Fri, 16 Sep 2011 13:32:22 +0000 (13:32 +0000)]
fixups and code cleanups for the rt_raster_gdal_rasterize to better handle point and linestring geometries

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

13 years agomore cleanup and put in logic to also install in database help descriptors
Regina Obe [Thu, 15 Sep 2011 20:43:57 +0000 (20:43 +0000)]
more cleanup and put in logic to also install in database help descriptors

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

13 years agofix invalid st_summarystats proto
Regina Obe [Thu, 15 Sep 2011 20:05:21 +0000 (20:05 +0000)]
fix invalid st_summarystats proto

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

13 years agonow topology installs can get rid of error note.
Regina Obe [Thu, 15 Sep 2011 18:35:32 +0000 (18:35 +0000)]
now topology installs can get rid of error note.

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

13 years agopostgis_topology extension now installing right. Had to get rid of ALTER TABLE ...
Regina Obe [Thu, 15 Sep 2011 18:33:55 +0000 (18:33 +0000)]
postgis_topology extension now installing right.  Had to get rid of ALTER TABLE .. hasz and merge it into the CREATE TABLE since that was the culprit causing extension install error

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

13 years agomore cleanup -- this time no more errors when installing
Regina Obe [Thu, 15 Sep 2011 13:57:12 +0000 (13:57 +0000)]
more cleanup -- this time no more errors when installing

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

13 years agoSupport for PostgreSQL 9.1 CREATE EXTENSION syntax
Regina Obe [Thu, 15 Sep 2011 08:40:49 +0000 (08:40 +0000)]
Support for PostgreSQL 9.1 CREATE EXTENSION syntax

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

13 years agochange & to html equivalent entity
Regina Obe [Wed, 14 Sep 2011 15:37:09 +0000 (15:37 +0000)]
change & to html equivalent entity

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

13 years agoprovide real world examples of how to use CreateTopoGeom
Regina Obe [Wed, 14 Sep 2011 15:24:35 +0000 (15:24 +0000)]
provide real world examples of how to use CreateTopoGeom

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

13 years agomore fixes
Regina Obe [Wed, 14 Sep 2011 14:55:03 +0000 (14:55 +0000)]
more fixes

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

13 years agoput in new timings. After speed fix loading is 3 times faster
Regina Obe [Wed, 14 Sep 2011 14:51:27 +0000 (14:51 +0000)]
put in new timings.  After speed fix loading is 3 times faster

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

13 years agofix typo and create another link reference
Regina Obe [Wed, 14 Sep 2011 14:02:00 +0000 (14:02 +0000)]
fix typo and create another link reference

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

13 years agoCommented some queries so that the file can be executed to load the functions.
Pierre Racine [Wed, 14 Sep 2011 12:14:17 +0000 (12:14 +0000)]
Commented some queries so that the file can be executed to load the functions.

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

13 years agodrop populate_geometry_columns version that just takes oid. Has bene replaced with...
Regina Obe [Wed, 14 Sep 2011 07:02:59 +0000 (07:02 +0000)]
drop populate_geometry_columns version that just takes oid.  Has bene replaced with versoin that takes default arg use_typmod

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

13 years agoRe-enable accidentally disabled prepared geoms. Fixes bug #1165.
Sandro Santilli [Tue, 13 Sep 2011 18:52:30 +0000 (18:52 +0000)]
Re-enable accidentally disabled prepared geoms. Fixes bug #1165.

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

13 years agoAdded some diagrams to the st_overlaps docmentation
Chris Hodgson [Tue, 13 Sep 2011 18:47:37 +0000 (18:47 +0000)]
Added some diagrams to the st_overlaps docmentation

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

13 years agofix for #1158 can't compile 8.4 under mingw windows
Regina Obe [Tue, 13 Sep 2011 03:51:39 +0000 (03:51 +0000)]
fix for #1158 can't compile 8.4 under mingw windows

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

13 years agoHandle db initialization errors earlier
Sandro Santilli [Mon, 12 Sep 2011 16:02:32 +0000 (16:02 +0000)]
Handle db initialization errors earlier

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

13 years agomake topoelementarray examples make more sense
Regina Obe [Mon, 12 Sep 2011 04:56:05 +0000 (04:56 +0000)]
make topoelementarray examples make more sense

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

13 years agoput in more description about what type id means
Regina Obe [Mon, 12 Sep 2011 04:44:18 +0000 (04:44 +0000)]
put in more description about what type id means

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

13 years agoLink several functions back to new Topology_Load_Tiger since that demonstrates use...
Regina Obe [Sun, 11 Sep 2011 02:42:32 +0000 (02:42 +0000)]
Link several functions back to new Topology_Load_Tiger since that demonstrates use of these functions

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

13 years agominor wording changes and reference to configuration part of documentation
Regina Obe [Sat, 10 Sep 2011 14:09:02 +0000 (14:09 +0000)]
minor wording changes and reference to configuration part of documentation

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

13 years agofix typo link to tiger topology loader
Regina Obe [Sat, 10 Sep 2011 13:52:07 +0000 (13:52 +0000)]
fix typo link to tiger topology loader

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

13 years agoFix "no ID for constraint linkedn: Create_Topology" error
Sandro Santilli [Sat, 10 Sep 2011 12:43:51 +0000 (12:43 +0000)]
Fix "no ID for constraint linkedn: Create_Topology" error

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

13 years agoHonour DESTDIR in documentation Makefile. Patch by Bryce L Nordgren.
Sandro Santilli [Sat, 10 Sep 2011 11:49:43 +0000 (11:49 +0000)]
Honour DESTDIR in documentation Makefile. Patch by Bryce L Nordgren.

See ticket #1184

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

13 years agoDocument tiger to postgis topology loader and revise scripts to install the new funct...
Regina Obe [Sat, 10 Sep 2011 06:43:27 +0000 (06:43 +0000)]
Document tiger to postgis topology loader and revise scripts to install the new function.  also some additional minor fixes

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

13 years agosave as UTF-8
Regina Obe [Sat, 10 Sep 2011 05:35:18 +0000 (05:35 +0000)]
save as UTF-8

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

13 years agoAlas a load with no topology validation errors. Fix remaining issues with missing...
Regina Obe [Sat, 10 Sep 2011 05:11:44 +0000 (05:11 +0000)]
Alas a load with no topology validation errors.  Fix remaining issues with missing loading of some edges of faces

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

13 years agoget rid of superfluous junk
Regina Obe [Sat, 10 Sep 2011 02:49:28 +0000 (02:49 +0000)]
get rid of superfluous junk

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

13 years agoexample of how to get actual edge geometries
Regina Obe [Fri, 9 Sep 2011 14:47:17 +0000 (14:47 +0000)]
example of how to get actual edge geometries

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

13 years agorevise to snap points to topology precision, also set edge left/right face to 0 if...
Regina Obe [Fri, 9 Sep 2011 14:06:57 +0000 (14:06 +0000)]
revise to snap points to topology precision, also set edge left/right face to 0 if null (world face). ValidateTopology now reports 25 errors instead of 484 errors (what it did before)

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

13 years agorevise to transform to spatial reference system of target topology
Regina Obe [Thu, 8 Sep 2011 19:18:26 +0000 (19:18 +0000)]
revise to transform to spatial reference system of target topology

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

13 years agomore changes to add missing edges
Regina Obe [Thu, 8 Sep 2011 16:47:15 +0000 (16:47 +0000)]
more changes to add missing edges

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

13 years agomore minor corrections
Regina Obe [Thu, 8 Sep 2011 14:36:08 +0000 (14:36 +0000)]
more minor corrections

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

13 years ago#1181 TopologySummary is broken causing ambiquous reference. Changed to have local...
Regina Obe [Thu, 8 Sep 2011 14:23:11 +0000 (14:23 +0000)]
#1181 TopologySummary is broken causing ambiquous reference.  Changed to have local variable be called var_topology_id so doesn't conflict with table column topology_id

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

13 years agologic to load in edges marking those with orphaned next_left, next_right to -neg...
Regina Obe [Thu, 8 Sep 2011 08:06:28 +0000 (08:06 +0000)]
logic to load in edges marking those with orphaned next_left, next_right to -neg of itself

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

13 years agomore typo corrections
Regina Obe [Wed, 7 Sep 2011 17:13:34 +0000 (17:13 +0000)]
more typo corrections

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

13 years agomore typos
Regina Obe [Wed, 7 Sep 2011 14:57:12 +0000 (14:57 +0000)]
more typos

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

13 years agofix typo
Regina Obe [Wed, 7 Sep 2011 14:55:50 +0000 (14:55 +0000)]
fix typo

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

13 years agomore work on tiger topology loader -- revised to use temp table.
Regina Obe [Wed, 7 Sep 2011 14:54:39 +0000 (14:54 +0000)]
more work on tiger topology loader -- revised to use temp table.

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

13 years agoUpdated expected output due to change in message
Bborie Park [Wed, 7 Sep 2011 13:58:19 +0000 (13:58 +0000)]
Updated expected output due to change in message

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

13 years agocorrect some mistatements about export functions
Regina Obe [Tue, 6 Sep 2011 21:01:35 +0000 (21:01 +0000)]
correct some mistatements about export functions

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

13 years agoFixed ST_AsPNG to allow rasters with four bands as that becomes a RGBA PNG image.
Bborie Park [Tue, 6 Sep 2011 20:10:18 +0000 (20:10 +0000)]
Fixed ST_AsPNG to allow rasters with four bands as that becomes a RGBA PNG image.

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

13 years agofix typos
Regina Obe [Tue, 6 Sep 2011 16:40:17 +0000 (16:40 +0000)]
fix typos

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

13 years agomore examples
Regina Obe [Tue, 6 Sep 2011 16:24:07 +0000 (16:24 +0000)]
more examples

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

13 years agominor indentation fix
Regina Obe [Tue, 6 Sep 2011 08:07:57 +0000 (08:07 +0000)]
minor indentation fix

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

13 years agodocument st_resample - still need to put in examples
Regina Obe [Tue, 6 Sep 2011 08:07:05 +0000 (08:07 +0000)]
document st_resample - still need to put in examples

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

13 years agoget rid of transparency -- transparency turning to black in pdf format
Regina Obe [Tue, 6 Sep 2011 07:25:13 +0000 (07:25 +0000)]
get rid of transparency -- transparency turning to black in pdf format

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

13 years agoAdd another example with pictures
Regina Obe [Tue, 6 Sep 2011 06:56:41 +0000 (06:56 +0000)]
Add another example with pictures

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

13 years agoMove ST_AsRaster and ST_Band to raster contructor section
Regina Obe [Tue, 6 Sep 2011 02:11:07 +0000 (02:11 +0000)]
Move ST_AsRaster and ST_Band to raster contructor section

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

13 years agorevmoe history table out of docs for now
Regina Obe [Mon, 5 Sep 2011 15:44:49 +0000 (15:44 +0000)]
revmoe history table out of docs for now

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

13 years agofix typo
Regina Obe [Sun, 4 Sep 2011 02:50:40 +0000 (02:50 +0000)]
fix typo

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

13 years agoPut in creative commons license stamp
Regina Obe [Fri, 2 Sep 2011 19:46:40 +0000 (19:46 +0000)]
Put in creative commons license stamp

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

13 years agoAdded optimizations and shortcuts for rt_band_get_quantiles_stream
Bborie Park [Fri, 2 Sep 2011 01:54:43 +0000 (01:54 +0000)]
Added optimizations and shortcuts for rt_band_get_quantiles_stream

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

13 years agorevise to return first part of street number e.g. 112-345 -> 112
Regina Obe [Thu, 1 Sep 2011 14:58:04 +0000 (14:58 +0000)]
revise to return first part of street number e.g. 112-345 -> 112

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

13 years agorevise so works under 8.4 evidentially in 8.4 INTO USING clauses are not interchangea...
Regina Obe [Thu, 1 Sep 2011 12:35:45 +0000 (12:35 +0000)]
revise so works under 8.4 evidentially in 8.4 INTO USING clauses are not interchangeable but they are in later versions

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

13 years agofill in missing tag
Regina Obe [Thu, 1 Sep 2011 11:41:55 +0000 (11:41 +0000)]
fill in missing tag

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

13 years agomore finetuninng of street offset to consider non-straight tlids
Regina Obe [Thu, 1 Sep 2011 09:00:04 +0000 (09:00 +0000)]
more finetuninng of street offset to consider non-straight tlids

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

13 years ago#1052 update doco to reflect change in behavior.
Regina Obe [Wed, 31 Aug 2011 14:54:23 +0000 (14:54 +0000)]
#1052 update doco to reflect change in behavior.

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

13 years ago#1052 -- instead of placing geocoded point at center line, offset it 10 meters to...
Regina Obe [Wed, 31 Aug 2011 14:53:48 +0000 (14:53 +0000)]
#1052 -- instead of placing geocoded point at center line, offset it 10 meters to the correct odd/even (L / R utilizing addr.side field).  May later change this to allow the user to specify the offset amount.

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

13 years agoWith libtool for loader/dumper there's no need to stage-install them
Sandro Santilli [Wed, 31 Aug 2011 07:06:57 +0000 (07:06 +0000)]
With libtool for loader/dumper there's no need to stage-install them

Fixes ticket #1177 [RT-SIGTA]

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

13 years agofill in missing protos for ST_AsRaster
Regina Obe [Mon, 29 Aug 2011 16:02:19 +0000 (16:02 +0000)]
fill in missing protos for ST_AsRaster

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

13 years agoDynamically link loader and dumper to liblwgeom [RT-SIGTA]
Sandro Santilli [Mon, 29 Aug 2011 15:23:35 +0000 (15:23 +0000)]
Dynamically link loader and dumper to liblwgeom [RT-SIGTA]

This reduces each of the 3 installed executable sizes by 547 Kb.

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

13 years agoUse libtool to link liblwgeom unit tester (helps testing the shared library)
Sandro Santilli [Mon, 29 Aug 2011 14:45:23 +0000 (14:45 +0000)]
Use libtool to link liblwgeom unit tester (helps testing the shared library)

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

13 years agofixed improperly commented-out RAISE DEBUG statement for AddRasterColumn function.
Bborie Park [Sat, 27 Aug 2011 17:16:03 +0000 (17:16 +0000)]
fixed improperly commented-out RAISE DEBUG statement for AddRasterColumn function.

Associated ticket is #1175.

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

13 years agoAdded solaris define for UNIX using patch provided by rroliver.
Bborie Park [Fri, 26 Aug 2011 14:47:07 +0000 (14:47 +0000)]
Added solaris define for UNIX using patch provided by rroliver.

Associated ticket is #1171.

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

13 years agoTweaked memory allocation in RASTER_quantileCoverage.
Bborie Park [Fri, 26 Aug 2011 00:04:40 +0000 (00:04 +0000)]
Tweaked memory allocation in RASTER_quantileCoverage.

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

13 years agoFixed the function rt_band_get_summary_stats rt_core/rt_api.c to correctly handle...
Bborie Park [Thu, 25 Aug 2011 23:23:46 +0000 (23:23 +0000)]
Fixed the function rt_band_get_summary_stats rt_core/rt_api.c to correctly handle the situation where a band's values are all nodata

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

13 years agoRemoved "WITH OIDS" from raster table creation.
Bborie Park [Thu, 25 Aug 2011 18:39:39 +0000 (18:39 +0000)]
Removed "WITH OIDS" from raster table creation.

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

13 years agoFix error of unknown symbol gidx_to_string when building with the flags --with-raster...
Bborie Park [Thu, 25 Aug 2011 18:18:20 +0000 (18:18 +0000)]
Fix error of unknown symbol gidx_to_string when building with the flags --with-raster --enable-debug using patch gidx_to_string.patch provided by bnordgren.

Associated ticket is #1161

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

13 years agoFixed the problem where having configure detect that GDAL has the GDALFPolygonize...
Bborie Park [Thu, 25 Aug 2011 14:44:55 +0000 (14:44 +0000)]
Fixed the problem where having configure detect that GDAL has the GDALFPolygonize function does not cause the code to use GDALFPolygonize.  This is due to the macro GDALFPOLYGONIZE not being set anywhere.  So, it is now being set in raster_config.h.in and included in rt_core/rt_api.h.  Had to update testapi.c as the geometries generated differ depending on whether or not GDALFPolygonize is used.

Associated ticket is #650

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

13 years agoprovide better example and images to complement. Also note that ST_AsRaster doesn...
Regina Obe [Thu, 25 Aug 2011 11:33:45 +0000 (11:33 +0000)]
provide better example and images to complement.  Also note that ST_AsRaster doesn't yet work with newer geometries

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

13 years agoAdded in gettext headers to allow compilation under osx with iconv
Paul Ramsey [Wed, 24 Aug 2011 22:31:39 +0000 (22:31 +0000)]
Added in gettext headers to allow compilation under osx with iconv

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

13 years agocleanup formatting a bit on ST_AsRaster example
Regina Obe [Wed, 24 Aug 2011 19:20:23 +0000 (19:20 +0000)]
cleanup formatting a bit on ST_AsRaster example

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

13 years agoAdded DESTDIR so that raster2pgsql.py is installed in the user-specified path
Bborie Park [Wed, 24 Aug 2011 17:40:55 +0000 (17:40 +0000)]
Added DESTDIR so that raster2pgsql.py is installed in the user-specified path

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

13 years agoProvide some examples for using ST_AsRaster. This function is way cool.
Regina Obe [Wed, 24 Aug 2011 16:08:24 +0000 (16:08 +0000)]
Provide some examples for using ST_AsRaster.  This function is way cool.

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

13 years agoInclusion of missing ST_PixelWidth and ST_PixelHeight functions and regression tests.
Bborie Park [Wed, 24 Aug 2011 15:23:25 +0000 (15:23 +0000)]
Inclusion of missing ST_PixelWidth and ST_PixelHeight functions and regression tests.

Associated ticket is #928

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

13 years agoRefactored ST_ValueCount and ST_ValuePercent to be a C function rather than a plpgsql...
Bborie Park [Tue, 23 Aug 2011 22:41:22 +0000 (22:41 +0000)]
Refactored ST_ValueCount and ST_ValuePercent to be a C function rather than a plpgsql function.

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

13 years ago#997 put in correct codes for non-state us territories
Regina Obe [Mon, 22 Aug 2011 21:24:52 +0000 (21:24 +0000)]
#997 put in correct codes for non-state us territories

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

13 years ago#1158 add proj flags to fix mingw test issue
Regina Obe [Sun, 21 Aug 2011 03:34:56 +0000 (03:34 +0000)]
#1158 add proj flags to fix mingw test issue

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

13 years agoPut PG_MODULE_MAGIC in raster and postgis source files rather than in libpgcommon...
Sandro Santilli [Sat, 20 Aug 2011 21:17:14 +0000 (21:17 +0000)]
Put PG_MODULE_MAGIC in raster and postgis source files rather than in libpgcommon. Should fix the mingw build. See ticket #1158.

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

13 years agoUse PROJ cflags when building raster module (see #1158)
Sandro Santilli [Sat, 20 Aug 2011 21:08:25 +0000 (21:08 +0000)]
Use PROJ cflags when building raster module (see #1158)

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

13 years agoMore fixups for the quantile coverage function. Fixes segfault that seems to only...
Bborie Park [Sat, 20 Aug 2011 17:51:04 +0000 (17:51 +0000)]
More fixups for the quantile coverage function.  Fixes segfault that seems to only occur on OSX.

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

13 years agoDrop duplicated typedef [RT-SIGTA]
Sandro Santilli [Sat, 20 Aug 2011 16:43:23 +0000 (16:43 +0000)]
Drop duplicated typedef [RT-SIGTA]

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

13 years agoInstall liblwgeom.h under a sensible location... [RT-SIGTA]
Sandro Santilli [Sat, 20 Aug 2011 15:55:13 +0000 (15:55 +0000)]
Install liblwgeom.h under a sensible location... [RT-SIGTA]

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

13 years agoMove gserialized_gist to libpgcommon fixing a circular dependency between libpgcommon...
Sandro Santilli [Sat, 20 Aug 2011 15:43:29 +0000 (15:43 +0000)]
Move gserialized_gist to libpgcommon fixing a circular dependency between libpgcommon and liblwgeom, put libpgcommon _after_ liblwgeom in pg modules link lines, drop duplicated lwgeom_init_allocators and PG_MODULE_MAGIC from raster module (they are in libpgcommon already). Includes patch in #1161. [RT-SIGTA]

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

13 years agoCorrected incorrect function usage
Bborie Park [Sat, 20 Aug 2011 00:54:19 +0000 (00:54 +0000)]
Corrected incorrect function usage

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

13 years agoAdded forgotten explicit freeing of memory and some code cleanup
Bborie Park [Fri, 19 Aug 2011 22:57:51 +0000 (22:57 +0000)]
Added forgotten explicit freeing of memory and some code cleanup

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

13 years agoAdds coverage table version of ST_Quantile and ST_ApproxQuantile. Function implement...
Bborie Park [Fri, 19 Aug 2011 19:08:36 +0000 (19:08 +0000)]
Adds coverage table version of ST_Quantile and ST_ApproxQuantile.  Function implemented using the algorithm discussed in

A One-Pass Space-Efficient Algorithm for Finding Quantiles (1995)
  by Rakesh Agrawal, Arun Swami
  in Proc. 7th Intl. Conf. Management of Data (COMAD-95)
  http://www.almaden.ibm.com/cs/projects/iis/hdb/Publications/papers/comad95.pdf

Also refactored the regression test for rt_histogram due to unnecessary columns in output

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

13 years agoCommit of patch provided by David Zwarg in #482 adding the functions ST_SetRotation...
Bborie Park [Fri, 19 Aug 2011 14:04:50 +0000 (14:04 +0000)]
Commit of patch provided by David Zwarg in #482 adding the functions ST_SetRotation, ST_Rotation, ST_PixelHeight and ST_PixelWidth.

Associated tickets are #482, #928, #929 and #936

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

13 years agoInclude version in liblwgeom.h [RT-SIGTA]
Sandro Santilli [Fri, 19 Aug 2011 10:12:00 +0000 (10:12 +0000)]
Include version in liblwgeom.h [RT-SIGTA]

Closes ticket #1164

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

13 years agoDrop (u)int32 and uchar in favor of C99 standard int types [RT-SIGTA]
Sandro Santilli [Fri, 19 Aug 2011 09:34:58 +0000 (09:34 +0000)]
Drop (u)int32 and uchar in favor of C99 standard int types [RT-SIGTA]

This commit drops PostgreSQL references in liblwgeom.h (C_H define)
and hopefully reduces the noise generated by custom symbols.

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

13 years agoDon't use problematic int types for no reason...
Sandro Santilli [Fri, 19 Aug 2011 09:30:21 +0000 (09:30 +0000)]
Don't use problematic int types for no reason...

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

13 years agoInstall liblwgeom on 'make install' [RT-SIGTA]
Sandro Santilli [Fri, 19 Aug 2011 08:16:23 +0000 (08:16 +0000)]
Install liblwgeom on 'make install' [RT-SIGTA]

Uses liblwgeom.h as the API header for liblwgeom.

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

13 years agoMove SQL-exposed functions out of libpgcommon (#1163).
Sandro Santilli [Fri, 19 Aug 2011 07:55:50 +0000 (07:55 +0000)]
Move SQL-exposed functions out of libpgcommon (#1163).

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