Sandro Santilli
cebda7b779
Added expand_geometry - expand(geometry, int8)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@580 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 16:44:56 +00:00
Sandro Santilli
1f72b4a25b
added postgis_old.sql
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@579 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 13:49:39 +00:00
Sandro Santilli
ec70a564b3
Made it functional again.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@578 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 13:44:30 +00:00
Sandro Santilli
5cbf2bf538
compatted CASTS section, commented out bogus cast geometry::chip referring to missing function
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@577 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 13:43:01 +00:00
Sandro Santilli
5169813d46
Skipped attrelid, varattnum linking for PG>=75
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@576 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 13:20:53 +00:00
Sandro Santilli
012ed444f5
All type definitions moved at the beginning of the file.
...
Left to compat: what was in postgis_sql_end_VER_.
git-svn-id: http://svn.osgeo.org/postgis/trunk@575 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 12:48:00 +00:00
Sandro Santilli
5826682dc1
Fixed bug in update_geometry_stats() choking on null attrelids.
...
Modified update_geometry_stats(varchar, varchar) to cleanup stale
record(s).
Added a CREATEFUNCTION define to become CREATE OR REPLACE FUNCTION
for PG > 71.
Made update_geometry_stats(*) return meaningful result.
git-svn-id: http://svn.osgeo.org/postgis/trunk@574 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 11:06:53 +00:00
Sandro Santilli
96e2f04596
infinite geoms handled in WKB parser
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@573 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 09:45:57 +00:00
Sandro Santilli
e881f41d2e
yet another Infinite check used: finite() - which checks for NaN,-Inf,+Inf
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@572 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 08:19:20 +00:00
Sandro Santilli
9f10323d58
Simplified INFINITY checks by use of isinf()
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@571 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 08:13:11 +00:00
Sandro Santilli
d9a7af6540
Infinite coordinate geoms omitted from index
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@570 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 07:58:11 +00:00
Sandro Santilli
a2d53370b5
wkt parser throws an error on Infinite coordinates
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@569 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 07:57:29 +00:00
Paul Ramsey
8c574d0eb7
Document the expand() function (finally!)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@568 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 04:51:26 +00:00
Sandro Santilli
808cf2b387
Made equality checks the default in picksplit to catch also NaN results (INF geoms)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@567 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-02 23:54:09 +00:00
Sandro Santilli
9e009d6602
reverted Inf handling modification (conceptually bogus)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@566 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-02 23:29:08 +00:00
Sandro Santilli
729ec8ba27
handled special case of Inf boxes as GiST keys in picksplit
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@565 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-02 22:43:54 +00:00
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