Sandro Santilli
0acdc94202
Don't include liblwgeom.h from headers if not needed, document what is it needed for in implementation files [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7713 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-09 09:51:52 +00:00
Sandro Santilli
1620279562
Clean up gui as well
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7712 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-09 09:50:45 +00:00
Sandro Santilli
001e9d19bb
Drop CHIP type and any reference to it [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7711 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-09 08:28:53 +00:00
Regina Obe
516e34235e
strk's patch fix for #1155
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7710 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-09 05:52:48 +00:00
Sandro Santilli
f979d106a4
Encode more deps
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7709 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-08 10:11:40 +00:00
Sandro Santilli
88edc22013
Const-correct some GEOS functions in liblwgeom fixing pending memory errors when overlaying empty and non-empty geometries (not exploited by testing) [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7708 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-08 09:56:05 +00:00
Sandro Santilli
55e436c1d1
Move getMachineEndian() and error_if_srid_mismatch() from liblwgeom.h to liblwgeom_internal.h
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7707 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-08 09:27:09 +00:00
Sandro Santilli
58789b8ee2
Put PG_LWGEOM stuff where it belongs (out of liblwgeom) [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7706 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-08 08:59:32 +00:00
Sandro Santilli
4f058f6f1b
Include postgis_config.h to find POSTGIS_VERSION and stringbuffer.h when needed
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7705 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-06 18:42:28 +00:00
Sandro Santilli
a34480837e
Reduce number of includes from liblwgeom.h (closest header to a public API).
...
Update other files accordingly. [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7704 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-06 18:17:31 +00:00
Sandro Santilli
a41e0c62b7
Fix dependency referencing dropped rule [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7703 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-06 18:03:37 +00:00
Sandro Santilli
028823de3b
Add static library to {,un}install-liblwgeom rules [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7702 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-06 18:01:52 +00:00
Sandro Santilli
25ae1f548b
Re-drop use of libtool (more troubles than help).
...
Stub a rule to build and install a shared liblwgeom.
[RT-SIGTA].
git-svn-id: http://svn.osgeo.org/postgis/trunk@7701 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-06 17:48:39 +00:00
Sandro Santilli
3c643e03ec
Re-introduce numerical flags in building "NM" objs [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7700 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-06 16:18:44 +00:00
Sandro Santilli
e5152c02d6
Use libtool to build liblwgeom. Still only static. [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7699 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-06 15:12:32 +00:00
Sandro Santilli
5a9d3c5db2
Use GEOS compiler and linker flags for liblwgeom, add lwgeom_geos_noop and cunit test for it (to confirm linking works, and it does) [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7698 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-06 09:47:01 +00:00
Sandro Santilli
5f7f4fefbe
Add lwgeom_buildarea to liblwgeom [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7697 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-06 09:46:33 +00:00
Sandro Santilli
60cb494eaa
Add GEOS spatial operations to liblwgeom (ticket #1050 ) [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7696 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-06 09:46:03 +00:00
Regina Obe
e7b239a993
Another minor check
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7695 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-05 12:45:31 +00:00
Regina Obe
7b013dee33
Update hard upgrade to include use of legacy_compatibility_layer.sql
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7694 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-04 15:03:54 +00:00
Regina Obe
35a3c4f4a5
Create new legacy compatibility layer script which will install the absolute minimal to restore an old postgis database. Also got rid of srid function and moved to legacy compatibility layer. Still need to test with a restore.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7693 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-03 15:01:40 +00:00
Regina Obe
006f60b2f3
some typo cleanup
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7692 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-03 12:14:30 +00:00
Regina Obe
dedffcaaed
Make more efficient the case when no state or city is provided but zip is provided.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7691 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-03 05:00:36 +00:00
Regina Obe
ad49899197
document new drop_indexes_generate_script function
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7690 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-03 03:51:45 +00:00
Regina Obe
09241cd2f9
Major rework to improve speed, selectivity, and additional regress. Also added some indexes and removed some -- should solve #1145 , #1148 , and #1131 (should be about 60% faster for most cases and in some as much as 20 times faster). Better performance if you set max results = 1. Some other minor cleanup. documentation of new management helper functions coming next.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7689 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-03 02:06:31 +00:00
Regina Obe
45fb50d9ce
Add link to Sandro's topology Paris 2011 slides in summary of topology reference section
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7688 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-02 06:33:49 +00:00
Sandro Santilli
16066f4a3a
Use strcpy rather than strncpy, simpler and less error-prone
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7687 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-28 18:56:43 +00:00
Sandro Santilli
375466c7a7
Give strncpy enough space to write a terminating null. Thanks gengor for the patch.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7686 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-28 18:43:27 +00:00
Regina Obe
d0a949ad8e
minor updates to ST_MakeLine to clarify pre-9.0 and 9.0+ approaches
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7684 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-27 19:21:09 +00:00
Regina Obe
66d2602a03
1 more change
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7683 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-27 11:55:00 +00:00
Regina Obe
ea599511e5
fix typo
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7682 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-27 11:54:13 +00:00
Regina Obe
ffe153c10a
example of using new PostgreSQL 9.0+ ORDER BY aggregate feature for ST_MakeLine
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7681 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-27 11:52:51 +00:00
Regina Obe
075355c481
more examples for ST_Offsetcurve
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7680 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-26 15:39:31 +00:00
Regina Obe
f6fb10b533
fix typo
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7679 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-26 14:30:07 +00:00
Regina Obe
df1633cf3b
remove left and right notes until I have arrows. not embarrass myself with my directional dyslexia.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7678 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-26 14:29:37 +00:00
Regina Obe
b42ef3eca7
Start work documenting ST_AsRaster
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7677 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-26 05:37:13 +00:00
Regina Obe
058f9baa57
reduce spacing more
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7676 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-25 15:53:52 +00:00
Bborie Park
ed8d71db19
Addition of ST_AsRaster function to provide the ability to convert geometries into rasters.
...
Associated ticket is #1141 .
git-svn-id: http://svn.osgeo.org/postgis/trunk@7675 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-25 15:52:36 +00:00
Regina Obe
813f391ee3
another typo
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7674 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-25 14:20:37 +00:00
Regina Obe
a69ba32abd
fix coloring to agree with color of other examples
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7673 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-25 14:10:09 +00:00
Regina Obe
8da86e3ea4
reduce width of table cells -- ST_OffsetCurve
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7672 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-25 14:08:04 +00:00
Regina Obe
ee47fc1403
redo all examples so they fit in the 0 0 200 200 grid
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7671 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-25 14:04:35 +00:00
Regina Obe
ea35b397cb
fix some typos and grid more to fix
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7670 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-25 13:44:53 +00:00
Regina Obe
58c8b4cefc
get rid of semicolons
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7669 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-25 12:18:10 +00:00
Regina Obe
ae71ac49d4
need more pictures :), visual examples for st_offsetcurve
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7668 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-25 12:13:12 +00:00
Regina Obe
2b8670820c
update ST_MapAlgebra to agree with implementation (got rid of bosolete proto and example and replaced with new example
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7667 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-24 08:15:59 +00:00
Sandro Santilli
a0052e46e8
Be terse, we don't care about context. Closes ticket #1142 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7666 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-23 21:42:54 +00:00
Sandro Santilli
ab6fa15783
Set 'C' collation when creating regress database. See #1140 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7665 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-23 21:34:10 +00:00
Pierre Racine
ff342bc0c5
Added a note saying that those function now have a C implementation. Many TABs converted to spaces.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7664 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-22 20:20:55 +00:00
Pierre Racine
9f9f1e4a45
-Fix for #645 .
...
-Replaced min and max with LEAST and GREATEST
-Adaptation to ST_SetBandNodataValue()
git-svn-id: http://svn.osgeo.org/postgis/trunk@7663 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-22 20:05:47 +00:00