All Classes and Interfaces
Class
Description
Abstract class of all Gpx-Parsers.
Main class to parse the GPX file
Abstract class of the parsers dedicated to routes.
Abstract class of the parsers dedicated to tracks.
Abstract class of the parsers dedicated to waypoints.
Specifies how altitude components in the coordinates element are
interpreted.
Asc driver to import ESRI ASCII Raster file as polygons
SQL function to import ESRI ASCII Raster file as points or polygons table.
Driver to import ESRI ASCII Raster file as polygons
This class is written to directly access the ESRI ascii grid format.
This utility class provides some useful methods related to JTS
Coordinate objects.Basic CSV importer and exporter
Thrown when an error relating to the shapefile
occurs
Class to represent the header of a Dbase III file.
A DbaseFileReader is used to read a dbase III format file.
A DbaseFileReader is used to read a dbase III format file.
Utility for formatting Dbase fields.
Manage DBFReader and DBFWriter
SHP Table factory.
This class is used to collect all data used to compute a mesh based on a
Delaunay triangulation
Manage additional table engines in H2.
When linked files are not available, this table index defines an empty table
When linked files are not available, this table defines an empty MV table
Common utilities used by the edit functions
A simple tuple to manage both input and output CRSes used to build a
CoordinateOperationExtrude mode specifies whether to connect the geometry to the ground.
FileEngine<Driver extends org.h2gis.api.FileDriver>
Implement theses abstract methods in order to define a file engine.
Computes the convex hull of a
Geometry.GeoJSON driver to import a GeoJSON file and export a spatial table in a
GeoJSON 1.0 file.
GeoJson fields used by the standard.
SQL function to read a GeoJSON file an creates the corresponding spatial
table.
Driver to import a GeoJSON file into a spatial table.
SQL function to write a spatial table to a GeoJSON file.
A simple GeoJSON driver to write a spatial table to a GeoJSON file.
This class is used to force the coordinate dimension of a geometry
This class is used to extrude a polygon or a linestring to a set of walls,
roof, or floor using a height.
Update the z value.
This class is used to convert a geojon geometry to a JTS geometry.
This class is used to convert a waypoint to a coordinate
This class is used to read a GPX file
This class giving is used to manage route and track data
This class stores field information for a standard GPX file.
Default parser.
Specific parser for routes.
Specific parser for tracks.
Specific parser for waypoints.
This class gives bvalues for every types of points (waypoint, routepoint
and trackpoint).
GpxPreparser class just reads the document.
SQL Function to copy GPX File data into a Table.
A factory to create the tables that are used to import GPX data
A class to manage all GPXTags used to parse the GPX and create the tables
GridRowSet is used to populate a result set with all grid cells.
Used to create quickly a database on unit tests.
Add H2GIS features to an H2 database
Execute the following sql to init spatial features :
Return the current version of H2GIS stored in the manifest
A MV table linked with a
FileDriverScanIndex of
FileDriver, the key is the row index [1-n].This class is requiring only field value on demand instead of gathering the full row values from drivers
Convert Hexadecimal string into an array of byte.
IndexFile parser for .shx files.
For now, the creation of index files is done in the ShapefileWriter.
For now, the creation of index files is done in the ShapefileWriter.
Utility methods to :
- import, export a file in a database (H2GIS, POSTGIS)
- export a table from another database (H2GIS, POSTGIS)
- link a file or table (H2GIS only)
SQL function to write a table to a JSON file.
JSON class to write a table or a resultset to a file
Return the current version of JTS
A driver to export spatial table to kml 2.2 file.
Tools to convert JTS geometry to KML representation
SQL Function to export a spatial table to a KML file.
KML writer
Operator to make a geometry valid.
An operation to compute the maximum distance between two geometries.
The default JTS handler for shapefile.
A class to manage the node element properties.
A class to manage all common element properties.
Parse an OSM file and store the elements into a database.
OSMPreParser class just reads the document.
SQL Function to copy OSM File data into a set of tables.
Class to create the tables to import osm data
An OSM file is stored in 10 tables
Commons elments used by the OSM format
Wrapper for a Shapefile point.
Wrapper for a Shapefile polygon.
A class to manage PRJ file
Thrown when an error relating to the shapefile
occures
The general use of this class is:
FileChannel in = new FileInputStream("thefile.dbf").getChannel();
ShapefileReader r = new ShapefileReader( in ) while (r.hasNext()) { Geometry
shape = (Geometry) r.nextRecord().shape() // do stuff } r.close();
You don't have to immediately ask for the shape from the record.
ShapefileWriter allows for the storage of geometries in esris shp format.
A ShapeHandler defines what is needed to construct and persist geometries
based upon the shapefile specification.
Not much but a type safe enumeration of file types as ints and names.
Merge ShapeFileReader and DBFReader.
Read/Write Shape files
SHP Table factory.
SQL Function to copy Shape File data into a Table.
SQL Function to read a table and write it into a shape file.
This class builds a registry based on a spatial_ref_sys table stored in the
H2 database.
Compute the 3D area of a polygon or a multiolygon.
ST_3DLength returns the 3D length (of a LineString) or the 3D perimeter (of a Polygon).
ST_3DPerimeter returns the 3D perimeter of a polygon or a multipolygon.
Construct an array of Geometries.
This function add a z value to the z component of (each vertex of) the
geometric parameter to the corresponding value given by a field.
Add a z value to each vertex of the Geometry.
Compute geometry area
Convert a geometry into Well Known Binary..
Transform a JTS geometry to a GeoJSON geometry representation.
Store a geometry as a GML representation
Convert a JTS geometry to a KML geometry representation.
Alias for
ST_AsWKTConvert a Geometry value into a Well Known Text value.
Returns the azimuth of the segment defined by the given Point geometries.
Get geometry boundary as geometry.
Compute the minimum bounding circle of a geometry.
Compute the minimum bounding circle center of a geometry
ST_Buffer computes a buffer around a Geometry.
Computes the centroid of this Geometry.
ST_ClosestCoordinate computes the closest coordinate(s) contained in the
given geometry starting from the given point, using the 2D distance.
ST_ClosestPoint returns the 2D point on geometry A that is closest to
geometry B.
Construct an array of Geometries.
ST_CompactnessRatio computes the perimeter of a circle whose area is equal to the
given polygon's area, and returns the ratio of this computed perimeter to the given
polygon's perimeter.
Returns polygons or lines that represent a Delaunay triangulation constructed
from a geometry.
Return true if Geometry A contains Geometry B.
Computes the smallest convex POLYGON that contains all the points in the
Geometry.
ST_CoordDim returns the dimension of the coordinates of the given geometry.
ST_Covers returns true if no point in geometry B is outside geometry A.
Return true if Geometry A crosses Geometry B.
Returns polygons that represent a Delaunay triangulation constructed from a
collection of points.
Densifies a geometry using the given distance tolerance.
Compute the difference between two Geometries.
Get dimension of a geometry 0 for a Point, 1 for a line and 2 for a polygon.
Return true if the two Geometries are disjoint.
For geometry type returns the 2-dimensional minimum Cartesian
distance between two geometries in projected units (spatial ref units)
For geometry type returns minimum distance in meters between two geometries
This function could be used to drape a geometry to a set of triangles
ST_DWithin returns true if the geometries are within the specified distance of one another.
Returns the last coordinate of a Geometry as a POINT, given that the
Geometry is a LINESTRING or a MULTILINESTRING containing only one
LINESTRING; Returns NULL for all other Geometries.
Get geometry envelope as geometry.
Return true if the envelope of Geometry A intersects the envelope of
Geometry B.
Return true if Geometry A is equal to Geometry B.
Estimated extent function based on the internal H2 ESTIMATED_ENVELOPE
Expands a geometry's envelope by the given delta X and delta Y.
This table function explode Geometry Collection into multiple geometries
Explode fields only on request
Explode fields only on request
The input data must be a SELECT expression that contains a geometry column
ST_Extent returns an
Envelope that cover all aggregated geometries.Returns a LinearRing instance or Null if parameter is not a Polygon.
ST_Extrude takes a LINESTRING or POLYGON as input and extends it to a 3D
representation, returning a geometry collection containing floor, ceiling
and wall geometries.
Find the UTM SRID code
Flip the X and Y coordinates of the geometry
Returns a version of the given geometry with X and Y axis flipped.
Forces a Geometry into 2D mode by returning a copy with
its z-coordinate set to NaN.
Forces a Geometry into 3D mode. z-coordinates set to 0 when z value is NaN, other z-coordinates are left untouched.
Forces a Geometry into 3DM mode by returning a copy with
If a geometry has no M component, then a 0 M coordinate is tacked on.
Forces a Geometry into 4D mode by returning a copy with
z set to 0 (other z-measure are left untouched).
ST_FurthestCoordinate computes the furthest coordinate(s) contained in the
given geometry starting from the given point, using the 2D distance.
This function is used to generate pseudo-random points
until the requested number are found within the input area
(polygon or multipolygon)
This function is used to generate pseudo-random points until the requested
number are found within the input area (polygon or multipolygon)
Return Geometry number n from the given GeometryCollection.
Compute the shadow footprint for a single geometry.
Return the type of geometry : ST_POINT, ST_LINESTRING, ST_POLYGON...
Returns the OGC SFS
GeometryTypeCodes of a Geometry.Read a GML representation and convert it to a geometry.
Convert a Well Known Text String into a Geometry instance.
Convert a WKB object to a geometry
List of supported layers for Google Map
Assigns integer node and edge ids to LINESTRING or MULTILINESTRING
geometries from a table named input, resulting in two new tables:
input_nodes and input_edges.
ST_Holes returns the given geometry or geometry collection's holes as a
GeometryCollection.
This function insert a point on geometry looking for the nearest coordinate segment
Returns a LinearRing instance or Null if parameter is not a Polygon.
Interpolate a 1 dimension geometry according its start and end z values.
Compute the intersection of two Geometries.
Return true if the geometry A intersects the geometry B
Returns 1 if a geometry has a z-coordinate, otherwise 0.
Return TRUE if the provided geometry is a closed LINESTRING or
MULTILINESTRING, null otherwise.
Test if the provided geometry is empty.
ST_Isovist
ST_Isovist takes LINESTRING(S) or POLYGON(S) as input and a maximum distance
(spatial ref units).
ST_IsRectangle returns true if the given geometry is a rectangle.
Return TRUE if the provided geometry is a closed and simple LINESTRING or
MULTILINESTRING; NULL otherwise.
Test if the provided geometry is simple.
ST_IsValid returns true if the given geometry is valid.
Returns a valid_detail (valid,reason,location) as an array of objects.
Returns text stating if a geometry is valid or not an if not valid, a reason why
Compute the geometry length.
Convert a WKT String into a LINESTRING.
Convert Well Known Binary into a LINESTRING.
LineIntersector is used to split an input geometry (LineString or MultiLineString) by
a set of geometries.
Merges a collection of linear components to form maximal-length linestrings.
ST_LocateAlong returns a MULTIPOINT containing points along the line
segments of the given geometry matching the specified segment length
fraction and offset distance.
Returns the 2-dimensional longest line between the points of two geometries.
Get the first M(easure) coordinate
ST_MakeEllipse constructs an elliptical POLYGON with the given width and
height centered at the given point.
Creates a rectangular POLYGON formed from the given x and y minima.
Create a regular grid based on a table or a geometry envelope.
Create a regular grid of points based on a table or a geometry envelope.
ST_MakeLine constructs a LINESTRING from POINT and MULTIPOINT geometries.
ST_MakePoint constructs POINT from two or three doubles.
Class to create a polygon
Function to make a geometry valid.
Compute the maximum distance between two geometries.
Compute the amount of memory space (in bytes) for the input value
PostGIS compatibility function alias.
Compute a minimum diameter for a given geometry
Gets the minimum rectangular POLYGON which encloses the input geometry.
Convert a WKT String into a MULTILINESTRING.
Convert a WKT String into a MULTIPOINT.
Convert a WKT String into a MULTIPOLYGON.
Multiply the z value of each vertex of the Geometry by a double value.
Converts this Geometry to normal form (canonical form)
Get the number of geometries inside a geometry collection
Alias for ST_NumInteriorRings.
Return the number of holes in a geometry
Get the number of points inside a geometry
Computes the octogonal envelope of a geometry.
Return an offset line at a given distance and side from an input geometry.
ST_OrderingEquals compares two geometries and t (TRUE) if the geometries are equal
and the coordinates are in the same order; otherwise it returns f (FALSE).
Alias for PostGIS
This function is used to download data from the osm api using a bounding box.
This class is used to generate an OSM map link URL from a geometry.
Return true if the geometry A overlaps the geometry B
ST_Perimeter returns the perimeter of a polygon or a multipolygon.
ST_Point constructs POINT from two or three doubles.
Convert a WKT String into a Point.
Convert Well Known Binary into a POINT.
Returns the nth point of a LINESTRING or a MULTILINESTRING containing
exactly one LINESTRING; NULL otherwise.
Get a Point that lie on the surface of a Surface Geometry.
Convert a WKT String into a POLYGON.
Convert Well Known Binary into Geometry then check that it is a Polygon
This function is used to compute the relation between two geometries, as
described in the SFS specification.
Remove duplicate coordinates in a geometry
Removes any holes from a polygon or multipolygon
Remove all points on a geometry that are located within a polygon.
Remove duplicated points on a geometry
Returns the geometry with vertex order reversed.
Returns a 1 dimension geometry with vertex order reversed according the start
and the end z values.
Compute a ring buffer around a geometry.
Compute a ring buffer on one side
ST_Rotate rotates a geometry by a given angle (in radians) about the
geometry's center.
ST_Scale scales the given geometry by multiplying the coordinates by the
indicated scale factors.
Return a new geometry with a replaced spatial reference id.
Returns the 2-dimensional shortest line between two geometries.
Compute a single buffer on one side.
Returns a simplified version of the given geometry using the Douglas-Peuker
algorithm.
Snaps two geometries together with a given tolerance
This function split a line by a line a line by a point a polygon by a line
Retrieve the SRID from an EWKB encoded geometry.
Returns the first coordinate of a Geometry as a POINT, given that the
Geometry is a LINESTRING or a MULTILINESTRING containing only one
LINESTRING; Returns NULL for all other Geometries.
Compute the sun position and return a new coordinate with x = azimuth and y = altitude
This function will be used to compute the Sky View Factor based on geometries
Compute the symmetric difference between two Geometries.
Tessellate a set of Polygon with adaptive triangles.
ST_ToMultiLine constructs a MultiLineString from the given geometry's
coordinates.
ST_ToMultiPoint constructs a MultiPoint from the given geometry's coordinates.
ST_ToMultiSegments converts a geometry into a set of distinct segments
stored in a MultiLineString.
Return true if the geometry A touches the geometry B
This class is used to transform a geometry from one CRS to another.
A simple cache to manage
CoordinateOperationThis method is used to apply a
CoordinateOperation to a geometry.Translates a geometry using X, Y (and possibly Z) offsets.
This function is used to compute the aspect of a triangle.
Split triangle into area within the specified range values.
*********************************
ANR EvalPDU
IFSTTAR 11_05_2011
This function is used to compute the main slope direction on a triangle.
This function is used to compute the slope direction of a triangle.
Compute the union of two or more Geometries.
This function replace the z component of (each vertex of) the geometric
parameter to the corresponding value given by a field.
ST_VariableBuffer computes a buffer around a Geometry with a start and end distance
Return true if the geometry A is within the geometry B
Get the first X coordinate
ST_XMax returns the maximal x-value of the given geometry.
ST_XMin returns the minimal x-value of the given geometry.
Get the first Y coordinate
ST_YMax returns the maximal y-value of the given geometry.
ST_YMin returns the minimal y-value of the given geometry.
Get the first Z coordinate
ST_ZMax returns the maximal z-value of the given geometry.
ST_ZMin returns the minimal z-value of the given geometry.
This class is a stack to keep in memory the structure of the GPX file.
This class is a partial Java port of SunCalc.
A class to specify the category of the element.
A factory used to create triangles from JTS geometries.
This driver allow to import and export the Tab Separated Values (TSV): a
format for tabular data exchange
A file in TSV format consists of lines.
Read a Tab-separated values file
Write a Tab-separated values file
Function to update the SRID of a geometry column
This class is used to force the coordinate dimension of a geometry
to 3 and update the z value
A class to manage the way element properties.
Class to write files using nio.
Applies a 3D affine transformation to a geometry.