All Classes and Interfaces
Class
Description
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.How one image or layer is blended onto another.
An axis-aligned bounding box, in the units of whatever projection it is used with.
Something a Mapnik build may or may not include.
An RGBA colour with 8 bits per channel.
Converts points and boxes from a source projection to a destination projection, and back.
A Mapnik datasource, such as a shapefile or a GeoJSON file.
A named attribute column.
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.One feature: an id, named attributes and a geometry.
What to ask a
Datasource for: an area, optionally a resolution, scale and attribute list.What Mapnik is asking a
FeatureSource for.A stream of features from a query.
Supplies features to a
JavaDatasource when Mapnik asks for them.A list of font faces to try in order, so text falls back to the next one for characters a font
lacks.
A 2D geometry: a point, line, polygon, a multi version of those, or a collection.
A mix of geometries.
A connected series of points.
Several lines.
Several separate points.
Several polygons.
The closest point on a geometry to some location, and how far away it is.
A single location.
An area: an exterior ring and any number of holes.
The kind of geometry a feature holds.
An image with one number per pixel: an elevation grid, a temperature field, a count, a grey picture.
What each pixel holds.
One rule inside a group symbolizer: what to draw for the features of the group that match a filter.
A raster image in 8-bit RGBA, such as a rendered map or a picture loaded from a file.
The size and format of an encoded image, read without decoding the pixels.
Builds the text for
Image.filter(String...), the same syntax as the image-filters
style attribute.An image format with its options, built in code instead of written as a string.
The zlib strategy of a PNG.
How PNG8 chooses its palette.
How TIFF data is compressed.
How a TIFF is laid out in the file.
What PNG8 does about the alpha channel.
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.
The native side calls this to ask a
JavaDatasource for features.The native side calls this when it is done with a
JavaDatasource.A map layer.
Mapnik's own log, which it writes to the console (standard error) by default.
How much Mapnik says.
A style could not be loaded.
Global Mapnik setup.
A Mapnik map.
A fixed number of identical maps shared by many threads.
Builds a pool; see
MapPool.builder(int, int, int).Thrown by
MapPool.borrow() and MapPool.withMap(java.util.function.Function<dev.avelar.mapnik.MapnikMap, T>) when no map came free within the pool's maximum wait.How busy a pool has been since it was created.
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.
What kind of file it is.
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.
A text pattern with attribute names in brackets, such as
icons/[type].png, which a feature
fills in: a feature with type set to bus gives icons/bus.png.A 2D coordinate.
A coordinate reference system, such as
epsg:3857 or a PROJ string.Colours a single-band raster, such as an elevation grid or a grey image, by its values.
How values between stops are coloured.
A grid of numbers over an area, such as an elevation model, read from a file without GDAL.
Options for rendering a map.
Says which features get which symbolizers: an optional filter and scale range, then what to draw.
The resampling method for resizing an image.
How
Geometry.simplify(dev.avelar.mapnik.SimplifyAlgorithm, double) decides which points to drop.A named set of
Rules.Whether every matching rule draws, or only the first one that matches.
One drawing instruction inside a
Rule: how to draw the geometry of a matching feature.Where labels go relative to the geometry.
Which placements to try for a label, in order, when the first does not fit.
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.
One alternative way to place a label.
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.
One tile of the grid.
Checks for the SVG-style transforms used by the
geometry-transform and
image-transform attributes, such as translate(10,20) rotate(45) scale(2).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.