Writes WKT geometries into Geography Markup Language (GML) format .
GML is a complex format; it is not a totally defined format, but more a family of formats which can be tuned by schemas. There is no reference validation tool for developers to ensure their code writes or reads these formats properly. As a consequence, writing and reading GML features remain uncertain.
The actual processing is done by the efficient geotools library .