Sandro Santilli
4bca418336
Moved PG_LWGEOM WKB I/O and SRID get/set funx
...
from lwgeom_api.c to lwgeom_pg.c.
Made lwgeom_from_ewkb directly invoke grammar parser rather then invoke
the PG_LWGEOM-specific function.
Cleaned up signedness-related and comments-related warnings for the files
being committed (more to do on other files)
git-svn-id: http://svn.osgeo.org/postgis/trunk@2243 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-30 17:40:37 +00:00
Sandro Santilli
20802544c3
added header sentinels
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1923 b70326c6-7e19-0410-871a-916f4a2858ee
2005-09-23 15:43:19 +00:00
Sandro Santilli
1a48b910a7
Hopefully fixed bug in int4 and double reader from byte stream (was not
...
working on 64bit machines).
git-svn-id: http://svn.osgeo.org/postgis/trunk@1528 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-10 19:26:19 +00:00
Sandro Santilli
8c419b04bc
changed report_error typedef to allow for lwerror usage w/out problems
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1526 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-10 18:18:25 +00:00
Sandro Santilli
593a8032ac
Changed byte to uchar to avoid clashes with win32 headers.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1415 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-21 16:16:14 +00:00
Sandro Santilli
f6329625dc
Changed unparse_WKB interface to take an output size pointer and an HEXFORM
...
specifier. Reworked code in wktunparse to use function pointers.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1311 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-18 09:32:03 +00:00
Sandro Santilli
1834cd0e77
Added missing prototypes
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1265 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-10 09:47:14 +00:00
Sandro Santilli
db7e4ac797
Moved getMachineEndian from parser to liblwgeom.{h,c}.
...
Added XDR and NDR defines.
Fixed all usage of them.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1162 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-17 11:08:53 +00:00
Sandro Santilli
4af622afaf
getMachineEndian exported
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1158 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-17 10:10:01 +00:00
Sandro Santilli
98df5600a6
Added endiannes specification to unparse_WKB, AsBinary, lwgeom_to_wkb.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@984 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-11 14:03:33 +00:00
Sandro Santilli
1449cae461
API cleanup, more steps toward standalone library.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@951 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-07 10:03:23 +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