Interface Generator

All Superinterfaces:
Iterator<org.locationtech.jts.geom.Geometry>
All Known Implementing Classes:
BitGenerator, DiagonalGenerator, GaussianGenerator, ParcelGenerator, SierpinskiGenerator, UniformGenerator

public interface Generator extends Iterator<org.locationtech.jts.geom.Geometry>
A generator is an iterator that generates random geometries. The actual implementation of the generator is defined in the subclasses. You can create an instance of the generator by calling the factory method GeneratorFactory.create(String, Random, Map) with the generator name, a random number generator, and the configuration.

The idea and algorithms of this generator comes from this publication:

 Puloma Katiyar, Tin Vu, Sara Migliorini, Alberto Belussi, Ahmed Eldawy.
 "SpiderWeb: A Spatial Data Generator on the Web", ACM SIGSPATIAL 2020, Seattle, WA
 
  • Field Details

    • GEOMETRY_FACTORY

      static final org.locationtech.jts.geom.GeometryFactory GEOMETRY_FACTORY