Needs review
Project:
Geo
Component:
Geo API
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Aug 2010 at 11:01 UTC
Updated:
14 Aug 2010 at 11:01 UTC
geo_wkb_get_data() fails when parsing Postgis EWKB format, which is returned by GeoSQLPostGIS::asBinary() function.
For example, geo_field('load', ...) gets its data using database-specific $geo->AsBinary(), which returns EWKB in case of PostgreSQL. I'm not sure if Geo module itself attempts to parse it anywhere, but developers wanting to use Geo API to process Geo fields data in e.g. hook_nodeapi() seem to need this.
Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| geo-ewkb-parsing.patch | 765 bytes | ahtih |