Sample code to implement new OGC WKT specification