]> granicus.if.org Git - postgis/log
postgis
12 years agogive release sections ids for easier reference
Regina Obe [Thu, 25 Oct 2012 04:07:24 +0000 (04:07 +0000)]
give release sections ids for easier reference

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

12 years agoPreprocess input geometry for clipping raster by using the intersection
Bborie Park [Wed, 24 Oct 2012 22:22:04 +0000 (22:22 +0000)]
Preprocess input geometry for clipping raster by using the intersection
of the input geometry and the convex hull of the raster. Ticket #1989

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

12 years agoAdded checks to rt_raster_gdal_rasterize() and RASTER_asRaster() where
Bborie Park [Wed, 24 Oct 2012 22:21:56 +0000 (22:21 +0000)]
Added checks to rt_raster_gdal_rasterize() and RASTER_asRaster() where
if input geometry is empty, return empty raster.

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

12 years agoBroke string for iowa hex into three parts so that doxygen doesn't choke
Bborie Park [Wed, 24 Oct 2012 21:14:47 +0000 (21:14 +0000)]
Broke string for iowa hex into three parts so that doxygen doesn't choke

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

12 years agoHave ST_Tile() generate out-of-db tile bands if input raster's band is
Bborie Park [Wed, 24 Oct 2012 19:22:46 +0000 (19:22 +0000)]
Have ST_Tile() generate out-of-db tile bands if input raster's band is
out-of-db.

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

12 years agoWhoops make sure the test macros match the library ones
Paul Ramsey [Wed, 24 Oct 2012 18:54:23 +0000 (18:54 +0000)]
Whoops make sure the test macros match the library ones

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

12 years agoAdd some debugging info to find failure in debbie
Paul Ramsey [Wed, 24 Oct 2012 18:44:08 +0000 (18:44 +0000)]
Add some debugging info to find failure in debbie

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

12 years agoAdd explicit tests for edge_intersects()
Paul Ramsey [Wed, 24 Oct 2012 18:28:10 +0000 (18:28 +0000)]
Add explicit tests for edge_intersects()

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

12 years agoMove the distance calculation to also use the edge_intersects() function instead...
Paul Ramsey [Wed, 24 Oct 2012 17:26:17 +0000 (17:26 +0000)]
Move the distance calculation to also use the edge_intersects() function instead of edge_intersection()

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

12 years agoAdded "auto" option to -t switch where raster2pgsql can compute a usable
Bborie Park [Wed, 24 Oct 2012 16:31:39 +0000 (16:31 +0000)]
Added "auto" option to -t switch where raster2pgsql can compute a usable
tile size. Added warning message if generated tiles may cause memory
issues.

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

12 years agominor adjustments to terminology to improve searchin
Regina Obe [Wed, 24 Oct 2012 03:41:56 +0000 (03:41 +0000)]
minor adjustments to terminology to improve searchin

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

12 years agoRearranged function arguments for ST_Tile(raster)
Bborie Park [Tue, 23 Oct 2012 23:59:02 +0000 (23:59 +0000)]
Rearranged function arguments for ST_Tile(raster)

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

12 years agoAdded news and docs for ST_Tile(raster). Additional regression tests for
Bborie Park [Tue, 23 Oct 2012 22:44:52 +0000 (22:44 +0000)]
Added news and docs for ST_Tile(raster). Additional regression tests for
one additional variant of ST_Tile(raster)

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

12 years agoAdded ST_Tile() and regression tests. The circle is complete.
Bborie Park [Tue, 23 Oct 2012 22:44:42 +0000 (22:44 +0000)]
Added ST_Tile() and regression tests. The circle is complete.

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

12 years agoAdded rt_band_get_pixel_line() and regression tests
Bborie Park [Tue, 23 Oct 2012 22:44:28 +0000 (22:44 +0000)]
Added rt_band_get_pixel_line() and regression tests

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

