]> granicus.if.org Git - postgis/log
postgis
13 years agoAdds postgis_gdal_version() function as per ticket #1225.
Bborie Park [Tue, 4 Oct 2011 22:38:46 +0000 (22:38 +0000)]
Adds postgis_gdal_version() function as per ticket #1225.

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

13 years agoChanged adjustment of extent by half-pixel to full-pixel for points and linestrings...
Bborie Park [Tue, 4 Oct 2011 20:51:10 +0000 (20:51 +0000)]
Changed adjustment of extent by half-pixel to full-pixel for points and linestrings to ensure compatibility with GDAL 1.6, 1.7 and 1.8.  GDAL 1.9 (current trunk) appears to work fine with half-pixel adjustments.

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

13 years agoadd KNN GIST + credits to news release (was already in docs)
Regina Obe [Tue, 4 Oct 2011 20:46:26 +0000 (20:46 +0000)]
add KNN GIST + credits to news release (was already in docs)

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

13 years agominor correction to <#> description
Regina Obe [Tue, 4 Oct 2011 20:43:54 +0000 (20:43 +0000)]
minor correction to <#> description

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

13 years agoFor linestrings, use same logic for points where extent is increased by half a pixel...
Bborie Park [Tue, 4 Oct 2011 19:50:54 +0000 (19:50 +0000)]
For linestrings, use same logic for points where extent is increased by half a pixel to catch geometries on the edges.

Associated ticket is #1213

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

13 years agoDo not base availability of SQL ST_Hausdorff* signatures on GEOS version
Sandro Santilli [Tue, 4 Oct 2011 17:08:11 +0000 (17:08 +0000)]
Do not base availability of SQL ST_Hausdorff* signatures on GEOS version

Tested with GEOS from the 3.1 branch (yes, we still support it !)

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

13 years agoSimple review of the topology README. Wasn't that outdated :)
Sandro Santilli [Tue, 4 Oct 2011 16:45:33 +0000 (16:45 +0000)]
Simple review of the topology README. Wasn't that outdated :)

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

13 years agoDo not base availability of SQL isValid* signatures on GEOS version
Sandro Santilli [Tue, 4 Oct 2011 16:27:34 +0000 (16:27 +0000)]
Do not base availability of SQL isValid* signatures on GEOS version

This is a work for the C level library.

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

13 years agoTweak expected test output to expect unknown srid to be reported as 0
Sandro Santilli [Tue, 4 Oct 2011 14:33:31 +0000 (14:33 +0000)]
Tweak expected test output to expect unknown srid to be reported as 0

If this will change before release, git-revert is our friend

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

13 years agoMake topology.CreateTopology unknown-srid-agnostic (uses ST_Srid to tell)
Sandro Santilli [Tue, 4 Oct 2011 14:33:23 +0000 (14:33 +0000)]
Make topology.CreateTopology unknown-srid-agnostic (uses ST_Srid to tell)

Hopefully this makes the topology code stable during the SRID fights :)

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

13 years agoGuess Nicklas was right - should have looked at my explain. Revised example to use...
Regina Obe [Mon, 3 Oct 2011 15:29:34 +0000 (15:29 +0000)]
Guess Nicklas was right - should have looked at my explain.  Revised example to use geometry constants.  Seems to be a limitation in KNN that it needs constants.  Same annoying behavior with my trigram KNN that only constant phrases work, not even constant phrases wrapped in alias work.

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

