]> granicus.if.org Git - postgis/log
postgis
16 years agotook out kml example - causing parsing error.
Regina Obe [Thu, 31 Jul 2008 12:32:50 +0000 (12:32 +0000)]
took out kml example - causing parsing error.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2903 b70326c6-7e19-0410-871a-916f4a2858ee

16 years agoMoved over remaining geometry output functions and put in availability for each.
Regina Obe [Thu, 31 Jul 2008 12:14:56 +0000 (12:14 +0000)]
Moved over remaining geometry output functions and put in availability for each.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2902 b70326c6-7e19-0410-871a-916f4a2858ee

16 years agoPut in Availability 1.3.4 for ST_AsGeoJSON
Regina Obe [Thu, 31 Jul 2008 06:35:51 +0000 (06:35 +0000)]
Put in Availability 1.3.4 for ST_AsGeoJSON

git-svn-id: http://svn.osgeo.org/postgis/trunk@2901 b70326c6-7e19-0410-871a-916f4a2858ee

16 years agofixed small typo in ST_Touches mathematical expression
Kevin Neufeld [Thu, 31 Jul 2008 06:33:08 +0000 (06:33 +0000)]
fixed small typo in ST_Touches mathematical expression

git-svn-id: http://svn.osgeo.org/postgis/trunk@2899 b70326c6-7e19-0410-871a-916f4a2858ee

16 years agoMoved over ST_Touches to new PostGIS reference. Examples forthcoming.
Kevin Neufeld [Thu, 31 Jul 2008 06:29:52 +0000 (06:29 +0000)]
Moved over ST_Touches to new PostGIS reference.  Examples forthcoming.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2898 b70326c6-7e19-0410-871a-916f4a2858ee

16 years agoreplaced the mathematical gif expression in ST_Crosses with simple html markup
Kevin Neufeld [Thu, 31 Jul 2008 04:57:39 +0000 (04:57 +0000)]
replaced the mathematical gif expression in ST_Crosses with simple html markup

git-svn-id: http://svn.osgeo.org/postgis/trunk@2897 b70326c6-7e19-0410-871a-916f4a2858ee

