SDSAI

An S-Expression inspiried library focused on iterators.

Лицензия

Лицензия

MIT
Группа

Группа

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

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

sdsai-itrex
Последняя версия

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

1.1.23
Дата

Дата

Тип

Тип

jar
Описание

Описание

SDSAI
An S-Expression inspiried library focused on iterators.
Ссылка на сайт

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

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

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

https://github.com/basking2/sdsai.git

Скачать sdsai-itrex

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.basking2/sdsai-itrex/ -->
<dependency>
    <groupId>com.github.basking2</groupId>
    <artifactId>sdsai-itrex</artifactId>
    <version>1.1.23</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.basking2/sdsai-itrex/
implementation 'com.github.basking2:sdsai-itrex:1.1.23'
// https://jarcasting.com/artifacts/com.github.basking2/sdsai-itrex/
implementation ("com.github.basking2:sdsai-itrex:1.1.23")
'com.github.basking2:sdsai-itrex:jar:1.1.23'
<dependency org="com.github.basking2" name="sdsai-itrex" rev="1.1.23">
  <artifact name="sdsai-itrex" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.basking2', module='sdsai-itrex', version='1.1.23')
)
libraryDependencies += "com.github.basking2" % "sdsai-itrex" % "1.1.23"
[com.github.basking2/sdsai-itrex "1.1.23"]

Зависимости

compile (1)

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

test (2)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12
org.slf4j : slf4j-simple jar 1.7.21

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

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

sdsai

Homepage

Travis Build Status Coverity Scan

Sam's Data-structures and AI - a collection of Java and Scala utility code.

SDSAI Common

Marching Squares

Marching Squares is an algorithm to take a raster of 1, 0, and -1 values and produce polygons. This implementation can march a single tile or stitch many tiles together into a larger tile. A simple use of this might be

    final byte p = 1;
    final byte n = -1;

    final Tile tile =
            new Tile(new byte[]{
                    0, 0, 0, 0, 0 ,0,
                    0, n, n, n, n, 0,
                    0, n, p, p, n, 0,
                    0, n, p, p, n, 0,
                    0, n, n, n, n, 0,
                    0, 0, 0, 0, 0 ,0,
            }, 6);

    final String geoJson = SimpleGeoJson.write(new VectorTileBuilder(tile, FeatureFactory.uuidProperty()).buildIsoband(), 5, 5);

    try (final OutputStream os = new FileOutputStream("SomeFile.geojson")) {
        os.write(geoJson.getBytes("UTF-8"));
    }

The following image was generated using GeoJson.io on one of the files produced by a unit test for the algorithm implementation.

Marching Squares

Links

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

Версия
1.1.23
1.1.22
1.1.21
1.1.20
1.1.19
1.1.18
1.1.17
1.1.16
1.1.15
1.1.14
1.1.13
1.1.12
1.1.11
1.1.10
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.17
1.0.16
1.0.15
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2.2
1.0.2.1
1.0.2
1.0.0