Example usage for org.springframework.data.geo Polygon subclass-usage

List of usage examples for org.springframework.data.geo Polygon subclass-usage

Introduction

In this page you can find the example usage for org.springframework.data.geo Polygon subclass-usage.

Usage

From source file com.digitalbridge.domain.geo.GeoJsonPolygon.java

/**
 * {@link com.digitalbridge.domain.geo.GeoJson} representation of {@link org.springframework.data.geo.Polygon}. Unlike
 * {@link org.springframework.data.geo.Polygon} the {@link com.digitalbridge.domain.geo.GeoJsonPolygon} requires a
 * closed border. Which means that the first and last {@link org.springframework.data.geo.Point} have to have same
 * coordinate pairs.
 *