Commit graph

33 commits

Author SHA1 Message Date
Jorge Arévalo 53157265c2 Some modifications made on basic MapAlgebra lexer/parser. Very basic version just now.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6551 b70326c6-7e19-0410-871a-916f4a2858ee
2011-01-02 22:21:26 +00:00
Jorge Arévalo 172f9cd444 Temporarily include postgis/gserialized.h file in raster/rt_pg/rtpostgis.sql.in.c to get access to GSERIALIZED_ON and avoid error with gserialized enabled
git-svn-id: http://svn.osgeo.org/postgis/trunk@6550 b70326c6-7e19-0410-871a-916f4a2858ee
2011-01-01 15:35:54 +00:00
Jorge Arévalo 608a5a7e6e Changed some functions names for operators. Related tickets #742, #730
git-svn-id: http://svn.osgeo.org/postgis/trunk@6547 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-30 23:28:31 +00:00
Jorge Arévalo f6d15ca75e ST_Box2D replaced by Box2D. Related ticket #730.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6505 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-26 13:24:33 +00:00
Paul Ramsey c8fb70b6d0 Fix conversion to geometry (#730)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6494 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-23 22:06:52 +00:00
Jorge Arévalo b2c1e14714 Basic flex/bison grammar to start working with raster MapAlgebra
git-svn-id: http://svn.osgeo.org/postgis/trunk@6475 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-22 18:59:10 +00:00
Jorge Arévalo b07b512790 Added very basic flex files for raster MapAlgebra implementation. The file
'ma_lexer_only' is for testing only the lexer, without the parser


git-svn-id: http://svn.osgeo.org/postgis/trunk@6424 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-17 14:00:47 +00:00
Paul Ramsey c5c1ffbe5f Fix up failure in distance calculation (#705) and replace some SRID -1 with SRID_UNKNOWN
git-svn-id: http://svn.osgeo.org/postgis/trunk@6349 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 19:25:15 +00:00
Sandro Santilli ad15de80f5 Add 'uninstall' rule in the loop. Work around the docs dep by using uninstall deps. Add an 'uninstall' rule to raster subsystem
git-svn-id: http://svn.osgeo.org/postgis/trunk@6329 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 17:57:54 +00:00
Mateusz Loskot 0e3b39fcfb Fixed problems with truncated decimal places of float-point values in textual output. For large datasets, it was leading to incorrectly calculated dimensions. Now, all floats are formatted with 15 decimal places.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6323 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 14:53:17 +00:00
Mateusz Loskot a812e1fabf Updated SQL scripts location in the database building makefile
git-svn-id: http://svn.osgeo.org/postgis/trunk@6257 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-02 16:25:45 +00:00
Mateusz Loskot 0df4af2548 Fixed invalid on-error return value from rt_raster_add_band
git-svn-id: http://svn.osgeo.org/postgis/trunk@6249 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-02 15:29:59 +00:00
Jorge Arévalo 7ada90af0f Changed SRID by srid in LWPOLY structure call. Due to change in r6204
git-svn-id: http://svn.osgeo.org/postgis/trunk@6247 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-02 14:40:39 +00:00
Paul Ramsey 4afb908dba An argument for git. This massive commit includes the renaming of function in the ptarray API, the removal of some pointArray_* variants in favor of ptarray_* variants, and, importantly, the adition of _append_point and _insert_point options for pointarrays. Functions have been switched over to using the API instead of managing the serialized_pointlist themselves. This has necessitated the re-writing of some functions. Simplify2d and Force2d have been re-written as lwgeom functions instead of serialized form functions, and moved into liblwgeom. There are still some major functions to move into liblwgeom, including the point_in_polygon functions that support the intersects shortcuts and the linear referencing fuctions in lwgeom_functions_analytic.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6175 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-18 05:28:19 +00:00
Jorge Arévalo 6d279379f8 Added MapAlgebra prerequisites to raster core.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6173 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-14 18:10:59 +00:00
Sandro Santilli bd5c6118fb ISO C90 forbids mixed declarations and code
git-svn-id: http://svn.osgeo.org/postgis/trunk@6156 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-30 17:35:42 +00:00
Pierre Racine 6c1adcafe6 --General enhancement to the script functions. Still a lot of work to do...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6147 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-28 23:08:17 +00:00
Jorge Arévalo 0e8d109d22 gdal2raster.py renamed to raster2pgsql.py. Related ticket #612
git-svn-id: http://svn.osgeo.org/postgis/trunk@6138 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-27 12:51:48 +00:00
Jorge Arévalo 0299043d3d Added CC=@CC@ in raster/rt_core/Makefile.in. Related ticket #550.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6137 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-27 11:06:28 +00:00
Jorge Arévalo d2f82a6424 Fixes on PostGIS Raster debug system. The raster core uses
default_info_handler() call. Other minor bugs fixed. Created DEBUG file in
raster directory, similar to postgis/DEBUG file. Erased references to old raster debug variables in configure.ac. Deleted old readme file.


git-svn-id: http://svn.osgeo.org/postgis/trunk@6136 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-26 17:40:32 +00:00
Jorge Arévalo ea830ea686 New debug system, similar to the PostGIS debug system, with two sets of macros
that depend on the POSTGIS_DEBUG_LEVEL value. Related ticket #638.


git-svn-id: http://svn.osgeo.org/postgis/trunk@6134 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-26 16:40:49 +00:00
Jorge Arévalo 257dcf8a72 Added svn tag keywords to raster plpgsql scripts. Related ticket #642.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6127 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-25 16:06:00 +00:00
Jorge Arévalo 562b81caab Raster build simplified. Only "./configure --with-raster & make & make install" needed. Raster objetive names changed in GNUMakefile. Raster library object generated with PostGIS version numbers.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6095 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-22 14:00:49 +00:00
Pierre Racine 70fb6d12d4 -Fix for ticket ticket 634. Typo in error message.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6089 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-20 13:41:35 +00:00
Pierre Racine 38acd04457 -Fix for ticket 632. st_world2rastercoordx and st_world2rastercoordy must return int instead of float8.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6088 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-20 13:38:37 +00:00
Pierre Racine 247098bcdc -Fix for ticket 628.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6082 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-15 21:46:14 +00:00
Jorge Arévalo 03be87e7e9 Modified raster Makefiles to solve bugs of ticket #610 (build error and
incorrect placement of rtpostgis.sql file)


git-svn-id: http://svn.osgeo.org/postgis/trunk@6075 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-13 17:12:56 +00:00
Jorge Arévalo ca413e3788 Deleted references to 'WKT' in rtpostgis.sql and faq_raster.xml
git-svn-id: http://svn.osgeo.org/postgis/trunk@6074 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-13 15:41:21 +00:00
Regina Obe 4f1d3ea598 this is now auto built when make comments is run
git-svn-id: http://svn.osgeo.org/postgis/trunk@6066 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-12 18:38:20 +00:00
Jorge Arévalo 0ed01cc6eb Modified the prototype of dump core/server/sql functions, adding "wkt" to their names, because their returning elements are WKT geometries, not real PostGIS geometries.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6061 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-10 11:16:16 +00:00
Pierre Racine 775037ed16 -Modify ST_Intersects so that index is taken into account by the planner
-Added a series of ST_Intersects with a boolean parameter to make the desactivation of the nodata value working with indexes

git-svn-id: http://svn.osgeo.org/postgis/trunk@6056 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-08 14:55:39 +00:00
Jorge Arévalo 9f1242978f liblwgeom/lex.yy.c replaced with previous version
git-svn-id: http://svn.osgeo.org/postgis/trunk@6021 b70326c6-7e19-0410-871a-916f4a2858ee
2010-09-27 12:59:29 +00:00
Jorge Arévalo dc8b342f29 - Added raster extension to new 'raster' directory.
- Modified PostGIS 'configure.ac' script to add support for new raster type (driven by '--with-raster' configure option.
- Added raster build options to 'GNUMakefile' script.
- PostGIS Python scripts moved to a 'python' subdirectory inside 'raster/scripts' directory.
- References to "WKT" deleted from source code.


git-svn-id: http://svn.osgeo.org/postgis/trunk@6019 b70326c6-7e19-0410-871a-916f4a2858ee
2010-09-26 21:21:03 +00:00