Commit graph

8597 commits

Author SHA1 Message Date
Bborie Park 5f229783bc Added docs for geomval variant of ST_SetValues
git-svn-id: http://svn.osgeo.org/postgis/trunk@10468 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-18 21:45:27 +00:00
Bborie Park c8c1b6879d 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
2012-10-18 21:45:22 +00:00
Bborie Park 0b7294f625 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
2012-10-18 21:45:16 +00:00
Bborie Park 8da4897b8c 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
2012-10-18 21:45:06 +00:00
Regina Obe 961695486d 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
2012-10-18 14:47:08 +00:00
Bborie Park c8280a3eb4 Correct usage of memset()
git-svn-id: http://svn.osgeo.org/postgis/trunk@10460 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-17 19:30:54 +00:00
Bborie Park 598bf28de8 Cleanup description for ST_SetValues()
git-svn-id: http://svn.osgeo.org/postgis/trunk@10459 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-17 19:30:47 +00:00
Bborie Park 7df57e61b8 Added items to NEWS and docs for ST_DumpValues
git-svn-id: http://svn.osgeo.org/postgis/trunk@10458 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-17 16:08:22 +00:00
Bborie Park 8dc51330f8 Addition of ST_DumpValues() and regression tests. Ticket #2011
git-svn-id: http://svn.osgeo.org/postgis/trunk@10457 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-17 16:08:16 +00:00
Bborie Park c9e436d70d 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
2012-10-17 14:29:42 +00:00
Sandro Santilli ebfbe51976 Move trim_trailing_zeros out of liblwgeom.h (#2054)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10454 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-17 14:16:46 +00:00
Sandro Santilli ca09cf4cc4 Get OUT_* export macros out of liblwgeom.h (#2053)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10453 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-17 13:38:49 +00:00
Sandro Santilli 9f7e3edaa1 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
2012-10-17 11:43:47 +00:00
Sandro Santilli fb4bdad7e5 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
2012-10-17 09:52:34 +00:00
Sandro Santilli b7f088f974 Fix buffer overflow in lwgeom_to_geojson (#2052)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10448 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-17 09:45:36 +00:00
Bborie Park b313dd9f2d 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
2012-10-16 20:59:06 +00:00
Sandro Santilli fbaed4449c 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
2012-10-16 20:42:46 +00:00
Bborie Park 433bbbf538 Fixed xml issues that are making debbie mad.
git-svn-id: http://svn.osgeo.org/postgis/trunk@10443 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-16 20:17:29 +00:00
Bborie Park 653bde1da3 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
2012-10-16 19:55:56 +00:00
Bborie Park 0814092391 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
2012-10-16 19:55:50 +00:00
Bborie Park cff576de11 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
2012-10-16 19:55:41 +00:00
Bborie Park 0d253d3aab 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
2012-10-16 19:55:34 +00:00
Bborie Park 2558772ba5 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
2012-10-16 19:55:26 +00:00
Sandro Santilli 49290e8c70 Enhance documentation about TopoElement domain
git-svn-id: http://svn.osgeo.org/postgis/trunk@10437 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-16 16:08:02 +00:00
Sandro Santilli 6e7bef16da tweak DEBUG line
git-svn-id: http://svn.osgeo.org/postgis/trunk@10436 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-16 16:07:53 +00:00
Sandro Santilli dada3886d9 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
2012-10-16 08:29:26 +00:00
Sandro Santilli 6404af0579 Have TopologySummary use the word "Mixed" for collection layers
git-svn-id: http://svn.osgeo.org/postgis/trunk@10434 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-16 08:29:15 +00:00
Bborie Park e4eb1dd0f4 Fixed incorrect use of RASTER_DEBUGF().
git-svn-id: http://svn.osgeo.org/postgis/trunk@10432 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-15 19:21:51 +00:00
Bborie Park 912aaa687c More poking at the docs for ST_MapAlgebra
git-svn-id: http://svn.osgeo.org/postgis/trunk@10431 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-15 14:48:42 +00:00
Bborie Park a8edab666a 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
2012-10-15 14:20:18 +00:00
Bborie Park 9d2003cf48 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
2012-10-15 03:34:15 +00:00
Regina Obe 4a407867e9 #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
2012-10-14 05:40:44 +00:00
Regina Obe da2ccce9de 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
2012-10-14 05:13:50 +00:00
Paul Ramsey 8f23a2efd6 Remove odd srs error line from expected
git-svn-id: http://svn.osgeo.org/postgis/trunk@10425 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-12 20:06:29 +00:00
Paul Ramsey 3bb6c854c3 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
2012-10-12 19:49:27 +00:00
Paul Ramsey 9926faa413 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
2012-10-12 19:32:26 +00:00
Bborie Park 0daaaa2fdd Bug fix where pos array size was incorrect.
git-svn-id: http://svn.osgeo.org/postgis/trunk@10422 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-12 19:31:39 +00:00
Bborie Park 37ad3433b5 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
2012-10-12 19:31:30 +00:00
Bborie Park db9854a9d4 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
2012-10-12 16:06:35 +00:00
Bborie Park 6d4a860c64 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
2012-10-12 16:06:27 +00:00
Sandro Santilli c3dee3684e 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
2012-10-12 15:20:44 +00:00
Sandro Santilli ebc076f07d Add pdf-localized rule for building localized pdf manual
git-svn-id: http://svn.osgeo.org/postgis/trunk@10417 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-12 14:26:02 +00:00
Sandro Santilli 85c7612cc0 Ignoring generated files in tiger_geocoder extension
git-svn-id: http://svn.osgeo.org/postgis/trunk@10416 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-12 14:06:29 +00:00
Sandro Santilli 42d62c52ef Fix compiler warnings in lwgeom_geos.c
git-svn-id: http://svn.osgeo.org/postgis/trunk@10415 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-12 08:40:40 +00:00
Sandro Santilli a6b7a4dc38 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
2012-10-12 08:34:35 +00:00
Sandro Santilli a1b679b776 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
2012-10-12 08:27:09 +00:00
Sandro Santilli 22fb86a435 Update po files after changes in installation.xml
git-svn-id: http://svn.osgeo.org/postgis/trunk@10412 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-12 07:50:07 +00:00
Sandro Santilli db73179828 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
2012-10-12 07:49:54 +00:00
Sandro Santilli de0e25e568 Put <comment> tags in <para>, fixing #2041
git-svn-id: http://svn.osgeo.org/postgis/trunk@10410 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-12 07:49:44 +00:00
Sandro Santilli 94dfd3b831 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
2012-10-12 07:20:46 +00:00