Coder Social home page Coder Social logo

ewkt's Introduction

EWKT .NET

A library for Extended Well-Known Text (WKT/EWKT) parsing and serialization. The project contains an example winforms project for visualizing EWKT.

From wikipedia

Well-known text (WKT) is a text markup language for representing vector geometry objects. A binary equivalent, known as well-known binary (WKB), is used to transfer and store the same information in a more compact form convenient for computer processing but that is not human-readable. The formats were originally defined by the Open Geospatial Consortium (OGC) and described in their Simple Feature Access.[1] The current standard definition is in the ISO/IEC 13249-3:2016 standard.[2]

Supported types:

  • Point(Z)
  • LineString(Z)
  • CircularString(Z)
  • Polygon(Z)
  • CurvedPolygon(Z)
  • MultiPolygon(Z)
  • CompoundCurve(Z)
  • GeometryCollection

Examples

Visualizer

MULTIPOLYGON

GEOMETRYCOLLECTION

Code

string ewkt = "POINT (10 20)";
IGeometry point = EWKTParser.Convert(ewkt);

EWKTSerializer.Serialize(point); // POINT Z (10 20 0)
IGeometry point = new PointZ(10.0d, 24.5d, 0.0d);

string ewkt = EWKTSerializer.Serialize(point); // POINT Z (10 24.5 0)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.