Commit graph

3949 commits

Author SHA1 Message Date
Mark Cave-Ayland 901d61196c Fix ST_Envelope() and ST_Expand() so that they use double precision arithmetic rather than single precision arithmetic for their calculations. The internal BOX2DFLOAT4s should *never* be used for calculation purposes.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5080 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-30 14:52:52 +00:00
Regina Obe d4b5ad190d ST_Box back to Box link ref
git-svn-id: http://svn.osgeo.org/postgis/trunk@5079 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-30 13:08:38 +00:00
Regina Obe 653fdff601 oops revert change I guess ST_Box .. is the one that's deprecated. How confusing :) PRobably should remove from docs at some point.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5077 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-30 12:53:55 +00:00
Regina Obe 70eb54f82d amend faqs and change Box2D,Box3D to ST_Box...
git-svn-id: http://svn.osgeo.org/postgis/trunk@5076 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-30 12:48:17 +00:00
Regina Obe 72b1a20c75 correct example
git-svn-id: http://svn.osgeo.org/postgis/trunk@5074 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-30 09:15:51 +00:00
Regina Obe 6dc8929ed8 more clarity on the float4/float8 for ST_Envelope
git-svn-id: http://svn.osgeo.org/postgis/trunk@5073 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-30 07:20:22 +00:00
Regina Obe 3449749830 #531 ST_Envelope has wrong return type changed from boolean to geometry
git-svn-id: http://svn.osgeo.org/postgis/trunk@5071 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-30 06:53:26 +00:00
Regina Obe a0e3b51def slight wording change
git-svn-id: http://svn.osgeo.org/postgis/trunk@5069 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-30 06:45:43 +00:00
Regina Obe 2d24281a32 fill in mising geography = operator
git-svn-id: http://svn.osgeo.org/postgis/trunk@5068 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-30 06:44:45 +00:00
Regina Obe 507dd71650 fix typo
git-svn-id: http://svn.osgeo.org/postgis/trunk@5067 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-30 06:38:29 +00:00
Regina Obe 255ecfb61e #365 document ST_GeogFromWKB and ST_GeogFromText
git-svn-id: http://svn.osgeo.org/postgis/trunk@5066 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-30 06:12:07 +00:00
Paul Ramsey 1acdddaeb3 Rename ST_GeographyFromBinary to ST_GeogFromWKB. Add ST_GeogFromText to ape the ISO geometry spec more closely. (#360)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5065 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-30 01:25:17 +00:00
Paul Ramsey ee20363b30 Remove the NULL policy line from the GUI options (#363)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5064 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-30 01:20:00 +00:00
Paul Ramsey 2c514b1207 Make a few things more explicit in the handling of encoding.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5063 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-30 01:12:14 +00:00
Paul Ramsey ab6e46361f Remove a couple compiler warnings following last change.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5062 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-29 20:23:50 +00:00
Paul Ramsey 629b002f2e Change options dialogue into actual GTK dialog and move to creating/destroying it on each appearance. (#363)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5061 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-29 20:16:48 +00:00
Paul Ramsey c6a682d5f6 Try and get around the expanding window problem
git-svn-id: http://svn.osgeo.org/postgis/trunk@5060 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-29 19:23:41 +00:00
Mark Cave-Ayland 6602e5c1cc Add a filter name to the shapefile file selector; this is just a cosmetic fix.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5059 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-29 08:52:47 +00:00
Mark Cave-Ayland e039644311 Restrict SQL to only 255 characters when displaying erroneus SQL in the log window. This prevents GTK from crashing when really long lines are added to the log window.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5058 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-29 08:35:47 +00:00
Paul Ramsey 6c00648ff0 Include GUI as conditional install target
git-svn-id: http://svn.osgeo.org/postgis/trunk@5057 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-28 18:48:49 +00:00
Mark Cave-Ayland 8a654ad7e5 Add some more missing defaults to the shapefile loader configuration.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5056 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-28 13:32:33 +00:00
Mark Cave-Ayland 789d1c9ade Fix shp2pgsql-gui not picking up the correct default settings, which was causing some shapefiles to abort in the GUI but when using the CLI.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5055 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-27 17:16:19 +00:00
Paul Ramsey 9d6709c857 Fix up another password leaking into the log (#356)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5054 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-25 04:41:45 +00:00
Paul Ramsey a9e9810c0f Handle case where there is no password to sanitize
git-svn-id: http://svn.osgeo.org/postgis/trunk@5053 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-24 00:57:15 +00:00
Paul Ramsey 80fd83584d Sanitize the connection string displayed in the GUI log (#356)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5052 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-23 19:49:37 +00:00
Paul Ramsey 4f61e29941 Add support for dumping geography tables. (#251)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5051 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-23 19:34:24 +00:00
Olivier Courtin 1acbdbc10a Add http://www.epsg.org/6.11.2/4326 srsName pattern support (related to CITE WFS 1.1 GetFeature-tc17.2. Add related unit tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@5050 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-23 15:48:18 +00:00
Paul Ramsey 3ea9e43ea7 Remove hack PGAdmin GUI target (#355)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5049 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-23 05:01:16 +00:00
Paul Ramsey 222b2ace5a Add message to GUI when creating spatial index.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5047 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-22 20:50:58 +00:00
Paul Ramsey 944ced77ea Add shp2pgsql-pgadmin build target for exe without special win32 options.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5046 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-22 19:38:56 +00:00
Mark Cave-Ayland f0a1767ebf Fix bug in geography support when creating indexes.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5045 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-22 12:38:39 +00:00
Mark Cave-Ayland 1c0b845864 More improvements to the shapefile loader:
- Fix COPY support for shapefiles containing more than 1 record
 - Fix cancellation on mid-import
 - Remove progress logging on import, and replace with flashly progress bar



git-svn-id: http://svn.osgeo.org/postgis/trunk@5044 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-22 12:28:35 +00:00
Paul Ramsey 09053477a6 Handle index building when loading geography
git-svn-id: http://svn.osgeo.org/postgis/trunk@5043 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-22 00:35:24 +00:00
Paul Ramsey 6b465b06a9 Add support for GEOGRAPHY type to loader GUI. (#251)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5042 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-22 00:27:21 +00:00
Paul Ramsey a7523c42e0 Add support for geography type to command-line loader (#251)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5040 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-21 23:22:21 +00:00
Paul Ramsey a7f032948f CFLAGS=-pedantic pass over the codebase and warnings reduced
git-svn-id: http://svn.osgeo.org/postgis/trunk@5039 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-20 17:42:44 +00:00
Paul Ramsey 900e7700fd Disable unused static function.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5038 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-20 17:23:48 +00:00
Paul Ramsey ef3985278c Minor changes to header inclusions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5037 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-20 04:42:53 +00:00
Paul Ramsey 2b13035904 Fix bracket issue in commandline opt handline
git-svn-id: http://svn.osgeo.org/postgis/trunk@5036 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-20 04:31:06 +00:00
Paul Ramsey f999959181 Radically simpler getopt implementation from AT&T UNIX.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5035 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-19 03:56:06 +00:00
Paul Ramsey e5f3b78f64 Add some logging during the load so we can see what's going on.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5034 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-18 20:51:43 +00:00
Olivier Courtin b8d4342ffc remove the #273 test, as it already the same than point_1
git-svn-id: http://svn.osgeo.org/postgis/trunk@5033 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-18 19:28:40 +00:00
Olivier Courtin 1358086804 Libxml become mandatory. Cf #344. Modify configure step, remove all HAVE_LIBXML2 from code, sql and unit tests. Update documentation
git-svn-id: http://svn.osgeo.org/postgis/trunk@5032 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-18 19:08:20 +00:00
Paul Ramsey 79944df941 Moved size of int8 down to 19 chars (#326)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5031 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-18 18:38:45 +00:00
Regina Obe ccc35d6936 fix some typos, cosmetic changes, throw some more geography around
git-svn-id: http://svn.osgeo.org/postgis/trunk@5030 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-18 18:26:32 +00:00
Regina Obe e5f570ce86 Find a home for Paul's examples and Advanced FAQ and back reference from main FAQ section
git-svn-id: http://svn.osgeo.org/postgis/trunk@5029 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-18 17:43:41 +00:00
Regina Obe 0c9bc619ec We all new this day would come when we'd have to devote a whole section to this new kid called "geography". Think we still need to shuffle things around as the next section seems like a disconnect from the geography section
git-svn-id: http://svn.osgeo.org/postgis/trunk@5028 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-18 17:16:09 +00:00
Mark Leslie 7945f3d33d Reverting the change of r5007, removal of the getopt hack, to get windows builds working again.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5025 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-18 07:46:24 +00:00
Paul Ramsey b91c810871 Add in icon and resource information for Win32 GUI
git-svn-id: http://svn.osgeo.org/postgis/trunk@5024 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-18 06:39:48 +00:00
Paul Ramsey 22582d936c Make GUI open w/o console under Win32
git-svn-id: http://svn.osgeo.org/postgis/trunk@5023 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-18 05:55:45 +00:00