Sandro Santilli
195d01ae9d
Ignore generated raster files
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8526 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-23 16:14:48 +00:00
Sandro Santilli
9f54ac675e
Let create_undef.pl generate uninstall_postgis.sql
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8525 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-23 16:14:44 +00:00
Sandro Santilli
4cec437ca5
Cleanup after loader test runs, fixing uninstall testing
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8524 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-23 16:14:39 +00:00
Sandro Santilli
eef181d2bf
Drop objects created by the tests
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8523 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-23 16:14:35 +00:00
Sandro Santilli
d2ad716527
Fix create_undef.pl script to generate correct uninstall script
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8522 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-23 16:14:28 +00:00
Bborie Park
1c0a0987b8
Added uninstall_script to facilitate generation of uninstall_postgis.sql and uninstall_rtpostgis.sql. It could still use additional validation and cleaning up of the output uninstall sql files.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8521 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-23 16:04:53 +00:00
Regina Obe
904af8b964
minor code change to make example a bit shorter
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8520 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-23 13:20:50 +00:00
Regina Obe
f8631bd4f1
fix some erroneous statements about ST_Clip and provide example demonstrating trimraster argument effect
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8519 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-23 13:06:28 +00:00
Regina Obe
0a4bbdbf2c
fix unbalanced tag
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8518 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-23 08:53:18 +00:00
Regina Obe
f1d29c1646
some cosmetic cleanup
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8517 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-23 08:38:58 +00:00
Regina Obe
73e37a0b3e
example of st_clip with pictures
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8516 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-23 08:35:07 +00:00
Regina Obe
88d45b7874
start documenting ST_Clip
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8515 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-23 07:58:06 +00:00
Regina Obe
231f4f4ad6
fill in missing protos for droprasterconstraints / addrasterconstraints
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8514 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-22 19:09:44 +00:00
Regina Obe
1c32dd8b94
make title a little shorter
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8513 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-22 13:24:35 +00:00
Regina Obe
b5c86973d4
changing titles -- raster data man I'm eventually going to throw in mapserver, .net, jdbc examples cause I'm too lazy to create a separate chapter. The postgis app section is really specific to postgis geometry since it doesn't talk about raster or geography at all.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8512 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-22 13:23:01 +00:00
Regina Obe
8e54792027
minor error in statement
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8511 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-22 13:18:56 +00:00
Sandro Santilli
629f0edc4f
Drop operator families, not classes ( #543 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8510 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-22 11:20:10 +00:00
Sandro Santilli
637ff2daeb
Encode dependency of uninstall_postgis.sql on included files
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8509 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-22 11:20:05 +00:00
Sandro Santilli
7d88e80a08
Add more uninstall objects found by uninstall test ( #1397 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8508 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-22 11:20:01 +00:00
Sandro Santilli
c86c97fcc8
Count objects in the _regress_ database, not elsewhere ( #1397 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8507 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-22 11:19:56 +00:00
Sandro Santilli
dc002060b1
Fix testing of uninstall script count [ #1397 ]
...
This commit also adds new utility functions and skips testing
uninstall when raster or topology are enabled.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8506 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-22 10:21:31 +00:00
Sandro Santilli
5e3fe58277
Fix uninstall script [ #1153 ]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8505 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-22 10:21:27 +00:00
Sandro Santilli
6e2c7de634
Deprecate Polygonize and Collect aggregates [ #1400 ]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8504 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-22 10:21:21 +00:00
Sandro Santilli
b423efd48c
Encode dependency of postgis.sql from included scripts
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8503 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-22 10:21:16 +00:00
Sandro Santilli
a51923421e
Encode dependency of postgis objects on postgis_config.h
...
Fixes ./configure && make check after switching between different
PostgreSQL versions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8502 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-22 10:21:12 +00:00
Sandro Santilli
7a18c8dc71
Add testing for uninstall_postgis.sql [ #1397 ]
...
The uninstall currently fails due to #1153
git-svn-id: http://svn.osgeo.org/postgis/trunk@8501 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-22 10:21:07 +00:00
Sandro Santilli
3ccea13bcc
Don't depend on bytea representation for unrelated tests.
...
Fix testing against PostgreSQL 9.0+.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8500 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-22 08:23:32 +00:00
Sandro Santilli
d34e477891
Replace INFINITY with MAXFLOAT. Should fix Solaris build [ #1396 ]
...
I don't think it makes a difference as those functions are not
documented about the exceptional return, and no regression test
fails with the change.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8499 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-22 08:01:43 +00:00
Paul Ramsey
3c450186fd
Move SPI_finish to after elog calls. This seems to fix the regression failure in 877, though why is not clear. Is SPI_finish removing a memory context that palloc has allocated things inside? This would explain the odd result (tbl and col variables get emptied upon call to SPI_finish).
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8498 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-22 05:48:52 +00:00
Regina Obe
3e5acb4e02
change ST_Reclass example to use less verbose ST_AddBand array syntax
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8497 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-21 21:49:17 +00:00
Paul Ramsey
67196edc60
ST_Azimuth on the spheroid ( #1305 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8496 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-21 19:07:02 +00:00
Paul Ramsey
35c0bbf274
Add ST_Project(geography, distance, azimuth) ( #657 ) to construct a new point given a heading and a distance.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8495 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-21 18:42:08 +00:00
Regina Obe
88a4eb1d25
fix typo
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8494 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-21 17:16:39 +00:00
Sandro Santilli
6c0ec4b4d7
Add missing options in the help string
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8493 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-21 17:15:26 +00:00
Sandro Santilli
0d867ed67b
Put staged postgis.sql with other staged intsall objects
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8492 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-21 17:09:45 +00:00
Sandro Santilli
ffd5128d9c
Document the new -s from:to syntax of shp2pgsql [ #994 ]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8491 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-21 16:17:55 +00:00
Sandro Santilli
fac9dfab78
Add include for lwgeom_typmod_valid define
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8490 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-21 14:53:53 +00:00
Sandro Santilli
adcb820242
Add top-level and postgis/ dirs in include path for building scripts
...
Fixes an error finding sqldefines.h
git-svn-id: http://svn.osgeo.org/postgis/trunk@8489 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-21 14:50:15 +00:00
Sandro Santilli
f6b0715b67
Use own implementation of endian detection, should fix #1172
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8488 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-21 14:37:11 +00:00
Sandro Santilli
d4d1edfe44
Fix repeated modifier
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8487 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-21 14:16:18 +00:00
Sandro Santilli
2ac2290fd3
Put PostgreSQL module related code in a new postgis_module.c file
...
Beside the existing MODULE_MAGIC macro we now also have
_PG_init and _PG_fini which are called at module load and unload.
Such functions may be used to deal with GUC (and sample code for
that is stubbed already). See #1393 .
git-svn-id: http://svn.osgeo.org/postgis/trunk@8486 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-21 14:03:47 +00:00
Regina Obe
7e34252734
#1257 - drop mem_size
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8485 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-21 13:59:45 +00:00
Regina Obe
28e5de6b00
#1345 write this off as an observed regression difference and document the behavior for those like me who will be adversely impacted and confused by application breakage.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8484 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-21 13:14:07 +00:00
Regina Obe
4ace1e112b
#1242 write this off as a documentation bug. I don't have 1.5.1 anymore to confirm ST_Line_Locate_Point ever worked with multilinestrings and doesn't work on my 1.5.3 install
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8482 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-21 13:03:42 +00:00
Sandro Santilli
b29b4ebad5
Convert java components to SRID<=0 being unknown and 0 being the official one [ #1221 ]
...
NOTE: this is untested, as "make" didn't know what to do and so neither do I
git-svn-id: http://svn.osgeo.org/postgis/trunk@8481 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-20 19:35:35 +00:00
Sandro Santilli
ac0d3e3935
Different types _can_ be equal, see #756
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8480 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-20 18:51:54 +00:00
Regina Obe
f7edde6052
link to windows supplementary hard upgrade instructions
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8479 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-20 16:56:02 +00:00
Sandro Santilli
5e801e7ebf
Add comments in current version, including topo and raster [ #1390 ]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8478 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-20 16:01:27 +00:00
Sandro Santilli
8617d4a676
Add comments from pgis-1.4 [ #1390 ]
...
Also handle pg_restore errors more cleanly
git-svn-id: http://svn.osgeo.org/postgis/trunk@8477 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-20 15:43:08 +00:00
Sandro Santilli
225ecaeeb6
Add more objects from a 1.5 install, including comments [ #1390 ]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8476 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-20 15:18:03 +00:00