BSD-3-Clause licensed by Gabriel Tollini
Maintained by [email protected]
This version can be pinned in stack with:wkt-types-0.1.0.0@sha256:0fa3904ebd1186e9cd4908e2ae97721f9118d3aad6c42149731dc14548182626,2452

wkt-types

This library implements parsers for .wkt files, based on the specification at https://www.ogc.org/standard/sfa/. For lack of clarity, some geometries (triangles/TIN/polyhedralSurfaces) aren’t completely implemented yet.

How to use

Data.WTK.IO exports two key methods, readWKTFile and writeWKTFile. When read, a .wkt file will be interpreted into a Geometries object. You can manipulate it at will, and then use writeWKTFile to write the .wkt file for the new Geometries. Individual types such as Point, LineString, Polygon, etc. also have their own individual parsers, serializers (fromWKT) and deserializers (toWKT).

Geometries are always read with Double as its base type for simplicity, but can be changed through fmaping.

Changes

Changelog for wkt-types

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to the Haskell Package Versioning Policy.

Unreleased

0.1.0.0 - YYYY-MM-DD