add support for read/write of basic geometry data