Package aisutils :: Module wkb :: Class convert
[hide private]
[frames] | no frames]

Class convert

source code

Simple wrapper to make decoding WKB Hex a lot simpler

Instance Methods [hide private]
 
__init__(self) source code
Geotypes object
decode(wkbhex)
Convert a WKB Hex string to an object.
source code
Method Details [hide private]

decode(wkbhex)

source code 

Convert a WKB Hex string to an object. This is a factory, no?

c = convert() c.decode("0020000001000010E6C051D30925D1DA0B4044A79AE924F228")

Parameters:
  • wkbhex (str) - HEX geometry
Returns: Geotypes object
Different geometry objects depending on what you give it. e.g.