WKT parsing (soon to be public)