]> granicus.if.org Git - postgis/log
postgis
13 years agodocument ST_SameAlignment
Regina Obe [Tue, 1 Nov 2011 17:11:54 +0000 (17:11 +0000)]
document ST_SameAlignment

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

13 years agorevise all to output arg list and conditionally show examples and descriptions
Regina Obe [Tue, 1 Nov 2011 04:41:37 +0000 (04:41 +0000)]
revise all to output arg list and conditionally show examples and descriptions

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

13 years agoxsl to generate postgis cheatsheet, add make cheatsheet to gnumake, better outptuting...
Regina Obe [Tue, 1 Nov 2011 03:06:55 +0000 (03:06 +0000)]
xsl to generate postgis cheatsheet, add make cheatsheet to gnumake, better outptuting of functions with different protos.

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

13 years agoST_CreateTopoGeo: speedup merged lines splitting [RT-SIGTA]
Sandro Santilli [Mon, 31 Oct 2011 22:26:22 +0000 (22:26 +0000)]
ST_CreateTopoGeo: speedup merged lines splitting [RT-SIGTA]

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

13 years agoIncrease accuracy of area calculation (#810)
Paul Ramsey [Mon, 31 Oct 2011 21:18:11 +0000 (21:18 +0000)]
Increase accuracy of area calculation (#810)

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

13 years agoRemove redundant prototype
Paul Ramsey [Mon, 31 Oct 2011 20:59:07 +0000 (20:59 +0000)]
Remove redundant prototype

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

13 years agoMove gserialized_get_gbox_p to liblwgeom and gserialized_read_gbox_p to liblwgeom_int...
Paul Ramsey [Mon, 31 Oct 2011 20:55:05 +0000 (20:55 +0000)]
Move gserialized_get_gbox_p to liblwgeom and gserialized_read_gbox_p to liblwgeom_internal

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

13 years agoRename pglwgeom_box2d_p
Paul Ramsey [Mon, 31 Oct 2011 20:23:44 +0000 (20:23 +0000)]
Rename pglwgeom_box2d_p

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

13 years agoadd raster cheat sheet generator -- and a make cheatsheets command to generate all.
Regina Obe [Mon, 31 Oct 2011 20:02:11 +0000 (20:02 +0000)]
add raster cheat sheet generator -- and a make cheatsheets command to generate all.

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

13 years agoget rid of word "Functions" in section headers
Regina Obe [Mon, 31 Oct 2011 19:20:06 +0000 (19:20 +0000)]
get rid of word "Functions" in section headers

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

13 years agoST_CreateTopoGeo: do not drop input nodes of degree 2 (#1258) [RT-SIGTA]
Sandro Santilli [Mon, 31 Oct 2011 13:03:42 +0000 (13:03 +0000)]
ST_CreateTopoGeo: do not drop input nodes of degree 2 (#1258) [RT-SIGTA]

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

13 years agoFix generation of topology in presence of edges with same bounding box (#1261).
Sandro Santilli [Mon, 31 Oct 2011 12:45:46 +0000 (12:45 +0000)]
Fix generation of topology in presence of edges with same bounding box (#1261).

Includes regress test [RT-SIGTA]

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

13 years agofix another erroneous statement - its ValidateTopology not ST_ValidateTopology
Regina Obe [Mon, 31 Oct 2011 12:22:27 +0000 (12:22 +0000)]
fix another erroneous statement - its ValidateTopology not ST_ValidateTopology

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

13 years agoget rid of word feature in description of AddTopGeometryColumn. Table can be any...
Regina Obe [Mon, 31 Oct 2011 11:58:44 +0000 (11:58 +0000)]
get rid of word feature in description of AddTopGeometryColumn.  Table can be any kind of table.

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

13 years agomore cleanup -- only print example sections if they have examples
Regina Obe [Mon, 31 Oct 2011 05:32:43 +0000 (05:32 +0000)]
more cleanup -- only print example sections if they have examples

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

13 years agobuild cheat sheet for tiger geocoder. This one looks better laid out than topology...
Regina Obe [Mon, 31 Oct 2011 03:14:29 +0000 (03:14 +0000)]
build cheat sheet for tiger geocoder.  This one looks better laid out than topology one so have to revisit topology

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

13 years agologic to flag new functions and allow tags in listings to be displayed
Regina Obe [Mon, 31 Oct 2011 02:11:08 +0000 (02:11 +0000)]
logic to flag new functions and allow tags in listings to be displayed

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

13 years agoget rid of unused styles
Regina Obe [Sun, 30 Oct 2011 23:10:44 +0000 (23:10 +0000)]
get rid of unused styles

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

13 years agoAddEdgeModFace, AddEdgeNewFaces: simplify calls to AddEdge [RT-SIGTA]
Sandro Santilli [Sun, 30 Oct 2011 21:47:45 +0000 (21:47 +0000)]
AddEdgeModFace, AddEdgeNewFaces: simplify calls to AddEdge [RT-SIGTA]

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

13 years agoRemove some duplicate headers (much of this to be done...)
Paul Ramsey [Sun, 30 Oct 2011 20:57:56 +0000 (20:57 +0000)]
Remove some duplicate headers (much of this to be done...)

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

13 years agoRemove SERIALIZED_FORM
Paul Ramsey [Sun, 30 Oct 2011 20:45:58 +0000 (20:45 +0000)]
Remove SERIALIZED_FORM

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

13 years agoRemove pglwgeom_serialize
Paul Ramsey [Sun, 30 Oct 2011 20:40:19 +0000 (20:40 +0000)]
Remove pglwgeom_serialize

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

13 years agoAdd some hints about the visited table for topology.AsGML
Sandro Santilli [Sun, 30 Oct 2011 19:15:09 +0000 (19:15 +0000)]
Add some hints about the visited table for topology.AsGML

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

13 years agologic to build html cheatsheet -- some logic still needed to extract the examples...
Regina Obe [Sun, 30 Oct 2011 18:49:13 +0000 (18:49 +0000)]
logic to build html cheatsheet -- some logic still needed to extract the examples correctly.

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

13 years agoget rid of extra fluff words in section titles
Regina Obe [Sun, 30 Oct 2011 15:36:14 +0000 (15:36 +0000)]
get rid of extra fluff words in section titles

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

13 years agoFix regression
Paul Ramsey [Sat, 29 Oct 2011 20:54:07 +0000 (20:54 +0000)]
Fix regression

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

13 years agoRemove pglwgeom_ndims
Paul Ramsey [Sat, 29 Oct 2011 20:35:41 +0000 (20:35 +0000)]
Remove pglwgeom_ndims

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

13 years agoRemove pglwgeom_size
Paul Ramsey [Sat, 29 Oct 2011 20:07:33 +0000 (20:07 +0000)]
Remove pglwgeom_size

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

13 years agoRemove pglwgeom_get_zm
Paul Ramsey [Sat, 29 Oct 2011 20:04:04 +0000 (20:04 +0000)]
Remove pglwgeom_get_zm

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

13 years agoFix odd formating in optimistic_overlap
Paul Ramsey [Sat, 29 Oct 2011 01:05:42 +0000 (01:05 +0000)]
Fix odd formating in optimistic_overlap

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

13 years agoRemove pglwgeom_is_empty
Paul Ramsey [Sat, 29 Oct 2011 01:01:48 +0000 (01:01 +0000)]
Remove pglwgeom_is_empty

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

13 years agoRemove pglwgeom_drop_bbox
Paul Ramsey [Sat, 29 Oct 2011 01:00:49 +0000 (01:00 +0000)]
Remove pglwgeom_drop_bbox

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

13 years agoRemove pglwgeom_has_bbox, pglwgeom_has_z, pglwgeom_has_m
Paul Ramsey [Sat, 29 Oct 2011 00:58:28 +0000 (00:58 +0000)]
Remove pglwgeom_has_bbox, pglwgeom_has_z, pglwgeom_has_m

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

13 years agoRemove pglwgeom_has_bbox, pglwgeom_has_z, pglwgeom_has_m
Paul Ramsey [Sat, 29 Oct 2011 00:58:06 +0000 (00:58 +0000)]
Remove pglwgeom_has_bbox, pglwgeom_has_z, pglwgeom_has_m

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

13 years agoRemove pglwgeom_get_type
Paul Ramsey [Sat, 29 Oct 2011 00:50:33 +0000 (00:50 +0000)]
Remove pglwgeom_get_type

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

13 years agoremove pglwgeom_get_srid, pglwgeom_set_srid
Paul Ramsey [Fri, 28 Oct 2011 22:06:16 +0000 (22:06 +0000)]
remove pglwgeom_get_srid, pglwgeom_set_srid

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

13 years agoRemove pglwgeom_deserialize
Paul Ramsey [Fri, 28 Oct 2011 21:57:57 +0000 (21:57 +0000)]
Remove pglwgeom_deserialize

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

13 years agoCommit remaining removals of BOX2DFLOAT4 and PG_LWGEOM
Paul Ramsey [Fri, 28 Oct 2011 20:54:23 +0000 (20:54 +0000)]
Commit remaining removals of BOX2DFLOAT4 and PG_LWGEOM

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

13 years agoRemove BOX2DFLOAT4->GBOX and PG_LWGEOM->GSERIALIZED #defines
Paul Ramsey [Fri, 28 Oct 2011 20:46:18 +0000 (20:46 +0000)]
Remove BOX2DFLOAT4->GBOX and PG_LWGEOM->GSERIALIZED #defines

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

13 years agoFix call to geometry_type_from_string to use right type.
Paul Ramsey [Fri, 28 Oct 2011 18:21:13 +0000 (18:21 +0000)]
Fix call to geometry_type_from_string to use right type.

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

13 years agoMove clone support functions into internal
Paul Ramsey [Fri, 28 Oct 2011 18:09:20 +0000 (18:09 +0000)]
Move clone support functions into internal

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

13 years agoReplace min/max/abs macros with FP_* variants in liblwgeom/ and with pgsql variants...
Paul Ramsey [Fri, 28 Oct 2011 18:01:57 +0000 (18:01 +0000)]
Replace min/max/abs macros with FP_* variants in liblwgeom/ and with pgsql variants in postgis/

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

13 years agoRemove orphaned box3d and box2dfloat4 utility functions
Paul Ramsey [Fri, 28 Oct 2011 17:52:58 +0000 (17:52 +0000)]
Remove orphaned box3d and box2dfloat4 utility functions

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

13 years agoRemove orphaned _compute_box3d functions
Paul Ramsey [Fri, 28 Oct 2011 17:44:00 +0000 (17:44 +0000)]
Remove orphaned _compute_box3d functions

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

13 years agoRemove box2df_from_gbox and gbox_from_box2df
Paul Ramsey [Fri, 28 Oct 2011 17:35:18 +0000 (17:35 +0000)]
Remove box2df_from_gbox and gbox_from_box2df

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

13 years agoEnsure calls to lwgeom->type use type of uint8_t
Paul Ramsey [Fri, 28 Oct 2011 17:01:02 +0000 (17:01 +0000)]
Ensure calls to lwgeom->type use type of uint8_t

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

13 years agoRemove old profiling code
Paul Ramsey [Fri, 28 Oct 2011 14:51:08 +0000 (14:51 +0000)]
Remove old profiling code

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

13 years agoRemove old 8-bit type utility functions.
Paul Ramsey [Thu, 27 Oct 2011 23:02:03 +0000 (23:02 +0000)]
Remove old 8-bit type utility functions.

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

13 years agoRemove LWGEOM_Min* and LWGEOM_Max*
Paul Ramsey [Thu, 27 Oct 2011 22:48:36 +0000 (22:48 +0000)]
Remove LWGEOM_Min* and LWGEOM_Max*

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

13 years agoRemove serialized_form functions:
Paul Ramsey [Thu, 27 Oct 2011 21:03:00 +0000 (21:03 +0000)]
Remove serialized_form functions:
lwpoint_serialize_size
lwpoint_serialize
lwpoint_serialize_buf
lwline_serialize_size
lwline_serialize
lwline_serialize_buf
lwpoly_serialize_size
lwpoly_serialize
lwpoly_serialize_buf
lwtriangle_serialize_size
lwtriangle_serialize
lwtriangle_serialize_buf
lwcircstring_serialize_size
lwcircstring_serialize
lwcircstring_serialize_buf
lwcollection_serialize_size
lwcollection_serialize_buf
lwgeom_constructempty
lwgeom_constructempty_buf
lwgeom_empty_length
lwgeom_serialize_size
lwgeom_serialize
lwgeom_serialized_construct
lwgeom_getsrid

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

13 years agoRemove printBYTES
Paul Ramsey [Thu, 27 Oct 2011 20:52:02 +0000 (20:52 +0000)]
Remove printBYTES

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

13 years agoReorder header file a little.
Paul Ramsey [Thu, 27 Oct 2011 20:51:13 +0000 (20:51 +0000)]
Reorder header file a little.

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

13 years agoComplete removal of LWGEOM_INSPECTED
Paul Ramsey [Thu, 27 Oct 2011 20:14:46 +0000 (20:14 +0000)]
Complete removal of LWGEOM_INSPECTED

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

13 years agoRemove LWGEOM_INSPECTED
Paul Ramsey [Thu, 27 Oct 2011 20:07:17 +0000 (20:07 +0000)]
Remove LWGEOM_INSPECTED

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

13 years agoRemove old deserialze and inspected functions.
Paul Ramsey [Thu, 27 Oct 2011 20:05:32 +0000 (20:05 +0000)]
Remove old deserialze and inspected functions.

serialized_lwgeom_size
lwgeom_size_subgeom
lwgeom_size_point
lwgeom_size_line
lwgeom_size_circstring
lwgeom_size_poly
lwgeom_size_triangle
lwgeom_deserialize
lwpoint_deserialize
lwline_deserialize
lwpoly_deserialize
lwtriangle_deserialize
lwcircstring_deserialize
lwmpoint_deserialize
lwmline_deserialize
lwmpoly_deserialize
lwcollection_deserialize
lwcompound_deserialize
lwcurvepoly_deserialize
lwmcurve_deserialize
lwmsurface_deserialize
lwpsurface_deserialize
lwtin_deserialize
printMULTI
lwgeom_inspect
lwgeom_getpoint_inspected
lwgeom_getpoint
lwgeom_getline_inspected
lwgeom_getline
lwgeom_getpoly
lwgeom_getpoly_inspected
lwgeom_gettriangle
lwgeom_gettriangle_inspected
lwgeom_getcircstring_inspected
lwgeom_getgeom_inspected
lwgeom_getsubgeometry
lwgeom_getsubgeometry_inspected
lwgeom_getsubtype
lwgeom_getsubtype_inspected
lwgeom_getnumgeometries
lwgeom_getnumgeometries_inspected

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

13 years agoRemove compute_serialized_box3d
Paul Ramsey [Thu, 27 Oct 2011 19:23:19 +0000 (19:23 +0000)]
Remove compute_serialized_box3d

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

13 years agoRemove duplicate and unused is_worth_caching_serialized_bbox and is_worth_caching_lwg...
Paul Ramsey [Thu, 27 Oct 2011 19:10:23 +0000 (19:10 +0000)]
Remove duplicate and unused is_worth_caching_serialized_bbox and is_worth_caching_lwgeom_bbox

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

13 years agoAdd ignores for new built files
Paul Ramsey [Thu, 27 Oct 2011 18:44:43 +0000 (18:44 +0000)]
Add ignores for new built files

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

13 years agoWrap lines within 80 columns
Sandro Santilli [Thu, 27 Oct 2011 14:35:07 +0000 (14:35 +0000)]
Wrap lines within 80 columns

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

13 years agoAdded rtpostgis_drop.sql, rtpostgis_drop.sql.in, rtpostgis_upgrade.sql and rtpostgis_...
Bborie Park [Thu, 27 Oct 2011 14:09:47 +0000 (14:09 +0000)]
Added rtpostgis_drop.sql, rtpostgis_drop.sql.in, rtpostgis_upgrade.sql and rtpostgis_upgrade_20_minor.sql to svn:ignore

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

13 years agoRefactored rt_band_get_min_value() to call new function rt_pixtype_get_min_value...
Bborie Park [Thu, 27 Oct 2011 14:08:24 +0000 (14:08 +0000)]
Refactored rt_band_get_min_value() to call new function rt_pixtype_get_min_value().  Addition of function rt_util_extent_type().

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

13 years agoRemove PG_LWGEOM_construct
Paul Ramsey [Wed, 26 Oct 2011 23:47:16 +0000 (23:47 +0000)]
Remove PG_LWGEOM_construct

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

13 years agoRemove orphaned pglwgeom function pglwgeom_compute_serialized_box3d
Paul Ramsey [Wed, 26 Oct 2011 23:21:05 +0000 (23:21 +0000)]
Remove orphaned pglwgeom function pglwgeom_compute_serialized_box3d

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

13 years agoRemove non-gserialized portions of utility functions.
Paul Ramsey [Wed, 26 Oct 2011 23:07:17 +0000 (23:07 +0000)]
Remove non-gserialized portions of utility functions.

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

13 years agoRemove more orphaned box2d support functions
Paul Ramsey [Wed, 26 Oct 2011 22:58:21 +0000 (22:58 +0000)]
Remove more orphaned box2d support functions

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

13 years agoRemove *_compute_box2d* functions that are now orphans.
Paul Ramsey [Wed, 26 Oct 2011 22:36:22 +0000 (22:36 +0000)]
Remove *_compute_box2d* functions that are now orphans.

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

13 years agoRemove gserialized_on conditionals. Only type defines remain to be cleared out.
Paul Ramsey [Tue, 25 Oct 2011 21:19:39 +0000 (21:19 +0000)]
Remove gserialized_on conditionals. Only type defines remain to be cleared out.

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

13 years agoRemove old box2dfloat4 in favor of gbox.
Paul Ramsey [Tue, 25 Oct 2011 21:05:42 +0000 (21:05 +0000)]
Remove old box2dfloat4 in favor of gbox.

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

13 years agoAdd own copyright on the file. See http://postgis.refractions.net/pipermail/postgis...
Sandro Santilli [Tue, 25 Oct 2011 20:31:15 +0000 (20:31 +0000)]
Add own copyright on the file. See http://postgis.refractions.net/pipermail/postgis-devel/2004-March/thread.html for historical mail exchanges about it :)

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

13 years agoRemove old serialized_form index selectivity code.
Paul Ramsey [Tue, 25 Oct 2011 20:02:25 +0000 (20:02 +0000)]
Remove old serialized_form index selectivity code.

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

13 years agoExplode the topology sections to keep primitive (sql/mm) topology management more...
Sandro Santilli [Fri, 21 Oct 2011 21:49:25 +0000 (21:49 +0000)]
Explode the topology sections to keep primitive (sql/mm) topology management more separate from higher (TopoGeometry) management.

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

13 years agoAdded rt_raster_set_geotransform_matrix() to provide quick setting of a raster's...
Bborie Park [Fri, 21 Oct 2011 21:42:12 +0000 (21:42 +0000)]
Added rt_raster_set_geotransform_matrix() to provide quick setting of a raster's geotransform based upon the matrix

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

13 years agoCorrected rt_raster_same_alignment() and RASTER_sameAlignment() to behave as an end...
Bborie Park [Fri, 21 Oct 2011 19:10:53 +0000 (19:10 +0000)]
Corrected rt_raster_same_alignment() and RASTER_sameAlignment() to behave as an end-user would expect it to.  So intead of errors when parameters don't match, return false.

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

13 years agoChanged rt_raster_has_no_band to use 0-based band index instead of 1-based. Removed...
Bborie Park [Fri, 21 Oct 2011 18:11:46 +0000 (18:11 +0000)]
Changed rt_raster_has_no_band to use 0-based band index instead of 1-based.  Removed function prototype ST_HasNoData(raster) as the other prototype ST_HasNoData(raster, nband) now uses the default value of 1 for nband.

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

13 years agoChanged those functions that is 1-based for band index to 0-based in rt_core. This...
Bborie Park [Fri, 21 Oct 2011 14:53:29 +0000 (14:53 +0000)]
Changed those functions that is 1-based for band index to 0-based in rt_core.  This leaves only rt_raster_has_no_band, which may have other issues as well.

Associated ticket is #754

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

13 years agoput in logic to st_setsrid to wgs84 before doing st_distance_sphere in case Paul...
Regina Obe [Fri, 21 Oct 2011 12:01:12 +0000 (12:01 +0000)]
put in logic to st_setsrid to wgs84 before doing st_distance_sphere  in case Paul decides he doesn't want to fix the regression issue noted in #1243

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

13 years agoRenamed RASTER_samealignment() to RASTER_sameAlignment() and corrected C++ style...
Bborie Park [Thu, 20 Oct 2011 22:24:07 +0000 (22:24 +0000)]
Renamed RASTER_samealignment() to RASTER_sameAlignment() and corrected C++ style comments with C comments

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

13 years agoRemoved use of PG_DETOAST_DATUM_COPY and PG_FREE_IF_COPY as all rasters should be...
Bborie Park [Thu, 20 Oct 2011 22:07:45 +0000 (22:07 +0000)]
Removed use of PG_DETOAST_DATUM_COPY and PG_FREE_IF_COPY as all rasters should be detoasted using PG_DETOAST_DATUM as it doesn't create a copy, thus consuming more space.

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

13 years agoReplaced missing signatures of ST_MapAlgebraFct.
David Zwarg [Thu, 20 Oct 2011 13:31:06 +0000 (13:31 +0000)]
Replaced missing signatures of ST_MapAlgebraFct.

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

13 years agomove function args to single line so CREATe EXTENSION topology FROM unpackaged script...
Regina Obe [Thu, 20 Oct 2011 00:49:38 +0000 (00:49 +0000)]
move function args to single line so CREATe EXTENSION topology FROM unpackaged script builds corectly

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

13 years agoadd in missing ST_MapAlgebraFct protos
Regina Obe [Wed, 19 Oct 2011 23:47:57 +0000 (23:47 +0000)]
add in missing ST_MapAlgebraFct protos

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

13 years agoevidentally missed one or get the wrong ST_MapAlgebraFct proto in last commit
Regina Obe [Wed, 19 Oct 2011 23:25:54 +0000 (23:25 +0000)]
evidentally missed one or get the wrong ST_MapAlgebraFct proto in last commit

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

13 years agoGet rid of st_mapalgebrafct(raster,text,regprocedure,text[]) proto since there is...
Regina Obe [Wed, 19 Oct 2011 20:31:28 +0000 (20:31 +0000)]
Get rid of st_mapalgebrafct(raster,text,regprocedure,text[]) proto since there is no matching function - messing up my ability to test my extensions

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

13 years ago#860 Get rid of some dup definitions in ST_MapAlgebraFct and add some missing ones.
Regina Obe [Tue, 18 Oct 2011 11:37:56 +0000 (11:37 +0000)]
#860 Get rid of some dup definitions in ST_MapAlgebraFct and add some missing ones.

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

13 years agoAdd postgis_before_drop for dropping functions that have arument names renamed before...
Regina Obe [Tue, 18 Oct 2011 02:23:57 +0000 (02:23 +0000)]
Add postgis_before_drop for dropping functions that have arument names renamed before reinstall.  Just for upgrade script since can't do CREATE OR REPLACE if arg names have changed

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

13 years agoFixed documentation code listing typo for ST_MapAlgebraFct, and added more informatio...
David Zwarg [Mon, 17 Oct 2011 16:16:37 +0000 (16:16 +0000)]
Fixed documentation code listing typo for ST_MapAlgebraFct, and added more information about userfunctions and variadic text args.

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

13 years agoupdate bios
Regina Obe [Mon, 17 Oct 2011 13:45:46 +0000 (13:45 +0000)]
update bios

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

13 years agoAdded ST_MapAlgebraFct to documentation, with same examples as ST_MapAlgebraExpr
David Zwarg [Mon, 17 Oct 2011 13:10:13 +0000 (13:10 +0000)]
Added ST_MapAlgebraFct to documentation, with same examples as ST_MapAlgebraExpr

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

13 years agoupgrade from a1-a3 for topology, beginning of upgrade extension for postgis -- still...
Regina Obe [Sun, 16 Oct 2011 18:17:54 +0000 (18:17 +0000)]
upgrade from a1-a3 for topology, beginning of upgrade extension for postgis -- still need to resolve issue of ALTER EXTENSION not having a DROP IF EXISTS -- a bit annoying for aggs.

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

13 years agoMove XMin/Max etc out of miscellaneous into accessors -- Per Pierre's suggestion...
Regina Obe [Fri, 14 Oct 2011 22:43:43 +0000 (22:43 +0000)]
Move XMin/Max etc out of miscellaneous into accessors -- Per Pierre's suggestion.  Seems more logical.

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

13 years agoGetr di of the word function in heard. Guess it is kind of stupid
Regina Obe [Fri, 14 Oct 2011 22:36:49 +0000 (22:36 +0000)]
Getr di of the word function in heard.  Guess it is kind of stupid

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

13 years agoImplemented raster map algebra with user functions/callbacks. (#860)
David Zwarg [Fri, 14 Oct 2011 18:11:27 +0000 (18:11 +0000)]
Implemented raster map algebra with user functions/callbacks. (#860)

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

13 years agoActually we use bash code, not sh code
Paul Ramsey [Thu, 13 Oct 2011 17:54:37 +0000 (17:54 +0000)]
Actually we use bash code, not sh code

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

13 years agoAdd _ST_Resample -- evidentally arg names changed. also got rid of arg names in...
Regina Obe [Thu, 13 Oct 2011 12:28:15 +0000 (12:28 +0000)]
Add _ST_Resample -- evidentally arg names changed.   also got rid of arg names in _ST_AsRaster

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

13 years agoSome functions need to be dropped before upgrade minor if they need to be recreated...
Regina Obe [Thu, 13 Oct 2011 11:56:20 +0000 (11:56 +0000)]
Some functions need to be dropped before upgrade minor if they need to be recreated.  This is required for functions where argument names change but fundamental types do not.  Will add this to upgrade minor script build later.

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

13 years agoBug fix for _ST_Intersects(geometry, raster) where the buffering of the intersection...
Bborie Park [Wed, 12 Oct 2011 14:36:53 +0000 (14:36 +0000)]
Bug fix for _ST_Intersects(geometry, raster) where the buffering of the intersection could return NULL.  This happens if the buffer was passed zero for the buffer distance.

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

13 years agomove ST_AddBand to raster constructors section per ticket #1240 and rename Raster...
Regina Obe [Wed, 12 Oct 2011 12:51:50 +0000 (12:51 +0000)]
move ST_AddBand to raster constructors section per ticket #1240 and rename Raster Band Accessors and Constructors to just Raster Band Accessors

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

13 years agoanother minor correction
Regina Obe [Wed, 12 Oct 2011 11:26:24 +0000 (11:26 +0000)]
another minor correction

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

13 years ago#1241 apply doc_vacuum_analyze_and_I_None_typo.patch
Regina Obe [Wed, 12 Oct 2011 11:18:31 +0000 (11:18 +0000)]
#1241 apply doc_vacuum_analyze_and_I_None_typo.patch

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

13 years agoTypename in type specifier doesn't need to be quoted.
Sandro Santilli [Tue, 11 Oct 2011 14:37:48 +0000 (14:37 +0000)]
Typename in type specifier doesn't need to be quoted.

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