]> granicus.if.org Git - postgis/log
postgis
16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

17 years agoGeomunion name change note, issue 26.
Paul Ramsey [Wed, 28 May 2008 21:47:11 +0000 (21:47 +0000)]
Geomunion name change note, issue 26.

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

17 years agoBug reporting documentation (issue 27)
Paul Ramsey [Wed, 28 May 2008 21:45:01 +0000 (21:45 +0000)]
Bug reporting documentation (issue 27)

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

17 years agoFix for issue 30, ST_Buffer doco mistake
Paul Ramsey [Wed, 28 May 2008 21:35:48 +0000 (21:35 +0000)]
Fix for issue 30, ST_Buffer doco mistake

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

17 years agoRemove extra warnings related to the shp2pgsql deleted records patch
Mark Cave-Ayland [Tue, 27 May 2008 15:08:20 +0000 (15:08 +0000)]
Remove extra warnings related to the shp2pgsql deleted records patch

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

17 years agoUpdate new build system to include iconv detection for shp2pgsql
Mark Cave-Ayland [Tue, 27 May 2008 14:47:06 +0000 (14:47 +0000)]
Update new build system to include iconv detection for shp2pgsql

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

17 years agoFix for DBF files with deleted records. (#29)
Paul Ramsey [Tue, 27 May 2008 03:00:12 +0000 (03:00 +0000)]
Fix for DBF files with deleted records. (#29)

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

17 years agoSince PGXS compiles libraries with -Wall, attempt to remove as many warnings as possi...
Mark Cave-Ayland [Thu, 22 May 2008 20:43:00 +0000 (20:43 +0000)]
Since PGXS compiles libraries with -Wall, attempt to remove as many warnings as possible. Most of these are missing function prototypes at the top of each file.

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

17 years agoUpdate documentation build so that "make install" now works. Maybe this will fix...
Mark Cave-Ayland [Thu, 22 May 2008 14:34:32 +0000 (14:34 +0000)]
Update documentation build so that "make install" now works. Maybe this will fix the on-line website build?

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

17 years agoUpdate topology/ directory to use the new PGXS build system.
Mark Cave-Ayland [Thu, 22 May 2008 14:31:02 +0000 (14:31 +0000)]
Update topology/ directory to use the new PGXS build system.

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

17 years agoUpdate previous commit: add Makefile.in and remove Makefile, since Makefile is now...
Mark Cave-Ayland [Tue, 20 May 2008 22:24:09 +0000 (22:24 +0000)]
Update previous commit: add Makefile.in and remove Makefile, since Makefile is now generated from Makefile.in automatically.

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

17 years agoRework the documentation Makefile so that it works with the autoconf build system.
Mark Cave-Ayland [Tue, 20 May 2008 22:10:54 +0000 (22:10 +0000)]
Rework the documentation Makefile so that it works with the autoconf build system.

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

17 years agoFixes for previous commit: missed Makefile.config target for "make clean"
Mark Cave-Ayland [Wed, 14 May 2008 17:24:25 +0000 (17:24 +0000)]
Fixes for previous commit: missed Makefile.config target for "make clean"

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

17 years agoFixes for previous commit: Alter GNUmakefile to understand that Makefile.config no...
Mark Cave-Ayland [Wed, 14 May 2008 17:19:50 +0000 (17:19 +0000)]
Fixes for previous commit: Alter GNUmakefile to understand that Makefile.config no longer exists, plus remove lwgeom/sqldefines.h as it is generated by autoconf

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

17 years agoCommit new build system based upon PGXS. Due to the large number of changes, please...
Mark Cave-Ayland [Wed, 14 May 2008 17:10:19 +0000 (17:10 +0000)]
Commit new build system based upon PGXS. Due to the large number of changes, please refer to http://postgis.refractions.net/pipermail/postgis-devel/2008-May/003010.html.

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

17 years agoST_AsGeoJSon patch from Olivier Courtin <olivier.courtin@camptocamp.com>.
Paul Ramsey [Thu, 24 Apr 2008 01:04:52 +0000 (01:04 +0000)]
ST_AsGeoJSon patch from Olivier Courtin <olivier.courtin@camptocamp.com>.

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

17 years agoenvelope doco fix
Paul Ramsey [Tue, 22 Apr 2008 14:54:07 +0000 (14:54 +0000)]
envelope doco fix

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

17 years agoBump trunk up to 1.3.4SVN
Paul Ramsey [Sat, 12 Apr 2008 18:39:39 +0000 (18:39 +0000)]
Bump trunk up to 1.3.4SVN

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

17 years agoVersions and news for the 1.3.3 release.
Paul Ramsey [Sat, 12 Apr 2008 18:32:14 +0000 (18:32 +0000)]
Versions and news for the 1.3.3 release.

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

17 years agoUpdate re dbf patch
Paul Ramsey [Sat, 12 Apr 2008 16:46:13 +0000 (16:46 +0000)]
Update re dbf patch

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

17 years agoNew -n switch to support DBF-only loading of attributes without shapes.
Paul Ramsey [Sat, 12 Apr 2008 16:44:55 +0000 (16:44 +0000)]
New -n switch to support DBF-only loading of attributes without shapes.
Submitted by Regina Obe.

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

17 years agoRemove svn:eol-style from regress_ogc_expected; MingW requires unix line endings...
Mark Cave-Ayland [Sat, 12 Apr 2008 10:16:21 +0000 (10:16 +0000)]
Remove svn:eol-style from regress_ogc_expected; MingW requires unix line endings in order for the diff to work as expected.

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

17 years agoReduce FTDate field size to 8 bytes from 10. Matches other calls in the file
Paul Ramsey [Thu, 10 Apr 2008 14:44:26 +0000 (14:44 +0000)]
Reduce FTDate field size to 8 bytes from 10. Matches other calls in the file
now, no good explanation in code why it was 10 to start with.
http://postgis.refractions.net/pipermail/postgis-users/2008-April/019169.html

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

17 years agoAnother round of PostgreSQL 8.3 fixes, this time related to arrays. Make sure that...
Mark Cave-Ayland [Thu, 10 Apr 2008 06:40:33 +0000 (06:40 +0000)]
Another round of PostgreSQL 8.3 fixes, this time related to arrays. Make sure that we use the supplied ArrayType pointer macros, instead of attempting to access to cast directly to ArrayType. This resolved GBT#13 where a "corrupted histogram" error is thrown when using using ST_EstimatedExtent() under 8.3.

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

17 years agoChange sr_id into an integer, per mca's suggestion.
Paul Ramsey [Wed, 9 Apr 2008 19:52:19 +0000 (19:52 +0000)]
Change sr_id into an integer, per mca's suggestion.

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

17 years agoFix string literal comparison warnings: "comparison with string literal results in
Paul Ramsey [Tue, 8 Apr 2008 21:36:50 +0000 (21:36 +0000)]
Fix string literal comparison warnings: "comparison with string literal results in
unspecified behaviour"

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

17 years agoRename all occurances of getopt to pgis_getopt to work around
Paul Ramsey [Mon, 7 Apr 2008 20:09:48 +0000 (20:09 +0000)]
Rename all occurances of getopt to pgis_getopt to work around
OS/X 10.5 system function name collision.

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

17 years agoFix the ST_AsKML regression tests.
Paul Ramsey [Mon, 7 Apr 2008 19:47:21 +0000 (19:47 +0000)]
Fix the ST_AsKML regression tests.

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

17 years agoAllow conditional regression tests based on GEOS_VERNUM and move the
Paul Ramsey [Mon, 7 Apr 2008 19:47:05 +0000 (19:47 +0000)]
Allow conditional regression tests based on GEOS_VERNUM and move the
cover/prepared tests into the appropriate buckets. Fix the AT_AsKML
regression tests.

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

17 years agoremove unloved header file
Paul Ramsey [Sat, 5 Apr 2008 14:49:11 +0000 (14:49 +0000)]
remove unloved header file

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

17 years agoRemove the code that adds share/contrib/nad to the PROJ.4 search path for PostgreSQL...
Mark Cave-Ayland [Mon, 31 Mar 2008 11:16:54 +0000 (11:16 +0000)]
Remove the code that adds share/contrib/nad to the PROJ.4 search path for PostgreSQL < 8.0 since the mechanism for determining the path has changed from earlier versions, and this was mainly for Win32 users. Also rename nad/ directory to proj/ to keep it inline with an existing PROJ.4 installation.

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

17 years agosmall syntax errors in ST_YMAX, etc functions
Paul Ramsey [Sun, 30 Mar 2008 19:38:42 +0000 (19:38 +0000)]
small syntax errors in ST_YMAX, etc functions

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