Commit graph

2673 commits

Author SHA1 Message Date
Paul Ramsey df8496265a Remove more memory leaks from P-I-P shortcut code.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3008 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-25 17:18:25 +00:00
Regina Obe cd95b01251 More typo fixes
git-svn-id: http://svn.osgeo.org/postgis/trunk@3007 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-25 12:18:01 +00:00
Regina Obe a4e1d6ab5f Move over ST_MakePointM, miscellaneous typo fixes
git-svn-id: http://svn.osgeo.org/postgis/trunk@3006 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-25 12:10:41 +00:00
Regina Obe 8ed5d36558 Put svn back in microversion
git-svn-id: http://svn.osgeo.org/postgis/trunk@3003 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-24 14:05:55 +00:00
Regina Obe 361ee2d08a typo
git-svn-id: http://svn.osgeo.org/postgis/trunk@3002 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-24 14:01:57 +00:00
Regina Obe 08243b922a Added ST_MakePointM, removed redundant redefinition of MakePointM so docs are now in synch with actual functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2999 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-24 13:55:39 +00:00
Mark Cave-Ayland e3a4081c51 Use __va_copy() to pass a copy of the variadic structure to lw_vasprintf() to solve ABI difference between 32bit/64bit architectures.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2998 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-23 21:32:19 +00:00
Mark Cave-Ayland ceb7ed9738 Remove a couple more warnings when compiling with debug enabled from lwgeom_gist.c.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2997 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-23 19:59:36 +00:00
Mark Cave-Ayland 442d938075 Revert commit 2990: the real bug was that the LWDEBUG statement was incorrect rather than the code - the additional read_int() was causing an off-by-one error when outputting WKB causing several regression tests to fail.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2996 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-23 19:53:12 +00:00
Mark Cave-Ayland b53c6b8ebb Refactor the memory management routines to account for the fact that variadic functions can't be called directly from the initial allocators. Also solve issues related to differences between the system vasprintf() (if supplied) and the liblwgeom vasprintf() by renaming to lw_vasprintf() and using it throughout PostGIS. With all this in place, GBT#54 is fixed which is very useful when debugging ;)
git-svn-id: http://svn.osgeo.org/postgis/trunk@2995 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-23 19:44:57 +00:00
Paul Ramsey 05162d3ef7 Reduce p-i-p memory leak by 50%
git-svn-id: http://svn.osgeo.org/postgis/trunk@2993 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-23 19:07:03 +00:00
Regina Obe 6c9b8a5f16 fix typo add more links
git-svn-id: http://svn.osgeo.org/postgis/trunk@2992 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-23 13:05:23 +00:00
Regina Obe 49d67d88cd Move over ST_Buffer
git-svn-id: http://svn.osgeo.org/postgis/trunk@2991 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-23 13:00:04 +00:00
Paul Ramsey 2b6e3d5b0b Add cnt declaration where missing.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2990 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-22 22:59:47 +00:00
Regina Obe 18e6713a8d change to xsl 1.0 plus minor indent change
git-svn-id: http://svn.osgeo.org/postgis/trunk@2989 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-22 17:55:30 +00:00
Regina Obe 767350287b Add xsl file that autogenerates sql set comment statements from reference_new.xml
git-svn-id: http://svn.osgeo.org/postgis/trunk@2988 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-22 12:28:57 +00:00
Regina Obe 5a9197edfc Realized from my sql comment generation xsl that there is really no ST_WKTToSQL that takes an SRID and no ST_BD.. that doesn't take an SRID. Very shocking.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2987 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-22 12:18:07 +00:00
Regina Obe dcac55cef8 typo in st_setsrid returns geometry not boolean
git-svn-id: http://svn.osgeo.org/postgis/trunk@2986 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-21 23:15:16 +00:00
Paul Ramsey c9ca8d5395 Add a few more generated files to ignore
git-svn-id: http://svn.osgeo.org/postgis/trunk@2985 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-18 22:12:17 +00:00
Paul Ramsey b3cb42c2a7 Set ignore properties on generated files.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2984 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-18 22:09:58 +00:00
Mark Cave-Ayland 248a9bcb69 Update the code for unparsing LWGEOMs to WKB/WKT so that it includes the standard simple checks: LINESTRINGs must have > 2 points, POLYGONs must have closed rings and CIRCULARSTRINGs must have > 2 points and the number of points must be odd. There is still a little more work to do to allow flags to be passed into the parser to specify which checks should be enforced, much like has already been done for the parsing from WKB/WKT to LWGEOM.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2983 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-18 13:54:05 +00:00
Kevin Neufeld 052355d367 commit to test autobuild process and svn hooks
- removed extra tabs from preformatted text blocks

git-svn-id: http://svn.osgeo.org/postgis/trunk@2982 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-18 04:34:32 +00:00
Kevin Neufeld 579825e1e5 commit to test autobuild process and svn hooks
- removed extra tabs from preformatted text blocks

