Commit graph

3541 commits

Author SHA1 Message Date
Regina Obe 0d612d199d Update installation to include geography.sql (yikes we still had install lwpostgis.sql -- no wonder people are so confused). Also upped required to 8.3
git-svn-id: http://svn.osgeo.org/postgis/trunk@4523 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-22 11:27:54 +00:00
Regina Obe 1584597bb0 cut in Paul's geography.txt into the official docs. Didn't notice it before :(. We might need a whole new chapter for this to do it justice but will deal with formatting later.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4522 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-22 11:23:57 +00:00
Mark Cave-Ayland 780565b14b Add missing geometry(m)(z) type missing from previous commit.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4521 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-22 11:23:30 +00:00
Mark Cave-Ayland 0b6f67024b Remove dependency on regex library by implementing the same functionality using standard C functions. Passes regression tests for me.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4520 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-22 11:13:33 +00:00
Paul Ramsey 31d2cb7314 Change signatures to use fewer pointers.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4519 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-22 00:06:09 +00:00
Mark Cave-Ayland 7b7f17e405 Update LWDEBUG(F)/POSTGIS_DEBUG(F) macro debug levels to follow the standard in postgis/DEBUG.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4518 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-21 10:57:59 +00:00
Mark Cave-Ayland 3e5b57ed72 Change macros to use capitalised names, as per standard C convention. This means it is possible at a glance to determine what is a macro and what is a function.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4517 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-21 10:50:00 +00:00
Regina Obe d081062b48 fix typos and redundant things
git-svn-id: http://svn.osgeo.org/postgis/trunk@4516 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-20 08:15:36 +00:00
Regina Obe ce2e580385 flag some operators that support geography, put in logic to test for geography marked functions
git-svn-id: http://svn.osgeo.org/postgis/trunk@4515 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-20 08:10:31 +00:00
Regina Obe 218d88265a git-svn-id: http://svn.osgeo.org/postgis/trunk@4514 b70326c6-7e19-0410-871a-916f4a2858ee 2009-09-20 07:50:07 +00:00
Regina Obe 99c9f3c7a2 Make slot for geography data type and start filling in details
git-svn-id: http://svn.osgeo.org/postgis/trunk@4513 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-20 07:45:11 +00:00
Paul Ramsey 497342b2da Clean up tests so they pass quietly. (#249)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4512 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-18 14:53:25 +00:00
Regina Obe e0f6d5c6ee #250: Fix to get mingw to compile using conditional -lregex
Had to change configure.ac too so -lregex is not put in if its built-in.

git-svn-id: http://svn.osgeo.org/postgis/trunk@4511 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-18 14:10:55 +00:00
Regina Obe 06f0462bc3 Revise garden test to include testing for creating geography types. Still needs a bit more work. Also discovered more crashers to put in bug list (not all related to geography)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4510 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-17 15:44:47 +00:00
Paul Ramsey 2342776218 Fix serialization problem with lwgeoms that have bboxes.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4509 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-17 05:57:12 +00:00
Paul Ramsey 51dbcb9bbf Clean up gbox serialization a little
git-svn-id: http://svn.osgeo.org/postgis/trunk@4508 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-17 05:33:35 +00:00
Paul Ramsey 5635299b47 Add lwgeom_is_empty() test
git-svn-id: http://svn.osgeo.org/postgis/trunk@4507 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-17 02:33:49 +00:00
Paul Ramsey 6699aa3199 Work on tracking down bug in casting geometry->geography
git-svn-id: http://svn.osgeo.org/postgis/trunk@4506 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-17 00:01:53 +00:00
Paul Ramsey c9c61193ca Fix some test cases crossing the date line
git-svn-id: http://svn.osgeo.org/postgis/trunk@4505 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-16 22:43:20 +00:00
Paul Ramsey 2f24c23327 Add gbox string constructor for testing purposes
git-svn-id: http://svn.osgeo.org/postgis/trunk@4504 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-16 21:09:24 +00:00
Paul Ramsey 154a0f5bcb More tests pass
git-svn-id: http://svn.osgeo.org/postgis/trunk@4503 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-16 20:19:20 +00:00
Paul Ramsey bedb088622 Change back to less intensive cartesian clairaut
git-svn-id: http://svn.osgeo.org/postgis/trunk@4502 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-16 18:54:24 +00:00
Paul Ramsey 40cd5b1e72 Fix errors in calculating geocentric bounds. Early test cases now pass!
git-svn-id: http://svn.osgeo.org/postgis/trunk@4501 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-16 18:50:54 +00:00
Paul Ramsey e153da7079 Hook geocentric calculation into gbox routines, start testing
git-svn-id: http://svn.osgeo.org/postgis/trunk@4500 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-15 21:21:27 +00:00
Paul Ramsey 03cbe95845 Geocentric bounding box roughed in and compiles.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4499 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-15 19:50:24 +00:00
Paul Ramsey 34f03aa8cd Start the geodetic machinery. Add an internal API header for eventual API rationalisation
git-svn-id: http://svn.osgeo.org/postgis/trunk@4498 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-14 20:30:35 +00:00
Paul Ramsey 06568b44d1 Crib index penalty tweak from pgsphere.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4497 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-14 18:33:54 +00:00
Paul Ramsey 82acc2b19c Add FP_EQUALS and bracket arguments for a little extra safety
git-svn-id: http://svn.osgeo.org/postgis/trunk@4496 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-14 18:15:18 +00:00
Kevin Neufeld 1a6a52d6ec fix for POPULATE_GEOMETRY_COLUMNS - remove hard-coded "public" schema references.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4495 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-14 17:01:30 +00:00
Mark Cave-Ayland b7d587678b Merge Paul's geodetic (geography) branch into trunk, as per discussions on postgis-devel. Most of the merge was automatic (albeit quite slow), with a few manual touch-ups where the merge algorithm couldn't handle this automatically. "make check" runs and passes, so I hope I haven't managed to break too much ;)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4494 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-14 10:54:33 +00:00
Regina Obe d49cf3ed56 formatting cleanup
git-svn-id: http://svn.osgeo.org/postgis/trunk@4493 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-12 04:01:15 +00:00
Regina Obe 224987ed74 Add more line crossings. change tab to 4 spaces
git-svn-id: http://svn.osgeo.org/postgis/trunk@4492 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-12 03:43:15 +00:00
Regina Obe 9f6832a050 define new styles mediumline and use those
git-svn-id: http://svn.osgeo.org/postgis/trunk@4491 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-12 03:12:10 +00:00
Regina Obe c8f1179ea2 add new st_linecrossing graphic, experiment with new style, put in informal table
git-svn-id: http://svn.osgeo.org/postgis/trunk@4484 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-11 21:24:34 +00:00
Regina Obe bedfa80299 incomplete finish later
git-svn-id: http://svn.osgeo.org/postgis/trunk@4480 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-11 12:40:42 +00:00
Regina Obe b4bdfc1a6c make arrow and start separate to see if it shows better
git-svn-id: http://svn.osgeo.org/postgis/trunk@4479 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-11 12:26:21 +00:00
Regina Obe c162e3cf0e revise example so scales well on 200 x 200 grid
git-svn-id: http://svn.osgeo.org/postgis/trunk@4478 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-11 06:04:54 +00:00
Kevin Neufeld ed8f588b51 added a few comments to aid in image generation.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4477 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-11 03:19:19 +00:00
Regina Obe 03ee213da0 round digits
git-svn-id: http://svn.osgeo.org/postgis/trunk@4475 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-10 06:34:10 +00:00
Regina Obe 8b9f4ca3bc git-svn-id: http://svn.osgeo.org/postgis/trunk@4474 b70326c6-7e19-0410-871a-916f4a2858ee 2009-09-10 06:19:23 +00:00
Regina Obe 00c99da30e try geometry collection instead
git-svn-id: http://svn.osgeo.org/postgis/trunk@4473 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-10 05:56:40 +00:00
Regina Obe 92013ed828 git-svn-id: http://svn.osgeo.org/postgis/trunk@4472 b70326c6-7e19-0410-871a-916f4a2858ee 2009-09-10 05:54:32 +00:00
Regina Obe 20b46b1d42 typo in makefile
git-svn-id: http://svn.osgeo.org/postgis/trunk@4471 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-10 05:39:55 +00:00
Regina Obe 1981ff1d15 first attempt at figure for st_linecrossingdirection. Also query correction.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4470 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-10 05:27:19 +00:00
Regina Obe 0d1cf1ad58 figure for st_line_substring
git-svn-id: http://svn.osgeo.org/postgis/trunk@4468 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-10 04:10:44 +00:00
Regina Obe 93c5955b34 figure of st_line_interpolate_point
git-svn-id: http://svn.osgeo.org/postgis/trunk@4467 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-10 04:03:56 +00:00
Regina Obe 860ba7b034 better fit example
git-svn-id: http://svn.osgeo.org/postgis/trunk@4451 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-08 06:09:51 +00:00
Regina Obe 3b13f76f61 typos
git-svn-id: http://svn.osgeo.org/postgis/trunk@4450 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-08 05:28:50 +00:00
Regina Obe 17b265f531 forgot wkt
git-svn-id: http://svn.osgeo.org/postgis/trunk@4449 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-08 05:24:23 +00:00
Regina Obe b485522165 figure for minimum bounding circle
git-svn-id: http://svn.osgeo.org/postgis/trunk@4448 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-08 05:24:07 +00:00