Abstract base class; normally only used for creating subclasses and not instantiated in apps. Base class for vector geometries.
Classes
Namespaces
Methods
-
<static> createFromType()
-
Create a geometry given a type and coordinates
-
<static> GPAltiCode(geom, options)
-
French Geoportail alti coding
Parameters:
Name Type Description geomol.geom.Geometry optionsObject Properties
Name Type Argument Default Description projectionol/proj~ProjectionLike <optional>
'EPSG:3857' geometry projection, default 'EPSG:3857'
samplingnumber <optional>
0 number of resulting point, max 5000, if none keep input points or use samplingDist
samplingDistnumber <optional>
0 distance for sampling the line or use sampling if lesser
minZnumber <optional>
-99 min altitude (for undefined measures)
successstring a function that takes the resulting XYZ geometry
errorstring -
<static> scribbleFill(geom, options)
-
Calculate a MultiPolyline to fill a geomatry (Polygon or MultiPolygon) with a scribble effect that appears hand-made
Parameters:
Name Type Description geomol.geom.Geometry the geometry to scribble
optionsObject Properties
Name Type Description intervalNumber interval beetween lines
angleNumber hatch angle in radian, default PI/2
Returns:
the resulting MultiLineString geometry or initial geometry
- Type
- ol.geom.Geometry