Paul Ramsey
2231700fde
Make sure the regress tmp directory exists before trying to write to it.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9287 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-24 18:49:09 +00:00
Bborie Park
9d9c19d7c1
Added additional conditions for rt_raster_gdal_rasterize() determining when to expand the extent.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9286 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-24 17:33:48 +00:00
Sandro Santilli
258f0ee04f
Do not report "face without edges" error for universal face ( #1612 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9285 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-24 15:23:35 +00:00
Sandro Santilli
b8d152cd66
Rename the backend temp dir and drop with brute force
...
Avoids errors when no test writes anything in there (so no dir)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9284 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-24 15:23:13 +00:00
Sandro Santilli
5117b2c5c3
Properly drop the temporary directory setup for backend output
...
This prevents errors when running "make check" against backends
owned by different users.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9283 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-24 10:21:17 +00:00
Bborie Park
c91f947cf4
Set all raster CASTs to be ASSIGNMENT not IMPLICIT. Related ticket is #490 . Knowing my luck, I'll be reverting this due to some showstopper.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9282 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-24 05:05:25 +00:00
Bborie Park
5bb4a73a5f
Added correct handling of negative scale-x and positive scale-y in rt_raster_gdal_warp().
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9281 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-23 22:25:54 +00:00
Bborie Park
dea913f123
Renamed rt_raster_dump_as_wktpolygons() to rt_raster_gdal_polygonize(). Refactored rt_raster_gdal_polygonize() to use LWPOLY objects instead of WKT strings. Also added cleanup code to make invalid dumped geometries valid. Associated tickets are #1586 and #637 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9280 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-23 21:49:51 +00:00
Sandro Santilli
59cf052725
Don't deep clone POINTARRAY in GML input routine.
...
Let's see if doing so exposes more memory errors (#1591 ).
Does run valgrind clean here.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9279 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-23 16:07:05 +00:00
Pierre Racine
227c36e30c
Rewrote most of ST_AsRaster. Grouped similar variants to make everything a bit more readable.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9278 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-23 15:42:16 +00:00
Sandro Santilli
e879837de2
Set the default regression temp dir to /tmp/pgis_reg ( #1607 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9277 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-23 13:28:16 +00:00
Sandro Santilli
69fcd2336f
Have ST_GetFaceGeometry check face existance, regress-test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9276 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-23 12:54:48 +00:00
Sandro Santilli
1b96be1de5
Drop the UpdateGeometrySRID version with old param name ( #1606 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9275 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-23 11:24:28 +00:00
Paul Ramsey
4a2c8b8143
Correctly handle the new lexer/parser output files
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9272 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 23:13:20 +00:00
Bborie Park
4f3020d1b5
Rewrote chunks of rt_raster_gdal_warp() and rt_raster_gdal_rasterize() to correctly generate skewed rasters. Related ticket is #1395 . This should also resolve #1586 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9271 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 23:06:26 +00:00
Paul Ramsey
d732175c58
Set svn:eol-style native ( #1598 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9270 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 20:38:25 +00:00
Paul Ramsey
203ebafc52
Update numbers for alpha6
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9267 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 19:40:43 +00:00
Regina Obe
96610f12c6
put in LF instruction to prevent my windows from putting in windows offensive line breaks
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9266 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 19:31:17 +00:00
Paul Ramsey
57ac13f0ff
Change dos to unix lineends. ( #1598 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9265 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 19:29:59 +00:00
Paul Ramsey
368df1f769
Ignore makefile
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9264 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 19:20:37 +00:00
Paul Ramsey
7922084791
Really remove the dos linefeeds this time ( #1598 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9263 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 19:18:21 +00:00
Paul Ramsey
c936b1eab7
Revert dos lineending commit that blew away those files...
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9262 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 19:08:00 +00:00
Paul Ramsey
b69faad591
Use consistent UNIX line endings ( #1598 ) fix up those files that pass through the C preprocessor at least.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9261 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 19:01:46 +00:00
Paul Ramsey
46bbc14bfb
Switch to evaluating tests using psql with verbosity=terse
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9260 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 18:59:09 +00:00
Sandro Santilli
b37b7ccd99
Fix ST_Polygonize aggregate to retain Z ( #1602 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9258 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 17:19:42 +00:00
Sandro Santilli
d61e66b66f
Stay within 80 cols
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9257 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 15:52:57 +00:00
Sandro Santilli
8556676e5f
Parametrize max user SRID in the SQL file too
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9256 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 15:33:24 +00:00
Sandro Santilli
892ff3af4a
Check SRID passed to UpdateGeometrySRID, patch by Mike Toews ( #1596 )
...
Adds regression testing
git-svn-id: http://svn.osgeo.org/postgis/trunk@9253 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 12:49:08 +00:00
Sandro Santilli
7c1227a416
Forward port fix to #1595 , although there's no way to expose in 2.0
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9252 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 12:48:58 +00:00
Regina Obe
3b46d80c82
correct st_clip raster so eimage matches the code. the behavior changed butthe code was wrong (showing old behavior). Also put back the multiband case using new syntax which is probably more common usaage.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9251 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 03:09:12 +00:00
Pierre Racine
439eb27a85
Added single quote around 8BUI since the XSL now escape them. See #1588 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9249 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-21 15:51:16 +00:00
Pierre Racine
5ea02324df
Added one missign default value for the value parameter of ST_AsRaster and added one missing variant.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9248 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-21 15:47:38 +00:00
Sandro Santilli
29f91d6e4a
Add a ptarray_transform function in liblwgeom API
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9247 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-21 14:32:59 +00:00
Sandro Santilli
63721b4a5a
Draft an lwgeom_from_gml function ( #1591 )
...
Can't be moved all to liblwgeom due to use of spatial_ref_sys
git-svn-id: http://svn.osgeo.org/postgis/trunk@9246 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-21 13:54:55 +00:00
Sandro Santilli
d1057b7c09
Print SRID in decimal form, not hex ( #1593 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9245 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-21 11:07:44 +00:00
Sandro Santilli
ecdaa2d538
Update documentation about shp2pgsql -s/-g flag ( #1524 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9244 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-21 10:57:24 +00:00
Sandro Santilli
f8baf9f5ec
Add an --extensions switch to run_test ( #964 )
...
When passing that switch the install and uninstall of spatial db
happens using the EXTENSION model. It's currently not run as part
of "make check" because some tests fail due to use of ambiguos
calls when both core and raster modules are installed (there's no
way to separate them in the EXTENSION model).
git-svn-id: http://svn.osgeo.org/postgis/trunk@9243 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-21 09:43:22 +00:00
Sandro Santilli
9d6bb652bc
Put prepare/upgrade/uninstall operations in their own functions
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9242 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-21 09:07:59 +00:00
Pierre Racine
29b4e36dc2
More work on ST_Resample and ST_Intersection
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9241 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-20 20:09:52 +00:00
Sandro Santilli
94c0f55960
Ignore generated extensions and java files
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9240 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-20 14:32:38 +00:00
Sandro Santilli
6efa916a82
Do not printf from potgis library. Possibly fixes #1570
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9239 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-20 13:28:17 +00:00
Sandro Santilli
77fbd91e71
Ignore generated java/jdbc/Makefile
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9238 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-20 13:18:09 +00:00
Sandro Santilli
c7ea369149
Escape single quotes in param list when generating raster comments
...
Closes ticket #1588
git-svn-id: http://svn.osgeo.org/postgis/trunk@9237 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-20 13:16:05 +00:00
Sandro Santilli
202a639469
Ant rules to excecute maven by Maria Arias de Reyna ( #1437 )
...
Also simplify java Makefile to be simple proxies of ant
git-svn-id: http://svn.osgeo.org/postgis/trunk@9236 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-20 12:52:58 +00:00
Sandro Santilli
6c472db2c9
Update face MBR on edge change ( #1587 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9235 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-20 10:52:31 +00:00
Sandro Santilli
6224fcf8eb
Enhance documentation for ST_ChangeEdgeGeom
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9234 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-20 10:19:10 +00:00
Regina Obe
47cfe6ee8a
Link to my office base article on how to display postgis rasters in base reports.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9233 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-17 23:41:58 +00:00
Pierre Racine
314b8bd5ee
Rewrote the ST_Rescale documentation.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9232 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-17 22:23:19 +00:00
Paul Ramsey
b977d19cce
This works but it makes estimated extent case sensitive both ways (no weaseling out and giving upper case versions of lower case tables) ( #1585 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9230 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-17 22:00:39 +00:00
Pierre Racine
e0e08530de
Ticket #1536 . First revision of st_intersection(). Removal of the extent parameter and first documentation.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9229 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-17 20:52:41 +00:00