Commit graph

179 commits

Author SHA1 Message Date
Sandro Santilli 3933052897 Added lwpostgis.sql
git-svn-id: http://svn.osgeo.org/postgis/trunk@709 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-20 10:24:07 +00:00
Sandro Santilli dc3c64f901 lwgeom_mem_size uses int32 cast instead of int
git-svn-id: http://svn.osgeo.org/postgis/trunk@707 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-20 09:35:00 +00:00
Sandro Santilli 8bf9b37d4a bug fixed in lwgeom_mem_size
git-svn-id: http://svn.osgeo.org/postgis/trunk@706 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-20 09:31:32 +00:00
Sandro Santilli 74596c53b8 indentation fixes
git-svn-id: http://svn.osgeo.org/postgis/trunk@703 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-19 14:16:41 +00:00
Sandro Santilli 5924454eab added lwpostgis.sql build rule
git-svn-id: http://svn.osgeo.org/postgis/trunk@702 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-19 14:15:09 +00:00
Sandro Santilli 1a977a12ba Added finite coordinate check.
Reduced required bounding box copies.


git-svn-id: http://svn.osgeo.org/postgis/trunk@701 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-19 14:05:24 +00:00
Sandro Santilli 177775e9ff mem_size removed from list
git-svn-id: http://svn.osgeo.org/postgis/trunk@700 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-19 13:57:38 +00:00
Sandro Santilli 875d39fbdf Added mem_size(lwgeom)
git-svn-id: http://svn.osgeo.org/postgis/trunk@699 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-19 13:56:30 +00:00
Sandro Santilli a48fbb12a5 cpp checks updated to use 80 instead of 75 for USE_VERSION
git-svn-id: http://svn.osgeo.org/postgis/trunk@698 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-19 13:54:15 +00:00
Sandro Santilli 0a282e8047 initial import
git-svn-id: http://svn.osgeo.org/postgis/trunk@697 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-19 13:49:29 +00:00
Sandro Santilli 9baae59410 initial import
git-svn-id: http://svn.osgeo.org/postgis/trunk@696 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-19 13:21:21 +00:00
Sandro Santilli 65e8be6f18 Added selectivity estimation
git-svn-id: http://svn.osgeo.org/postgis/trunk@695 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-19 13:18:01 +00:00
Sandro Santilli 37438480b7 some indentation fixes
git-svn-id: http://svn.osgeo.org/postgis/trunk@694 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-19 13:16:16 +00:00
Sandro Santilli 6b352582b8 fixed typos
git-svn-id: http://svn.osgeo.org/postgis/trunk@693 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-19 13:10:13 +00:00
Sandro Santilli 615f4da5ff added btree index support file
git-svn-id: http://svn.osgeo.org/postgis/trunk@692 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-19 12:29:10 +00:00
Sandro Santilli 71e9142f88 added btree index support
git-svn-id: http://svn.osgeo.org/postgis/trunk@691 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-19 12:28:30 +00:00
Sandro Santilli 331e562e44 fixed some of the buch of broken comments
git-svn-id: http://svn.osgeo.org/postgis/trunk@688 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-19 09:28:37 +00:00
Sandro Santilli 3b1c66bc6d USE_VERSION gets 80 where it got 75
git-svn-id: http://svn.osgeo.org/postgis/trunk@687 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-19 06:15:58 +00:00
Sandro Santilli 669831ce07 Added PG80 (75) patches.
git-svn-id: http://svn.osgeo.org/postgis/trunk@685 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-18 13:46:49 +00:00
Sandro Santilli c6924639f4 added extent(lwgeom) and support functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@682 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-17 15:27:47 +00:00
Sandro Santilli 0c8578d1ae SRID(geometry) changed to SRID(lwgeom)
git-svn-id: http://svn.osgeo.org/postgis/trunk@681 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-17 14:35:10 +00:00
Sandro Santilli 957252a743 Added SRID(geometry) for backward compatibility
git-svn-id: http://svn.osgeo.org/postgis/trunk@679 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-17 14:28:16 +00:00
Sandro Santilli 13572134cc Added geometrytype(LWGEOM)
git-svn-id: http://svn.osgeo.org/postgis/trunk@678 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-17 14:21:21 +00:00
Sandro Santilli a6edf51a2b lwgeom.sql production follow postgis.sql production rules (cpp usage)
git-svn-id: http://svn.osgeo.org/postgis/trunk@670 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-08 18:09:57 +00:00
Sandro Santilli 082df5df50 removed user connect command
git-svn-id: http://svn.osgeo.org/postgis/trunk@610 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-08 17:40:34 +00:00
Sandro Santilli b06d9de91f MODULE_FILENAME path always defaults to $libdir, but is overridable
using environment variable LPATH. Added comments about it and cleaned
up code. Made global and lwgeom Makefile conformant about this.