13 years agoDrop more non-ascii dashes, update regress tests (#1226) [RT-SIGTA]
Sandro Santilli [Mon, 3 Oct 2011 10:32:47 +0000 (10:32 +0000)]
Drop more non-ascii dashes, update regress tests (#1226) [RT-SIGTA]

There's a still-failing regress test due to SRID 0 being considered != 1

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

13 years agoUse ASCII dash, not UTF8 one. Fixes #1226. [RT-SIGTA]
Sandro Santilli [Mon, 3 Oct 2011 10:26:10 +0000 (10:26 +0000)]
Use ASCII dash, not UTF8 one. Fixes #1226. [RT-SIGTA]

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

13 years agoAdd in st_valuecount evidentally changed output in 2.0 series
Regina Obe [Sun, 2 Oct 2011 23:38:36 +0000 (23:38 +0000)]
Add in st_valuecount evidentally changed output in 2.0 series

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

13 years agofixed _st_intersects(raster, geometry, integer) where call to ST_Intersects was hardc...
Bborie Park [Sun, 2 Oct 2011 14:12:12 +0000 (14:12 +0000)]
fixed _st_intersects(raster, geometry, integer) where call to ST_Intersects was hardcoding the first band of raster instead of using user-provided nband.

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

13 years agopreliminary logic to build an rtpostgis_upgrade_20_minor.sql script. Still missing...
Regina Obe [Sun, 2 Oct 2011 03:18:47 +0000 (03:18 +0000)]
preliminary logic to build an rtpostgis_upgrade_20_minor.sql script.  Still missing a drop somewhere since my older db doesn't upgrade because complains about out parameters changed in some function.

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

13 years agoFixed installation path of rtpostgis.sql to contrib/postgis-2.0. Added build of...
Bborie Park [Sat, 1 Oct 2011 17:28:58 +0000 (17:28 +0000)]
Fixed installation path of rtpostgis.sql to contrib/postgis-2.0.  Added build of rtpostgis_drop.sql

Associated ticket is #615

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

13 years agoitemize more removed functions for upgrade purposes
Regina Obe [Sat, 1 Oct 2011 16:47:33 +0000 (16:47 +0000)]
itemize more removed functions for upgrade purposes

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

13 years agoadd very paertinatnet ST_3DDistance reference to ST_3DDwithin
Regina Obe [Sat, 1 Oct 2011 03:46:39 +0000 (03:46 +0000)]
add very paertinatnet ST_3DDistance reference to ST_3DDwithin

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

13 years agoget rid of obsolete proto, replace with new onesfor ST_Intersects. Clarify distinctio...
Regina Obe [Sat, 1 Oct 2011 02:58:06 +0000 (02:58 +0000)]
get rid of obsolete proto, replace with new onesfor ST_Intersects. Clarify distinctions between raster/goemtry and geometry/raster operations

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

13 years agoChanged ST_MapAlgebra to ST_MapAlgebraExpr. Also moved around the pixeltype parameter...
David Zwarg [Fri, 30 Sep 2011 20:03:23 +0000 (20:03 +0000)]
Changed ST_MapAlgebra to ST_MapAlgebraExpr. Also moved around the pixeltype parameter -- it is no longer optional. Also updated docs that referred to ST_MapAlgebra. (#860)

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

13 years agoRenamed 'nodatavalueexpr' variable. (#866)
David Zwarg [Fri, 30 Sep 2011 18:34:08 +0000 (18:34 +0000)]
Renamed 'nodatavalueexpr' variable. (#866)

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

13 years agoUpdated regression tests to correctly support change of unknown SRID from -1 to 0.
Bborie Park [Fri, 30 Sep 2011 00:11:55 +0000 (00:11 +0000)]
Updated regression tests to correctly support change of unknown SRID from -1 to 0.

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

13 years agoFix distclean rule to drop Makefile too
Sandro Santilli [Thu, 29 Sep 2011 19:43:06 +0000 (19:43 +0000)]
Fix distclean rule to drop Makefile too

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

13 years agoDefine SHELL (used by LIBTOOL and INSTALL) hopefully helps bug #1218
Sandro Santilli [Thu, 29 Sep 2011 19:43:00 +0000 (19:43 +0000)]
Define SHELL (used by LIBTOOL and INSTALL) hopefully helps bug #1218

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

13 years agoUncommented include of lwgeom_pg.h in rt_pg.c. Fixed setting SRID to -1 to SRID_UNKNOWN.
Bborie Park [Thu, 29 Sep 2011 18:53:52 +0000 (18:53 +0000)]
Uncommented include of lwgeom_pg.h in rt_pg.c.  Fixed setting SRID to -1 to SRID_UNKNOWN.

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

13 years agoChanged function ST_Intersects(raster, raster, int, int) to ST_Intersects(raster...
Bborie Park [Thu, 29 Sep 2011 18:33:27 +0000 (18:33 +0000)]
Changed function ST_Intersects(raster, raster, int, int) to ST_Intersects(raster, raster).  Added additional comments to rt_raster_geopoint_to_cell().

Associated ticket is #1212

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

13 years agoDo not incentivate use of SRID=-1 in mapserver examples.
Sandro Santilli [Thu, 29 Sep 2011 10:40:18 +0000 (10:40 +0000)]
Do not incentivate use of SRID=-1 in mapserver examples.

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

13 years agoDo not suggest using "SRID=<unknown>" prefix in EWKT
Sandro Santilli [Thu, 29 Sep 2011 10:34:58 +0000 (10:34 +0000)]
Do not suggest using "SRID=<unknown>" prefix in EWKT

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

13 years agostart work building unpackaged
Regina Obe [Thu, 29 Sep 2011 07:18:54 +0000 (07:18 +0000)]
start work building unpackaged

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

13 years agoadd KNN gist and srid =0 breaking change. Add Vizzuality to corporate sponsors
Regina Obe [Thu, 29 Sep 2011 04:05:27 +0000 (04:05 +0000)]
add KNN gist and srid =0 breaking change.  Add Vizzuality to corporate sponsors

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

13 years agoRemove gserialized.h define file (actual #define is now temporarily in liblwgeom.h)
Paul Ramsey [Wed, 28 Sep 2011 23:59:10 +0000 (23:59 +0000)]
Remove gserialized.h define file (actual #define is now temporarily in liblwgeom.h)

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

13 years agoRemove GSERIALIZED_ON from .sql files.
Paul Ramsey [Wed, 28 Sep 2011 23:58:34 +0000 (23:58 +0000)]
Remove GSERIALIZED_ON from .sql files.

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

13 years agoChange "no SRID" SRID to 0 (#286)
Paul Ramsey [Wed, 28 Sep 2011 23:38:56 +0000 (23:38 +0000)]
Change "no SRID" SRID to 0 (#286)

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

13 years agodocument box distance KNN operator
Regina Obe [Wed, 28 Sep 2011 21:56:42 +0000 (21:56 +0000)]
document box distance KNN operator

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

13 years agoMake the <-> operator return linear not square units, to match the <#> operator.
Paul Ramsey [Wed, 28 Sep 2011 15:06:51 +0000 (15:06 +0000)]
Make the <-> operator return linear not square units, to match the <#> operator.

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

13 years agoAdd box-wise ORDER BY for KNN (#701)
Paul Ramsey [Wed, 28 Sep 2011 15:04:38 +0000 (15:04 +0000)]
Add box-wise ORDER BY for KNN (#701)

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

13 years agoImage generator also uses LWDEBUG macros... how popular !
Sandro Santilli [Wed, 28 Sep 2011 10:13:08 +0000 (10:13 +0000)]
Image generator also uses LWDEBUG macros... how popular !

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

13 years agoMove LWDEBUG macros in a new lwgeom_log.h header file (see #1220)
Sandro Santilli [Wed, 28 Sep 2011 10:05:36 +0000 (10:05 +0000)]
Move LWDEBUG macros in a new lwgeom_log.h header file (see #1220)

Update all implementation files accordingly.
Fix some misuses out of liblwgeom.
Add missing copyright notices in a few files.

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

13 years agomerge postgis and raster into a single extension called "postgis", revise postgis_top...
Regina Obe [Tue, 27 Sep 2011 23:29:46 +0000 (23:29 +0000)]
merge postgis and raster into a single extension called "postgis", revise postgis_topology control to depend on this new extension

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

13 years agomore drop of functions that changed signature
Regina Obe [Tue, 27 Sep 2011 23:28:14 +0000 (23:28 +0000)]
more drop of functions that changed signature

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

13 years agoclarify current implementation is centroid of box not the geometry.
Regina Obe [Tue, 27 Sep 2011 17:35:55 +0000 (17:35 +0000)]
clarify current implementation is centroid of box not the geometry.

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

13 years agoDrop duplicated geometry_out definition
Sandro Santilli [Tue, 27 Sep 2011 15:33:22 +0000 (15:33 +0000)]
Drop duplicated geometry_out definition

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

13 years agocorrect the description on semantics of knn operator
Regina Obe [Tue, 27 Sep 2011 05:09:53 +0000 (05:09 +0000)]
correct the description on semantics of knn operator

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

13 years agoRemoved ST_Intersects(raster, int, raster, int) version of two raster ST_Intersects.
Bborie Park [Tue, 27 Sep 2011 03:40:08 +0000 (03:40 +0000)]
Removed ST_Intersects(raster, int, raster, int) version of two raster ST_Intersects.

Associated ticket is #1212

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

13 years agowrap examples in cdata tags so don't break parser
Regina Obe [Tue, 27 Sep 2011 03:15:41 +0000 (03:15 +0000)]
wrap examples in cdata tags so don't break parser

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

13 years agodocument new knn gist operator -- example mostly plagiarized from Paul's postgis...
Regina Obe [Tue, 27 Sep 2011 02:58:51 +0000 (02:58 +0000)]
document new knn gist operator -- example mostly plagiarized from Paul's postgis-devel example with addition of care consideration of safe casting and SQL formatting.  I know I'm getting lazy in my old age.

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

13 years agopreliminary work on drop deprecated functions. Not tied into anything yet.
Regina Obe [Tue, 27 Sep 2011 02:22:41 +0000 (02:22 +0000)]
preliminary work on drop deprecated functions.  Not tied into anything yet.

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

13 years agoget rid of obslete protos for ST_Intersects and revise description to describe new...
Regina Obe [Tue, 27 Sep 2011 02:09:29 +0000 (02:09 +0000)]
get rid of obslete protos for ST_Intersects and revise description to describe new semantics of raster st_intersects

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

13 years agoput in svn keywords and forcce to LF
Regina Obe [Tue, 27 Sep 2011 01:55:49 +0000 (01:55 +0000)]
put in svn keywords and forcce to LF

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

13 years agoWrap <-> distance ordering into a PgSQL 9.1+ block.
Paul Ramsey [Mon, 26 Sep 2011 21:05:08 +0000 (21:05 +0000)]
Wrap <-> distance ordering into a PgSQL 9.1+ block.

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

13 years agoAdd support for KNN-GiST ops. First cut only, much testing required. (#701)
Paul Ramsey [Mon, 26 Sep 2011 20:39:00 +0000 (20:39 +0000)]
Add support for KNN-GiST ops. First cut only, much testing required. (#701)

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

13 years agoDon't use the same name for input parameter and returned table description.
Sandro Santilli [Mon, 26 Sep 2011 14:25:11 +0000 (14:25 +0000)]
Don't use the same name for input parameter and returned table description.

Hopefully fixes ticket #1210 [RT-SIGTA]

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

13 years agodocument ST_Intersects(rasta,rastb,nbanda,nbandb) -- left out ST_Intersects(rasta...
Regina Obe [Mon, 26 Sep 2011 06:29:35 +0000 (06:29 +0000)]
document ST_Intersects(rasta,rastb,nbanda,nbandb) -- left out ST_Intersects(rasta,nbanda,rastb,nbandb) - that one offends my senses.

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

13 years agoadd missing geos flag to let it make check under mingw
Regina Obe [Sun, 25 Sep 2011 20:37:39 +0000 (20:37 +0000)]
add missing geos flag to let it make check under mingw

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

13 years agoRemoved unnecessary typedef for fmin and fmax on windows. Possible fix to #1207.
Bborie Park [Sun, 25 Sep 2011 14:48:57 +0000 (14:48 +0000)]
Removed unnecessary typedef for fmin and fmax on windows.  Possible fix to #1207.

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

13 years agoTweaks to makefiles due to linker symbol errors in OSX. Hopefully this can also...
Bborie Park [Sat, 24 Sep 2011 19:05:10 +0000 (19:05 +0000)]
Tweaks to makefiles due to linker symbol errors in OSX.  Hopefully this can also resolve the issue with #1207.

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

13 years agoAdd killer sed command to create a topology upgrade minor script from topology.sql...
Regina Obe [Fri, 23 Sep 2011 22:00:16 +0000 (22:00 +0000)]
Add killer sed command to create a topology upgrade minor script from topology.sql.  Also change release version to 2.0.0a1 since we haven't released yet. This will build a script to upgrade our mislabeled 2.0.0 to 2.0.0a1

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

13 years ago#1209: redundant constraint chk_statefp on loading edges.
Regina Obe [Fri, 23 Sep 2011 19:58:20 +0000 (19:58 +0000)]
#1209: redundant constraint chk_statefp on loading edges.

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

13 years agoUpdate topology functions status. We've completed the SQL/MM set !
Sandro Santilli [Fri, 23 Sep 2011 19:21:14 +0000 (19:21 +0000)]
Update topology functions status. We've completed the SQL/MM set !

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

13 years agoImplement topology.ST_CreateTopoGeo (#1190) [RT-SIGTA]
Sandro Santilli [Fri, 23 Sep 2011 19:21:08 +0000 (19:21 +0000)]
Implement topology.ST_CreateTopoGeo (#1190) [RT-SIGTA]

Includes regress testing and documentation update

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

13 years agoFurther tweaks to rt_raster_gdal_rasterize to correctly handle auto-computed extents...
Bborie Park [Thu, 22 Sep 2011 15:07:25 +0000 (15:07 +0000)]
Further tweaks to rt_raster_gdal_rasterize to correctly handle auto-computed extents of multipoints.  Addition of ST_Intersects for two rasters.  Refactored the one raster and one geometry version of ST_Intersects.

Associated ticket is #1176

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

13 years agoMake face creation order predictable in ST_AddEdgeNewFaces (#1205)
Sandro Santilli [Thu, 22 Sep 2011 14:06:12 +0000 (14:06 +0000)]
Make face creation order predictable in ST_AddEdgeNewFaces (#1205)

Always create the face on the right first [RT-SIGTA]

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

13 years agoAdd notes and TODO items about the edge-adding functions [RT-SIGTA]
Sandro Santilli [Thu, 22 Sep 2011 09:14:43 +0000 (09:14 +0000)]
Add notes and TODO items about the edge-adding functions [RT-SIGTA]

See ticket #1205

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

13 years agoReduce noice produced by ST_AddEdgeModFace at NOTICE level [RT-SIGTA]
Sandro Santilli [Thu, 22 Sep 2011 07:22:17 +0000 (07:22 +0000)]
Reduce noice produced by ST_AddEdgeModFace at NOTICE level [RT-SIGTA]

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

13 years agoDon't wrap prepared geom implementation in a conditional macro
Sandro Santilli [Wed, 21 Sep 2011 10:34:55 +0000 (10:34 +0000)]
Don't wrap prepared geom implementation in a conditional macro

These kind of full-disabling should be done at Makefile level...

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

13 years agoAdd header guards to geos headers, move GEOS_PREPARED define to the implementation...
Sandro Santilli [Wed, 21 Sep 2011 09:50:15 +0000 (09:50 +0000)]
Add header guards to geos headers, move GEOS_PREPARED define to the implementation file, add missing copyright header.

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

13 years agoMake RemEdgeModFace symmetric to AddEdgeModFace about face retention
Sandro Santilli [Wed, 21 Sep 2011 07:32:32 +0000 (07:32 +0000)]
Make RemEdgeModFace symmetric to AddEdgeModFace about face retention

Save the face on the right, so that running:
ST_RemEdgeModFace(name, ST_AddEdgeModFace(name, ...))
... will not modify the topology.
[RT-SIGTA]

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

13 years agomove args to same line as func so extensions unpackaged adds them correctly will...
Regina Obe [Wed, 21 Sep 2011 03:29:39 +0000 (03:29 +0000)]
move args to same line as func so extensions unpackaged adds them correctly will ahve to come up with a better way of doing this.

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

13 years agomakr postgis_core as required. Admittedly this will go away once we merge postgis_co...
Regina Obe [Wed, 21 Sep 2011 03:28:48 +0000 (03:28 +0000)]
makr postgis_core as required.  Admittedly this will go away once we merge postgis_core and raster.  Doing this gets rid of issues with raster not being able to find geometry etc if installed in separate schema from postgis_core

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

13 years agomore changes to properly utilize extenions model, 1 remove create schema since extesn...
Regina Obe [Wed, 21 Sep 2011 03:23:45 +0000 (03:23 +0000)]
more changes to properly utilize extenions model, 1 remove create schema since extesnion creates it if not present, in control file designate postgis_core is required so create adds it to search path, more cleanup for unpackaged

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

13 years agopick up table, type, trigger, and schemas in unlogged add
Regina Obe [Wed, 21 Sep 2011 02:14:13 +0000 (02:14 +0000)]
pick up table, type, trigger, and schemas in unlogged add

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

13 years agoget rid of linebreaks in function arg list so unpackaged builder works, fix logical...
Regina Obe [Tue, 20 Sep 2011 16:47:08 +0000 (16:47 +0000)]
get rid of linebreaks in function arg list so unpackaged builder works, fix logical error in sed expression

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

13 years agopreliminary logic to build install from unpackaged file
Regina Obe [Tue, 20 Sep 2011 15:49:25 +0000 (15:49 +0000)]
preliminary logic to build install from unpackaged file

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

13 years agoImplement ST_RemEdgeModFace (#1189) [RT-SIGTA]
Sandro Santilli [Tue, 20 Sep 2011 15:21:14 +0000 (15:21 +0000)]
Implement ST_RemEdgeModFace (#1189)  [RT-SIGTA]

Include regress testing and documentation.

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

13 years agoadditional code cleanup of rt_raster_gdal_rasterize
Bborie Park [Mon, 19 Sep 2011 21:28:40 +0000 (21:28 +0000)]
additional code cleanup of rt_raster_gdal_rasterize

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

13 years agoHave ST_RemEdgeNewFace return NULL when no face is created [RT-SIGTA]
Sandro Santilli [Mon, 19 Sep 2011 16:53:32 +0000 (16:53 +0000)]
Have ST_RemEdgeNewFace return NULL when no face is created [RT-SIGTA]

This is to match the ISO spec more closely. Docs and regress test updated.

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

13 years agoFix ST_Estimated_Extent by correctly interpret histogram box (#1200)
Sandro Santilli [Mon, 19 Sep 2011 14:17:35 +0000 (14:17 +0000)]
Fix ST_Estimated_Extent by correctly interpret histogram box (#1200)

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

13 years agoTopologySummary: do not count the universe face in the face count
Sandro Santilli [Mon, 19 Sep 2011 06:40:38 +0000 (06:40 +0000)]
TopologySummary: do not count the universe face in the face count

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

13 years agoST_InitTopoGeo: use named argument, drop trailing space from return text
Sandro Santilli [Mon, 19 Sep 2011 06:40:31 +0000 (06:40 +0000)]
ST_InitTopoGeo: use named argument, drop trailing space from return text

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

13 years ago#1202 -- also fixed issue with when typ mod application fails (because of mixed geome...
Regina Obe [Sun, 18 Sep 2011 15:51:17 +0000 (15:51 +0000)]
#1202 -- also fixed issue with when typ mod application fails (because of mixed geometries) to properly catch error and raise warning instead of throw error.

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

13 years agofix typo in warning
Regina Obe [Sun, 18 Sep 2011 15:04:53 +0000 (15:04 +0000)]
fix typo in warning

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

13 years ago#1201 don't error out when populate_geometry_columns is called on an empty table...
Regina Obe [Sun, 18 Sep 2011 14:56:23 +0000 (14:56 +0000)]
#1201 don't error out when populate_geometry_columns is called on an empty table, just provide warning and don't do anything.  Exclude raster_columns from populate_geometry_columns inspection.

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

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