Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- activateAllLayers() - Method in class dev.avelar.mapnik.MapnikMap
-
Turn every layer back on.
- add(Feature) - Method in class dev.avelar.mapnik.MemoryDatasource
-
Add a feature.
- add(Geometry) - Method in class dev.avelar.mapnik.MemoryDatasource
-
Add a geometry with no attributes.
- add(Geometry, Map<String, ?>) - Method in class dev.avelar.mapnik.MemoryDatasource
-
Add a geometry with attributes.
- add(Rule...) - Method in class dev.avelar.mapnik.Style
- add(Symbolizer...) - Method in class dev.avelar.mapnik.GroupRule
- add(Symbolizer...) - Method in class dev.avelar.mapnik.Rule
- addAll(Iterable<Feature>) - Method in class dev.avelar.mapnik.MemoryDatasource
- addChild(Layer) - Method in class dev.avelar.mapnik.Layer
-
Add a copy of
childunder this layer, to group layers. - addFontSet(FontSet) - Method in class dev.avelar.mapnik.MapnikMap
-
Add a font set for text symbolizers to use with
fontset-name. - addGeoJson(String) - Method in class dev.avelar.mapnik.MemoryDatasource
-
Add every feature of a GeoJSON FeatureCollection or Feature, read as by
Feature.listFromGeoJson(String). - addLayer(Layer) - Method in class dev.avelar.mapnik.MapnikMap
-
Add a copy of
layeron top of the existing layers. - addStyle(Style) - Method in class dev.avelar.mapnik.MapnikMap
-
Add a style built in code, checked by Mapnik's strict XML loader.
- addStyle(Style, boolean) - Method in class dev.avelar.mapnik.MapnikMap
- addStyle(String) - Method in class dev.avelar.mapnik.Layer
- ADJUST_BBOX_HEIGHT - Enum constant in enum class dev.avelar.mapnik.AspectFixMode
-
Adjust the box's height; leave its width and the map size.
- ADJUST_BBOX_WIDTH - Enum constant in enum class dev.avelar.mapnik.AspectFixMode
-
Adjust the box's width; leave its height and the map size.
- ADJUST_CANVAS_HEIGHT - Enum constant in enum class dev.avelar.mapnik.AspectFixMode
-
Adjust the map's height; leave its width and the box.
- ADJUST_CANVAS_WIDTH - Enum constant in enum class dev.avelar.mapnik.AspectFixMode
-
Adjust the map's width; leave its height and the box.
- ADOBE_DEFLATE - Enum constant in enum class dev.avelar.mapnik.ImageFormat.TiffCompression
- ALL - Enum constant in enum class dev.avelar.mapnik.Style.FilterMode
- allowOverlap(boolean) - Method in class dev.avelar.mapnik.Symbolizer
- alpha() - Method in class dev.avelar.mapnik.Color
-
Alpha from 0 (transparent) to 255 (opaque).
- alpha(boolean) - Method in class dev.avelar.mapnik.ImageFormat
-
WebP: keep (true) or drop (false) the alpha channel.
- ALPHA_LEVELS - Enum constant in enum class dev.avelar.mapnik.ImageFormat.Transparency
-
Keep several levels of alpha in the palette (Mapnik's default).
- alsoFilter() - Method in class dev.avelar.mapnik.Rule
-
Matches only features that an earlier rule in the style already matched: the opposite of
Rule.elseFilter(). - ALTERNATING_GRID - Enum constant in enum class dev.avelar.mapnik.Symbolizer.LabelPlacement
-
On a grid with every other row shifted.
- applyOpacity(double) - Method in class dev.avelar.mapnik.Image
-
Multiply every pixel's alpha by
opacity, from 0 to 1. - areaOfUse() - Method in class dev.avelar.mapnik.Projection
-
The geographic area the projection is meant for, if known, as longitude/latitude degrees.
- aspectFixMode() - Method in class dev.avelar.mapnik.MapnikMap
- AspectFixMode - Enum Class in dev.avelar.mapnik
-
What
MapnikMap.zoomToBox(double, double, double, double)does when the requested box does not have the same aspect ratio as the map's pixel size. - attr(String, Object) - Method in class dev.avelar.mapnik.Symbolizer
-
Set any attribute.
- attr(String, Object) - Method in class dev.avelar.mapnik.TextFormat
-
Set any attribute of a
<Format>element. - attr(String, Object) - Method in class dev.avelar.mapnik.TextPlacement
-
Set any attribute of a
<Placement>element, such assize,dx,dyorwrap-width. - attribute(String) - Method in class dev.avelar.mapnik.Feature
-
One attribute, or null if it is missing or null.
- attribute(String) - Method in class dev.avelar.mapnik.Symbolizer
-
One attribute's value, or empty if it is not set.
- attributes() - Method in class dev.avelar.mapnik.Feature
-
Attributes by name, in name order.
- attributes() - Method in class dev.avelar.mapnik.Style
-
The style's own attributes, such as
opacityandcomp-op, as written. - attributes() - Method in class dev.avelar.mapnik.Symbolizer
-
The attributes set so far, in the order they were set.
- attributesAt(int, int) - Method in class dev.avelar.mapnik.UtfGrid
-
The attributes of the feature at a pixel, or an empty map where there is none.
- available() - Method in class dev.avelar.mapnik.MapPool
-
The number of maps free right now.
- available() - Method in class dev.avelar.mapnik.MapPool.Stats
-
Maps free right now.
- averageWaitNanos() - Method in class dev.avelar.mapnik.MapPool.Stats
-
Average wait per borrow, in nanoseconds; 0 before any borrow.
- avoidEdges(boolean) - Method in class dev.avelar.mapnik.Symbolizer
-
Text: do not draw labels that would be cut by the edge of the map or tile.
B
- background() - Method in class dev.avelar.mapnik.MapnikMap
-
The background colour as Mapnik prints it, for example
rgb(255,255,255)orrgba(0,0,255,0.5), if set. - backgroundImage() - Method in class dev.avelar.mapnik.MapnikMap
- backgroundImageCompOp() - Method in class dev.avelar.mapnik.MapnikMap
-
How the background image is blended onto the background colour, by name, such as
multiply. - backgroundImageOpacity() - Method in class dev.avelar.mapnik.MapnikMap
- backward(double, double) - Method in class dev.avelar.mapnik.CoordinateTransform
-
A point from the destination projection back to the source projection.
- backward(Box2d) - Method in class dev.avelar.mapnik.CoordinateTransform
-
A box from the destination back to the source projection.
- backward(Box2d, int) - Method in class dev.avelar.mapnik.CoordinateTransform
- backward(Point2d) - Method in class dev.avelar.mapnik.CoordinateTransform
- basePath() - Method in class dev.avelar.mapnik.MapnikMap
- bbox() - Method in class dev.avelar.mapnik.FeatureRequest
-
The area wanted, in the datasource's projection (the layer's).
- BESSEL - Enum constant in enum class dev.avelar.mapnik.ScalingMethod
- between(Projection, Projection) - Static method in class dev.avelar.mapnik.CoordinateTransform
-
A transform between two projections.
- between(String, String) - Static method in class dev.avelar.mapnik.CoordinateTransform
-
A transform between two projections given as
epsg:<code>or PROJ strings. - BICUBIC - Enum constant in enum class dev.avelar.mapnik.ScalingMethod
- BILINEAR - Enum constant in enum class dev.avelar.mapnik.ScalingMethod
- BINARY - Enum constant in enum class dev.avelar.mapnik.ImageFormat.Transparency
-
Pixels are either fully transparent or opaque: smaller, and works where partial transparency does not.
- BLACK - Static variable in class dev.avelar.mapnik.Color
- BLACKMAN - Enum constant in enum class dev.avelar.mapnik.ScalingMethod
- BlendMode - Enum Class in dev.avelar.mapnik
-
How one image or layer is blended onto another.
- blue() - Method in class dev.avelar.mapnik.Color
- blur() - Static method in class dev.avelar.mapnik.ImageFilters
- body() - Method in class dev.avelar.mapnik.Symbolizer
-
The text inside the element, such as the expression of a text symbolizer, if it has any.
- BOOLEAN - Enum constant in enum class dev.avelar.mapnik.Datasource.FieldType
- borrow() - Method in class dev.avelar.mapnik.MapPool
-
Wait for a free map.
- borrow(long, TimeUnit) - Method in class dev.avelar.mapnik.MapPool
-
Wait up to
timeoutfor a free map; throwsTimeoutExceptionif none comes free. - borrowed() - Method in class dev.avelar.mapnik.MapPool.Stats
-
Maps borrowed right now.
- borrows() - Method in class dev.avelar.mapnik.MapPool.Stats
-
Maps handed out so far.
- bounds() - Method in class dev.avelar.mapnik.Marker
-
The area the drawing covers, in the file's own units.
- bounds() - Method in class dev.avelar.mapnik.Tiles.Tile
-
The tile's area in Web Mercator metres.
- bounds(int, int, int) - Static method in class dev.avelar.mapnik.Tiles
-
The area of tile (z, x, y) in Web Mercator metres.
- Box2d - Class in dev.avelar.mapnik
-
An axis-aligned bounding box, in the units of whatever projection it is used with.
- Box2d(double, double, double, double) - Constructor for class dev.avelar.mapnik.Box2d
- bufferedExtent() - Method in class dev.avelar.mapnik.MapnikMap
-
MapnikMap.extent()grown by the buffer size. - bufferSize() - Method in class dev.avelar.mapnik.Layer
-
Buffer around the layer's tiles in pixels, if set.
- bufferSize() - Method in class dev.avelar.mapnik.MapnikMap
-
Extra pixels rendered around the map so labels and symbols at the edge are not cut off.
- build() - Method in class dev.avelar.mapnik.MapPool.Builder
- builder(int, int, int) - Static method in class dev.avelar.mapnik.MapPool
-
Start building a pool of
sizemaps ofwidthbyheightpixels. - building() - Static method in class dev.avelar.mapnik.Symbolizer
-
Extrude polygons into simple 3D buildings.
- bundledDirectory() - Static method in class dev.avelar.mapnik.Mapnik
-
The directory the bundle was unpacked to, or null if the natives are not bundled.
C
- cachesFeatures() - Method in class dev.avelar.mapnik.Layer
- CAIRO - Enum constant in enum class dev.avelar.mapnik.Capability
-
PDF, SVG and PostScript output.
- capabilities() - Static method in class dev.avelar.mapnik.Mapnik
-
What this Mapnik was built with.
- Capability - Enum Class in dev.avelar.mapnik
-
Something a Mapnik build may or may not include.
- CATROM - Enum constant in enum class dev.avelar.mapnik.ScalingMethod
- centroid() - Method in class dev.avelar.mapnik.Geometry
-
The centre of mass.
- characterSpacing(double) - Method in class dev.avelar.mapnik.TextFormat
- check(String) - Static method in class dev.avelar.mapnik.Transforms
-
Throws
MapnikExceptionwith Mapnik's message iftransformdoes not parse. - child(String) - Method in class dev.avelar.mapnik.Symbolizer
-
Add a nested XML element, for symbolizers that take them, such as the colorizer of a raster symbolizer or a text placement.
- childCopy(int) - Method in class dev.avelar.mapnik.Layer
-
A copy of the child at
index, which you own and should close. - childCount() - Method in class dev.avelar.mapnik.Layer
- children() - Method in class dev.avelar.mapnik.Symbolizer
-
Nested elements as XML text, in order.
- children() - Method in class dev.avelar.mapnik.Tiles.Tile
-
The four tiles one zoom in, top left, top right, bottom left, bottom right.
- clear() - Method in class dev.avelar.mapnik.MemoryDatasource
-
Remove every feature.
- CLEAR - Enum constant in enum class dev.avelar.mapnik.BlendMode
- clearCaches() - Static method in class dev.avelar.mapnik.Mapnik
-
Drop cached marker images and memory-mapped files.
- clearObjectSeverities() - Static method in class dev.avelar.mapnik.Logging
-
Forget every per-object severity set with
Logging.setSeverity(String, Severity). - clearsLabelCache() - Method in class dev.avelar.mapnik.Layer
- close() - Method in class dev.avelar.mapnik.CoordinateTransform
- close() - Method in class dev.avelar.mapnik.Datasource
-
Release this handle.
- close() - Method in class dev.avelar.mapnik.Expression
- close() - Method in class dev.avelar.mapnik.Featureset
- close() - Method in class dev.avelar.mapnik.GrayImage
- close() - Method in class dev.avelar.mapnik.Image
- close() - Method in class dev.avelar.mapnik.Layer
-
Frees a layer made with
Layer.create(java.lang.String). - close() - Method in class dev.avelar.mapnik.MapnikMap
- close() - Method in class dev.avelar.mapnik.MapPool
-
Close the free maps now and the borrowed ones as they come back.
- close() - Method in class dev.avelar.mapnik.MapPool.Lease
- close() - Method in class dev.avelar.mapnik.PathExpression
- close() - Method in class dev.avelar.mapnik.Projection
- closestPoint(double, double) - Method in class dev.avelar.mapnik.Geometry
-
The point of this geometry nearest to (x, y), with its distance.
- collection(Geometry...) - Static method in class dev.avelar.mapnik.Geometry
- COLLECTION - Enum constant in enum class dev.avelar.mapnik.Datasource.GeometryType
- Color - Class in dev.avelar.mapnik
-
An RGBA colour with 8 bits per channel.
- Color(int, int, int, int) - Constructor for class dev.avelar.mapnik.Color
-
Each channel from 0 to 255.
- COLOR - Enum constant in enum class dev.avelar.mapnik.BlendMode
- COLOR_BURN - Enum constant in enum class dev.avelar.mapnik.BlendMode
- COLOR_DODGE - Enum constant in enum class dev.avelar.mapnik.BlendMode
- colorBlindDeuteranope() - Static method in class dev.avelar.mapnik.ImageFilters
- colorBlindProtanope() - Static method in class dev.avelar.mapnik.ImageFilters
- colorBlindTritanope() - Static method in class dev.avelar.mapnik.ImageFilters
- colorize(GrayImage) - Method in class dev.avelar.mapnik.RasterColorizer
-
Colour a single-band image with these stops, as the raster symbolizer would.
- colorize(RasterColorizer) - Method in class dev.avelar.mapnik.GrayImage
-
Colour the image with the stops of
colorizer. - colorize(RasterColorizer, Double) - Method in class dev.avelar.mapnik.GrayImage
-
As
GrayImage.colorize(RasterColorizer); pixels equal tonodataget the colorizer's default colour. - colorizer(RasterColorizer) - Method in class dev.avelar.mapnik.Symbolizer
-
Colour a single-band raster by value.
- colors(int) - Method in class dev.avelar.mapnik.ImageFormat
-
PNG8: the number of colours in the palette, from 1 to 256.
- colorToAlpha(Color) - Method in class dev.avelar.mapnik.Image
-
Make pixels of this colour transparent.
- colorToAlpha(Color) - Static method in class dev.avelar.mapnik.ImageFilters
- colorToAlpha(String) - Static method in class dev.avelar.mapnik.ImageFilters
-
Make this colour transparent.
- column() - Method in exception dev.avelar.mapnik.MapLoadException
-
The column, counting from 1, or -1 if Mapnik gave none (it usually does not).
- columns() - Method in class dev.avelar.mapnik.UtfGrid
-
Cells across and down.
- compOp() - Method in class dev.avelar.mapnik.Layer
-
How this layer is blended onto what is below it, by the name used in styles, such as
multiply,screenorsrc-over. - compOp(BlendMode) - Method in class dev.avelar.mapnik.Style
- compOp(BlendMode) - Method in class dev.avelar.mapnik.Symbolizer
- compOp(String) - Method in class dev.avelar.mapnik.Style
-
Compositing mode used when the style's layer is blended onto the map, such as
multiply. - compOp(String) - Method in class dev.avelar.mapnik.Symbolizer
-
Compositing mode, such as
multiplyorscreen. - composite(Image, int, int) - Method in class dev.avelar.mapnik.Image
-
Draw
sourceonto this image with normal blending, its top left corner at (dx, dy). - composite(Image, BlendMode, double, int, int) - Method in class dev.avelar.mapnik.Image
-
Draw
sourceonto this image at (dx, dy) with a blend mode and an opacity from 0 to 1. - compression(int) - Method in class dev.avelar.mapnik.ImageFormat
-
PNG and PNG8: zlib compression level, from -1 (zlib's default) or 0 (none) to 9 (smallest, slowest).
- compression(ImageFormat.TiffCompression) - Method in class dev.avelar.mapnik.ImageFormat
- CONTRAST - Enum constant in enum class dev.avelar.mapnik.BlendMode
- coordinates() - Method in class dev.avelar.mapnik.Geometry.LineString
-
The points as x0, y0, x1, y1, ...
- coordinates() - Method in class dev.avelar.mapnik.Geometry.MultiPoint
- CoordinateTransform - Class in dev.avelar.mapnik
-
Converts points and boxes from a source projection to a destination projection, and back.
- copy() - Method in class dev.avelar.mapnik.Image
-
An independent copy.
- corrected() - Method in class dev.avelar.mapnik.Geometry
-
A copy with polygon rings wound consistently: exteriors counter-clockwise, holes clockwise.
- covering(Box2d, int) - Static method in class dev.avelar.mapnik.Tiles
-
Every tile at a zoom that touches a box given in degrees, row by row from the top left.
- create() - Static method in class dev.avelar.mapnik.GroupRule
- create() - Static method in class dev.avelar.mapnik.MemoryDatasource
-
An empty memory datasource.
- create() - Static method in class dev.avelar.mapnik.RasterColorizer
- create() - Static method in class dev.avelar.mapnik.Rule
- create() - Static method in class dev.avelar.mapnik.TextPlacement
- create(int, int) - Static method in class dev.avelar.mapnik.Image
-
A new fully transparent image.
- create(long, Geometry) - Static method in class dev.avelar.mapnik.Feature
- create(long, Geometry, Map<String, ?>) - Static method in class dev.avelar.mapnik.Feature
-
Build a feature.
- create(FeatureSource, Box2d) - Static method in class dev.avelar.mapnik.JavaDatasource
-
Create one.
- create(FeatureSource, Box2d, List<Datasource.Field>) - Static method in class dev.avelar.mapnik.JavaDatasource
-
As
JavaDatasource.create(FeatureSource, Box2d), also declaring the attribute columns, which show up inDatasource.fields(). - create(GrayImage.Type, int, int) - Static method in class dev.avelar.mapnik.GrayImage
-
A new image with every pixel 0.
- create(GrayImage.Type, int, int, double) - Static method in class dev.avelar.mapnik.GrayImage
-
A new image with every pixel set to
initial. - create(String) - Static method in class dev.avelar.mapnik.Layer
-
A new standalone layer in EPSG:4326.
- create(String) - Static method in class dev.avelar.mapnik.Style
- create(String, String) - Static method in class dev.avelar.mapnik.Layer
-
A new standalone layer.
- create(String, String...) - Static method in class dev.avelar.mapnik.FontSet
- create(Map<String, ?>) - Static method in class dev.avelar.mapnik.Datasource
-
Create a datasource.
- crop(int, int, int, int) - Method in class dev.avelar.mapnik.Image
-
A copy of part of this image.
D
- DARKEN - Enum constant in enum class dev.avelar.mapnik.BlendMode
- data(String) - Method in class dev.avelar.mapnik.UtfGrid
-
The attribute data for one feature, or null if there is none for that key.
- datasource() - Method in class dev.avelar.mapnik.Layer
-
A new handle onto the layer's datasource, which you should close, or empty if there is none.
- Datasource - Class in dev.avelar.mapnik
-
A Mapnik datasource, such as a shapefile or a GeoJSON file.
- Datasource.Field - Class in dev.avelar.mapnik
-
A named attribute column.
- Datasource.FieldType - Enum Class in dev.avelar.mapnik
- Datasource.GeometryType - Enum Class in dev.avelar.mapnik
- Datasource.Type - Enum Class in dev.avelar.mapnik
- datasourcePluginDirectories() - Static method in class dev.avelar.mapnik.Mapnik
-
The directories plugins were registered from, separated by colons.
- datasourcePlugins() - Static method in class dev.avelar.mapnik.Mapnik
-
Names of the registered input plugins, for example
geojsonandshape. - debug() - Static method in class dev.avelar.mapnik.Symbolizer
-
Draw the collision boxes Mapnik computes, for debugging label placement.
- DEBUG - Enum constant in enum class dev.avelar.mapnik.Logging.Severity
- declaredHeight() - Method in class dev.avelar.mapnik.Marker
- declaredWidth() - Method in class dev.avelar.mapnik.Marker
-
The width the file declares, such as the
widthattribute of an SVG. - DEFAULT - Enum constant in enum class dev.avelar.mapnik.ImageFormat.PngStrategy
- defaultColor(Color) - Method in class dev.avelar.mapnik.RasterColorizer
- defaultColor(String) - Method in class dev.avelar.mapnik.RasterColorizer
-
The colour for values below the first stop and for missing data.
- defaultMode(RasterColorizer.Mode) - Method in class dev.avelar.mapnik.RasterColorizer
-
The mode for stops that do not set their own.
- defaults() - Static method in class dev.avelar.mapnik.RenderOptions
-
Scale factor 1, no offset.
- definition() - Method in class dev.avelar.mapnik.Projection
-
The PROJ definition.
- DEFLATE - Enum constant in enum class dev.avelar.mapnik.ImageFormat.TiffCompression
- description() - Method in class dev.avelar.mapnik.Projection
-
A human-readable name, for example
WGS 84. - dev.avelar.mapnik - package dev.avelar.mapnik
- DIFFERENCE - Enum constant in enum class dev.avelar.mapnik.BlendMode
- DISCRETE - Enum constant in enum class dev.avelar.mapnik.RasterColorizer.Mode
-
Each value takes the colour of the stop at or below it.
- displacement(double, double) - Method in class dev.avelar.mapnik.Symbolizer
-
Text: shift the label by this many pixels.
- distance() - Method in class dev.avelar.mapnik.Geometry.Nearest
-
The distance from the location to
Geometry.Nearest.point(), in the geometry's units. - DIVIDE - Enum constant in enum class dev.avelar.mapnik.BlendMode
- dot() - Static method in class dev.avelar.mapnik.Symbolizer
-
Draw a dot at each point.
- DOUBLE - Enum constant in enum class dev.avelar.mapnik.Datasource.FieldType
- DOUGLAS_PEUCKER - Enum constant in enum class dev.avelar.mapnik.SimplifyAlgorithm
-
Keeps points that deviate from a straight run by more than the tolerance.
- DST - Enum constant in enum class dev.avelar.mapnik.BlendMode
- DST_ATOP - Enum constant in enum class dev.avelar.mapnik.BlendMode
- DST_IN - Enum constant in enum class dev.avelar.mapnik.BlendMode
- DST_OUT - Enum constant in enum class dev.avelar.mapnik.BlendMode
- DST_OVER - Enum constant in enum class dev.avelar.mapnik.BlendMode
E
- EAST - Enum constant in enum class dev.avelar.mapnik.Symbolizer.Position
- edgeDetect() - Static method in class dev.avelar.mapnik.ImageFilters
- effort(int) - Method in class dev.avelar.mapnik.ImageFormat
-
WebP: how hard the encoder works, from 0 (fast) to 6 (smallest).
- element() - Method in exception dev.avelar.mapnik.MapLoadException
-
The XML element the problem was in, such as
PolygonSymbolizer, or null. - element() - Method in class dev.avelar.mapnik.Symbolizer
-
The element name, for example
PolygonSymbolizer. - elseFilter() - Method in class dev.avelar.mapnik.Rule
-
Matches features that no earlier rule in the style matched.
- emboss() - Static method in class dev.avelar.mapnik.ImageFilters
- empty() - Static method in class dev.avelar.mapnik.Geometry
-
A geometry with nothing in it: an empty collection.
- enableProjNetwork(boolean) - Static method in class dev.avelar.mapnik.Mapnik
-
Let PROJ download the datum-shift grids it needs but does not have (for example to convert NAD27 to NAD83 exactly) from its content network, and keep them in its cache.
- encoding() - Method in class dev.avelar.mapnik.Datasource
-
The text encoding of attribute data, for example
utf-8. - envelope() - Method in class dev.avelar.mapnik.Datasource
-
The extent of the data, in the datasource's own projection.
- envelope() - Method in class dev.avelar.mapnik.Feature
-
Bounding box of the geometry, in the datasource's projection.
- envelope() - Method in class dev.avelar.mapnik.Geometry
-
The bounding box, or null if the geometry is empty.
- envelope() - Method in class dev.avelar.mapnik.Layer
-
The extent of the layer's data, in the layer's projection.
- epsilon(double) - Method in class dev.avelar.mapnik.RasterColorizer
-
How close a value must be to a stop to count as equal, in
RasterColorizer.Mode.EXACTmode. - equals(Object) - Method in class dev.avelar.mapnik.Box2d
- equals(Object) - Method in class dev.avelar.mapnik.Color
- equals(Object) - Method in class dev.avelar.mapnik.Geometry
- equals(Object) - Method in class dev.avelar.mapnik.Point2d
- equals(Object) - Method in class dev.avelar.mapnik.Tiles.Tile
- ERROR - Enum constant in enum class dev.avelar.mapnik.Logging.Severity
- evaluate(Feature) - Method in class dev.avelar.mapnik.Expression
-
Evaluate against a feature.
- evaluate(Feature) - Method in class dev.avelar.mapnik.PathExpression
-
The pattern with the feature's attributes filled in.
- evaluate(Feature, Map<String, ?>) - Method in class dev.avelar.mapnik.Expression
-
As
Expression.evaluate(Feature), with values for the@namevariables the expression uses. - EXACT - Enum constant in enum class dev.avelar.mapnik.RasterColorizer.Mode
-
Only values equal to a stop are coloured.
- EXACT - Enum constant in enum class dev.avelar.mapnik.Symbolizer.Position
- EXCLUSION - Enum constant in enum class dev.avelar.mapnik.BlendMode
- expectedVersion() - Static method in class dev.avelar.mapnik.Mapnik
-
Version of Mapnik this wrapper release was built and tested against.
- Expression - Class in dev.avelar.mapnik
-
A parsed expression in Mapnik's expression language, the one used in rule filters and text labels:
[population] > 1000 and [kind] = 'city',[name] + ' (' + [pop] + ')',[elevation] * 3.28084. - extent() - Method in class dev.avelar.mapnik.MapnikMap
-
The extent currently shown, in the map's projection.
- extent() - Method in class dev.avelar.mapnik.RasterGrid
-
The area the grid covers, in its projection, or null if the file does not say.
- exterior() - Method in class dev.avelar.mapnik.Geometry.Polygon
-
The exterior ring as x0, y0, x1, y1, ...
F
- faceName(String) - Method in class dev.avelar.mapnik.Symbolizer
-
Text: the font face, for example
"DejaVu Sans Book". - faceName(String) - Method in class dev.avelar.mapnik.TextFormat
- faces() - Method in class dev.avelar.mapnik.FontSet
- Feature - Class in dev.avelar.mapnik
-
One feature: an id, named attributes and a geometry.
- FeatureQuery - Class in dev.avelar.mapnik
-
What to ask a
Datasourcefor: an area, optionally a resolution, scale and attribute list. - FeatureRequest - Class in dev.avelar.mapnik
-
What Mapnik is asking a
FeatureSourcefor. - features(Box2d) - Method in class dev.avelar.mapnik.Datasource
-
Features whose bounding box touches
box. - features(FeatureQuery) - Method in class dev.avelar.mapnik.Datasource
-
Features matching the query.
- features(FeatureRequest) - Method in interface dev.avelar.mapnik.FeatureSource
-
Features that touch the requested area.
- featuresAtPoint(double, double, double) - Method in class dev.avelar.mapnik.Datasource
-
Features within
toleranceof a point, in the datasource's projection. - Featureset - Class in dev.avelar.mapnik
-
A stream of features from a query.
- FeatureSource - Interface in dev.avelar.mapnik
-
Supplies features to a
JavaDatasourcewhen Mapnik asks for them. - fields() - Method in class dev.avelar.mapnik.Datasource
-
Attribute columns.
- file() - Method in exception dev.avelar.mapnik.MapLoadException
-
The XML file, when Mapnik named it, or null.
- fill(Color) - Method in class dev.avelar.mapnik.Image
- fill(Color) - Method in class dev.avelar.mapnik.Symbolizer
- fill(Color) - Method in class dev.avelar.mapnik.TextFormat
- fill(String) - Method in class dev.avelar.mapnik.Image
-
Set every pixel: a colour name,
"#rrggbb"or"rgba(r,g,b,a)". - fill(String) - Method in class dev.avelar.mapnik.Symbolizer
-
Fill colour: a name,
#rrggbborrgba(r,g,b,a). - fill(String) - Method in class dev.avelar.mapnik.TextFormat
- fillOpacity(double) - Method in class dev.avelar.mapnik.Symbolizer
- filter(double, String...) - Method in class dev.avelar.mapnik.Image
-
As
Image.filter(String...), with a scale factor for sizes inside the filters, as inRenderOptions. - filter(String) - Method in class dev.avelar.mapnik.GroupRule
-
Only members of the group matching this expression, in Mapnik's expression language.
- filter(String) - Method in class dev.avelar.mapnik.Rule
-
Only features matching this expression, in Mapnik's expression language, for example
"[population] > 100000 and [kind] = 'city'". - filter(String...) - Method in class dev.avelar.mapnik.Image
-
Apply Mapnik image filters in place, in order.
- FILTERED - Enum constant in enum class dev.avelar.mapnik.ImageFormat.PngStrategy
- filterExpression() - Method in class dev.avelar.mapnik.Rule
-
The filter expression, if the rule has one.
- filterMode(Style.FilterMode) - Method in class dev.avelar.mapnik.Style
- FIRST - Enum constant in enum class dev.avelar.mapnik.Style.FilterMode
- FIXED - Enum constant in enum class dev.avelar.mapnik.ImageFormat.PngStrategy
- FLOAT - Enum constant in enum class dev.avelar.mapnik.Datasource.FieldType
- FLOAT32 - Enum constant in enum class dev.avelar.mapnik.GrayImage.Type
- FLOAT64 - Enum constant in enum class dev.avelar.mapnik.GrayImage.Type
- fontDirectory() - Method in class dev.avelar.mapnik.MapnikMap
-
The directory set for fonts on this map, if any.
- fontFaces() - Static method in class dev.avelar.mapnik.Mapnik
-
Names of every font face registered in this process, sorted, for use as
face-name. - fontFeatureSettings(String) - Method in class dev.avelar.mapnik.Symbolizer
-
Text: OpenType features, for example
"liga=0, smcp". - fontFile(String) - Static method in class dev.avelar.mapnik.Mapnik
-
The font file that provides a face, or empty if no registered face has that name.
- FontSet - Class in dev.avelar.mapnik
-
A list of font faces to try in order, so text falls back to the next one for characters a font lacks.
- fontSize(double) - Method in class dev.avelar.mapnik.Symbolizer
-
Text: the font size in pixels.
- fontSize(double) - Method in class dev.avelar.mapnik.TextFormat
- fontSize(double) - Method in class dev.avelar.mapnik.TextPlacement
-
This alternative uses a different font size.
- format() - Method in class dev.avelar.mapnik.Image.Info
-
png,jpeg,tiff,webp, orunknown. - format() - Static method in class dev.avelar.mapnik.Logging
-
The line format, which uses
%Y-%m-%d %H:%M:%Sstyle time codes. - formattedText(TextFormat...) - Static method in class dev.avelar.mapnik.Symbolizer
-
Draw text made of several runs, each with its own look.
- forward(double, double) - Method in class dev.avelar.mapnik.CoordinateTransform
-
A point from the source projection to the destination projection.
- forward(double, double) - Method in class dev.avelar.mapnik.Projection
-
Geographic (x = longitude, y = latitude) to this projection's coordinates.
- forward(Box2d) - Method in class dev.avelar.mapnik.CoordinateTransform
-
A box from the source to the destination projection: the bounds of its four transformed corners.
- forward(Box2d, int) - Method in class dev.avelar.mapnik.CoordinateTransform
-
Like
CoordinateTransform.forward(Box2d), but also samplespointsPerEdgepoints along each edge, so the result covers edges that bulge when projected. - forward(Point2d) - Method in class dev.avelar.mapnik.CoordinateTransform
- fromArgb(int) - Static method in class dev.avelar.mapnik.Color
-
From
0xAARRGGBB, the layout ofImage.getArgb(int, int). - fromBufferedImage(BufferedImage) - Static method in class dev.avelar.mapnik.Image
-
A new image with the pixels of any
BufferedImage, converted to straight ARGB. - fromGeoJson(String) - Static method in class dev.avelar.mapnik.Feature
-
As
Feature.fromGeoJson(String, long), with id 1 if the feature has none. - fromGeoJson(String) - Static method in class dev.avelar.mapnik.Geometry
-
Read a GeoJSON geometry object.
- fromGeoJson(String, long) - Static method in class dev.avelar.mapnik.Feature
-
Read a GeoJSON Feature.
- fromQuadKey(String) - Static method in class dev.avelar.mapnik.Tiles.Tile
-
The tile a quadkey names.
- fromWkb(byte[]) - Static method in class dev.avelar.mapnik.Geometry
-
Read 2D WKB of either byte order.
- fromWkt(String) - Static method in class dev.avelar.mapnik.Geometry
-
Read WKT, such as
POINT(1 2)orPOLYGON((0 0,1 0,1 1,0 0)). - fromXml(String) - Static method in class dev.avelar.mapnik.Style
-
Read a style from its XML, such as one
Style.toXml()wrote or one taken from a Mapnik map file. - fromXmlName(String) - Static method in enum class dev.avelar.mapnik.BlendMode
-
Find a mode by its style-file name.
G
- gamma(double) - Method in class dev.avelar.mapnik.ImageFormat
-
PNG8: the gamma the colours are matched in, 0 or more.
- GAUSSIAN - Enum constant in enum class dev.avelar.mapnik.ScalingMethod
- geometries() - Method in class dev.avelar.mapnik.Geometry.Collection
- geometry() - Method in class dev.avelar.mapnik.Feature
-
The geometry as an object you can inspect, reproject and so on.
- Geometry - Class in dev.avelar.mapnik
-
A 2D geometry: a point, line, polygon, a multi version of those, or a collection.
- GEOMETRY - Enum constant in enum class dev.avelar.mapnik.Datasource.FieldType
- GEOMETRY_COLLECTION - Enum constant in enum class dev.avelar.mapnik.GeometryKind
- Geometry.Collection - Class in dev.avelar.mapnik
-
A mix of geometries.
- Geometry.LineString - Class in dev.avelar.mapnik
-
A connected series of points.
- Geometry.MultiLineString - Class in dev.avelar.mapnik
-
Several lines.
- Geometry.MultiPoint - Class in dev.avelar.mapnik
-
Several separate points.
- Geometry.MultiPolygon - Class in dev.avelar.mapnik
-
Several polygons.
- Geometry.Nearest - Class in dev.avelar.mapnik
-
The closest point on a geometry to some location, and how far away it is.
- Geometry.Point - Class in dev.avelar.mapnik
-
A single location.
- Geometry.Polygon - Class in dev.avelar.mapnik
-
An area: an exterior ring and any number of holes.
- geometryGeoJson() - Method in class dev.avelar.mapnik.Feature
-
The geometry as a GeoJSON geometry object.
- geometryKind() - Method in class dev.avelar.mapnik.Feature
-
GeometryKind.UNKNOWNif the feature has no geometry. - GeometryKind - Enum Class in dev.avelar.mapnik
-
The kind of geometry a feature holds.
- geometryType() - Method in class dev.avelar.mapnik.Datasource
- geometryWkt() - Method in class dev.avelar.mapnik.Feature
-
The geometry as WKT, for example
POINT(1 2). - get(int, int) - Method in class dev.avelar.mapnik.GrayImage
-
One pixel.
- get(int, int) - Method in class dev.avelar.mapnik.RasterGrid
-
One value.
- getArgb(int, int) - Method in class dev.avelar.mapnik.Image
-
The pixel at (x, y) as
0xAARRGGBB. - GRAIN_EXTRACT - Enum constant in enum class dev.avelar.mapnik.BlendMode
- GRAIN_MERGE - Enum constant in enum class dev.avelar.mapnik.BlendMode
- gray() - Static method in class dev.avelar.mapnik.ImageFilters
-
Greyscale.
- GrayImage - Class in dev.avelar.mapnik
-
An image with one number per pixel: an elevation grid, a temperature field, a count, a grey picture.
- GrayImage.Type - Enum Class in dev.avelar.mapnik
-
What each pixel holds.
- green() - Method in class dev.avelar.mapnik.Color
- GRID - Enum constant in enum class dev.avelar.mapnik.Capability
-
The grid renderer, for UTFGrid output.
- GRID - Enum constant in enum class dev.avelar.mapnik.Symbolizer.LabelPlacement
-
On a regular grid across a polygon.
- group() - Static method in class dev.avelar.mapnik.Symbolizer
-
A group of symbols and labels drawn together for features that share a key, such as a cluster of points.
- groupBy() - Method in class dev.avelar.mapnik.Layer
-
The column rendering is grouped by, or an empty string.
- groupColumns(int, int, String) - Method in class dev.avelar.mapnik.Symbolizer
-
Which columns of the group layout this symbolizer fills (
start-column, 1-based, and how many,num-columns) and the expression that says which features belong together (repeat-key, for example"[id]"). - groupRule(GroupRule) - Method in class dev.avelar.mapnik.Symbolizer
- GroupRule - Class in dev.avelar.mapnik
-
One rule inside a group symbolizer: what to draw for the features of the group that match a filter.
- GROW_BBOX - Enum constant in enum class dev.avelar.mapnik.AspectFixMode
-
Grow the box's width or height to fill the map size.
- GROW_CANVAS - Enum constant in enum class dev.avelar.mapnik.AspectFixMode
-
Grow the map's width or height to fit the box.
H
- halo(Color, double) - Method in class dev.avelar.mapnik.Symbolizer
- halo(Color, double) - Method in class dev.avelar.mapnik.TextFormat
- halo(String, double) - Method in class dev.avelar.mapnik.Symbolizer
-
Text: outline colour and width.
- halo(String, double) - Method in class dev.avelar.mapnik.TextFormat
- HAMMING - Enum constant in enum class dev.avelar.mapnik.ScalingMethod
- HANNING - Enum constant in enum class dev.avelar.mapnik.ScalingMethod
- HARD_LIGHT - Enum constant in enum class dev.avelar.mapnik.BlendMode
- hasCairo() - Static method in class dev.avelar.mapnik.Mapnik
-
True if Mapnik was built with Cairo, which PDF, SVG and PostScript output needs.
- hashCode() - Method in class dev.avelar.mapnik.Box2d
- hashCode() - Method in class dev.avelar.mapnik.Color
- hashCode() - Method in class dev.avelar.mapnik.Geometry
- hashCode() - Method in class dev.avelar.mapnik.Point2d
- hashCode() - Method in class dev.avelar.mapnik.Tiles.Tile
- hasNext() - Method in class dev.avelar.mapnik.Featureset
- hasStyle(String) - Method in class dev.avelar.mapnik.MapnikMap
- height() - Method in class dev.avelar.mapnik.Box2d
- height() - Method in class dev.avelar.mapnik.GrayImage
- height() - Method in class dev.avelar.mapnik.Image
- height() - Method in class dev.avelar.mapnik.Image.Info
- height() - Method in class dev.avelar.mapnik.MapnikMap
- height() - Method in class dev.avelar.mapnik.Marker
- height() - Method in class dev.avelar.mapnik.RasterGrid
- HERMITE - Enum constant in enum class dev.avelar.mapnik.ScalingMethod
- HEXTREE - Enum constant in enum class dev.avelar.mapnik.ImageFormat.Quantizer
-
The hextree algorithm, Mapnik's default: usually better colours for the same palette size.
- holes() - Method in class dev.avelar.mapnik.Geometry.Polygon
-
The holes, each as x0, y0, x1, y1, ...
- horizontalAlignment(String) - Method in class dev.avelar.mapnik.Symbolizer
-
Text: horizontal alignment of the label to its position:
left,middle,right,autooradjust. - HUE - Enum constant in enum class dev.avelar.mapnik.BlendMode
- HUFFMAN_ONLY - Enum constant in enum class dev.avelar.mapnik.ImageFormat.PngStrategy
I
- id() - Method in class dev.avelar.mapnik.Feature
- ignorePlacement(boolean) - Method in class dev.avelar.mapnik.Symbolizer
-
Markers, points and shields (not text): draw without making room for it, so it never blocks later labels.
- Image - Class in dev.avelar.mapnik
-
A raster image in 8-bit RGBA, such as a rendered map or a picture loaded from a file.
- Image.Info - Class in dev.avelar.mapnik
-
The size and format of an encoded image, read without decoding the pixels.
- imageFilters(String) - Method in class dev.avelar.mapnik.Style
-
Image filters applied to the layer after it is drawn, for example
"blur(10)". - ImageFilters - Class in dev.avelar.mapnik
-
Builds the text for
Image.filter(String...), the same syntax as theimage-filtersstyle attribute. - ImageFormat - Class in dev.avelar.mapnik
-
An image format with its options, built in code instead of written as a string.
- ImageFormat.PngStrategy - Enum Class in dev.avelar.mapnik
-
The zlib strategy of a PNG.
- ImageFormat.Quantizer - Enum Class in dev.avelar.mapnik
-
How PNG8 chooses its palette.
- ImageFormat.TiffCompression - Enum Class in dev.avelar.mapnik
-
How TIFF data is compressed.
- ImageFormat.TiffLayout - Enum Class in dev.avelar.mapnik
-
How a TIFF is laid out in the file.
- ImageFormat.Transparency - Enum Class in dev.avelar.mapnik
-
What PNG8 does about the alpha channel.
- imageHeight() - Method in class dev.avelar.mapnik.UtfGrid
- imageWidth() - Method in class dev.avelar.mapnik.UtfGrid
-
Size in pixels of the image this grid covers.
- inspect(Path) - Static method in class dev.avelar.mapnik.Marker
-
As
Marker.inspect(Path, boolean), not strict. - inspect(Path, boolean) - Static method in class dev.avelar.mapnik.Marker
-
Read the file.
- inspectSvg(String, boolean) - Static method in class dev.avelar.mapnik.Marker
-
As
Marker.inspect(Path, boolean)for SVG text held in memory. - INT16 - Enum constant in enum class dev.avelar.mapnik.GrayImage.Type
- INT32 - Enum constant in enum class dev.avelar.mapnik.GrayImage.Type
- INT64 - Enum constant in enum class dev.avelar.mapnik.GrayImage.Type
- INT8 - Enum constant in enum class dev.avelar.mapnik.GrayImage.Type
- INTEGER - Enum constant in enum class dev.avelar.mapnik.Datasource.FieldType
- INTERIOR - Enum constant in enum class dev.avelar.mapnik.Symbolizer.LabelPlacement
-
Inside a polygon, at a point that is certainly inside.
- interiorPoint() - Method in class dev.avelar.mapnik.Geometry
-
A point that lies inside a polygon, as far from its edges as reasonably possible (a good place for a label, unlike the centroid of a C shape).
- inverse(double, double) - Method in class dev.avelar.mapnik.Projection
-
This projection's coordinates to geographic (x = longitude, y = latitude).
- invert() - Static method in class dev.avelar.mapnik.ImageFilters
-
Invert the colours, keeping alpha.
- INVERT - Enum constant in enum class dev.avelar.mapnik.BlendMode
- INVERT_RGB - Enum constant in enum class dev.avelar.mapnik.BlendMode
- invoke(long) - Method in interface dev.avelar.mapnik.JavaReleaseHandler
- invoke(long, double, double, double, double, double, double, double, Pointer, Pointer) - Method in interface dev.avelar.mapnik.JavaFeaturesHandler
-
Returns 0 on success and sets *out and *len, or non-zero with an error message in the buffer.
- isActive() - Method in class dev.avelar.mapnik.Layer
-
Whether the layer is drawn at all.
- isAlso() - Method in class dev.avelar.mapnik.Rule
- isBundled() - Static method in class dev.avelar.mapnik.Mapnik
-
True if the native libraries came from a
mapnik-java-natives-*bundle on the class path, so this Mapnik, its dependencies, input plugins, fonts and PROJ data all ship with the program. - isCompatible() - Static method in class dev.avelar.mapnik.Mapnik
-
True when the loaded Mapnik has the same major.minor version as
Mapnik.expectedVersion(). - isDatasourceRegistered(String) - Static method in class dev.avelar.mapnik.Mapnik
-
True if an input plugin with this name, such as
geojson, is registered. - isElse() - Method in class dev.avelar.mapnik.Rule
- isEmpty() - Method in class dev.avelar.mapnik.Geometry.Collection
- isEmpty() - Method in class dev.avelar.mapnik.Geometry
-
True if it has no coordinates, for example an empty collection.
- isEmpty() - Method in class dev.avelar.mapnik.Geometry.LineString
- isEmpty() - Method in class dev.avelar.mapnik.Geometry.MultiLineString
- isEmpty() - Method in class dev.avelar.mapnik.Geometry.MultiPoint
- isEmpty() - Method in class dev.avelar.mapnik.Geometry.MultiPolygon
- isEmpty() - Method in class dev.avelar.mapnik.Geometry.Point
- isEmpty() - Method in class dev.avelar.mapnik.Geometry.Polygon
- isGeographic() - Method in class dev.avelar.mapnik.Projection
-
True for longitude/latitude systems.
- isIdentity() - Method in class dev.avelar.mapnik.CoordinateTransform
-
True if source and destination are the same, so coordinates do not change.
- isLayerActive(String) - Method in class dev.avelar.mapnik.MapnikMap
-
Whether the named layer is drawn.
- isOpaque() - Method in class dev.avelar.mapnik.Color
- isQueryable() - Method in class dev.avelar.mapnik.Layer
- isSimple() - Method in class dev.avelar.mapnik.Geometry
-
True if the geometry has no self-intersections or repeated points that make it complex.
- isSolid() - Method in class dev.avelar.mapnik.Image
-
True if every pixel has the same value.
- isValid() - Method in class dev.avelar.mapnik.Geometry
-
True if the geometry is valid: rings do not cross themselves, holes lie inside the exterior and do not overlap each other, and so on.
- isValid(String) - Static method in class dev.avelar.mapnik.Expression
-
True if
textparses. - isValid(String) - Static method in class dev.avelar.mapnik.Transforms
-
True if
transformparses. - isVisibleAt(double) - Method in class dev.avelar.mapnik.Layer
-
True if the layer is active and
scaleDenominatoris inside its scale range. - iterator() - Method in class dev.avelar.mapnik.Featureset
J
- JavaDatasource - Class in dev.avelar.mapnik
-
A datasource whose features come from your own code, called when Mapnik renders or queries: a database with your own access rules, a web service, generated data, a cache.
- JavaFeaturesHandler - Interface in dev.avelar.mapnik
-
The native side calls this to ask a
JavaDatasourcefor features. - JavaReleaseHandler - Interface in dev.avelar.mapnik
-
The native side calls this when it is done with a
JavaDatasource. - jpeg(int) - Static method in class dev.avelar.mapnik.ImageFormat
-
JPEG at a quality from 0 (smallest) to 100 (best).
- JPEG - Enum constant in enum class dev.avelar.mapnik.Capability
-
Reading and writing JPEG.
- justify(String) - Method in class dev.avelar.mapnik.Symbolizer
-
Text: how lines of a wrapped label line up with each other:
left,center,rightorauto.
K
- KAISER - Enum constant in enum class dev.avelar.mapnik.ScalingMethod
- keyAt(int, int) - Method in class dev.avelar.mapnik.UtfGrid
-
The key of the feature at a pixel of the image, or an empty string where there is none.
- keys() - Method in class dev.avelar.mapnik.UtfGrid
-
The names of the features that appear in the grid, in order of first appearance.
- kind() - Method in class dev.avelar.mapnik.Geometry.Collection
- kind() - Method in class dev.avelar.mapnik.Geometry
-
What kind of geometry this is.
- kind() - Method in class dev.avelar.mapnik.Geometry.LineString
- kind() - Method in class dev.avelar.mapnik.Geometry.MultiLineString
- kind() - Method in class dev.avelar.mapnik.Geometry.MultiPoint
- kind() - Method in class dev.avelar.mapnik.Geometry.MultiPolygon
- kind() - Method in class dev.avelar.mapnik.Geometry.Point
- kind() - Method in class dev.avelar.mapnik.Geometry.Polygon
- kind() - Method in class dev.avelar.mapnik.Marker
L
- labelPlacement(Symbolizer.LabelPlacement) - Method in class dev.avelar.mapnik.Symbolizer
-
Text and shields: where labels go: along a line, at a point, inside a polygon and so on.
- labelPositionTolerance(double) - Method in class dev.avelar.mapnik.Symbolizer
-
Text: how far in pixels a label may move along a line to find room.
- labelSpacing(double) - Method in class dev.avelar.mapnik.Symbolizer
-
Text on lines: distance between labels along a line, in pixels.
- LANCZOS - Enum constant in enum class dev.avelar.mapnik.ScalingMethod
- largestBoxOnly(boolean) - Method in class dev.avelar.mapnik.Symbolizer
-
Text: label only the largest part of a multipart geometry.
- layer() - Method in exception dev.avelar.mapnik.MapLoadException
-
The name of the layer the problem was in, or null.
- layer(int) - Method in class dev.avelar.mapnik.MapnikMap
-
A view onto the layer at
index. - layer(String) - Method in class dev.avelar.mapnik.MapnikMap
-
A view onto the first layer with this name.
- Layer - Class in dev.avelar.mapnik
-
A map layer.
- layerCount() - Method in class dev.avelar.mapnik.MapnikMap
- layerName() - Method in class dev.avelar.mapnik.Datasource
-
The name the datasource gives its data, such as a table or layer name.
- layerNames() - Method in class dev.avelar.mapnik.MapnikMap
-
Layer names in drawing order: the first is drawn first, so it ends up at the bottom.
- layers() - Method in class dev.avelar.mapnik.MapnikMap
-
Views onto all layers, in drawing order.
- layout(ImageFormat.TiffLayout) - Method in class dev.avelar.mapnik.ImageFormat
- leakedHandles() - Static method in class dev.avelar.mapnik.Mapnik
-
How many native objects (maps, images, layers and so on) have been garbage collected without being closed since the JVM started.
- LIGHTEN - Enum constant in enum class dev.avelar.mapnik.BlendMode
- line() - Method in exception dev.avelar.mapnik.MapLoadException
-
The line of the XML Mapnik pointed at, counting from 1, or -1 if it gave none.
- line() - Static method in class dev.avelar.mapnik.Symbolizer
-
Stroke lines and polygon outlines:
stroke,stroke-width,stroke-dasharray, ... - LINE - Enum constant in enum class dev.avelar.mapnik.Symbolizer.LabelPlacement
-
Along a line, following it.
- LINE_STRING - Enum constant in enum class dev.avelar.mapnik.GeometryKind
- LINEAR - Enum constant in enum class dev.avelar.mapnik.RasterColorizer.Mode
-
Colours are blended between the stops on either side.
- LINEAR_BURN - Enum constant in enum class dev.avelar.mapnik.BlendMode
- LINEAR_DODGE - Enum constant in enum class dev.avelar.mapnik.BlendMode
- linePattern(String) - Static method in class dev.avelar.mapnik.Symbolizer
-
Stroke lines with a repeating image.
- lines() - Method in class dev.avelar.mapnik.Geometry.MultiLineString
- lineSpacing(double) - Method in class dev.avelar.mapnik.TextFormat
- lineString(double...) - Static method in class dev.avelar.mapnik.Geometry
-
A line through the points given as x0, y0, x1, y1, ...
- lineString(List<Point2d>) - Static method in class dev.avelar.mapnik.Geometry
- LINESTRING - Enum constant in enum class dev.avelar.mapnik.Datasource.GeometryType
- listFromGeoJson(String) - Static method in class dev.avelar.mapnik.Feature
-
Read every feature of a GeoJSON FeatureCollection, or the single feature of a Feature.
- load(byte[]) - Static method in class dev.avelar.mapnik.Image
-
Decode image data held in memory.
- load(Path) - Static method in class dev.avelar.mapnik.Image
-
Load a PNG, JPEG, TIFF or WebP file, whichever Mapnik was built to read.
- load(Path) - Method in class dev.avelar.mapnik.MapnikMap
-
Load a Mapnik XML style from a file.
- load(Path, boolean) - Method in class dev.avelar.mapnik.MapnikMap
- loadFonts() - Method in class dev.avelar.mapnik.MapnikMap
- loadString(String, Path) - Method in class dev.avelar.mapnik.MapnikMap
-
Load a Mapnik XML style from a string.
- loadString(String, Path, boolean) - Method in class dev.avelar.mapnik.MapnikMap
-
As
MapnikMap.loadString(String, Path), optionally strict as inMapnikMap.load(Path, boolean). - Logging - Class in dev.avelar.mapnik
-
Mapnik's own log, which it writes to the console (standard error) by default.
- LOGGING - Enum constant in enum class dev.avelar.mapnik.Capability
-
Mapnik writes messages to its log.
- Logging.Severity - Enum Class in dev.avelar.mapnik
-
How much Mapnik says.
- longestWaitNanos() - Method in class dev.avelar.mapnik.MapPool.Stats
-
The longest a single caller waited, in nanoseconds.
- lonLatBounds() - Method in class dev.avelar.mapnik.Tiles.Tile
-
The tile's area in degrees of longitude and latitude.
- lonLatBounds(int, int, int) - Static method in class dev.avelar.mapnik.Tiles
-
The area of tile (z, x, y) in degrees.
- lossless() - Method in class dev.avelar.mapnik.ImageFormat
-
WebP: store the pixels exactly.
- LZW - Enum constant in enum class dev.avelar.mapnik.ImageFormat.TiffCompression
M
- map() - Method in class dev.avelar.mapnik.MapPool.Lease
- MapLoadException - Exception in dev.avelar.mapnik
-
A style could not be loaded.
- Mapnik - Class in dev.avelar.mapnik
-
Global Mapnik setup.
- MapnikException - Exception in dev.avelar.mapnik
- MapnikException(String) - Constructor for exception dev.avelar.mapnik.MapnikException
- MapnikMap - Class in dev.avelar.mapnik
-
A Mapnik map.
- MapnikMap(int, int) - Constructor for class dev.avelar.mapnik.MapnikMap
- MapPool - Class in dev.avelar.mapnik
-
A fixed number of identical maps shared by many threads.
- MapPool(int, int, int, Consumer<MapnikMap>) - Constructor for class dev.avelar.mapnik.MapPool
-
Create
sizemaps ofwidthbyheightpixels and runsetupon each. - MapPool.Builder - Class in dev.avelar.mapnik
-
Builds a pool; see
MapPool.builder(int, int, int). - MapPool.ExhaustedException - Exception in dev.avelar.mapnik
-
Thrown by
MapPool.borrow()andMapPool.withMap(java.util.function.Function<dev.avelar.mapnik.MapnikMap, T>)when no map came free within the pool's maximum wait. - MapPool.Lease - Class in dev.avelar.mapnik
-
A map borrowed from the pool.
- MapPool.Stats - Class in dev.avelar.mapnik
-
How busy a pool has been since it was created.
- margin(double) - Method in class dev.avelar.mapnik.Symbolizer
-
Text: keep labels this many pixels away from other labels with the same text.
- Marker - Class in dev.avelar.mapnik
-
What Mapnik makes of an SVG or image file used as a marker or a point symbol: whether it can read it, and how big it is.
- Marker.Kind - Enum Class in dev.avelar.mapnik
-
What kind of file it is.
- markers() - Static method in class dev.avelar.mapnik.Symbolizer
-
Draw markers at points, along lines or inside polygons:
marker-type,width,fill, ... - matches(Feature) - Method in class dev.avelar.mapnik.Expression
-
Whether a feature passes this expression used as a filter: true, non-zero or non-empty counts as a match.
- matches(Feature, Map<String, ?>) - Method in class dev.avelar.mapnik.Expression
- MAX_LATITUDE - Static variable in class dev.avelar.mapnik.Tiles
-
The latitude Web Mercator cuts off at.
- MAX_PIXELS - Static variable in class dev.avelar.mapnik.RasterGrid
-
The most pixels one grid may hold: more would need gigabytes of
doubles. - MAX_ZOOM - Static variable in class dev.avelar.mapnik.Tiles
-
The highest zoom this class accepts.
- maxCharAngleDelta(double) - Method in class dev.avelar.mapnik.Symbolizer
-
Text on lines: the largest angle in degrees between two letters, so labels do not bend sharply.
- maximumExtent() - Method in class dev.avelar.mapnik.Layer
-
Extent beyond which this layer is not drawn, if set.
- maximumExtent() - Method in class dev.avelar.mapnik.MapnikMap
-
The extent beyond which nothing is drawn, if set.
- maximumScaleDenominator() - Method in class dev.avelar.mapnik.Layer
- maxScale() - Method in class dev.avelar.mapnik.Rule
- maxScaleDenominator(double) - Method in class dev.avelar.mapnik.Rule
-
The rule applies only when the map's scale denominator is below this.
- maxWait(long, TimeUnit) - Method in class dev.avelar.mapnik.MapPool.Builder
-
The longest
MapPool.borrow()andMapPool.withMap(java.util.function.Function<dev.avelar.mapnik.MapnikMap, T>)wait for a free map before they throwMapPool.ExhaustedException. - maxX() - Method in class dev.avelar.mapnik.Box2d
- maxY() - Method in class dev.avelar.mapnik.Box2d
- mbtiles(Path, String) - Static method in class dev.avelar.mapnik.Datasource
-
Vector tiles from an MBTiles file (Mapnik Vector Tile data in a SQLite database).
- MemoryDatasource - Class in dev.avelar.mapnik
-
A datasource that holds features in memory, so you can render data that is not in a file: results of your own queries, shapes you compute, or GeoJSON you received.
- minimumPadding(double) - Method in class dev.avelar.mapnik.Symbolizer
-
Text: keep labels this many pixels away from the edge of the map or tile.
- minimumPathLength(double) - Method in class dev.avelar.mapnik.Symbolizer
-
Text on lines: skip lines shorter than this many pixels.
- minimumScaleDenominator() - Method in class dev.avelar.mapnik.Layer
- minScale() - Method in class dev.avelar.mapnik.Rule
- minScaleDenominator(double) - Method in class dev.avelar.mapnik.Rule
-
The rule applies only when the map's scale denominator is at least this (zoomed out less than this).
- MINUS - Enum constant in enum class dev.avelar.mapnik.BlendMode
- minX() - Method in class dev.avelar.mapnik.Box2d
- minY() - Method in class dev.avelar.mapnik.Box2d
- MITCHELL - Enum constant in enum class dev.avelar.mapnik.ScalingMethod
- MULTI_LINE_STRING - Enum constant in enum class dev.avelar.mapnik.GeometryKind
- MULTI_POINT - Enum constant in enum class dev.avelar.mapnik.GeometryKind
- MULTI_POLYGON - Enum constant in enum class dev.avelar.mapnik.GeometryKind
- multiLineString(Geometry.LineString...) - Static method in class dev.avelar.mapnik.Geometry
- MULTIPLY - Enum constant in enum class dev.avelar.mapnik.BlendMode
- multiPoint(double...) - Static method in class dev.avelar.mapnik.Geometry
- multiPolygon(Geometry.Polygon...) - Static method in class dev.avelar.mapnik.Geometry
N
- name() - Method in class dev.avelar.mapnik.Datasource.Field
- name() - Method in class dev.avelar.mapnik.FontSet
- name() - Method in class dev.avelar.mapnik.Layer
- name() - Method in class dev.avelar.mapnik.Rule
- name() - Method in class dev.avelar.mapnik.Style
- name(String) - Method in class dev.avelar.mapnik.Rule
- NEAR - Enum constant in enum class dev.avelar.mapnik.ScalingMethod
- next() - Method in class dev.avelar.mapnik.Featureset
- noData() - Method in class dev.avelar.mapnik.RasterGrid
-
The value that means "no data", if the file names one.
- NONE - Enum constant in enum class dev.avelar.mapnik.ImageFormat.TiffCompression
- NONE - Enum constant in enum class dev.avelar.mapnik.ImageFormat.Transparency
-
No transparency: alpha is dropped.
- NONE - Enum constant in enum class dev.avelar.mapnik.Logging.Severity
- NORTH - Enum constant in enum class dev.avelar.mapnik.Symbolizer.Position
- NORTH_EAST - Enum constant in enum class dev.avelar.mapnik.Symbolizer.Position
- NORTH_WEST - Enum constant in enum class dev.avelar.mapnik.Symbolizer.Position
- numPoints() - Method in class dev.avelar.mapnik.Geometry.LineString
- numPoints() - Method in class dev.avelar.mapnik.Geometry.MultiPoint
O
- OBJECT - Enum constant in enum class dev.avelar.mapnik.Datasource.FieldType
- OCTREE - Enum constant in enum class dev.avelar.mapnik.ImageFormat.Quantizer
-
The octree algorithm, Mapnik's older one.
- of(GrayImage.Type, int, int, double[]) - Static method in class dev.avelar.mapnik.GrayImage
-
A new image of the given size with these values, row by row from the top left.
- of(String) - Static method in class dev.avelar.mapnik.Projection
-
Create from
epsg:<code>or a PROJ string. - of(String) - Static method in class dev.avelar.mapnik.TextFormat
- of(String, Datasource.FieldType) - Static method in class dev.avelar.mapnik.Datasource.Field
-
A field to declare on a
JavaDatasource. - offset(double) - Method in class dev.avelar.mapnik.Geometry
-
A parallel copy of a line,
distanceto its left (positive) or right (negative). - offset(double, double) - Method in class dev.avelar.mapnik.TextPlacement
- offset(int, int) - Method in class dev.avelar.mapnik.RenderOptions
-
Treat the image as a window that starts at pixel (x, y) of a larger map image, so the drawing moves left by x and up by y.
- offsetX() - Method in class dev.avelar.mapnik.RenderOptions
- offsetY() - Method in class dev.avelar.mapnik.RenderOptions
- opacity() - Method in class dev.avelar.mapnik.Layer
- opacity(double) - Method in class dev.avelar.mapnik.Style
-
Opacity of everything drawn by this style, from 0 to 1.
- opacity(double) - Method in class dev.avelar.mapnik.Symbolizer
-
Opacity, for symbolizers that have it: markers, point, dot, raster, text and the pattern symbolizers.
- option(String, String) - Method in class dev.avelar.mapnik.ImageFormat
-
Set an option this class has no method for, by Mapnik's own name, such as
image_hintfor WebP. - ORIGIN_SHIFT - Static variable in class dev.avelar.mapnik.Tiles
-
Half the width of the Web Mercator world, in metres.
- OVERLAY - Enum constant in enum class dev.avelar.mapnik.BlendMode
P
- pairLayout(double) - Method in class dev.avelar.mapnik.Symbolizer
-
Lay group members out in pairs side by side.
- pan(int, int) - Method in class dev.avelar.mapnik.MapnikMap
-
Move the view by a pixel offset.
- panAndZoom(int, int, double) - Method in class dev.avelar.mapnik.MapnikMap
-
Centre the view on pixel (x, y), then scale the extent by
zoomasMapnikMap.zoom(double)does. - parameters() - Method in class dev.avelar.mapnik.Datasource
-
The parameters the datasource holds, in key order: the ones you passed, plus any the plugin filled in.
- parameters() - Method in class dev.avelar.mapnik.MapnikMap
-
Arbitrary key/value pairs stored on the map and written as
<Parameters>in its XML, for your own metadata. - params() - Method in class dev.avelar.mapnik.Projection
-
The string this projection was created from.
- parent() - Method in class dev.avelar.mapnik.Tiles.Tile
-
The tile one zoom out that contains this one.
- parse(String) - Static method in class dev.avelar.mapnik.Color
-
Parse a colour string.
- parse(String) - Static method in class dev.avelar.mapnik.Expression
-
Parse an expression.
- parse(String) - Static method in class dev.avelar.mapnik.PathExpression
-
Parse a pattern.
- parse(String, int, int, int) - Static method in class dev.avelar.mapnik.UtfGrid
-
Read a UTFGrid from JSON, given the size of the image it covers and how many pixels make a cell.
- PathExpression - Class in dev.avelar.mapnik
-
A text pattern with attribute names in brackets, such as
icons/[type].png, which a feature fills in: a feature withtypeset tobusgivesicons/bus.png. - placementList(TextPlacement...) - Method in class dev.avelar.mapnik.Symbolizer
-
Try these alternatives in order until one fits.
- placementPositions(String) - Method in class dev.avelar.mapnik.Symbolizer
-
Try these positions around a point, for example
"E,NE,SE,W"(east, north-east and so on) and use the first that fits. - placementSizes(int...) - Method in class dev.avelar.mapnik.Symbolizer
-
Text: if a label does not fit at any position, try again at these smaller font sizes, in whole pixels and largest first.
- PLUS - Enum constant in enum class dev.avelar.mapnik.BlendMode
- pmtiles(Path, String) - Static method in class dev.avelar.mapnik.Datasource
-
As
Datasource.mbtiles(java.nio.file.Path, java.lang.String), for a PMTiles archive. - png() - Static method in class dev.avelar.mapnik.ImageFormat
-
True-colour PNG with an alpha channel: exact, and larger than
ImageFormat.png8(). - PNG - Enum constant in enum class dev.avelar.mapnik.Capability
-
Reading and writing PNG.
- png8() - Static method in class dev.avelar.mapnik.ImageFormat
-
PNG with a palette of at most 256 colours: much smaller, and fine for maps with flat colours.
- point() - Method in class dev.avelar.mapnik.Geometry.Nearest
- point(double, double) - Static method in class dev.avelar.mapnik.Geometry
- point(int) - Method in class dev.avelar.mapnik.Geometry.LineString
- point(String) - Static method in class dev.avelar.mapnik.Symbolizer
-
Draw an image file at each point.
- POINT - Enum constant in enum class dev.avelar.mapnik.Datasource.GeometryType
- POINT - Enum constant in enum class dev.avelar.mapnik.GeometryKind
- POINT - Enum constant in enum class dev.avelar.mapnik.Symbolizer.LabelPlacement
-
At a point on the geometry (the centroid of a polygon, the middle of a line).
- Point2d - Class in dev.avelar.mapnik
-
A 2D coordinate.
- Point2d(double, double) - Constructor for class dev.avelar.mapnik.Point2d
- polygon() - Static method in class dev.avelar.mapnik.Symbolizer
-
Fill polygons:
fill,fill-opacity,gamma,smooth, ... - polygon(double[], double[]...) - Static method in class dev.avelar.mapnik.Geometry
-
A polygon from an exterior ring and any holes, each given as x0, y0, x1, y1, ...
- POLYGON - Enum constant in enum class dev.avelar.mapnik.Datasource.GeometryType
- POLYGON - Enum constant in enum class dev.avelar.mapnik.GeometryKind
- polygonPattern(String) - Static method in class dev.avelar.mapnik.Symbolizer
-
Fill polygons with a repeating image.
- polygons() - Method in class dev.avelar.mapnik.Geometry.MultiPolygon
- POLYLABEL - Enum constant in enum class dev.avelar.mapnik.Symbolizer.LabelPlacement
-
At the pole of inaccessibility of a polygon: the point farthest from its edges.
- positions(Symbolizer.Position...) - Method in class dev.avelar.mapnik.Symbolizer
-
Text: try these positions around the point in turn until a label fits, for example
positions(Position.NORTH_EAST, Position.SOUTH_EAST, Position.EXACT). - probe(byte[]) - Static method in class dev.avelar.mapnik.Image
-
Read the size and format of encoded image data without decoding it.
- probe(Path) - Static method in class dev.avelar.mapnik.Image
-
Read the size and format of an image file without decoding it.
- problems() - Method in exception dev.avelar.mapnik.MapLoadException
-
The separate problems.
- PROJ - Enum constant in enum class dev.avelar.mapnik.Capability
-
Projection support through PROJ.
- Projection - Class in dev.avelar.mapnik
-
A coordinate reference system, such as
epsg:3857or a PROJ string. - properties(String...) - Method in class dev.avelar.mapnik.FeatureQuery
-
Only read these attributes.
- properties(Collection<String>) - Method in class dev.avelar.mapnik.FeatureQuery
Q
- quadKey() - Method in class dev.avelar.mapnik.Tiles.Tile
-
Bing-style quadkey: one digit per zoom, 0 to 3.
- QUADRIC - Enum constant in enum class dev.avelar.mapnik.ScalingMethod
- quality(double) - Method in class dev.avelar.mapnik.ImageFormat
-
WebP: quality from 0 to 100.
- quantizer(ImageFormat.Quantizer) - Method in class dev.avelar.mapnik.ImageFormat
-
PNG8: the algorithm that picks the palette.
- queryMapPoint(String, double, double) - Method in class dev.avelar.mapnik.MapnikMap
-
Features of a layer under pixel (px, py) of the map image.
- queryPoint(String, double, double) - Method in class dev.avelar.mapnik.MapnikMap
-
Features of a layer at a point, given in the map's projection.
R
- RADIAL_DISTANCE - Enum constant in enum class dev.avelar.mapnik.SimplifyAlgorithm
-
Drops points closer than the tolerance to the previous kept point.
- range() - Method in class dev.avelar.mapnik.GrayImage
-
The smallest and largest value as
{min, max}, ignoring NaN. - range() - Method in class dev.avelar.mapnik.RasterGrid
-
Smallest and largest value as
{min, max}, ignoring NaN and the no-data value. - range(double) - Method in class dev.avelar.mapnik.GrayImage
-
As
GrayImage.range(), also ignoring pixels equal tonodata. - raster() - Static method in class dev.avelar.mapnik.Symbolizer
-
Draw raster data.
- RASTER - Enum constant in enum class dev.avelar.mapnik.Datasource.Type
- RASTER - Enum constant in enum class dev.avelar.mapnik.Marker.Kind
- RasterColorizer - Class in dev.avelar.mapnik
-
Colours a single-band raster, such as an elevation grid or a grey image, by its values.
- RasterColorizer.Mode - Enum Class in dev.avelar.mapnik
-
How values between stops are coloured.
- RasterGrid - Class in dev.avelar.mapnik
-
A grid of numbers over an area, such as an elevation model, read from a file without GDAL.
- read() - Method in class dev.avelar.mapnik.GrayImage
-
Every pixel, row by row from the top left.
- read(Path) - Static method in class dev.avelar.mapnik.RasterGrid
-
Read a file, choosing the format by its extension:
.asc,.tifor.tiff. - readAscii(String) - Static method in class dev.avelar.mapnik.RasterGrid
-
Read the text of an Esri ASCII grid.
- readAscii(Path) - Static method in class dev.avelar.mapnik.RasterGrid
- readGeoTiff(byte[]) - Static method in class dev.avelar.mapnik.RasterGrid
- readGeoTiff(Path) - Static method in class dev.avelar.mapnik.RasterGrid
- rectangle(Box2d) - Static method in class dev.avelar.mapnik.Geometry
-
A rectangle covering
box. - red() - Method in class dev.avelar.mapnik.Color
- registerDatasource(Path) - Static method in class dev.avelar.mapnik.Mapnik
-
Register one input plugin file.
- registerDatasources(String) - Static method in class dev.avelar.mapnik.Mapnik
-
Load input plugins (postgis, shape, gdal...) from dir.
- registerFontFile(Path) - Static method in class dev.avelar.mapnik.Mapnik
-
Register one font file.
- registerFonts(String) - Static method in class dev.avelar.mapnik.Mapnik
-
Register fonts from dir.
- registerFonts(Path, boolean) - Method in class dev.avelar.mapnik.MapnikMap
-
Fonts directory for this map.
- removeAll() - Method in class dev.avelar.mapnik.MapnikMap
-
Remove all layers and styles.
- removeLayer(int) - Method in class dev.avelar.mapnik.MapnikMap
- removeLayer(String) - Method in class dev.avelar.mapnik.MapnikMap
- removeParameter(String) - Method in class dev.avelar.mapnik.MapnikMap
- removeStyle(String) - Method in class dev.avelar.mapnik.MapnikMap
- render(Image) - Method in class dev.avelar.mapnik.MapnikMap
-
Draw onto an existing image, blending over what is there.
- render(Image, RenderOptions) - Method in class dev.avelar.mapnik.MapnikMap
- renderGrid(String) - Method in class dev.avelar.mapnik.MapnikMap
-
A UTFGrid of the layer with features named by their id, including no attributes, at 4 pixels per cell.
- renderGrid(String, String, Collection<String>, int) - Method in class dev.avelar.mapnik.MapnikMap
-
Render one layer as a UTFGrid: for each small cell of the picture, which feature is there.
- renderGrid(String, String, Collection<String>, int, RenderOptions) - Method in class dev.avelar.mapnik.MapnikMap
- renderLayers(Collection<String>) - Method in class dev.avelar.mapnik.MapnikMap
-
Render only the named layers, then put every layer's active flag back as it was.
- RenderOptions - Class in dev.avelar.mapnik
-
Options for rendering a map.
- renderTile(int, int, int, int) - Method in class dev.avelar.mapnik.MapnikMap
- renderTile(Tiles.Tile, int) - Method in class dev.avelar.mapnik.MapnikMap
-
Render one tile of the standard web map grid (see
Tiles) as an image the size of the map, which must be square: its width is the tile size, usually 256 or 512. - renderTileToBytes(Tiles.Tile, String, int) - Method in class dev.avelar.mapnik.MapnikMap
-
A tile encoded as
png,jpegand so on, as forMapnikMap.renderToBytes(dev.avelar.mapnik.ImageFormat). - renderToBytes(ImageFormat) - Method in class dev.avelar.mapnik.MapnikMap
-
As
MapnikMap.renderToBytes(String), with a format built byImageFormat, such asImageFormat.png8().colors(64). - renderToBytes(ImageFormat, RenderOptions) - Method in class dev.avelar.mapnik.MapnikMap
- renderToBytes(String) - Method in class dev.avelar.mapnik.MapnikMap
-
Render to memory.
- renderToBytes(String, RenderOptions) - Method in class dev.avelar.mapnik.MapnikMap
- renderToFile(Path, ImageFormat) - Method in class dev.avelar.mapnik.MapnikMap
-
As
MapnikMap.renderToFile(Path, String), with a format built byImageFormat. - renderToFile(Path, String) - Method in class dev.avelar.mapnik.MapnikMap
-
Render to a file.
- renderToFile(Path, String, RenderOptions) - Method in class dev.avelar.mapnik.MapnikMap
- renderToImage() - Method in class dev.avelar.mapnik.MapnikMap
-
Render to a new
Imagethe size of the map. - renderToImage(RenderOptions) - Method in class dev.avelar.mapnik.MapnikMap
- renderToPng() - Method in class dev.avelar.mapnik.MapnikMap
- repeatDistance(double) - Method in class dev.avelar.mapnik.Symbolizer
-
Text on lines: repeat the label every this many pixels along the line.
- replaceStyle(Style) - Method in class dev.avelar.mapnik.MapnikMap
-
Add a style, replacing one of the same name if there is one.
- reproject(CoordinateTransform) - Method in class dev.avelar.mapnik.Feature
-
A copy of this feature with its geometry reprojected.
- reproject(CoordinateTransform) - Method in class dev.avelar.mapnik.Geometry
-
A copy with every coordinate moved from the transform's source projection to its destination.
- resetBufferSize() - Method in class dev.avelar.mapnik.Layer
- resetMaximumExtent() - Method in class dev.avelar.mapnik.Layer
- resetMaximumExtent() - Method in class dev.avelar.mapnik.MapnikMap
- resize(int, int) - Method in class dev.avelar.mapnik.MapnikMap
- resolution() - Method in class dev.avelar.mapnik.UtfGrid
-
Pixels of the image per cell of the grid.
- resolution(double, double) - Method in class dev.avelar.mapnik.FeatureQuery
-
Pixels per map unit on each axis.
- resolution(int, int) - Static method in class dev.avelar.mapnik.Tiles
-
The size of one pixel, in metres, for tiles
tileSizepixels wide at a zoom. - resolutionX() - Method in class dev.avelar.mapnik.FeatureRequest
-
Pixels per map unit across.
- resolutionY() - Method in class dev.avelar.mapnik.FeatureRequest
-
Pixels per map unit down.
- RESPECT - Enum constant in enum class dev.avelar.mapnik.AspectFixMode
-
Do nothing: the box is used exactly, so pixels may be stretched.
- rgb(int, int, int) - Static method in class dev.avelar.mapnik.Color
- rings() - Method in class dev.avelar.mapnik.Geometry.Polygon
-
The exterior ring followed by the holes.
- RLE - Enum constant in enum class dev.avelar.mapnik.ImageFormat.PngStrategy
- rotation(double) - Method in class dev.avelar.mapnik.Symbolizer
-
Text: turn the label by this many degrees clockwise.
- rows() - Method in class dev.avelar.mapnik.UtfGrid
- rowsPerStrip(int) - Method in class dev.avelar.mapnik.ImageFormat
-
TIFF, stripped layout: rows in each strip.
- Rule - Class in dev.avelar.mapnik
-
Says which features get which symbolizers: an optional filter and scale range, then what to draw.
- rules() - Method in class dev.avelar.mapnik.Style
S
- SATURATION - Enum constant in enum class dev.avelar.mapnik.BlendMode
- save(Path, boolean) - Method in class dev.avelar.mapnik.MapnikMap
- save(Path, ImageFormat) - Method in class dev.avelar.mapnik.Image
- save(Path, String) - Method in class dev.avelar.mapnik.Image
- scale() - Method in class dev.avelar.mapnik.MapnikMap
-
Map units per pixel.
- scaled(int, int) - Method in class dev.avelar.mapnik.Image
-
A resized copy, using bilinear resampling.
- scaled(int, int, ScalingMethod) - Method in class dev.avelar.mapnik.Image
-
A resized copy.
- scaleDenominator() - Method in class dev.avelar.mapnik.FeatureRequest
-
The scale denominator of the map being drawn, for choosing how much detail to return.
- scaleDenominator() - Method in class dev.avelar.mapnik.MapnikMap
-
Scale denominator, as used by layers' and rules' scale ranges.
- scaleDenominator(double) - Method in class dev.avelar.mapnik.FeatureQuery
- scaleDenominator(double, boolean) - Static method in class dev.avelar.mapnik.Mapnik
-
The scale denominator for a map scale in projection units per pixel.
- scaleFactor() - Method in class dev.avelar.mapnik.RenderOptions
- scaleFactor(double) - Method in class dev.avelar.mapnik.RenderOptions
-
Scale line widths, symbols and text by this factor without changing the image size: 1.0 is normal, 2.0 suits an image rendered at twice the pixel size for a high-dpi screen.
- scaleHsla(double, double, double, double, double, double, double, double) - Static method in class dev.avelar.mapnik.ImageFilters
-
Shift hue, saturation, lightness and alpha.
- ScalingMethod - Enum Class in dev.avelar.mapnik
-
The resampling method for resizing an image.
- SCANLINE - Enum constant in enum class dev.avelar.mapnik.ImageFormat.TiffLayout
- SCREEN - Enum constant in enum class dev.avelar.mapnik.BlendMode
- set(int, int, double) - Method in class dev.avelar.mapnik.GrayImage
-
Set one pixel.
- setActive(boolean) - Method in class dev.avelar.mapnik.Layer
- setActiveLayers(Collection<String>) - Method in class dev.avelar.mapnik.MapnikMap
-
Draw only these layers; all others are turned off.
- setArgb(int, int, int) - Method in class dev.avelar.mapnik.Image
- setAspectFixMode(AspectFixMode) - Method in class dev.avelar.mapnik.MapnikMap
-
How
MapnikMap.zoomToBox(double, double, double, double)treats a box whose aspect ratio differs from the map's. - setBackground(Color) - Method in class dev.avelar.mapnik.MapnikMap
- setBackground(String) - Method in class dev.avelar.mapnik.MapnikMap
-
Set the background colour: a name (
"white"),"#rrggbb", or"rgba(r,g,b,a)". - setBackgroundImage(Path) - Method in class dev.avelar.mapnik.MapnikMap
- setBackgroundImageCompOp(BlendMode) - Method in class dev.avelar.mapnik.MapnikMap
- setBackgroundImageCompOp(String) - Method in class dev.avelar.mapnik.MapnikMap
- setBackgroundImageOpacity(double) - Method in class dev.avelar.mapnik.MapnikMap
- setBasePath(Path) - Method in class dev.avelar.mapnik.MapnikMap
-
Directory that relative paths in the style are resolved against.
- setBufferSize(int) - Method in class dev.avelar.mapnik.Layer
- setBufferSize(int) - Method in class dev.avelar.mapnik.MapnikMap
- setCacheFeatures(boolean) - Method in class dev.avelar.mapnik.Layer
- setClearLabelCache(boolean) - Method in class dev.avelar.mapnik.Layer
- setCompOp(BlendMode) - Method in class dev.avelar.mapnik.Layer
- setCompOp(String) - Method in class dev.avelar.mapnik.Layer
-
Set the blend mode.
- setDatasource(Datasource) - Method in class dev.avelar.mapnik.Layer
-
Attach a datasource.
- setEnvelope(Box2d) - Method in class dev.avelar.mapnik.JavaDatasource
-
Change the extent reported for the data, for example as it grows.
- setEnvelope(Box2d) - Method in class dev.avelar.mapnik.MemoryDatasource
-
Override the extent
Datasource.envelope()reports, which otherwise follows the features. - setFontDirectory(Path) - Method in class dev.avelar.mapnik.MapnikMap
- setFormat(String) - Static method in class dev.avelar.mapnik.Logging
- setGroupBy(String) - Method in class dev.avelar.mapnik.Layer
- setLayerActive(String, boolean) - Method in class dev.avelar.mapnik.MapnikMap
-
Turn one layer on or off.
- setMaximumExtent(Box2d) - Method in class dev.avelar.mapnik.Layer
- setMaximumExtent(Box2d) - Method in class dev.avelar.mapnik.MapnikMap
- setMaximumScaleDenominator(double) - Method in class dev.avelar.mapnik.Layer
- setMinimumScaleDenominator(double) - Method in class dev.avelar.mapnik.Layer
- setName(String) - Method in class dev.avelar.mapnik.Layer
- setOpacity(double) - Method in class dev.avelar.mapnik.Layer
- setParameter(String, Object) - Method in class dev.avelar.mapnik.MapnikMap
-
Set a parameter: a String, Boolean, Integer, Long, Double or Float.
- setQueryable(boolean) - Method in class dev.avelar.mapnik.Layer
- setSeverity(Logging.Severity) - Static method in class dev.avelar.mapnik.Logging
- setSeverity(String, Logging.Severity) - Static method in class dev.avelar.mapnik.Logging
- setSrs(String) - Method in class dev.avelar.mapnik.Layer
- setSrs(String) - Method in class dev.avelar.mapnik.MapnikMap
-
Set the map projection: anything Mapnik accepts, such as
epsg:3857or a PROJ string. - setTrustedCertificates(Path) - Static method in class dev.avelar.mapnik.Mapnik
-
Trust the certificates in a PEM file for HTTPS tile sources (see
Datasource.tilesFromUrl(java.lang.String, java.lang.String)), instead of the bundled list or the system's. - setup(Consumer<MapnikMap>) - Method in class dev.avelar.mapnik.MapPool.Builder
-
Run on each map when the pool is created, typically to load the style.
- severity() - Static method in class dev.avelar.mapnik.Logging
-
The global severity: messages below it are dropped.
- severity(String) - Static method in class dev.avelar.mapnik.Logging
-
The severity for one named part of Mapnik, such as
load_map. - sharpen() - Static method in class dev.avelar.mapnik.ImageFilters
- shield(String, String) - Static method in class dev.avelar.mapnik.Symbolizer
-
A text label drawn on top of an image, such as a road shield.
- SHRINK_BBOX - Enum constant in enum class dev.avelar.mapnik.AspectFixMode
-
Shrink the box's width or height to fill the map size.
- SHRINK_CANVAS - Enum constant in enum class dev.avelar.mapnik.AspectFixMode
-
Shrink the map's width or height to fit the box.
- simpleLayout(double) - Method in class dev.avelar.mapnik.Symbolizer
-
Lay group members out in a column,
itemMarginpixels apart. - simplify(SimplifyAlgorithm, double) - Method in class dev.avelar.mapnik.Geometry
-
A copy with fewer points, keeping the overall shape.
- SimplifyAlgorithm - Enum Class in dev.avelar.mapnik
-
How
Geometry.simplify(dev.avelar.mapnik.SimplifyAlgorithm, double)decides which points to drop. - SINC - Enum constant in enum class dev.avelar.mapnik.ScalingMethod
- size() - Method in class dev.avelar.mapnik.MapPool
-
The number of maps in the pool, borrowed or not.
- size() - Method in class dev.avelar.mapnik.MapPool.Stats
-
Maps in the pool.
- size() - Method in class dev.avelar.mapnik.MemoryDatasource
-
The number of features held.
- size(double, double) - Method in class dev.avelar.mapnik.Symbolizer
-
Markers and dots: width and height in pixels.
- sobel() - Static method in class dev.avelar.mapnik.ImageFilters
- SOFT_LIGHT - Enum constant in enum class dev.avelar.mapnik.BlendMode
- SOUTH - Enum constant in enum class dev.avelar.mapnik.Symbolizer.Position
- SOUTH_EAST - Enum constant in enum class dev.avelar.mapnik.Symbolizer.Position
- SOUTH_WEST - Enum constant in enum class dev.avelar.mapnik.Symbolizer.Position
- SPLINE16 - Enum constant in enum class dev.avelar.mapnik.ScalingMethod
- SPLINE36 - Enum constant in enum class dev.avelar.mapnik.ScalingMethod
- SRC - Enum constant in enum class dev.avelar.mapnik.BlendMode
- SRC_ATOP - Enum constant in enum class dev.avelar.mapnik.BlendMode
- SRC_IN - Enum constant in enum class dev.avelar.mapnik.BlendMode
- SRC_OUT - Enum constant in enum class dev.avelar.mapnik.BlendMode
- SRC_OVER - Enum constant in enum class dev.avelar.mapnik.BlendMode
- srs() - Method in class dev.avelar.mapnik.Layer
-
The projection of this layer's data.
- srs() - Method in class dev.avelar.mapnik.MapnikMap
-
The map projection, as given in the style or by
MapnikMap.setSrs(java.lang.String), e.g. - srs() - Method in class dev.avelar.mapnik.RasterGrid
-
The projection as
epsg:<code>, or null if the file has none or it is not an EPSG code. - stackBlur(int, int) - Static method in class dev.avelar.mapnik.ImageFilters
-
A smoother blur; radii are in pixels.
- stats() - Method in class dev.avelar.mapnik.MapPool
-
A snapshot of how busy the pool has been.
- stop(double, Color) - Method in class dev.avelar.mapnik.RasterColorizer
- stop(double, String) - Method in class dev.avelar.mapnik.RasterColorizer
-
Add a stop at
value, which must be above the previous stop's. - stop(double, String, RasterColorizer.Mode, String) - Method in class dev.avelar.mapnik.RasterColorizer
-
As
RasterColorizer.stop(double, String)with its own mode and an optional label, which may be null. - stopCount() - Method in class dev.avelar.mapnik.RasterColorizer
- strategy(ImageFormat.PngStrategy) - Method in class dev.avelar.mapnik.ImageFormat
-
PNG and PNG8: the zlib strategy.
- STRING - Enum constant in enum class dev.avelar.mapnik.Datasource.FieldType
- STRIPPED - Enum constant in enum class dev.avelar.mapnik.ImageFormat.TiffLayout
- stroke(Color) - Method in class dev.avelar.mapnik.Symbolizer
- stroke(String) - Method in class dev.avelar.mapnik.Symbolizer
- strokeDasharray(String) - Method in class dev.avelar.mapnik.Symbolizer
-
For example
"5,3": 5 units on, 3 off. - strokeLinecap(String) - Method in class dev.avelar.mapnik.Symbolizer
-
butt,roundorsquare. - strokeLinejoin(String) - Method in class dev.avelar.mapnik.Symbolizer
-
miter,roundorbevel. - strokeOpacity(double) - Method in class dev.avelar.mapnik.Symbolizer
- strokeWidth(double) - Method in class dev.avelar.mapnik.Symbolizer
- style() - Method in exception dev.avelar.mapnik.MapLoadException
-
The name of the style the problem was in, or null.
- style(String) - Method in class dev.avelar.mapnik.MapnikMap
-
One style by name, read back as in
MapnikMap.styles(), or empty if the map has none of that name. - Style - Class in dev.avelar.mapnik
-
A named set of
Rules. - Style.FilterMode - Enum Class in dev.avelar.mapnik
-
Whether every matching rule draws, or only the first one that matches.
- styleNames() - Method in class dev.avelar.mapnik.MapnikMap
-
Names of the styles defined in the map, sorted.
- styles() - Method in class dev.avelar.mapnik.Layer
-
Names of the styles this layer is drawn with, in order.
- styles() - Method in class dev.avelar.mapnik.MapnikMap
-
The styles in the map as objects, read back from the map's XML: the ones you added in code, and the ones a loaded style file defined.
- supports(Capability) - Static method in class dev.avelar.mapnik.Mapnik
- SVG - Enum constant in enum class dev.avelar.mapnik.Marker.Kind
- Symbolizer - Class in dev.avelar.mapnik
-
One drawing instruction inside a
Rule: how to draw the geometry of a matching feature. - Symbolizer.LabelPlacement - Enum Class in dev.avelar.mapnik
-
Where labels go relative to the geometry.
- Symbolizer.Position - Enum Class in dev.avelar.mapnik
-
Which placements to try for a label, in order, when the first does not fit.
- symbolizers() - Method in class dev.avelar.mapnik.Rule
T
- text() - Method in class dev.avelar.mapnik.Expression
-
The text this expression was parsed from.
- text() - Method in class dev.avelar.mapnik.PathExpression
- text(String) - Static method in class dev.avelar.mapnik.Symbolizer
-
Draw text.
- TextFormat - Class in dev.avelar.mapnik
-
One run of text in a label, with its own font, size and colours, so a label can mix styles: a bold name followed by a smaller grey population.
- TextPlacement - Class in dev.avelar.mapnik
-
One alternative way to place a label.
- textTransform(String) - Method in class dev.avelar.mapnik.Symbolizer
-
Text: change the case of the label:
none,uppercase,lowercase,capitalizeorreverse. - textTransform(String) - Method in class dev.avelar.mapnik.TextFormat
-
none,uppercase,lowercaseorcapitalize. - THREADSAFE - Enum constant in enum class dev.avelar.mapnik.Capability
-
Safe for several threads to render at once, each with its own map.
- tiff() - Static method in class dev.avelar.mapnik.ImageFormat
-
TIFF, uncompressed unless you say otherwise.
- TIFF - Enum constant in enum class dev.avelar.mapnik.Capability
-
Reading and writing TIFF.
- Tile(int, int, int) - Constructor for class dev.avelar.mapnik.Tiles.Tile
-
Throws
IllegalArgumentExceptionif the tile is not on the grid. - tileAt(double, double, int) - Static method in class dev.avelar.mapnik.Tiles
-
The tile containing a location at a zoom.
- TILED - Enum constant in enum class dev.avelar.mapnik.ImageFormat.TiffLayout
- Tiles - Class in dev.avelar.mapnik
-
Maths for the standard "slippy map" tile grid used by web maps (XYZ or Google scheme): zoom 0 is one tile covering the world in Web Mercator (EPSG:3857), and each zoom splits every tile in four.
- Tiles.Tile - Class in dev.avelar.mapnik
-
One tile of the grid.
- tilesFromUrl(String, String) - Static method in class dev.avelar.mapnik.Datasource
-
Tiles fetched over HTTP:
urlis a TileJSON document (.json) or a template such ashttp://host/{z}/{x}/{y}.pbf(or.mvt; other endings are read as raster tiles). - timeouts() - Method in class dev.avelar.mapnik.MapPool.Stats
-
Requests that gave up waiting.
- title() - Method in class dev.avelar.mapnik.Rule
- title(String) - Method in class dev.avelar.mapnik.Rule
- tmsY() - Method in class dev.avelar.mapnik.Tiles.Tile
-
The y of this tile in the TMS scheme, which counts from the bottom.
- toArgb() - Method in class dev.avelar.mapnik.Color
-
As
0xAARRGGBB. - toArgb() - Method in class dev.avelar.mapnik.Image
-
All pixels as
0xAARRGGBB, row by row from the top left. - toBufferedImage() - Method in class dev.avelar.mapnik.Image
-
A copy as a
BufferedImageof typeTYPE_INT_ARGB. - toBytes(ImageFormat) - Method in class dev.avelar.mapnik.Image
-
As
Image.toBytes(String), with a format built byImageFormat. - toBytes(String) - Method in class dev.avelar.mapnik.Image
-
Encode the image.
- toConsole() - Static method in class dev.avelar.mapnik.Logging
-
Write the log to the console again.
- toFile(Path) - Static method in class dev.avelar.mapnik.Logging
-
Write the log to a file instead of the console.
- toGeoJson() - Method in class dev.avelar.mapnik.Feature
-
The whole feature as a GeoJSON Feature.
- toGeoJson() - Method in class dev.avelar.mapnik.Geometry
-
As a GeoJSON geometry object, for example
{"type":"Point","coordinates":[1,2]}. - toGrayImage() - Method in class dev.avelar.mapnik.RasterGrid
-
A
GrayImageof the file's own pixel type. - toGrayImage(GrayImage.Type) - Method in class dev.avelar.mapnik.RasterGrid
-
A
GrayImageof the given type. - toHex() - Method in class dev.avelar.mapnik.Color
-
#rrggbb, or#rrggbbaawhen not opaque. - toJson() - Method in class dev.avelar.mapnik.UtfGrid
-
The JSON, ready to send to a web map.
- toList() - Method in class dev.avelar.mapnik.Featureset
-
Read all remaining features into a list.
- toPixel(double, double) - Method in class dev.avelar.mapnik.MapnikMap
-
Where a point in map coordinates (the map's projection) lands in the rendered image: x to the right, y down from the top left.
- toPixel(Point2d) - Method in class dev.avelar.mapnik.MapnikMap
- toPng() - Method in class dev.avelar.mapnik.Image
- toPoint2d() - Method in class dev.avelar.mapnik.Geometry.Point
- toString() - Method in class dev.avelar.mapnik.Box2d
- toString() - Method in class dev.avelar.mapnik.Color
-
Mapnik's own spelling, for example
rgb(255,0,0)orrgba(255,0,0,0.5). - toString() - Method in class dev.avelar.mapnik.Datasource.Field
- toString() - Method in class dev.avelar.mapnik.Expression
- toString() - Method in class dev.avelar.mapnik.Feature
- toString() - Method in class dev.avelar.mapnik.FeatureRequest
- toString() - Method in class dev.avelar.mapnik.FontSet
- toString() - Method in class dev.avelar.mapnik.Geometry.Nearest
- toString() - Method in class dev.avelar.mapnik.Geometry
- toString() - Method in class dev.avelar.mapnik.GroupRule
- toString() - Method in class dev.avelar.mapnik.Image.Info
- toString() - Method in class dev.avelar.mapnik.ImageFormat
-
The format as Mapnik writes it, such as
png8:c=64:m=h. - toString() - Method in class dev.avelar.mapnik.MapPool.Stats
- toString() - Method in class dev.avelar.mapnik.Marker
- toString() - Method in class dev.avelar.mapnik.PathExpression
- toString() - Method in class dev.avelar.mapnik.Point2d
- toString() - Method in class dev.avelar.mapnik.RasterColorizer
- toString() - Method in class dev.avelar.mapnik.RenderOptions
- toString() - Method in class dev.avelar.mapnik.Rule
- toString() - Method in class dev.avelar.mapnik.Style
- toString() - Method in class dev.avelar.mapnik.Symbolizer
- toString() - Method in class dev.avelar.mapnik.TextFormat
- toString() - Method in class dev.avelar.mapnik.TextPlacement
- toString() - Method in class dev.avelar.mapnik.Tiles.Tile
- toString() - Method in class dev.avelar.mapnik.UtfGrid
- toWkb() - Method in class dev.avelar.mapnik.Geometry
-
As little-endian 2D WKB.
- toWkt() - Method in class dev.avelar.mapnik.Geometry
-
As WKT, for example
POINT(1 2). - toWorld(double, double) - Method in class dev.avelar.mapnik.MapnikMap
-
The map coordinates under a pixel of the rendered image.
- toWorld(Point2d) - Method in class dev.avelar.mapnik.MapnikMap
- toXml() - Method in class dev.avelar.mapnik.FontSet
- toXml() - Method in class dev.avelar.mapnik.GroupRule
- toXml() - Method in class dev.avelar.mapnik.MapnikMap
- toXml() - Method in class dev.avelar.mapnik.RasterColorizer
- toXml() - Method in class dev.avelar.mapnik.Rule
- toXml() - Method in class dev.avelar.mapnik.Style
- toXml() - Method in class dev.avelar.mapnik.Symbolizer
- toXml() - Method in class dev.avelar.mapnik.TextFormat
- toXml() - Method in class dev.avelar.mapnik.TextPlacement
- toXml(boolean) - Method in class dev.avelar.mapnik.MapnikMap
-
The map as Mapnik XML.
- Transforms - Class in dev.avelar.mapnik
-
Checks for the SVG-style transforms used by the
geometry-transformandimage-transformattributes, such astranslate(10,20) rotate(45) scale(2). - transparency(ImageFormat.Transparency) - Method in class dev.avelar.mapnik.ImageFormat
-
PNG8: what to do with transparency.
- TRANSPARENT - Static variable in class dev.avelar.mapnik.Color
- type() - Method in class dev.avelar.mapnik.Datasource.Field
- type() - Method in class dev.avelar.mapnik.Datasource
- type() - Method in class dev.avelar.mapnik.GrayImage
- type() - Method in class dev.avelar.mapnik.RasterGrid
-
The pixel type that holds the file's values exactly.
U
- UINT16 - Enum constant in enum class dev.avelar.mapnik.GrayImage.Type
- UINT32 - Enum constant in enum class dev.avelar.mapnik.GrayImage.Type
- UINT64 - Enum constant in enum class dev.avelar.mapnik.GrayImage.Type
- UINT8 - Enum constant in enum class dev.avelar.mapnik.GrayImage.Type
- UNKNOWN - Enum constant in enum class dev.avelar.mapnik.Datasource.GeometryType
- UNKNOWN - Enum constant in enum class dev.avelar.mapnik.GeometryKind
- upright(String) - Method in class dev.avelar.mapnik.Symbolizer
-
Text on lines: which way up the letters stand:
auto,auto-down,left,right,left-onlyorright-only. - UtfGrid - Class in dev.avelar.mapnik
-
A UTFGrid: a coarse picture in which each cell names the feature drawn there, so a web map can highlight a feature or show its details when the pointer is over it.
V
- validate(String, Path) - Static method in class dev.avelar.mapnik.MapnikMap
-
Check a style without keeping it: load it into a throwaway map in strict mode and report what Mapnik objects to.
- validityReason() - Method in class dev.avelar.mapnik.Geometry
-
Why the geometry is invalid, in Mapnik's words, or a sentence saying it is valid.
- VALUE - Enum constant in enum class dev.avelar.mapnik.BlendMode
- valueAt(double, double) - Method in class dev.avelar.mapnik.RasterGrid
-
The value under a map position, or NaN if it is outside the extent or the grid has none.
- valueOf(String) - Static method in enum class dev.avelar.mapnik.AspectFixMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.avelar.mapnik.BlendMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.avelar.mapnik.Capability
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.avelar.mapnik.Datasource.FieldType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.avelar.mapnik.Datasource.GeometryType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.avelar.mapnik.Datasource.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.avelar.mapnik.GeometryKind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.avelar.mapnik.GrayImage.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.avelar.mapnik.ImageFormat.PngStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.avelar.mapnik.ImageFormat.Quantizer
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.avelar.mapnik.ImageFormat.TiffCompression
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.avelar.mapnik.ImageFormat.TiffLayout
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.avelar.mapnik.ImageFormat.Transparency
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.avelar.mapnik.Logging.Severity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.avelar.mapnik.Marker.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.avelar.mapnik.RasterColorizer.Mode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.avelar.mapnik.ScalingMethod
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.avelar.mapnik.SimplifyAlgorithm
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.avelar.mapnik.Style.FilterMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.avelar.mapnik.Symbolizer.LabelPlacement
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.avelar.mapnik.Symbolizer.Position
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class dev.avelar.mapnik.AspectFixMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.avelar.mapnik.BlendMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.avelar.mapnik.Capability
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.avelar.mapnik.Datasource.FieldType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.avelar.mapnik.Datasource.GeometryType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.avelar.mapnik.Datasource.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.avelar.mapnik.GeometryKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.avelar.mapnik.GrayImage.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.avelar.mapnik.ImageFormat.PngStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.avelar.mapnik.ImageFormat.Quantizer
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.avelar.mapnik.ImageFormat.TiffCompression
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.avelar.mapnik.ImageFormat.TiffLayout
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.avelar.mapnik.ImageFormat.Transparency
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.avelar.mapnik.Logging.Severity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.avelar.mapnik.Marker.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.avelar.mapnik.RasterColorizer.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class dev.avelar.mapnik.RasterGrid
-
Every value, row by row from the top left.
- values() - Static method in enum class dev.avelar.mapnik.ScalingMethod
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.avelar.mapnik.SimplifyAlgorithm
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.avelar.mapnik.Style.FilterMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.avelar.mapnik.Symbolizer.LabelPlacement
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.avelar.mapnik.Symbolizer.Position
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VECTOR - Enum constant in enum class dev.avelar.mapnik.Datasource.Type
- version() - Static method in class dev.avelar.mapnik.Mapnik
-
Version of the Mapnik library the native shim is loaded against.
- versionNumber() - Static method in class dev.avelar.mapnik.Mapnik
-
Numeric Mapnik version: major * 100000 + minor * 100 + patch, for example 400302 for 4.3.2.
- VERTEX - Enum constant in enum class dev.avelar.mapnik.Symbolizer.LabelPlacement
-
At each vertex.
- verticalAlignment(String) - Method in class dev.avelar.mapnik.Symbolizer
-
Text: vertical alignment of the label to its position:
top,middle,bottomorauto. - VISVALINGAM_WHYATT - Enum constant in enum class dev.avelar.mapnik.SimplifyAlgorithm
-
Drops the points that change the shape least, by triangle area.
W
- waitedNanos() - Method in class dev.avelar.mapnik.MapPool.Stats
-
Total time callers spent waiting for a map, in nanoseconds.
- waiting() - Method in class dev.avelar.mapnik.MapPool.Stats
-
Callers waiting for a map right now.
- warmup(Consumer<MapnikMap>) - Method in class dev.avelar.mapnik.MapPool.Builder
-
Run on each map after setup, to make the first real request as fast as the rest: draw once, so that fonts, symbols and datasources are loaded and cached.
- WARN - Enum constant in enum class dev.avelar.mapnik.Logging.Severity
- warp(String, Box2d, String, Box2d, int, int, ScalingMethod) - Method in class dev.avelar.mapnik.Image
-
Reproject this image, which covers
sourceExtentinsourceSrs, into a new image ofwidthxheightpixels that coverstargetExtentintargetSrs. - warp(String, Box2d, String, Box2d, int, int, ScalingMethod, int) - Method in class dev.avelar.mapnik.Image
-
As above, with the size in pixels of the grid the warp is approximated on (Mapnik's default is 16).
- webp() - Static method in class dev.avelar.mapnik.ImageFormat
-
WebP, lossy at quality 90 unless you say otherwise.
- WEBP - Enum constant in enum class dev.avelar.mapnik.Capability
-
Reading and writing WebP.
- WEST - Enum constant in enum class dev.avelar.mapnik.Symbolizer.Position
- WHITE - Static variable in class dev.avelar.mapnik.Color
- width() - Method in class dev.avelar.mapnik.Box2d
- width() - Method in class dev.avelar.mapnik.GrayImage
- width() - Method in class dev.avelar.mapnik.Image.Info
- width() - Method in class dev.avelar.mapnik.Image
- width() - Method in class dev.avelar.mapnik.MapnikMap
- width() - Method in class dev.avelar.mapnik.Marker
-
The width of the drawing: of what is drawn for an SVG, of the picture for an image.
- width() - Method in class dev.avelar.mapnik.RasterGrid
- within(Box2d) - Static method in class dev.avelar.mapnik.FeatureQuery
-
Features whose bounding box touches
bbox, in the datasource's projection. - withMap(Function<MapnikMap, T>) - Method in class dev.avelar.mapnik.MapPool
-
Borrow a map, run
workwith it and give it back, also whenworkthrows. - wrapBefore(boolean) - Method in class dev.avelar.mapnik.Symbolizer
-
Text: wrap before the wrap character instead of after it.
- wrapCharacter(String) - Method in class dev.avelar.mapnik.Symbolizer
-
Text: the character to wrap at, a space by default.
- wrapWidth(double) - Method in class dev.avelar.mapnik.Symbolizer
-
Text: wrap lines longer than this many pixels.
- write(double[]) - Method in class dev.avelar.mapnik.GrayImage
-
Replace every pixel.
X
- x() - Method in class dev.avelar.mapnik.Geometry.Point
- x() - Method in class dev.avelar.mapnik.Point2d
- x() - Method in class dev.avelar.mapnik.Tiles.Tile
- xGradient() - Static method in class dev.avelar.mapnik.ImageFilters
- xmlName() - Method in enum class dev.avelar.mapnik.BlendMode
-
The name as written in style files, for example
src-over. - xmlName() - Method in enum class dev.avelar.mapnik.ScalingMethod
-
The name as written in style files, for example
bilinear. - xmlName() - Method in enum class dev.avelar.mapnik.SimplifyAlgorithm
-
The name as written in style files, for example
douglas-peucker. - XOR - Enum constant in enum class dev.avelar.mapnik.BlendMode
Y
- y() - Method in class dev.avelar.mapnik.Geometry.Point
- y() - Method in class dev.avelar.mapnik.Point2d
- y() - Method in class dev.avelar.mapnik.Tiles.Tile
- yGradient() - Static method in class dev.avelar.mapnik.ImageFilters
Z
- z() - Method in class dev.avelar.mapnik.Tiles.Tile
- ZHAO_SALFELD - Enum constant in enum class dev.avelar.mapnik.SimplifyAlgorithm
-
A variant of Visvalingam-Whyatt that keeps the line's overall direction.
- zlevel(int) - Method in class dev.avelar.mapnik.ImageFormat
-
TIFF with deflate compression: the zlib level, from 0 to 9.
- zoom(double) - Method in class dev.avelar.mapnik.MapnikMap
-
Scale the extent about its centre by
factor: above 1 zooms out (shows more), below 1 zooms in. - zoomAll() - Method in class dev.avelar.mapnik.MapnikMap
-
Fit the extent of all layers' data.
- zoomToBox(double, double, double, double) - Method in class dev.avelar.mapnik.MapnikMap
- zoomToBox(Box2d) - Method in class dev.avelar.mapnik.MapnikMap
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form