Commit graph

546 commits

Author SHA1 Message Date
Sandro Santilli 1c3e725824 stale locks removal in fix_geometry_columns() and update_geometry_stats(). Fixed a bug in fix_geometry_columns() deleting stats.
git-svn-id: http://svn.osgeo.org/postgis/trunk@564 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-02 17:15:20 +00:00
Sandro Santilli 74db0229b8 build_histogram2d sets 'local' search_path.
fix_geometry_columns sets to NULL cached data for unexistant tables.


git-svn-id: http://svn.osgeo.org/postgis/trunk@563 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-02 16:21:06 +00:00
Sandro Santilli 17b5b3aec3 removed namespace check for PG<73 in update_geometry_stats()
git-svn-id: http://svn.osgeo.org/postgis/trunk@562 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-01 16:56:07 +00:00
Sandro Santilli 88b5aa149b Made AddGeometryColumn delete from geometry_column records which would be incompatible with the one being added
git-svn-id: http://svn.osgeo.org/postgis/trunk@561 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-01 16:30:10 +00:00
Sandro Santilli 1db62e335d Placed histogram2d type definition in a common place;
added find_extent(schema, table, column) and build_histogram2d(histogram,
schema, table, column); modified update_geometry_stats() to make use
of available f_table_schema and to set statistical fields to NULL
for stale records. Thanks to Carl Anderson for the ideas.


git-svn-id: http://svn.osgeo.org/postgis/trunk@560 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-01 16:16:23 +00:00
Paul Ramsey dce969ac46 Updates in anticipation of 0.8.2 release
git-svn-id: http://svn.osgeo.org/postgis/trunk@558 b70326c6-7e19-0410-871a-916f4a2858ee
2004-05-28 03:01:07 +00:00
Paul Ramsey a66c0642e5 Document the multi() function.
git-svn-id: http://svn.osgeo.org/postgis/trunk@557 b70326c6-7e19-0410-871a-916f4a2858ee
2004-05-28 02:42:14 +00:00
Sandro Santilli f9a23d4827 compat definition of fix_geometry_columns
git-svn-id: http://svn.osgeo.org/postgis/trunk@556 b70326c6-7e19-0410-871a-916f4a2858ee
2004-05-24 13:02:22 +00:00
Paul Ramsey defb838d46 Fix bug in append mode that filled values into nonexistant gid column.
git-svn-id: http://svn.osgeo.org/postgis/trunk@555 b70326c6-7e19-0410-871a-916f4a2858ee
2004-05-20 19:21:08 +00:00
Paul Ramsey 4be62a343d Fix typos and section misreferences in OGC function reference section
git-svn-id: http://svn.osgeo.org/postgis/trunk@554 b70326c6-7e19-0410-871a-916f4a2858ee
2004-05-18 16:56:59 +00:00
Paul Ramsey 57b06037d5 Add multi() to the new cpp based sql.in file.
git-svn-id: http://svn.osgeo.org/postgis/trunk@553 b70326c6-7e19-0410-871a-916f4a2858ee
2004-05-18 16:52:45 +00:00
Sandro Santilli 733f5b73be Transformed NULL numeric values to 0 as it was before the introduction
of bigint bug workaround.


git-svn-id: http://svn.osgeo.org/postgis/trunk@552 b70326c6-7e19-0410-871a-916f4a2858ee
2004-05-13 12:24:15 +00:00
Sandro Santilli a8a91aefe9 Used DBFWriteAttributeDirectly interface for writing attributes.
This way we are not affected by shapelib long-integer bug.


git-svn-id: http://svn.osgeo.org/postgis/trunk@551 b70326c6-7e19-0410-871a-916f4a2858ee
2004-05-13 12:13:01 +00:00
Sandro Santilli 0a1c0b6592 Other fix in 3d handling - you should now be able to dump as 2d or 3d any 2d or 3d object
git-svn-id: http://svn.osgeo.org/postgis/trunk@550 b70326c6-7e19-0410-871a-916f4a2858ee
2004-05-13 12:07:13 +00:00
Sandro Santilli 1cf3f64656 Fixed bug in 3d features handling.
git-svn-id: http://svn.osgeo.org/postgis/trunk@549 b70326c6-7e19-0410-871a-916f4a2858ee
2004-05-13 11:59:08 +00:00
Sandro Santilli 333a313394 Totally reworked code to have a main loop for shapefile objects.
Much more readable, I belive.


git-svn-id: http://svn.osgeo.org/postgis/trunk@548 b70326c6-7e19-0410-871a-916f4a2858ee
2004-05-13 09:40:33 +00:00
Sandro Santilli dbe6c870d7 Put table creation code in its own function.
Fixed a bug with NULL shape records handling.


git-svn-id: http://svn.osgeo.org/postgis/trunk@547 b70326c6-7e19-0410-871a-916f4a2858ee
2004-05-13 07:48:47 +00:00
Sandro Santilli ef9db1df80 DBFReadStringValue always used to workaround shapelib bug with int values.
git-svn-id: http://svn.osgeo.org/postgis/trunk@546 b70326c6-7e19-0410-871a-916f4a2858ee
2004-05-13 06:38:39 +00:00
Sandro Santilli ddd0cfaf0e Added -fPIC to CXXFLAGS. Reported to be needed on Solaris7 w/ gcc-3.3.2
by Havard Tveite <havard.tveite@nlh.no>.