16 years agoMove over ST_WKTToSQL and also defined ST_GeometryFromText (didn't see it in the...
Regina Obe [Wed, 30 Jul 2008 14:05:00 +0000 (14:05 +0000)]
Move over ST_WKTToSQL and also defined ST_GeometryFromText (didn't see it in the old docs, but its not deprecated and is a popular variant)

git-svn-id: http://svn.osgeo.org/postgis/trunk@2896 b70326c6-7e19-0410-871a-916f4a2858ee

16 years agoGot rid pf superfluous redirection to deprecated functions of ST_GeomFromWkb and...
Regina Obe [Wed, 30 Jul 2008 11:41:23 +0000 (11:41 +0000)]
Got rid pf superfluous redirection to deprecated functions of ST_GeomFromWkb and ST_GeomFromText - now they just point directly to the c functions.  Changed all FromWKB, FromText variants to point to the non-deprecated ST_GeomFrom, ST_BuildArea etc. (before they were pointing at deprecated functions)

git-svn-id: http://svn.osgeo.org/postgis/trunk@2895 b70326c6-7e19-0410-871a-916f4a2858ee

16 years agogrammatical error
Regina Obe [Tue, 29 Jul 2008 15:46:59 +0000 (15:46 +0000)]
grammatical error

git-svn-id: http://svn.osgeo.org/postgis/trunk@2894 b70326c6-7e19-0410-871a-916f4a2858ee

16 years agoMove over ST_Collect and ST_Union, provide examples for ST_Union. Get rid of comment...
Regina Obe [Tue, 29 Jul 2008 15:42:35 +0000 (15:42 +0000)]
Move over ST_Collect and ST_Union, provide examples for ST_Union.  Get rid of comment about don't use ST_Union with geometry collections - seems to work fine with those.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2893 b70326c6-7e19-0410-871a-916f4a2858ee

16 years agotypo in function declare for perimeter
Regina Obe [Tue, 29 Jul 2008 12:35:51 +0000 (12:35 +0000)]
typo in function declare for perimeter

git-svn-id: http://svn.osgeo.org/postgis/trunk@2892 b70326c6-7e19-0410-871a-916f4a2858ee

16 years agoremove ST_Area from reference.xml already accounted for in reference_new.xml, move...
Regina Obe [Tue, 29 Jul 2008 12:00:08 +0000 (12:00 +0000)]
remove ST_Area from reference.xml already accounted for in reference_new.xml, move over ST_Length, ST_Perimeter

git-svn-id: http://svn.osgeo.org/postgis/trunk@2891 b70326c6-7e19-0410-871a-916f4a2858ee

16 years agomoved over st_pointonsurface and provided examples.
Kevin Neufeld [Tue, 29 Jul 2008 05:43:57 +0000 (05:43 +0000)]
moved over st_pointonsurface and provided examples.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2890 b70326c6-7e19-0410-871a-916f4a2858ee

16 years agomoved over st_centroid and provided examples in both svg and png format. Eventually...
Kevin Neufeld [Tue, 29 Jul 2008 05:11:11 +0000 (05:11 +0000)]
moved over st_centroid and provided examples in both svg and png format.   Eventually, ImageMagick will be used to generate the png files, but for now they are committed into svn.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2889 b70326c6-7e19-0410-871a-916f4a2858ee

16 years agominor formatting changes, note about ST_NumPOints being an alias for ST_NPoints movin...
Regina Obe [Tue, 29 Jul 2008 04:42:56 +0000 (04:42 +0000)]
minor formatting changes, note about ST_NumPOints being an alias for ST_NPoints moving forward.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2888 b70326c6-7e19-0410-871a-916f4a2858ee

16 years agofixed some minor xrefences in the documentation so the autobuild doesn't throw errors.
Kevin Neufeld [Mon, 28 Jul 2008 19:05:20 +0000 (19:05 +0000)]
fixed some minor xrefences in the documentation so the autobuild doesn't throw errors.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2887 b70326c6-7e19-0410-871a-916f4a2858ee

16 years agoMove over ST_GeomFromEWKT, ST_GeomFromEWKB and provide examples. Fix some miscellane...
Regina Obe [Mon, 28 Jul 2008 12:07:47 +0000 (12:07 +0000)]
Move over ST_GeomFromEWKT, ST_GeomFromEWKB and provide examples.  Fix some miscellaneous references.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2886 b70326c6-7e19-0410-871a-916f4a2858ee

16 years agoAllow Makefile substitutions for PGCONFIG which are required if pg_config is not...
Mark Cave-Ayland [Mon, 28 Jul 2008 10:03:31 +0000 (10:03 +0000)]
Allow Makefile substitutions for PGCONFIG which are required if pg_config is not located in the path. Note that as part of this fix, we now need to generate topology/Makefile using autoconf. Thanks to Jorgen Austvik for the report and partial patch.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2885 b70326c6-7e19-0410-871a-916f4a2858ee

16 years agoFix -o option for flex; the output filename must be specified immediately after ...
Mark Cave-Ayland [Mon, 28 Jul 2008 09:13:45 +0000 (09:13 +0000)]
Fix -o option for flex; the output filename must be specified immediately after -o without any preceding white space. Per report from Jorgen Austvik.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2884 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoMove over ST_GeomFromText and provide examples
Regina Obe [Thu, 24 Jul 2008 11:58:18 +0000 (11:58 +0000)]
Move over ST_GeomFromText and provide examples

git-svn-id: http://svn.osgeo.org/postgis/trunk@2883 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoAdd PROJ.4 version check to ensure that a minimum version of 4.5.0 is installed....
Mark Cave-Ayland [Thu, 24 Jul 2008 10:22:16 +0000 (10:22 +0000)]
Add PROJ.4 version check to ensure that a minimum version of 4.5.0 is installed. This is to ensure that the pj_set_searchpath() function is present (note: it was actually added in 4.4.9, however we version detect on major.minor rather than major.minor.release)

git-svn-id: http://svn.osgeo.org/postgis/trunk@2882 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoMoved several version functions to the new PostGIS reference.
Kevin Neufeld [Thu, 24 Jul 2008 05:55:44 +0000 (05:55 +0000)]
Moved several version functions to the new PostGIS reference.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2881 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoadded some xreferences so the autobuild process does not throw errors.
Kevin Neufeld [Wed, 23 Jul 2008 17:13:08 +0000 (17:13 +0000)]
added some xreferences so the autobuild process does not throw errors.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2880 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agochanged @@LAST_RELEASE_VERSION@@ with a DocBook variable so the correct version numbe...
Kevin Neufeld [Wed, 23 Jul 2008 16:40:07 +0000 (16:40 +0000)]
changed @@LAST_RELEASE_VERSION@@ with a DocBook variable so the correct version number gets substituted in all included files, not just postgis.xml

git-svn-id: http://svn.osgeo.org/postgis/trunk@2879 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agomove of ST_AsBinary,ST_AsEWKB - add examples, various minor fixes to ST_As function...
Regina Obe [Wed, 23 Jul 2008 12:03:03 +0000 (12:03 +0000)]
move of ST_AsBinary,ST_AsEWKB - add examples, various minor fixes to ST_As function descriptions

git-svn-id: http://svn.osgeo.org/postgis/trunk@2878 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agogit-svn-id: http://svn.osgeo.org/postgis/trunk@2877 b70326c6-7e19-0410-871a-916f4a2858ee
Regina Obe [Wed, 23 Jul 2008 10:56:31 +0000 (10:56 +0000)]
git-svn-id: http://svn.osgeo.org/postgis/trunk@2877 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoDeprecate ST_area2d
Regina Obe [Tue, 22 Jul 2008 13:53:26 +0000 (13:53 +0000)]
Deprecate ST_area2d

git-svn-id: http://svn.osgeo.org/postgis/trunk@2876 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoMove over ST_AsText, ST_AsEWKT and provide examples. Change order of ST_Multi.
Regina Obe [Tue, 22 Jul 2008 11:38:39 +0000 (11:38 +0000)]
Move over ST_AsText, ST_AsEWKT and provide examples.  Change order of ST_Multi.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2875 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agomove over ST_SetSRID, ST_Transform and ST_Multi. Provide examples.
Regina Obe [Tue, 22 Jul 2008 11:12:32 +0000 (11:12 +0000)]
move over ST_SetSRID, ST_Transform and ST_Multi.  Provide examples.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2874 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoRemove ST_Area2D and replace with ST_Area - move to new section and provide example
Regina Obe [Mon, 21 Jul 2008 16:20:28 +0000 (16:20 +0000)]
Remove ST_Area2D and replace with ST_Area - move to new section and provide example

git-svn-id: http://svn.osgeo.org/postgis/trunk@2873 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoMove over ST_GeometryType, ST_MakePolygon
Regina Obe [Mon, 21 Jul 2008 12:09:30 +0000 (12:09 +0000)]
Move over ST_GeometryType, ST_MakePolygon

git-svn-id: http://svn.osgeo.org/postgis/trunk@2871 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agodelete reference to ST_Equals in reference.xml - alread in new version, include an...
Regina Obe [Mon, 21 Jul 2008 11:38:00 +0000 (11:38 +0000)]
delete reference to ST_Equals in reference.xml - alread in new version, include an ST_DWithin non-join join example.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2870 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoMove over ST_AddPoint, ST_RemovePoint, ST_Npoints, ST_NumPoints and provide examples.
Regina Obe [Fri, 18 Jul 2008 12:23:07 +0000 (12:23 +0000)]
Move over ST_AddPoint, ST_RemovePoint, ST_Npoints, ST_NumPoints and provide examples.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2869 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoMove ST_Reverse and add example
Regina Obe [Thu, 17 Jul 2008 14:16:17 +0000 (14:16 +0000)]
Move ST_Reverse and add example

git-svn-id: http://svn.osgeo.org/postgis/trunk@2868 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoMove ST_BuildArea expand on definition, provide example, Move ST_BdPolyFromText and...
Regina Obe [Thu, 17 Jul 2008 12:14:54 +0000 (12:14 +0000)]
Move ST_BuildArea expand on definition, provide example, Move ST_BdPolyFromText and ST_BdMPolyFromText

git-svn-id: http://svn.osgeo.org/postgis/trunk@2867 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agomove over ST_Within and provide example
Regina Obe [Thu, 17 Jul 2008 11:20:11 +0000 (11:20 +0000)]
move over ST_Within and provide example

git-svn-id: http://svn.osgeo.org/postgis/trunk@2866 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoFix for segfault in ANALYZE due to incorrect use of legacy BOX type within compute_ge...
Mark Cave-Ayland [Wed, 16 Jul 2008 08:42:34 +0000 (08:42 +0000)]
Fix for segfault in ANALYZE due to incorrect use of legacy BOX type within compute_geometry_stats() (Fixes GBT#43). Thanks to Landon Fuller for the bug report and fix.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2864 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agomoved ST_Envelope, complete with examples.
Kevin Neufeld [Wed, 16 Jul 2008 06:42:00 +0000 (06:42 +0000)]
moved ST_Envelope, complete with examples.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2863 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoupdated the st_crosses method:
Kevin Neufeld [Wed, 16 Jul 2008 05:10:32 +0000 (05:10 +0000)]
updated the st_crosses method:
  made the geometry parameters lowercase and made a few changes to content.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2862 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoMoved ST_Crosses into new reference_new.xml file, complete with images.
Kevin Neufeld [Wed, 16 Jul 2008 05:03:28 +0000 (05:03 +0000)]
Moved ST_Crosses into new reference_new.xml file, complete with images.
Updated css to use fixed-width fonts for programlistings.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2861 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agofixed small typo
Kevin Neufeld [Wed, 16 Jul 2008 04:55:54 +0000 (04:55 +0000)]
fixed small typo

git-svn-id: http://svn.osgeo.org/postgis/trunk@2860 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoApparently, the <inlinegraphic> will become deprecated in a future version of DocBook...
Kevin Neufeld [Wed, 16 Jul 2008 04:54:20 +0000 (04:54 +0000)]
Apparently, the <inlinegraphic> will become deprecated in a future version of DocBook.  Now replaced with <inlinemediaobject>.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2859 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agofixed a small typo so the autobuild process will still work.
Kevin Neufeld [Tue, 15 Jul 2008 21:20:32 +0000 (21:20 +0000)]
fixed a small typo so the autobuild process will still work.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2858 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoMove ST_Equals, ST_OrderingEquals - provide examples. Make Geometry - geometry
Regina Obe [Tue, 15 Jul 2008 19:38:11 +0000 (19:38 +0000)]
Move ST_Equals, ST_OrderingEquals - provide examples.  Make Geometry - geometry

git-svn-id: http://svn.osgeo.org/postgis/trunk@2857 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agominor corrections to ST_SetSRID and UpdateGeometrySRID
Regina Obe [Tue, 15 Jul 2008 18:02:06 +0000 (18:02 +0000)]
minor corrections to ST_SetSRID and UpdateGeometrySRID

git-svn-id: http://svn.osgeo.org/postgis/trunk@2856 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoremove includes index note for ST_MakeLine
Regina Obe [Tue, 15 Jul 2008 17:54:38 +0000 (17:54 +0000)]
remove includes index note for ST_MakeLine

git-svn-id: http://svn.osgeo.org/postgis/trunk@2855 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoMove ST_Intersection, ST_Disjoint provide examples for both.
Regina Obe [Tue, 15 Jul 2008 17:51:39 +0000 (17:51 +0000)]
Move ST_Intersection, ST_Disjoint provide examples for both.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2854 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoapplied patch from Mark to fix the if/then/else so the Makefile can run on older...
Kevin Neufeld [Tue, 15 Jul 2008 15:33:19 +0000 (15:33 +0000)]
applied patch from Mark to fix the if/then/else so the Makefile can run on older systems (ie. FC3)

git-svn-id: http://svn.osgeo.org/postgis/trunk@2853 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agotypo
Regina Obe [Tue, 15 Jul 2008 11:34:22 +0000 (11:34 +0000)]
typo

git-svn-id: http://svn.osgeo.org/postgis/trunk@2852 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoMove ST_MakeLine from reference.xml to reference_new.xml and add an additional examp...
Regina Obe [Tue, 15 Jul 2008 11:03:43 +0000 (11:03 +0000)]
Move ST_MakeLine from reference.xml to reference_new.xml  and add an additional example to ST_MakeLine

git-svn-id: http://svn.osgeo.org/postgis/trunk@2851 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoStarted migration of the functions in reference.xml using the <variablelist> concept...
Kevin Neufeld [Tue, 15 Jul 2008 06:57:32 +0000 (06:57 +0000)]
Started migration of the functions in reference.xml using the <variablelist> concept to a new "reference_new.xml" using DocBook's <refentry> concept.  Once migration is complete, reference.xml will be removed and reference_new.xml will be renamed to reference.xml.  The included template.xml file is not used, except to provide example usage of DocBook's refentry tag.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2850 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoUpdated CSS from Dane Springmeyer
Paul Ramsey [Mon, 14 Jul 2008 21:52:38 +0000 (21:52 +0000)]
Updated CSS from Dane Springmeyer

git-svn-id: http://svn.osgeo.org/postgis/trunk@2849 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoExample use case of ST_DWithin
Regina Obe [Mon, 14 Jul 2008 16:30:42 +0000 (16:30 +0000)]
Example use case of ST_DWithin

git-svn-id: http://svn.osgeo.org/postgis/trunk@2847 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoModify autoconf stylesheet logic (again) to correctly distinguish between the case...
Mark Cave-Ayland [Mon, 14 Jul 2008 11:40:41 +0000 (11:40 +0000)]
Modify autoconf stylesheet logic (again) to correctly distinguish between the case where a valid docbook stylesheet is found automatically and where it is explicitly specified using the --with-xsldir option.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2846 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoChange autoconf iconv-detection code so that ICONV_LDFLAGS is explicitly set in the...
Mark Cave-Ayland [Mon, 14 Jul 2008 10:41:05 +0000 (10:41 +0000)]
Change autoconf iconv-detection code so that ICONV_LDFLAGS is explicitly set in the AC_CHECK_LIB() action-if-found section (LIBS does not get automatically set when action-if-found is set). Thanks to Olivier Courtin for the bug report.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2845 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoApply some autoconf / Makefile changes from Olivier Courtin. XSLBASE should not be...
Mark Cave-Ayland [Mon, 14 Jul 2008 10:05:14 +0000 (10:05 +0000)]
Apply some autoconf / Makefile changes from Olivier Courtin. XSLBASE should not be checked for validity unless it has been explicitly specified using the --with-xsldir option, and we also add some friendlier messages in the documentation Makefile in case the DocBook stylesheets and/or xsltproc cannot be found. Additionally, the configure --help output has been tidied up using the AS_HELP_STRING macro.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2844 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoApply GeoJSON patch from Olivier Courtin.
Paul Ramsey [Sun, 13 Jul 2008 23:47:54 +0000 (23:47 +0000)]
Apply GeoJSON patch from Olivier Courtin.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2842 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoRename the new parser function ewkt_to_lwgeom() to lwgeon_from_ewkt() so that it...
Mark Cave-Ayland [Sun, 13 Jul 2008 17:33:19 +0000 (17:33 +0000)]
Rename the new parser function ewkt_to_lwgeom() to lwgeon_from_ewkt() so that it matches the rest of the parser API

git-svn-id: http://svn.osgeo.org/postgis/trunk@2841 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoAdd some additional LWDEBUG(F) statements for debugging that I missed the first time...
Mark Cave-Ayland [Sun, 13 Jul 2008 11:09:34 +0000 (11:09 +0000)]
Add some additional LWDEBUG(F) statements for debugging that I missed the first time around with the new debugging infrastructure

git-svn-id: http://svn.osgeo.org/postgis/trunk@2840 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoMore work on improving the EWKT/B parser; remove all references to allocator function...
Mark Cave-Ayland [Sun, 13 Jul 2008 10:50:56 +0000 (10:50 +0000)]
More work on improving the EWKT/B parser; remove all references to allocator functions from outside of liblwgeom by generating wrapper functions with more meaningful names. As well as cleaning up the API, it also makes the code much more readable

git-svn-id: http://svn.osgeo.org/postgis/trunk@2839 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoExample uses of ST_Line_SubString
Regina Obe [Fri, 11 Jul 2008 10:48:46 +0000 (10:48 +0000)]
Example uses of ST_Line_SubString

git-svn-id: http://svn.osgeo.org/postgis/trunk@2838 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoExamples of using ST_ExteriorRing and ST_NumInteriorRings
Regina Obe [Thu, 10 Jul 2008 13:16:20 +0000 (13:16 +0000)]
Examples of using ST_ExteriorRing and ST_NumInteriorRings

git-svn-id: http://svn.osgeo.org/postgis/trunk@2837 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoNumerous small changes. Changed some returns 1 (TRUE) to just TRUE. Automatic castin...
Regina Obe [Wed, 9 Jul 2008 11:16:08 +0000 (11:16 +0000)]
Numerous small changes.  Changed some returns 1 (TRUE) to just TRUE. Automatic casting between 0 1 and boolean no longer exists in PostgreSQL. Lets not confuse people by suggesting to them they are the same.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2836 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agonumerous changes(remove additional parent, argument list changes, multi function...
Regina Obe [Tue, 8 Jul 2008 13:30:31 +0000 (13:30 +0000)]
numerous changes(remove additional parent, argument list changes, multi function breakout)

git-svn-id: http://svn.osgeo.org/postgis/trunk@2835 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoProvide examples of using ST_MakePolygon in conjunction with ST_Accum and PostgreSQL...
Regina Obe [Tue, 8 Jul 2008 12:01:27 +0000 (12:01 +0000)]
Provide examples of using ST_MakePolygon in conjunction with ST_Accum and PostgreSQL ARRAY() function

git-svn-id: http://svn.osgeo.org/postgis/trunk@2834 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoAdded brief descriptions to the SQL-MM curve types.
Mark Leslie [Tue, 8 Jul 2008 06:05:42 +0000 (06:05 +0000)]
Added brief descriptions to the SQL-MM curve types.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2833 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agomodified toc top generation level param
Kevin Neufeld [Tue, 8 Jul 2008 05:15:57 +0000 (05:15 +0000)]
modified toc top generation level param

git-svn-id: http://svn.osgeo.org/postgis/trunk@2832 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agosplit postgis.xml into manageable chunks, broken at chapter divisions.
Kevin Neufeld [Tue, 8 Jul 2008 05:09:36 +0000 (05:09 +0000)]
split postgis.xml into manageable chunks, broken at chapter divisions.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2831 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoupdated tips section to reference ST_* function names
Kevin Neufeld [Tue, 8 Jul 2008 03:12:08 +0000 (03:12 +0000)]
updated tips section to reference ST_* function names

git-svn-id: http://svn.osgeo.org/postgis/trunk@2830 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoExample of ST_AddPoint, some fixes of non-ST references, miscellaneous indenting...
Regina Obe [Mon, 7 Jul 2008 12:20:43 +0000 (12:20 +0000)]
Example of ST_AddPoint, some fixes of non-ST references, miscellaneous indenting changes.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2829 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoAdd examples for ST_MakePolygon, correct non-st to ST references in ST_MakePolygon...
Regina Obe [Mon, 7 Jul 2008 11:57:11 +0000 (11:57 +0000)]
Add examples for ST_MakePolygon, correct non-st to ST references in ST_MakePolygon section

git-svn-id: http://svn.osgeo.org/postgis/trunk@2828 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agofixed ST_Dimension example, flipped order of conditions in WHERE on some examples...
Regina Obe [Sun, 6 Jul 2008 07:22:51 +0000 (07:22 +0000)]
fixed ST_Dimension example, flipped order of conditions in WHERE on some examples (in later versions of PostgreSQL since we don't have our costs right - the planner may choose to process in order of conditions

git-svn-id: http://svn.osgeo.org/postgis/trunk@2827 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agofixed typo in a WKT example.
Kevin Neufeld [Sun, 6 Jul 2008 01:47:38 +0000 (01:47 +0000)]
fixed typo in a WKT example.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2826 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoExamples of use of ST_MakeLine, correction to my ST_Collect example.
Regina Obe [Thu, 3 Jul 2008 19:07:35 +0000 (19:07 +0000)]
Examples of use of ST_MakeLine, correction to my ST_Collect example.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2825 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoAdd version information to <title>
Paul Ramsey [Thu, 3 Jul 2008 17:36:46 +0000 (17:36 +0000)]
Add version information to <title>

git-svn-id: http://svn.osgeo.org/postgis/trunk@2824 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoMatch version numbers to new naming conventions.
Paul Ramsey [Thu, 3 Jul 2008 17:08:49 +0000 (17:08 +0000)]
Match version numbers to new naming conventions.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2821 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoAdd the parser build rules back into the liblwgeom Makefile, so now any changes to...
Mark Cave-Ayland [Thu, 3 Jul 2008 09:28:38 +0000 (09:28 +0000)]
Add the parser build rules back into the liblwgeom Makefile, so now any changes to either the lexer or parser source files will automatically invoke a rebuild of the relevant output files during make

git-svn-id: http://svn.osgeo.org/postgis/trunk@2820 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoFix liblwgeom requiring gcc to compile. By using macros and variables supplied by...
Mark Cave-Ayland [Tue, 1 Jul 2008 14:15:33 +0000 (14:15 +0000)]
Fix liblwgeom requiring gcc to compile. By using macros and variables supplied by libtool, we can now detect the PIC flags and whether the compiler will accept additional gcc warning flags for developers

git-svn-id: http://svn.osgeo.org/postgis/trunk@2819 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoFixed typo
Regina Obe [Mon, 30 Jun 2008 15:30:17 +0000 (15:30 +0000)]
Fixed typo

git-svn-id: http://svn.osgeo.org/postgis/trunk@2817 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoMove some PostgreSQL compatibility macros from lwgeom_pg.h into pgsql_compat.h which...
Mark Cave-Ayland [Sun, 29 Jun 2008 19:19:06 +0000 (19:19 +0000)]
Move some PostgreSQL compatibility macros from lwgeom_pg.h into pgsql_compat.h which is their proper home

git-svn-id: http://svn.osgeo.org/postgis/trunk@2816 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoSplit the basic geometry accessors into a separate static library liblwgeom.a; this...
Mark Cave-Ayland [Sun, 29 Jun 2008 19:11:48 +0000 (19:11 +0000)]
Split the basic geometry accessors into a separate static library liblwgeom.a; this potentially allows re-use of the liblwgeom functions from within PostGIS, or could be extended at a later date to include databases other than MySQL. This patch includes a change to the liblwgeom handler functions; instead of sprinkling init_pg_func()s around the source, I have changed the default liblwgeom handlers to make use of a callback to allow linked libraries to set their own handlers the first time any of them are called. I have also tidied up the parser API a little in liblwgeom.h, which means wktparse.h can be removed from all of the headers in the lwgeom/ directory, plus renamed wktunparse.c to lwgunparse.c to keep things similar to lwgparse.c. Finally, I renamed liblwgeom.c to lwutil.c to avoid confusion within the new interface. TODO: the liblwgeom Makefile has some gcc-specific options, but these can be fixed later - it seemed more important to make the warnings visible to developers.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2815 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoFlesh out definition of ST_Collect and how to use it.
Regina Obe [Sat, 28 Jun 2008 05:34:59 +0000 (05:34 +0000)]
Flesh out definition of ST_Collect and how to use it.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2814 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoST_SnapToGrid SQL functions were referencing the deprecated SnapToGrid instead of...
Kevin Neufeld [Thu, 26 Jun 2008 02:40:09 +0000 (02:40 +0000)]
ST_SnapToGrid SQL functions were referencing the deprecated SnapToGrid instead of their ST_.. equivalents.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2812 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoFix mismatched para in intersection documentation and remove dangling command tag...
Regina Obe [Tue, 24 Jun 2008 16:12:56 +0000 (16:12 +0000)]
Fix mismatched para in intersection documentation and remove dangling command tag in Reporting Documentation Issues section.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2811 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoDefinitions for st_convexhull and st_shift_longitude
Regina Obe [Tue, 24 Jun 2008 15:57:20 +0000 (15:57 +0000)]
Definitions for st_convexhull and st_shift_longitude

git-svn-id: http://svn.osgeo.org/postgis/trunk@2810 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoRearrange lwgeom/Makefile.in in terms of the liblwgeom/PostgreSQL distinction, plus...
Mark Cave-Ayland [Fri, 6 Jun 2008 08:53:39 +0000 (08:53 +0000)]
Rearrange lwgeom/Makefile.in in terms of the liblwgeom/PostgreSQL distinction, plus remove remaining JTS reference.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2809 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoRemove JTS support from liblwpostgis; native GCJ-compiled JTS code is reported not...
Mark Cave-Ayland [Fri, 6 Jun 2008 08:48:10 +0000 (08:48 +0000)]
Remove JTS support from liblwpostgis; native GCJ-compiled JTS code is reported not to be reliable enough within a production environment, so well stick with GEOS.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2808 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoSome more updates to lwpostgis.sql.in.c; correct a couple of missing conversions...
Mark Cave-Ayland [Thu, 5 Jun 2008 16:08:23 +0000 (16:08 +0000)]
Some more updates to lwpostgis.sql.in.c; correct a couple of missing conversions from OPAQUE_TYPE to internal (how on earth did regression tests pass with this still in place??), plus remove the UPDATE on pg_opclass to change the OID of the index storage type since we can do this by specifying a STORAGE clause instead.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2807 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoRemove Makefile from lwgeom/ directory; it is no longer needed as it is automatically...
Mark Cave-Ayland [Thu, 5 Jun 2008 14:49:29 +0000 (14:49 +0000)]
Remove Makefile from lwgeom/ directory; it is no longer needed as it is automatically generated from lwgeom/Makefile.in

git-svn-id: http://svn.osgeo.org/postgis/trunk@2806 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoUpdate new Makefile copyrights, also remove compat.h from the loader/ directory since...
Mark Cave-Ayland [Thu, 5 Jun 2008 14:47:31 +0000 (14:47 +0000)]
Update new Makefile copyrights, also remove compat.h from the loader/ directory since it is now no longer needed.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2805 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoUpdate copyrights for configure.ac (rewritten from scratch, and now renamed from...
Mark Cave-Ayland [Thu, 5 Jun 2008 14:30:54 +0000 (14:30 +0000)]
Update copyrights for configure.ac (rewritten from scratch, and now renamed from the deprecated form configure.in) and also the PROJ.4 version detection macro

git-svn-id: http://svn.osgeo.org/postgis/trunk@2804 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoSwitch all SQL and PL/PGSQL stored procedures over to use dollar quoting instead...
Mark Cave-Ayland [Thu, 5 Jun 2008 12:09:48 +0000 (12:09 +0000)]
Switch all SQL and PL/PGSQL stored procedures over to use dollar quoting instead of apostrophes for function bodies. At last, most of the stored procedures actually become readable

git-svn-id: http://svn.osgeo.org/postgis/trunk@2803 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoRemove the HAS_SCHEMA #define and all related #else code since we now guarantee to...
Mark Cave-Ayland [Thu, 5 Jun 2008 11:19:29 +0000 (11:19 +0000)]
Remove the HAS_SCHEMA #define and all related #else code since we now guarantee to be using PostgreSQL > 7.2

git-svn-id: http://svn.osgeo.org/postgis/trunk@2802 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoRemove PQunescapeBytea hack from pgsql2shp which is no longer needed, as it was only...
Mark Cave-Ayland [Thu, 5 Jun 2008 11:07:40 +0000 (11:07 +0000)]
Remove PQunescapeBytea hack from pgsql2shp which is no longer needed, as it was only required for versions of PostgreSQL < 7.3

git-svn-id: http://svn.osgeo.org/postgis/trunk@2801 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoRemove all of the pre-PostgreSQL 7.3 schema #ifdefs from lwpostgis.sql.in to make...
Mark Cave-Ayland [Thu, 5 Jun 2008 10:51:11 +0000 (10:51 +0000)]
Remove all of the pre-PostgreSQL 7.3 schema #ifdefs from lwpostgis.sql.in to make things readable once again.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2800 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoBlast away the huge amounts of legacy C code related to PostgreSQL versions < 8.1...
Mark Cave-Ayland [Thu, 5 Jun 2008 10:19:01 +0000 (10:19 +0000)]
Blast away the huge amounts of legacy C code related to PostgreSQL versions < 8.1. Next step will be to work on the SQL script files too.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2799 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoProvide a new text file called DEBUG explaining how to use the new debug system.
Mark Cave-Ayland [Sat, 31 May 2008 10:35:04 +0000 (10:35 +0000)]
Provide a new text file called DEBUG explaining how to use the new debug system.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2798 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoCommit new PostGIS debugging infrastructure. These changes unify all the debug loggin...
Mark Cave-Ayland [Sat, 31 May 2008 09:56:44 +0000 (09:56 +0000)]
Commit new PostGIS debugging infrastructure. These changes unify all the debug logging to use a new set of macros: LWDEBUG()/LWDEBUGF() for LWGEOM functions, and POSTGIS_DEBUG()/POSTGIS_DEBUGF() for PostgreSQL functions. To enable debugging, run configure with --enable-debug and then remake the entire project. If --enable-debug is omitted during configure, the above macros evaluate to (void)0, and hence should be removed by the compiler during optimisation. Also: contains minor warning cleanups and a fix for the ST_Dwithin SQL definition.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2797 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoEnhanced speed _ST_DWithin(g,g,d) that returns as soon as g and g are within d of...
Paul Ramsey [Wed, 28 May 2008 23:03:11 +0000 (23:03 +0000)]
Enhanced speed _ST_DWithin(g,g,d) that returns as soon as g and g are within d of each other, rather than using distance naively. Change ST_DWithin to use enhanced op. (Issue 20)

git-svn-id: http://svn.osgeo.org/postgis/trunk@2796 b70326c6-7e19-0410-871a-916f4a2858ee

17 years agoFix towgs84 for 31300 and 31370 (issue 23)
Paul Ramsey [Wed, 28 May 2008 21:58:28 +0000 (21:58 +0000)]
Fix towgs84 for 31300 and 31370 (issue 23)

git-svn-id: http://svn.osgeo.org/postgis/trunk@2793 b70326c6-7e19-0410-871a-916f4a2858ee