git-svn-id: http://svn.osgeo.org/postgis/trunk@608 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-08 08:42:25 +00:00
Sandro Santilli 35cc4f879f added 'static' modifiers for the 'error' function, possibly clashing with some other declaration
git-svn-id: http://svn.osgeo.org/postgis/trunk@607 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-08 08:20:40 +00:00
Sandro Santilli 3abc00c143 reverted change in lwg_parse_yyerror
git-svn-id: http://svn.osgeo.org/postgis/trunk@606 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-07 17:58:53 +00:00
Sandro Santilli 9eebeb9382 Fixed a bug killing the backend - lwg_parse_yyerror never called custom error handler
git-svn-id: http://svn.osgeo.org/postgis/trunk@599 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-07 15:32:10 +00:00
Sandro Santilli 3a5e49e646 allowed lower case in wkt
git-svn-id: http://svn.osgeo.org/postgis/trunk@598 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-07 10:07:06 +00:00
Sandro Santilli a4d8700ca7 Added missing prototypes.
git-svn-id: http://svn.osgeo.org/postgis/trunk@597 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-07 09:16:06 +00:00
Sandro Santilli 0486d1bc31 Added y.output
git-svn-id: http://svn.osgeo.org/postgis/trunk@596 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 15:24:39 +00:00
Sandro Santilli 4ec48f6fcd Added more cleanup
git-svn-id: http://svn.osgeo.org/postgis/trunk@595 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 15:24:22 +00:00
Sandro Santilli 3fac0be8bd added semicolumns at end of blocks
git-svn-id: http://svn.osgeo.org/postgis/trunk@594 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 15:23:01 +00:00
Sandro Santilli a88128253b removed, will be created
git-svn-id: http://svn.osgeo.org/postgis/trunk@593 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 15:21:22 +00:00
Sandro Santilli 602d14668b first entries
git-svn-id: http://svn.osgeo.org/postgis/trunk@586 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 09:16:02 +00:00
Sandro Santilli 609223cf30 Added prototypes
git-svn-id: http://svn.osgeo.org/postgis/trunk@585 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 09:11:56 +00:00
Sandro Santilli 6061000960 Fixed YACC call to rename standardly produced y.tab.c and y.tab.h
to wktparse.tab.c and wktparse.tab.h


git-svn-id: http://svn.osgeo.org/postgis/trunk@584 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 09:07: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
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
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 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
David Blasby 9ad029c5ca made slightly more generic
git-svn-id: http://svn.osgeo.org/postgis/trunk@511 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-26 23:16:29 +00:00
David Blasby 0d807e7b36 Minor cleanup
git-svn-id: http://svn.osgeo.org/postgis/trunk@510 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-26 23:15:19 +00:00
David Blasby 158039c217 inital version
git-svn-id: http://svn.osgeo.org/postgis/trunk@509 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-26 23:12:08 +00:00
David Blasby 7f00d8b36d Initial working version - based on Ralph Masons WKT and WKB parser/writer.
git-svn-id: http://svn.osgeo.org/postgis/trunk@508 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-26 23:05:20 +00:00
David Blasby 16328b7229 Added a cstring(lwgeom) function that returns WKT!
git-svn-id: http://svn.osgeo.org/postgis/trunk@501 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-07 23:12:31 +00:00
David Blasby 9e400d7b67 Changes to make it work with all the PostGIS type.
git-svn-id: http://svn.osgeo.org/postgis/trunk@499 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-06 22:58:11 +00:00
David Blasby c56c47f81f Added support for 4d coordinates
git-svn-id: http://svn.osgeo.org/postgis/trunk@498 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-02 19:03:06 +00:00
David Blasby cd94686d55 minor clean and trying to figure out a memory bug. valgrind wasnt helping, but
it went away.


git-svn-id: http://svn.osgeo.org/postgis/trunk@487 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-11 01:27:43 +00:00
David Blasby 72d7890d79 Should be working (with a tonne of notices) for points lines and polygons (2d
and 3d)


git-svn-id: http://svn.osgeo.org/postgis/trunk@486 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-11 00:54:37 +00:00
David Blasby a43dace9d6 WKB reader and WKB writer (totally untested)
git-svn-id: http://svn.osgeo.org/postgis/trunk@482 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-10 01:15:06 +00:00
David Blasby 042f7cd031 Initial implementation - should compile; not at all tested.
git-svn-id: http://svn.osgeo.org/postgis/trunk@481 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-09 17:29:52 +00:00
David Blasby 04fcd499c5 Empty files - preparing for writting actual code.
git-svn-id: http://svn.osgeo.org/postgis/trunk@471 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-05 18:25:34 +00:00
David Blasby aed7a5d2d3 Same as the one in the above directory
git-svn-id: http://svn.osgeo.org/postgis/trunk@470 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-05 18:23:47 +00:00