git-svn-id: http://svn.osgeo.org/postgis/trunk@2981 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-18 04:22:07 +00:00
Regina Obe a17fd3e8ed Add to ST_SetSRID - reference to spatial_ref_sys
git-svn-id: http://svn.osgeo.org/postgis/trunk@2980 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-17 15:05:39 +00:00
Regina Obe 3edc884603 Link ST_SetSRID to updated spatial_ref_sys section using cutesy anchor.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2979 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-17 14:46:25 +00:00
Regina Obe 299f2941fd Give spatial reference systems section a cutesy anchor.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2978 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-17 14:41:25 +00:00
Regina Obe 2e8dc8b2ae git-svn-id: http://svn.osgeo.org/postgis/trunk@2977 b70326c6-7e19-0410-871a-916f4a2858ee 2008-09-17 05:49:28 +00:00
Regina Obe 879c12b740 typo in link
git-svn-id: http://svn.osgeo.org/postgis/trunk@2976 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-17 05:48:26 +00:00
Regina Obe 3646a5b932 more fleshing out of spatial ref section
git-svn-id: http://svn.osgeo.org/postgis/trunk@2975 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-17 04:14:15 +00:00
Regina Obe 69b9f4262d Beef up spatial reference section. Still needs work.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2974 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-17 04:00:01 +00:00
Kevin Neufeld c9c5d99538 added an id to ST_Buffer to provide an end link for cross references.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2973 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-17 03:54:36 +00:00
Mark Cave-Ayland 552023181f Silence a few more compiler warnings that had appeared during my last few parser commits.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2972 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-16 22:43:31 +00:00
Mark Cave-Ayland 8a8f2140d6 Add an example of how the liblwgeom API can be used by other C programs to manipulate geometries and output the result. Currently the unparser.c program shows how a geometry can be constructed "on the fly" and then exported in both WKT and HEXWKB formats; however it gives programmers the potential to devise some very unique processing tools which can generate files that can be loaded into PostGIS.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2971 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-16 22:29:54 +00:00
Mark Cave-Ayland 29f98cefc4 Move the LWGEOM-specific functions from lwgeom_sqlmm.c into liblwgeom/lwsegmentize.c to ensure that liblwgeom can exist as a standalone library.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2970 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-16 18:44:49 +00:00
Regina Obe 2a62e02637 Cleanup of FAQ
git-svn-id: http://svn.osgeo.org/postgis/trunk@2969 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-16 13:35:08 +00:00
Regina Obe f37b673da7 Move over ST_Expand
git-svn-id: http://svn.osgeo.org/postgis/trunk@2968 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-16 13:17:08 +00:00
Regina Obe bccc697c02 Expand list of contributors
git-svn-id: http://svn.osgeo.org/postgis/trunk@2966 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-16 01:51:17 +00:00
Regina Obe 0f960f9891 Expand list of contributors
git-svn-id: http://svn.osgeo.org/postgis/trunk@2965 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-16 01:47:59 +00:00
Regina Obe 16ed191987 Fix url link to proj to point to osgeo
git-svn-id: http://svn.osgeo.org/postgis/trunk@2963 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-15 11:54:29 +00:00
Kevin Neufeld 7b1b5e0745 Moved over ST_IsRing to new PostGIS reference.
Fixed link errors to ST_IsSimple.

git-svn-id: http://svn.osgeo.org/postgis/trunk@2962 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-13 05:41:33 +00:00
Regina Obe 103d66da55 typo
git-svn-id: http://svn.osgeo.org/postgis/trunk@2960 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-12 12:12:39 +00:00
Regina Obe 181ef9de30 Spelled Kevin's last name wrong and Mateusz first name wrong. Sorry Kevin and Mateusz.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2959 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-12 10:46:57 +00:00
Regina Obe dcb970bc16 Update Credits and project links
1) Get rid of emails
2) Change order of key contributors based on heuristics a) duration of contribution, b) frequency of contributions, c)recency of contributions, d) impact of contributions,
and add some new contributors (more need to be added)

git-svn-id: http://svn.osgeo.org/postgis/trunk@2958 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-12 10:40:40 +00:00
Mark Cave-Ayland 2efcfe29e4 Reinstate the PDF documentation system based on OpenJade, including integration with autoconf. "make postgis.pdf" should now output lovely PDF format documentation :)
git-svn-id: http://svn.osgeo.org/postgis/trunk@2957 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-11 12:18:37 +00:00
Mark Cave-Ayland 37c221f600 Documentation fixes to allow PDF documents to be generated from Docbook source using OpenJade - OpenJade seems a lot more strict than xsltproc when generating output :(
git-svn-id: http://svn.osgeo.org/postgis/trunk@2956 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-11 12:04:36 +00:00
Regina Obe ae78f04793 Get rid of left over stuff from ST_IsValid and ST_Summary copy.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2955 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-10 21:06:15 +00:00
Regina Obe 90713c2f23 example and result misaligned
git-svn-id: http://svn.osgeo.org/postgis/trunk@2954 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-10 11:57:59 +00:00
Regina Obe 2878f77ec8 Move over ST_Summary and provide example.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2953 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-10 11:39:01 +00:00
Regina Obe df38dcbc61 Move over ST_IsValid and provide example
git-svn-id: http://svn.osgeo.org/postgis/trunk@2952 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-10 11:28:37 +00:00
Regina Obe a1ed523c13 correct st_contain signature, other misc fixes
git-svn-id: http://svn.osgeo.org/postgis/trunk@2951 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-10 07:28:56 +00:00