12 years ago(#2063) fix the vertex-crossing logic in the circular tree code to use the new edge_i...
Paul Ramsey [Tue, 23 Oct 2012 22:43:02 +0000 (22:43 +0000)]
(#2063) fix the vertex-crossing logic in the circular tree code to use the new edge_intersects routine

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

12 years ago(#2026) fix performance regression in geography distance calculation
Paul Ramsey [Tue, 23 Oct 2012 22:17:12 +0000 (22:17 +0000)]
(#2026) fix performance regression in geography distance calculation

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

12 years ago(#1976) Geography point-in-ring code overhauled for more reliability
Paul Ramsey [Tue, 23 Oct 2012 21:18:50 +0000 (21:18 +0000)]
(#1976) Geography point-in-ring code overhauled for more reliability

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

12 years agoMake changes to reflect patch from #2061
Bborie Park [Tue, 23 Oct 2012 13:46:56 +0000 (13:46 +0000)]
Make changes to reflect patch from #2061

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

12 years agoFuture test case for when we've solved p-i-p in generality
Paul Ramsey [Tue, 23 Oct 2012 04:56:12 +0000 (04:56 +0000)]
Future test case for when we've solved p-i-p in generality

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

12 years agoFix POSTGIS_RT_DEBUGF() usage
Bborie Park [Mon, 22 Oct 2012 19:05:47 +0000 (19:05 +0000)]
Fix POSTGIS_RT_DEBUGF() usage

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

12 years agoFixed doxygen comment formats
Bborie Park [Mon, 22 Oct 2012 19:05:40 +0000 (19:05 +0000)]
Fixed doxygen comment formats

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

12 years agoRemove unused variables.
Bborie Park [Mon, 22 Oct 2012 17:20:20 +0000 (17:20 +0000)]
Remove unused variables.

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

12 years agoCache frequently used variables minimize # of function calls in
Bborie Park [Mon, 22 Oct 2012 17:20:09 +0000 (17:20 +0000)]
Cache frequently used variables minimize # of function calls in
rt_raster_iterator()

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

12 years agoInclude output from gdal-config --dep-libs when building raster2pgsql
Bborie Park [Mon, 22 Oct 2012 17:20:00 +0000 (17:20 +0000)]
Include output from gdal-config --dep-libs when building raster2pgsql

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

12 years agoAdd news and doc changes to indicate proper support for raster band's
Bborie Park [Mon, 22 Oct 2012 17:19:54 +0000 (17:19 +0000)]
Add news and doc changes to indicate proper support for raster band's
"isnodata" support

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

12 years agohave raster2pgsql check for raster bands being NODATA
Bborie Park [Mon, 22 Oct 2012 17:19:48 +0000 (17:19 +0000)]
have raster2pgsql check for raster bands being NODATA

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

12 years agoTweaked rt_band_check_is_nodata() to make use of rt_band_get_pixel()'s
Bborie Park [Mon, 22 Oct 2012 17:19:41 +0000 (17:19 +0000)]
Tweaked rt_band_check_is_nodata() to make use of rt_band_get_pixel()'s
ability to return flag indicating if value is NODATA

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

12 years agoFinal fixes to support band's isnodata flag.
Bborie Park [Mon, 22 Oct 2012 17:19:35 +0000 (17:19 +0000)]
Final fixes to support band's isnodata flag.

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

12 years agoAll functions in core API now support a band's isnodata value.
Bborie Park [Mon, 22 Oct 2012 17:19:28 +0000 (17:19 +0000)]
All functions in core API now support a band's isnodata value.

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

12 years agoChanged signature of rt_band_get_nodata() as there was no way to
Bborie Park [Mon, 22 Oct 2012 17:19:20 +0000 (17:19 +0000)]
Changed signature of rt_band_get_nodata() as there was no way to
indicate an error if the band has no NODATA.

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

12 years agoSome work adding proper support for using a band's isnodata flag.
Bborie Park [Mon, 22 Oct 2012 17:19:11 +0000 (17:19 +0000)]
Some work adding proper support for using a band's isnodata flag.

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

12 years agoChanged function signature for core API function rt_band_get_pixel() to
Bborie Park [Mon, 22 Oct 2012 17:19:04 +0000 (17:19 +0000)]
Changed function signature for core API function rt_band_get_pixel() to
indicate if pixel is NODATA

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

12 years agoMinor changes to references to raster2pgsql
Bborie Park [Mon, 22 Oct 2012 17:18:55 +0000 (17:18 +0000)]
Minor changes to references to raster2pgsql

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

12 years agoupdate crowd funding details
Regina Obe [Sun, 21 Oct 2012 23:53:15 +0000 (23:53 +0000)]
update crowd funding details

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

12 years agoFix GetTopoGeomElementArray(TopoGeometry) function, and add test
Sandro Santilli [Sun, 21 Oct 2012 18:02:54 +0000 (18:02 +0000)]
Fix GetTopoGeomElementArray(TopoGeometry) function, and add test

See http://trac.osgeo.org/postgis/ticket/2060

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

12 years agofix headeer and description
Regina Obe [Sat, 20 Oct 2012 21:07:25 +0000 (21:07 +0000)]
fix headeer and description

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

12 years agoWrap NEWS to 80cols
Paul Ramsey [Fri, 19 Oct 2012 22:20:01 +0000 (22:20 +0000)]
Wrap NEWS to 80cols

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

12 years agoAdded to news regarding ticket #2057
Bborie Park [Fri, 19 Oct 2012 18:51:05 +0000 (18:51 +0000)]
Added to news regarding ticket #2057

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

12 years agoAdd variables specifying PostgreSQL CPPFLAGS and LDFLAGS.
Bborie Park [Fri, 19 Oct 2012 18:49:02 +0000 (18:49 +0000)]
Add variables specifying PostgreSQL CPPFLAGS and LDFLAGS.
Ticket is #2057

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

12 years agoForgot to wrap tags with <para></para> in reference_raster.xml. Minor
Bborie Park [Fri, 19 Oct 2012 01:36:44 +0000 (01:36 +0000)]
Forgot to wrap tags with <para></para> in reference_raster.xml. Minor
comment cleanup in rt_pg.c

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

12 years agoFixed annoyances in the raster docs
Bborie Park [Fri, 19 Oct 2012 00:27:58 +0000 (00:27 +0000)]
Fixed annoyances in the raster docs

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

12 years agoCombined the gist spatial relationship tests into
Bborie Park [Thu, 18 Oct 2012 23:52:45 +0000 (23:52 +0000)]
Combined the gist spatial relationship tests into
rt_gist_relationships

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

12 years agoCombined all raster GEOS dependent spatial relationship regression tests into
Bborie Park [Thu, 18 Oct 2012 23:52:36 +0000 (23:52 +0000)]
Combined all raster GEOS dependent spatial relationship regression tests into
rt_geos_relationships.sql

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

12 years agoClamp SRID when comparing SRIDs of raster vs geometry for geomval
Bborie Park [Thu, 18 Oct 2012 21:45:33 +0000 (21:45 +0000)]
Clamp SRID when comparing SRIDs of raster vs geometry for geomval
variant of ST_SetValues()

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

12 years agoAdded docs for geomval variant of ST_SetValues
Bborie Park [Thu, 18 Oct 2012 21:45:27 +0000 (21:45 +0000)]
Added docs for geomval variant of ST_SetValues

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

12 years agoAdd news items regarding changes to ST_SetValue and addition of
Bborie Park [Thu, 18 Oct 2012 21:45:22 +0000 (21:45 +0000)]
Add news items regarding changes to ST_SetValue and addition of
geomval variant of ST_SetValues()

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

12 years agoCode cleanup in rt_pg/rt_pg.c. Changed point geometry variant of
Bborie Park [Thu, 18 Oct 2012 21:45:16 +0000 (21:45 +0000)]
Code cleanup in rt_pg/rt_pg.c. Changed point geometry variant of
ST_SetValue() to wrap around geomval variant of ST_SetValues(). This
will result in a behavior change for geometry variant of ST_SetValue().

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

12 years agoAddition of geomval variants of ST_SetValues() and regression tests.
Bborie Park [Thu, 18 Oct 2012 21:45:06 +0000 (21:45 +0000)]
Addition of geomval variants of ST_SetValues() and regression tests.
Added helper function rt_raster_get_inverse_geotransform_matrix().
Additional code cleanup for rt_raster_geopoint_to_cell() and
rt_raster_cell_to_geopoint().

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

12 years agoscript to concatenate all the sections of postgis doc for easier digestion of postgis...
Regina Obe [Thu, 18 Oct 2012 14:47:08 +0000 (14:47 +0000)]
script to concatenate all the sections of postgis doc for easier digestion of postgis expert bot

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

12 years agoCorrect usage of memset()
Bborie Park [Wed, 17 Oct 2012 19:30:54 +0000 (19:30 +0000)]
Correct usage of memset()

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

12 years agoCleanup description for ST_SetValues()
Bborie Park [Wed, 17 Oct 2012 19:30:47 +0000 (19:30 +0000)]
Cleanup description for ST_SetValues()

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

12 years agoAdded items to NEWS and docs for ST_DumpValues
Bborie Park [Wed, 17 Oct 2012 16:08:22 +0000 (16:08 +0000)]
Added items to NEWS and docs for ST_DumpValues

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

12 years agoAddition of ST_DumpValues() and regression tests. Ticket #2011
Bborie Park [Wed, 17 Oct 2012 16:08:16 +0000 (16:08 +0000)]
Addition of ST_DumpValues() and regression tests. Ticket #2011

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

12 years agoAdd fallback method of getting maximum extent for extent constraint.
Bborie Park [Wed, 17 Oct 2012 14:29:42 +0000 (14:29 +0000)]
Add fallback method of getting maximum extent for extent constraint.
Ticket is #2050

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

12 years agoMove trim_trailing_zeros out of liblwgeom.h (#2054)
Sandro Santilli [Wed, 17 Oct 2012 14:16:46 +0000 (14:16 +0000)]
Move trim_trailing_zeros out of liblwgeom.h (#2054)

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

12 years agoGet OUT_* export macros out of liblwgeom.h (#2053)
Sandro Santilli [Wed, 17 Oct 2012 13:38:49 +0000 (13:38 +0000)]
Get OUT_* export macros out of liblwgeom.h (#2053)

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

12 years agoDo not print more digits than available from lwgeom_to_geojson
Sandro Santilli [Wed, 17 Oct 2012 11:43:47 +0000 (11:43 +0000)]
Do not print more digits than available from lwgeom_to_geojson

See http://trac.osgeo.org/postgis/ticket/2051
Adds tests for the ticket cases.

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

12 years agoIt is OUT_MAX_DOUBLE_PRECISION, not OUT_MAX_DIGS_DOUBLE, we should use
Sandro Santilli [Wed, 17 Oct 2012 09:52:34 +0000 (09:52 +0000)]
It is OUT_MAX_DOUBLE_PRECISION, not OUT_MAX_DIGS_DOUBLE, we should use

These macros should really get out of liblwgeom.h and be properly
documented...

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

12 years agoFix buffer overflow in lwgeom_to_geojson (#2052)
Sandro Santilli [Wed, 17 Oct 2012 09:45:36 +0000 (09:45 +0000)]
Fix buffer overflow in lwgeom_to_geojson (#2052)

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

12 years agoAdded optional interpolate_nodata flag as function parameter to ST_HillShade,
Bborie Park [Tue, 16 Oct 2012 20:59:06 +0000 (20:59 +0000)]
Added optional interpolate_nodata flag as function parameter to ST_HillShade,
ST_Aspect and ST_Slope.

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

12 years agoDo not abort populate_geometry_columns when table can't be altered
Sandro Santilli [Tue, 16 Oct 2012 20:42:46 +0000 (20:42 +0000)]
Do not abort populate_geometry_columns when table can't be altered

Also print the reason for the limitation. See #2049.

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

12 years agoFixed xml issues that are making debbie mad.
Bborie Park [Tue, 16 Oct 2012 20:17:29 +0000 (20:17 +0000)]
Fixed xml issues that are making debbie mad.

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

12 years agoAdded news blurb and docs regarding expression variants of
Bborie Park [Tue, 16 Oct 2012 19:55:56 +0000 (19:55 +0000)]
Added news blurb and docs regarding expression variants of
ST_MapAlgebra.

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

12 years agoAdded 2-raster expression variant of ST_MapAlgebra() and regression
Bborie Park [Tue, 16 Oct 2012 19:55:50 +0000 (19:55 +0000)]
Added 2-raster expression variant of ST_MapAlgebra() and regression
tests.

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

12 years agoAdditional tweaking of returning empty raster from map algebra of
Bborie Park [Tue, 16 Oct 2012 19:55:41 +0000 (19:55 +0000)]
Additional tweaking of returning empty raster from map algebra of
INTERSECTION or UNION extent

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

12 years agoCorrected handling of NULL raster resulting from NO intersection of input rasters...
Bborie Park [Tue, 16 Oct 2012 19:55:34 +0000 (19:55 +0000)]
Corrected handling of NULL raster resulting from NO intersection of input rasters in map algebra. Fixed spelling mistakes. Additional tests for intersections of more than 3 rasters that don't actually intersect in ST_MapAlgebra

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

12 years agoAdded one-raster expression variant for ST_MapAlgebra and appropriate
Bborie Park [Tue, 16 Oct 2012 19:55:26 +0000 (19:55 +0000)]
Added one-raster expression variant for ST_MapAlgebra and appropriate
regression tests.

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

12 years agoEnhance documentation about TopoElement domain
Sandro Santilli [Tue, 16 Oct 2012 16:08:02 +0000 (16:08 +0000)]
Enhance documentation about TopoElement domain

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

12 years agotweak DEBUG line
Sandro Santilli [Tue, 16 Oct 2012 16:07:53 +0000 (16:07 +0000)]
tweak DEBUG line

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

12 years agoImprove TopologySummary output
Sandro Santilli [Tue, 16 Oct 2012 08:29:26 +0000 (08:29 +0000)]
Improve TopologySummary output

Add unregistered layers and orphaned TopoGeom count

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

12 years agoHave TopologySummary use the word "Mixed" for collection layers
Sandro Santilli [Tue, 16 Oct 2012 08:29:15 +0000 (08:29 +0000)]
Have TopologySummary use the word "Mixed" for collection layers

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

12 years agoFixed incorrect use of RASTER_DEBUGF().
Bborie Park [Mon, 15 Oct 2012 19:21:51 +0000 (19:21 +0000)]
Fixed incorrect use of RASTER_DEBUGF().

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

12 years agoMore poking at the docs for ST_MapAlgebra
Bborie Park [Mon, 15 Oct 2012 14:48:42 +0000 (14:48 +0000)]
More poking at the docs for ST_MapAlgebra

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

12 years agoAdd another example of ST_MapAlgebra() and some formatting cleanup
Bborie Park [Mon, 15 Oct 2012 14:20:18 +0000 (14:20 +0000)]
Add another example of ST_MapAlgebra() and some formatting cleanup

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

12 years agoChanged how ST_MapAlgebra regression test runs on PostgreSQL 9.0 as
Bborie Park [Mon, 15 Oct 2012 03:34:15 +0000 (03:34 +0000)]
Changed how ST_MapAlgebra regression test runs on PostgreSQL 9.0 as
usage of "GROUP BY raster" does not work.  Ticket is #2048.

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

12 years ago#2046: fix 2.1 doesn't compile with postgresql 9.0
Regina Obe [Sun, 14 Oct 2012 05:40:44 +0000 (05:40 +0000)]
#2046: fix 2.1 doesn't compile with postgresql 9.0

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

12 years agoupdategeometrysrid was describing old behavior. Update to new and provide alternative...
Regina Obe [Sun, 14 Oct 2012 05:13:50 +0000 (05:13 +0000)]
updategeometrysrid was describing old behavior. Update to new and provide alternative syntax

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

12 years agoRemove odd srs error line from expected
Paul Ramsey [Fri, 12 Oct 2012 20:06:29 +0000 (20:06 +0000)]
Remove odd srs error line from expected

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

12 years agoReduce precision test to 1cm2. There is no doubt that this approach is less numerical...
Paul Ramsey [Fri, 12 Oct 2012 19:49:27 +0000 (19:49 +0000)]
Reduce precision test to 1cm2. There is no doubt that this approach is less numerically stable than the last. (#2043) Though in exchange, it covers the globe more completely.

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

12 years agoReduce the precision of the double test... it passes here.. (#2043)
Paul Ramsey [Fri, 12 Oct 2012 19:32:26 +0000 (19:32 +0000)]
Reduce the precision of the double test... it passes here.. (#2043)

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

12 years agoBug fix where pos array size was incorrect.
Bborie Park [Fri, 12 Oct 2012 19:31:39 +0000 (19:31 +0000)]
Bug fix where pos array size was incorrect.

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

12 years agoRemoved warning block for ST_MapAlgebra() doc page. Rearranged warning boxes
Bborie Park [Fri, 12 Oct 2012 19:31:30 +0000 (19:31 +0000)]
Removed warning block for ST_MapAlgebra() doc page. Rearranged warning boxes

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

12 years agoMore documentation changes regarding deprecation status of
Bborie Park [Fri, 12 Oct 2012 16:06:35 +0000 (16:06 +0000)]
More documentation changes regarding deprecation status of
ST_MapAlgebraFct() variants. Added news item regarding deprecation status of ST_MapAlgebraFct and ST_MapAlgebraFctNgb variants

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

12 years agoDuplicated and refactored the ST_XXX4ma() functions for ST_MapAlgebra
Bborie Park [Fri, 12 Oct 2012 16:06:27 +0000 (16:06 +0000)]
Duplicated and refactored the ST_XXX4ma() functions for ST_MapAlgebra
usage.  Exception for ST_InvDistWeight4ma() and ST_MinDist4ma(), both of
which are new for 2.1. Added regression tests as well.

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

12 years agoExit with non-zero code when commandline is malformed
Sandro Santilli [Fri, 12 Oct 2012 15:20:44 +0000 (15:20 +0000)]
Exit with non-zero code when commandline is malformed

It still exists with zero code when user explictly asks for the
help screen (with -? as documented and with no switch as popular
habit [well, mine])

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

12 years agoAdd pdf-localized rule for building localized pdf manual
Sandro Santilli [Fri, 12 Oct 2012 14:26:02 +0000 (14:26 +0000)]
Add pdf-localized rule for building localized pdf manual

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

12 years agoIgnoring generated files in tiger_geocoder extension
Sandro Santilli [Fri, 12 Oct 2012 14:06:29 +0000 (14:06 +0000)]
Ignoring generated files in tiger_geocoder extension

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

12 years agoFix compiler warnings in lwgeom_geos.c
Sandro Santilli [Fri, 12 Oct 2012 08:40:40 +0000 (08:40 +0000)]
Fix compiler warnings in lwgeom_geos.c

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

12 years agoFix a "set but not used" warning.
Sandro Santilli [Fri, 12 Oct 2012 08:34:35 +0000 (08:34 +0000)]
Fix a "set but not used" warning.

This was about the return from getPoint2d_p, but it really only
returns zero on error and after lwerror was called, and only if
a PARANOIA compile time macro is set...

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

12 years agoFix ptarray_area_sphere signature (#2040)
Sandro Santilli [Fri, 12 Oct 2012 08:27:09 +0000 (08:27 +0000)]
Fix ptarray_area_sphere signature (#2040)

Since I was a it I also removed a "set but not used" warning.

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

12 years agoUpdate po files after changes in installation.xml
Sandro Santilli [Fri, 12 Oct 2012 07:50:07 +0000 (07:50 +0000)]
Update po files after changes in installation.xml

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

12 years agoAdd more uses of <command> and <filename> in installation.xml
Sandro Santilli [Fri, 12 Oct 2012 07:49:54 +0000 (07:49 +0000)]
Add more uses of <command> and <filename> in installation.xml

Also fixes a missing dash in "make comments-install"

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

12 years agoPut <comment> tags in <para>, fixing #2041
Sandro Santilli [Fri, 12 Oct 2012 07:49:44 +0000 (07:49 +0000)]
Put <comment> tags in <para>, fixing #2041

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

12 years agoConsistently use <command> tag for "make comments"
Sandro Santilli [Fri, 12 Oct 2012 07:20:46 +0000 (07:20 +0000)]
Consistently use <command> tag for "make comments"

Fixes complains by msgmerge (internationalization)

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

12 years agoImprove support for ST_Area(geography) over dateline and poles (#2006, #2039)
Paul Ramsey [Thu, 11 Oct 2012 22:48:11 +0000 (22:48 +0000)]
Improve support for ST_Area(geography) over dateline and poles (#2006, #2039)

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

12 years agoTranslation of intruduction.xml to pt_BR by George Silva
Sandro Santilli [Thu, 11 Oct 2012 21:44:03 +0000 (21:44 +0000)]
Translation of intruduction.xml to pt_BR by George Silva

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

12 years agoUpdate po files
Sandro Santilli [Thu, 11 Oct 2012 21:41:12 +0000 (21:41 +0000)]
Update po files

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

12 years agoMove area core calculation to ptarray.
Paul Ramsey [Thu, 11 Oct 2012 17:29:55 +0000 (17:29 +0000)]
Move area core calculation to ptarray.

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

12 years agoIgnore build artifacts from geocoder
Paul Ramsey [Thu, 11 Oct 2012 17:29:16 +0000 (17:29 +0000)]
Ignore build artifacts from geocoder

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