git-svn-id: http://svn.osgeo.org/postgis/trunk@545 b70326c6-7e19-0410-871a-916f4a2858ee
2004-05-04 16:55:39 +00:00
Ralph Mason 5b82047b66 removed generated file
git-svn-id: http://svn.osgeo.org/postgis/trunk@544 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-29 21:07:25 +00:00
Ralph Mason a4aa102c48 *** empty log message ***
git-svn-id: http://svn.osgeo.org/postgis/trunk@543 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-29 21:07:03 +00:00
David Blasby 61c3c1e192 Noted diff between inf and Infinity on Solaris/Intel machines
git-svn-id: http://svn.osgeo.org/postgis/trunk@542 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-29 18:44:36 +00:00
David Blasby bb498680f4 updated version
git-svn-id: http://svn.osgeo.org/postgis/trunk@541 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-29 18:41:10 +00:00
David Blasby fd50115de4 added sleep so it wouldnt complain on solarias as much
git-svn-id: http://svn.osgeo.org/postgis/trunk@540 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-29 18:36:47 +00:00
David Blasby af532b3ea5 WKT parser changes required this change
git-svn-id: http://svn.osgeo.org/postgis/trunk@539 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-29 18:20:21 +00:00
David Blasby ab88946f5e minor changes
git-svn-id: http://svn.osgeo.org/postgis/trunk@538 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-29 18:16:37 +00:00
David Blasby f97ada2c48 WKT parser changes to MULTIPOINT required this be updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@537 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-29 18:15:13 +00:00
Ralph Mason a96969ab26 clean up of wbk int and double reading code
git-svn-id: http://svn.osgeo.org/postgis/trunk@536 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-29 04:35:01 +00:00
Ralph Mason b7b4f9ad97 fix number parsing
git-svn-id: http://svn.osgeo.org/postgis/trunk@535 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-29 03:57:31 +00:00
Ralph Mason 5d85fd410b remove extra brackets from multipoints
git-svn-id: http://svn.osgeo.org/postgis/trunk@534 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-29 03:13:07 +00:00
Paul Ramsey 757f0b6cd5 Change PGSQL_SRC behavior back to developer-friendly.
git-svn-id: http://svn.osgeo.org/postgis/trunk@533 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-28 23:07:44 +00:00
David Blasby cb29fa3935 minor changes
git-svn-id: http://svn.osgeo.org/postgis/trunk@532 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-28 22:59:56 +00:00
David Blasby 313a838840 Inital Version. Hasnt been proofread.
git-svn-id: http://svn.osgeo.org/postgis/trunk@531 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-28 22:50:17 +00:00
Paul Ramsey f5a7510d32 Added flex/bison lines for parser.
git-svn-id: http://svn.osgeo.org/postgis/trunk@530 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-28 22:40:32 +00:00
Paul Ramsey 758c70c790 Fixed spelling mistake in header text.
git-svn-id: http://svn.osgeo.org/postgis/trunk@529 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-28 22:26:02 +00:00
David Blasby 859fd753bb minor changes to ensure its using the index
git-svn-id: http://svn.osgeo.org/postgis/trunk@528 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-28 21:20:40 +00:00
David Blasby aa678c58b3 updated results
git-svn-id: http://svn.osgeo.org/postgis/trunk@527 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-28 21:08:17 +00:00
David Blasby 0a966f9f28 minor change for endianess
git-svn-id: http://svn.osgeo.org/postgis/trunk@526 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-28 21:02:58 +00:00
David Blasby e53be2835f removed an elog(NOTICE)
git-svn-id: http://svn.osgeo.org/postgis/trunk@525 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-28 21:00:43 +00:00
David Blasby a222451360 inital version of regression tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@524 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-28 19:17:25 +00:00
David Blasby e1b9a2560c moved to regress/ directory
git-svn-id: http://svn.osgeo.org/postgis/trunk@523 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-28 18:27:07 +00:00
David Blasby 6aaf7e7450 Added automatic endian detection for the WKB parser/unparser.
git-svn-id: http://svn.osgeo.org/postgis/trunk@522 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-28 18:10:41 +00:00
Paul Ramsey 0b7d2eb4f5 Genericize the Makefile per Dave's request.
git-svn-id: http://svn.osgeo.org/postgis/trunk@521 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-28 04:55:42 +00:00
David Blasby e9e9558ea6 minor 3d geometrycollection bug fix
git-svn-id: http://svn.osgeo.org/postgis/trunk@520 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-27 23:47:39 +00:00
David Blasby 4882b94ceb initial version
git-svn-id: http://svn.osgeo.org/postgis/trunk@519 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-27 23:33:25 +00:00
David Blasby c5169c0a58 minor changes for solaris
git-svn-id: http://svn.osgeo.org/postgis/trunk@518 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-27 23:12:11 +00:00
David Blasby cecb248d45 fixed some typos for flip_bytes in read_int and read_double
git-svn-id: http://svn.osgeo.org/postgis/trunk@517 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-27 22:13:33 +00:00
David Blasby 53c4887708 minor ordering change
git-svn-id: http://svn.osgeo.org/postgis/trunk@516 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-27 20:53:36 +00:00
David Blasby becea980f0 added float nextafterf_custom(float x, float y) for OSs that do not have
a nextafterf implementation.


git-svn-id: http://svn.osgeo.org/postgis/trunk@515 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-27 20:49:25 +00:00
David Blasby e6e7341ade bison -vd -p lwg_parse_yy wktparse.y
flex -Plwg_parse_yy -if -o'lex.yy.c' wktparse.lex

Initial versions (from Ralph Mason)


git-svn-id: http://svn.osgeo.org/postgis/trunk@514 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-27 17:46:46 +00:00