com.kpouer:wktparser

WKT Parser is a simplified parser for Well Known Text geometry syntax

Лицензия

Лицензия

Группа

Группа

com.kpouer
Идентификатор

Идентификатор

wktparser
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

pom.sha512
Описание

Описание

com.kpouer:wktparser
WKT Parser is a simplified parser for Well Known Text geometry syntax
Ссылка на сайт

Ссылка на сайт

https://github.com/kpouer/WKTParser
Система контроля версий

Система контроля версий

https://github.com/kpouer/WKTParser

Скачать wktparser

Зависимости

test (2)

Идентификатор библиотеки Тип Версия
org.junit.jupiter : junit-jupiter-api jar 5.6.0
org.junit.jupiter : junit-jupiter-engine jar 5.6.0

Модули Проекта

Данный проект не имеет модулей.

Java CI with Maven CodeQL

WKTParser

A simple WKT (Well Know Text) parser grammar written for JavaCC.

The goal was to use it in a jEdit plugin, but you can use it for any other purpose

It doesn't not support all WKT syntax but might be extended in the future.

Supported structures

  • POINT
  • LINESTRING
  • POLYGON
  • MULTIPOINT
  • MULTIPOLYGON
  • MULTILINESTRING
  • GEOMETRYCOLLECTION

Example

Start start = new WKT(new StringReader("LINESTRING(30 10,-3.2011243453   -101.12124240)"))
    .Start();
LineString linestring = (LineString) start.jjtGetChild(0);
Point point1 = (Point) linestring.jjtGetChild(0);
Point point2 = (Point) linestring.jjtGetChild(1);

Licence

WKT Parser is open source and licensed under the MIT License.

Версии библиотеки

Версия
1.0.0