Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(Feature) - Method in interface com.geodesk.feature.Filter
-
Checks whether the given feature should be included in the query results.
- accept(Feature, Geometry) - Method in interface com.geodesk.feature.Filter
-
Checks whether the given feature should be included in the query results.
- acceptedTypes() - Method in interface com.geodesk.feature.Filter
- add(Feature) - Method in class com.geodesk.util.MapMaker
-
Adds a marker for the given feature.
- add(Bounds) - Method in class com.geodesk.geom.RTree.Node
- add(Bounds) - Method in class com.geodesk.util.MapMaker
-
Adds a marker for the given bounding box.
- add(Iterable<? extends Feature>) - Method in class com.geodesk.util.MapMaker
- add(Geometry) - Method in class com.geodesk.util.MapMaker
-
Adds a marker for the given JTS Geometry.
- addLineSegment(int, double, double, double, double, int) - Static method in class com.geodesk.geom.TileQuad
- addPoint(int, int, int, int) - Static method in class com.geodesk.geom.TileQuad
- addQuad(int, int) - Static method in class com.geodesk.geom.TileQuad
-
Adds two quads together and returns the resulting quad.
- addTile(int, int) - Static method in class com.geodesk.geom.TileQuad
-
Adds a tile to the given quad and returns the resulting quad.
- area() - Method in interface com.geodesk.feature.Feature
-
Measures the area of a feature.
- area() - Method in interface com.geodesk.geom.Bounds
- area(Feature) - Static method in class com.geodesk.geom.Measure
- area(Geometry) - Static method in class com.geodesk.geom.Mercator
-
Calculates the area of the given geometry (in square meters).
- atLonLat(double, double) - Static method in class com.geodesk.geom.Box
-
Creates a `Box` that covers a single point.
- attribution(String) - Method in class com.geodesk.util.MapMaker
-
Sets the attribution displayed on the map.
- atXY(int, int) - Static method in class com.geodesk.geom.Box
-
Creates a `Box` that covers a single point.
B
- belongsTo(Feature) - Method in interface com.geodesk.feature.Feature
-
Checks whether this feature is a member of the given Relation, or a node in the given Way.
- belongsToRelation() - Method in interface com.geodesk.feature.Feature
-
Checks whether this Feature is a member of a Relation.
- blackTile(int) - Static method in class com.geodesk.geom.TileQuad
- booleanValue(String) - Method in interface com.geodesk.feature.Feature
- bottom() - Method in class com.geodesk.geom.TileBox
- bottomRight - Variable in class com.geodesk.geom.TileBox
- bottomRight(Bounds, int) - Static method in class com.geodesk.geom.Tile
-
Returns the bottom-right tile occupied by a bounding box.
- bottomY(int) - Static method in class com.geodesk.geom.Tile
-
Returns the bottom (lowest) y-coordinate that lies within the given tile.
- BoundedItem<T> - Class in com.geodesk.geom
- BoundedItem(Bounds, T) - Constructor for class com.geodesk.geom.BoundedItem
- bounds() - Method in interface com.geodesk.feature.Feature
-
Retrieves the bounding box of the feature.
- bounds() - Method in interface com.geodesk.feature.Filter
-
The maximum bounding box in which acceptable candidates can be found.
- bounds() - Method in class com.geodesk.util.Marker
- bounds(int) - Static method in class com.geodesk.geom.Tile
- bounds(int[]) - Static method in class com.geodesk.geom.Coordinates
- Bounds - Interface in com.geodesk.geom
- Box - Class in com.geodesk.geom
-
An axis-aligned bounding box.
- Box() - Constructor for class com.geodesk.geom.Box
-
Creates a null Box.
- Box(int, int) - Constructor for class com.geodesk.geom.Box
- Box(int, int, int, int) - Constructor for class com.geodesk.geom.Box
- Box(Bounds) - Constructor for class com.geodesk.geom.Box
- BoxBuilder - Class in com.geodesk.geom
- BoxBuilder() - Constructor for class com.geodesk.geom.BoxBuilder
- buffer(int) - Method in class com.geodesk.geom.Box
-
Expands or contracts all sides of this bounding box by a specified number of imps.
- bufferMeters(double) - Method in class com.geodesk.geom.Box
-
Expands or contracts all sides of this bounding box by a specified number of meters.
- build(ArrayList<? extends Bounds>) - Method in class com.geodesk.geom.OmtTreeBuilder
- build(ArrayList<? extends Bounds>) - Method in interface com.geodesk.geom.SpatialTreeBuilder
C
- castRay(int[], double, double) - Static method in class com.geodesk.geom.XY
-
Fast but non-robust method to check how many times a line from a point intersects the given segments, using the ray-casting algorithm (https://en.wikipedia.org/wiki/Point_in_polygon#Ray_casting_algorithm).
- centerX() - Method in interface com.geodesk.geom.Bounds
- centerY() - Method in interface com.geodesk.geom.Bounds
- children() - Method in class com.geodesk.geom.RTree.Node
- childrenOfTileAtZoom(int, int) - Static method in class com.geodesk.geom.Tile
- clear() - Method in class com.geodesk.geom.TileBox
- close() - Method in class com.geodesk.feature.FeatureLibrary
-
Closes the library and releases its resources.
- color(String) - Method in class com.geodesk.util.Marker
-
Specifies the color of this Marker.
- column(int) - Static method in class com.geodesk.geom.Tile
- columnFromXZ(int, int) - Static method in class com.geodesk.geom.Tile
- com.geodesk.feature - package com.geodesk.feature
- com.geodesk.geom - package com.geodesk.geom
- com.geodesk.io - package com.geodesk.io
- com.geodesk.util - package com.geodesk.util
- compare(long, long) - Static method in class com.geodesk.feature.FeatureId
- connectedTo(Feature) - Method in interface com.geodesk.feature.Features
-
Returns all features that have at least one common node with the given `Feature`.
- connectedTo(Feature) - Static method in class com.geodesk.feature.Filters
-
Deprecated.Creates a `Filter` that accept features that have at least one common node with the given `Feature`.
- connectedTo(Geometry) - Method in interface com.geodesk.feature.Features
-
Returns all features that have at least one common vertex with the given `Geometry`.
- connectedTo(Geometry) - Static method in class com.geodesk.feature.Filters
-
Deprecated.Creates a `Filter` that accept features that have at least one common vertex with the given `Geometry`.
- containing(Feature) - Method in interface com.geodesk.feature.Features
-
Returns all features that contain the given feature.
- containing(Geometry) - Method in interface com.geodesk.feature.Features
-
Returns all features that contain the given `Geometry`.
- containing(PreparedGeometry) - Method in interface com.geodesk.feature.Features
-
Returns all features that contain the given `PreparedGeometry`.
- containingLonLat(double, double) - Method in interface com.geodesk.feature.Features
-
Returns all features that contain the given coordinate expressed at longitude and latitude
- containingXY(int, int) - Method in interface com.geodesk.feature.Features
-
Returns all features that contain the given Mercator-projected coordinate
- contains(int[], int, int) - Static method in class com.geodesk.geom.XY
- contains(int, int) - Method in interface com.geodesk.geom.Bounds
- contains(Feature) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- contains(Bounds) - Method in interface com.geodesk.geom.Bounds
- contains(Object) - Method in interface com.geodesk.feature.Features
-
Checks whether this collection contains the given object.
- contains(Geometry) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- contains(PreparedGeometry) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- containsLonLat(double, double) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- containsTile(int, int) - Static method in class com.geodesk.geom.TileQuad
- containsXY(int, int) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- Coordinates - Class in com.geodesk.geom
- Coordinates() - Constructor for class com.geodesk.geom.Coordinates
- CoordinateTransformer - Class in com.geodesk.util
- CoordinateTransformer(int) - Constructor for class com.geodesk.util.CoordinateTransformer
- CoordinateTransformer.FromMercator - Class in com.geodesk.util
- CoordinateTransformer.ToMercator - Class in com.geodesk.util
- count() - Method in interface com.geodesk.feature.Features
-
Returns the number of features in this collection.
- countLongDeltas(int[]) - Static method in class com.geodesk.geom.Coordinates
- coveredBy(Feature) - Method in interface com.geodesk.feature.Features
- coveredBy(Feature) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- coveredBy(Geometry) - Method in interface com.geodesk.feature.Features
- coveredBy(Geometry) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- coveredBy(PreparedGeometry) - Method in interface com.geodesk.feature.Features
- coveredBy(PreparedGeometry) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- coversQuad(int, int) - Static method in class com.geodesk.geom.TileQuad
- coversTile(int, int) - Static method in class com.geodesk.geom.TileQuad
- createBranch(List<B>, int, int) - Method in interface com.geodesk.geom.SpatialTreeFactory
- createLeaf(List<? extends Bounds>, int, int) - Method in interface com.geodesk.geom.SpatialTreeFactory
- createLineString(Feature) - Method in class com.geodesk.util.GeometryBuilder
- createMultiLineString(Relation) - Method in class com.geodesk.util.GeometryBuilder
- createPointFromLonLat(double, double) - Method in class com.geodesk.util.GeometryBuilder
- crosses(Feature) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- crosses(Geometry) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- crosses(PreparedGeometry) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- crossesAntimeridian() - Method in class com.geodesk.geom.Box
-
Returns `true` if this bounding box straddles the Antimeridian.
- crossing(Feature) - Method in interface com.geodesk.feature.Features
- crossing(Geometry) - Method in interface com.geodesk.feature.Features
- crossing(PreparedGeometry) - Method in interface com.geodesk.feature.Features
D
- defaultTooltip() - Method in class com.geodesk.util.Marker
- deltaFromMeters(double, double) - Static method in class com.geodesk.geom.Mercator
-
Calculates the equivalent number of imps that are equal to the given distance in meters at a planar-projected latitude.
- dense(int) - Static method in class com.geodesk.geom.TileQuad
-
Returns a dense version of a quad.
- disjoint(Feature) - Method in interface com.geodesk.feature.Features
- disjoint(Feature) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- disjoint(Geometry) - Method in interface com.geodesk.feature.Features
- disjoint(Geometry) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- disjoint(PreparedGeometry) - Method in interface com.geodesk.feature.Features
- disjoint(PreparedGeometry) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- distance(double, double, double, double) - Static method in class com.geodesk.geom.Mercator
-
Calculates the Euclidean distance between two projected points.
- distance(Coordinate, Coordinate) - Static method in class com.geodesk.geom.Mercator
- distance(Geometry, Geometry) - Static method in class com.geodesk.geom.Mercator
- doubleValue(String) - Method in interface com.geodesk.feature.Feature
-
Returns the value of the given key as a double.
E
- EAST - Enum constant in enum class com.geodesk.geom.Heading
- eastFactor() - Method in enum class com.geodesk.geom.Heading
- envelope(double, double, double, double) - Static method in class com.geodesk.geom.Mercator
- envelope(int[]) - Static method in class com.geodesk.geom.Coordinates
- equals(Object) - Method in class com.geodesk.geom.Box
- expandEnvelope(Envelope, double) - Static method in class com.geodesk.geom.Mercator
- expandToInclude(int) - Method in class com.geodesk.geom.TileBox
- expandToInclude(int[]) - Method in class com.geodesk.geom.Box
- expandToInclude(int, int) - Method in class com.geodesk.geom.Box
-
Checks if this bounding box includes the given coordinate, and expands it if necessary.
- expandToInclude(int, int) - Method in class com.geodesk.geom.BoxBuilder
-
Checks if this bounding box includes the given coordinate, and expands it if necessary.
- expandToInclude(int, int, int, int) - Method in class com.geodesk.geom.Box
-
Checks if this bounding box includes another bounding box, and expands it if necessary.
- expandToInclude(Bounds) - Method in class com.geodesk.geom.Box
-
Checks if this bounding box includes another bounding box, and expands it if necessary.
- expandToInclude(Bounds) - Method in class com.geodesk.geom.BoxBuilder
-
Checks if this bounding box includes another bounding box, and expands it if necessary.
F
- Feature - Interface in com.geodesk.feature
-
A geographic feature.
- FeatureException - Exception in com.geodesk.feature
- FeatureException(String) - Constructor for exception com.geodesk.feature.FeatureException
- FeatureException(String, Exception) - Constructor for exception com.geodesk.feature.FeatureException
- FeatureId - Class in com.geodesk.feature
-
Methods for creating IDs that are unique across feature types.
- FeatureId() - Constructor for class com.geodesk.feature.FeatureId
- FeatureLibrary - Class in com.geodesk.feature
-
A Geographic Object Library containing features.
- FeatureLibrary(String) - Constructor for class com.geodesk.feature.FeatureLibrary
-
Creates a `FeatureLibrary` instance associated with an existing GOL file.
- FeatureLibrary(String, String) - Constructor for class com.geodesk.feature.FeatureLibrary
-
Creates a `FeatureLibrary` instance associated with the given GOL file; if the file does not exist, an empty library will be created.
- FeatureLibrary(Path) - Constructor for class com.geodesk.feature.FeatureLibrary
-
Creates a `FeatureLibrary` instance associated with an existing GOL file.
- FeatureLibrary(Path, String) - Constructor for class com.geodesk.feature.FeatureLibrary
-
Creates a `FeatureLibrary` instance associated with the given GOL file; if the file does not exist, an empty library will be created.
- Features - Interface in com.geodesk.feature
-
A collection of features.
- FeatureType - Enum Class in com.geodesk.feature
-
An enum representing the three feature types: NODE, WAY and RELATION.
- Filter - Interface in com.geodesk.feature
-
An interface for classes that select the features to be returned by a query.
- filterForTile(int, Polygon) - Method in interface com.geodesk.feature.Filter
-
Returns the Filter that should be used for the given tile.
- Filters - Class in com.geodesk.feature
-
Deprecated.
- Filters() - Constructor for class com.geodesk.feature.Filters
-
Deprecated.
- first() - Method in interface com.geodesk.feature.Features
-
Returns the first feature in the collection.
- fixMissing(int[], int, int) - Static method in class com.geodesk.geom.Coordinates
- forEach(int, IntProcedure) - Static method in class com.geodesk.geom.TileQuad
- forEach(IntConsumer) - Method in class com.geodesk.geom.TileBox
- from(String) - Static method in enum class com.geodesk.feature.FeatureType
- fromBounds(Bounds, int) - Static method in class com.geodesk.geom.Tile
-
Returns the tile occupied by the given bounding box, or -1 if its extends across multiple tiles.
- fromColumnRowZoom(int, int, int) - Static method in class com.geodesk.geom.Tile
-
Creates a tile number.
- fromCoordinates(Coordinate[]) - Static method in class com.geodesk.geom.Coordinates
- fromCoordinateSequence(CoordinateSequence) - Static method in class com.geodesk.geom.Coordinates
- fromDegrees(double) - Static method in enum class com.geodesk.geom.Heading
-
Returns the Heading closest to the given compass heading in degrees (0 = north, 90 = east, etc.)
- fromDenseParentLocator(byte, int) - Static method in class com.geodesk.geom.TileQuad
-
Reconstitutes a quad from an 8-bit locator, relative to a tile that must be a child tile of the quad.
- fromEnvelope(Envelope) - Static method in class com.geodesk.geom.Box
- FromMercator(int) - Constructor for class com.geodesk.util.CoordinateTransformer.FromMercator
- fromSingleTile(int) - Static method in class com.geodesk.geom.TileQuad
- fromSingleTile(String) - Static method in class com.geodesk.geom.TileQuad
- fromSparseSiblingLocator(byte, int) - Static method in class com.geodesk.geom.TileQuad
-
Reconstitutes a quad from a 6-bit locator, relative to a tile that must lie within the bounds of the quad (but does not have to be a member of the quad).
- fromString(String) - Static method in class com.geodesk.feature.FeatureId
- fromString(String) - Static method in class com.geodesk.geom.Tile
-
Parses a tile number from a String.
- fromWSEN(String) - Static method in class com.geodesk.geom.Box
-
Creates a Box from a string that specifies four coordinates (west, south, east, north), in degrees longitude/latitude.
- fromXY(int, int) - Static method in class com.geodesk.geom.Hilbert
-
Calculates the distance of a coordinate along the Hilbert Curve.
- fromXYZ(double, double, int) - Static method in class com.geodesk.geom.Tile
- fromXYZ(int, int, int) - Static method in class com.geodesk.geom.Tile
-
Determines the tile to which a coordinate belongs; coordinates must be in the projection used by the Mercator class.
G
- GeometryBuilder - Class in com.geodesk.util
- GeometryBuilder() - Constructor for class com.geodesk.util.GeometryBuilder
- geometryFactory() - Method in class com.geodesk.feature.FeatureLibrary
- get() - Method in class com.geodesk.geom.BoundedItem
H
- hashCode() - Method in class com.geodesk.geom.Box
- hasTag(String) - Method in interface com.geodesk.feature.Feature
-
Checks whether this feature has a tag with the given key.
- hasTag(String, String) - Method in interface com.geodesk.feature.Feature
-
Checks whether this feature has a tag with the given key and value.
- Heading - Enum Class in com.geodesk.geom
-
Compass headings.
- height() - Method in interface com.geodesk.geom.Bounds
- height() - Method in class com.geodesk.geom.TileBox
- height(int) - Static method in class com.geodesk.geom.TileQuad
- Hilbert - Class in com.geodesk.geom
- Hilbert() - Constructor for class com.geodesk.geom.Hilbert
- HilbertTileTree - Class in com.geodesk.geom
- HilbertTileTree(List<Bounds>, int, int) - Constructor for class com.geodesk.geom.HilbertTileTree
I
- id() - Method in interface com.geodesk.feature.Feature
-
Returns the OSM ID of the feature.
- id() - Method in enum class com.geodesk.geom.Heading
- id(long) - Static method in class com.geodesk.feature.FeatureId
- impsAroundXY(int, int, int) - Static method in class com.geodesk.geom.Box
-
Creates a bounding box whose sides extend by a specific distance relative to a coordinate pair.
- in(Bounds) - Method in interface com.geodesk.feature.Features
-
Returns a view of this collection that contains only features whose bounding box intersects the given
Bounds
. - instance - Static variable in class com.geodesk.util.GeometryBuilder
- intersecting(Feature) - Method in interface com.geodesk.feature.Features
- intersecting(Geometry) - Method in interface com.geodesk.feature.Features
- intersecting(PreparedGeometry) - Method in interface com.geodesk.feature.Features
- intersection(int, Bounds) - Static method in class com.geodesk.geom.Tile
-
Calculates a new BoundingBox that represents the area of overlap between the given bounds and the bounding box of a tile
- intersection(int, Envelope) - Static method in class com.geodesk.geom.Tile
- intersection(Bounds) - Method in class com.geodesk.geom.Box
-
Creates a new bounding box that is the result of the intersection between this bounding box and another.
- intersection(Bounds, Bounds) - Static method in class com.geodesk.geom.Box
- intersects(Feature) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- intersects(Bounds) - Method in interface com.geodesk.geom.Bounds
- intersects(Geometry) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- intersects(PreparedGeometry) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- intValue() - Method in interface com.geodesk.feature.Tags
- intValue(String) - Method in interface com.geodesk.feature.Feature
-
Returns the value of a tag as an integer.
- INVALID - Static variable in class com.geodesk.geom.TileQuad
- isArea() - Method in interface com.geodesk.feature.Feature
-
Checks whether this Feature represents an area.
- isBlack(int) - Static method in class com.geodesk.geom.Tile
-
Checks whether the tile would be black, if we imagine the tile grid being laid out like a checkerboard (with the top left tile being white).
- isClosed(int[]) - Static method in class com.geodesk.geom.XY
-
Checks whether a given set of coordinates represents a linear ring.
- isClosedRing(int[]) - Static method in class com.geodesk.geom.Coordinates
- isEmpty() - Method in interface com.geodesk.feature.Features
-
Returns `true` if this collection contains no features.
- isEmpty() - Method in interface com.geodesk.feature.Tags
- isInside(int[], double, double) - Static method in class com.geodesk.geom.PointInPolygon
- isLeaf() - Method in class com.geodesk.geom.RTree.Node
- isNode() - Method in interface com.geodesk.feature.Feature
-
Checks if this Feature is an OSM node.
- isNode(long) - Static method in class com.geodesk.feature.FeatureId
- isNormalized(int) - Static method in class com.geodesk.geom.TileQuad
- isNull() - Method in class com.geodesk.geom.Box
-
Returns `true` if this bounding box is empty.
- isNull() - Method in class com.geodesk.geom.BoxBuilder
- isNull(Bounds) - Static method in class com.geodesk.geom.Box
- isPlaceholder() - Method in interface com.geodesk.feature.Feature
-
Checks whether this feature is a *placeholder*.
- isRelation() - Method in interface com.geodesk.feature.Feature
-
Checks if this Feature is an OSM relation.
- isRelation(long) - Static method in class com.geodesk.feature.FeatureId
- isValid(int) - Static method in class com.geodesk.geom.Tile
-
Checks if the given number represents a valid tile number
- isValid(int) - Static method in class com.geodesk.geom.TileQuad
- isVisible() - Method in class com.geodesk.util.Marker
- isWay() - Method in interface com.geodesk.feature.Feature
-
Checks if this Feature is an OSM way.
- isWay(long) - Static method in class com.geodesk.feature.FeatureId
- iterator(int) - Static method in class com.geodesk.geom.TileQuad
J
- JavaScript - Class in com.geodesk.util
-
Methods to generate JavaScript.
- JavaScript() - Constructor for class com.geodesk.util.JavaScript
K
L
- lat() - Method in interface com.geodesk.feature.Feature
-
Returns the latitude of this feature.
- latFromY(double) - Static method in class com.geodesk.geom.Mercator
-
Converts a projected latitude to WGS84.
- left() - Method in class com.geodesk.geom.TileBox
- leftX(int) - Static method in class com.geodesk.geom.Tile
-
Returns the leftmost (lowest) x-coordinate that lies within the given tile
- length() - Method in interface com.geodesk.feature.Feature
-
Measures the length of a feature.
- length(Feature) - Static method in class com.geodesk.geom.Measure
- lon() - Method in interface com.geodesk.feature.Feature
-
Returns the longitude of this feature.
- lonFromX(double) - Static method in class com.geodesk.geom.Mercator
-
Converts a projected longitude to WGS84.
M
- main(String[]) - Static method in class com.geodesk.geom.Hilbert
- map - Variable in class com.geodesk.util.Marker
- MapMaker - Class in com.geodesk.util
-
A class for generating a Leaflet-based interactive map.
- MapMaker() - Constructor for class com.geodesk.util.MapMaker
- Marker - Class in com.geodesk.util
-
A marker on a Leaflet-based interactive map.
- Marker() - Constructor for class com.geodesk.util.Marker
- maxMetersFrom(double, Feature) - Method in interface com.geodesk.feature.Features
-
Returns all features that lie within a given distance from another `Feature`.
- maxMetersFrom(double, Feature) - Static method in class com.geodesk.feature.Filters
-
Deprecated.Creates a `Filter` that accept features that lie within a given distance from another `Feature`.
- maxMetersFrom(double, Geometry) - Method in interface com.geodesk.feature.Features
-
Returns all features that lie within a given distance from a `Geometry`.
- maxMetersFrom(double, Geometry) - Static method in class com.geodesk.feature.Filters
-
Deprecated.Creates a `Filter` that accept features that lie within a given distance from a `Geometry`.
- maxMetersFromLonLat(double, double, double) - Method in interface com.geodesk.feature.Features
-
Returns all features whose closest point lies within a given radius.
- maxMetersFromLonLat(double, double, double) - Static method in class com.geodesk.feature.Filters
-
Deprecated.Creates a `Filter` that accept features whose closest point lies within a given radius.
- maxMetersFromXY(double, int, int) - Method in interface com.geodesk.feature.Features
-
Returns all features whose closest point lies within a given radius.
- maxMetersFromXY(double, int, int) - Static method in class com.geodesk.feature.Filters
-
Deprecated.Creates a `Filter` that accept features whose closest point lies within a given radius.
- maxX() - Method in interface com.geodesk.geom.Bounds
- maxX() - Method in class com.geodesk.geom.Box
- maxX() - Method in class com.geodesk.geom.BoxBuilder
- maxY() - Method in interface com.geodesk.geom.Bounds
- maxY() - Method in class com.geodesk.geom.Box
- maxY() - Method in class com.geodesk.geom.BoxBuilder
- Measure - Class in com.geodesk.geom
- Measure() - Constructor for class com.geodesk.geom.Measure
- members() - Method in interface com.geodesk.feature.Feature
-
Returns the members of this `Relation`.
- members(String) - Method in interface com.geodesk.feature.Feature
-
Returns the members of this `Relation` that match the given query.
- membersOf(Feature) - Method in interface com.geodesk.feature.Features
-
Returns the features that are nodes of the given way, or members of the given relation.
- Mercator - Class in com.geodesk.geom
-
Methods for working with Mercator-projected coordinates.
- Mercator() - Constructor for class com.geodesk.geom.Mercator
- metersAround(double, Bounds) - Static method in class com.geodesk.geom.Box
-
Creates a bounding box whose sides are extended by a specific distance relative to another bounding box.
- metersAroundLonLat(double, double, double) - Static method in class com.geodesk.geom.Box
-
Creates a bounding box whose sides extend by a specific distance relative to a coordinate pair.
- metersAroundXY(double, int, int) - Static method in class com.geodesk.geom.Box
-
Creates a bounding box whose sides extend by a specific distance relative to a coordinate pair.
- metersAtY(int) - Static method in class com.geodesk.geom.Mercator
- minX() - Method in interface com.geodesk.geom.Bounds
- minX() - Method in class com.geodesk.geom.Box
- minX() - Method in class com.geodesk.geom.BoxBuilder
- minY() - Method in interface com.geodesk.geom.Bounds
- minY() - Method in class com.geodesk.geom.Box
- minY() - Method in class com.geodesk.geom.BoxBuilder
- Morton - Class in com.geodesk.geom
- Morton() - Constructor for class com.geodesk.geom.Morton
- mortonFromXY(int, int) - Static method in class com.geodesk.geom.Morton
- multiSelect(List<T>, int, int, int, Comparator<T>) - Static method in class com.geodesk.geom.QuickSelect
N
- NE - Static variable in class com.geodesk.geom.TileQuad
- neighbor(int, Heading) - Static method in class com.geodesk.geom.Tile
-
Returns the tile number of an adjacent tile that lies in the specified direction.
- next() - Method in interface com.geodesk.feature.Tags
- Node - Interface in com.geodesk.feature
-
A
Feature
that represents a single point. - Node(List<Bounds>, boolean) - Constructor for class com.geodesk.geom.RTree.Node
- NODE - Enum constant in enum class com.geodesk.feature.FeatureType
- nodes() - Method in interface com.geodesk.feature.Feature
-
Returns the way's nodes.
- nodes() - Method in interface com.geodesk.feature.Features
-
Returns a view of this collection that contains only nodes.
- nodes(String) - Method in interface com.geodesk.feature.Feature
-
Returns the way's nodes that match the given query.
- nodes(String) - Method in interface com.geodesk.feature.Features
-
Returns a view of this collection that contains only nodes matching the given query.
- nodesOf(Feature) - Method in interface com.geodesk.feature.Features
-
Returns a sub-view that contains only the features that are nodes of the given way.
- normalize(int) - Static method in class com.geodesk.geom.TileQuad
-
Returns a tile quad in its "normalized" form.
- NORTH - Enum constant in enum class com.geodesk.geom.Heading
- NORTHEAST - Enum constant in enum class com.geodesk.geom.Heading
- northFactor() - Method in enum class com.geodesk.geom.Heading
- NORTHWEST - Enum constant in enum class com.geodesk.geom.Heading
- northWestTile(int) - Static method in class com.geodesk.geom.TileQuad
- NW - Static variable in class com.geodesk.geom.TileQuad
O
- of(int...) - Static method in class com.geodesk.geom.TileQuad
- of(int, int) - Static method in class com.geodesk.geom.XY
-
Creates a long coordinate based on the given X and Y.
- of(int, long) - Static method in class com.geodesk.feature.FeatureId
- of(long[]) - Static method in class com.geodesk.geom.XY
-
Returns an array of LatLongs as an array of x/y coordinate pairs.
- of(FeatureType, long) - Static method in class com.geodesk.feature.FeatureId
- of(Coordinate) - Static method in class com.geodesk.geom.XY
-
Creates a long coordinate based on the given JTS
Coordinate
. - of(Geometry) - Static method in class com.geodesk.geom.Box
- of(LineSegment) - Static method in class com.geodesk.geom.Box
- ofNode(long) - Static method in class com.geodesk.feature.FeatureId
- ofRelation(long) - Static method in class com.geodesk.feature.FeatureId
- ofWay(long) - Static method in class com.geodesk.feature.FeatureId
- ofWorld() - Static method in class com.geodesk.geom.Box
-
Creates a bounding box that covers the entire world.
- ofWSEN(double, double, double, double) - Static method in class com.geodesk.geom.Box
- ofXYWidthHeight(int, int, int, int) - Static method in class com.geodesk.geom.Box
- ofXYXY(int, int, int, int) - Static method in class com.geodesk.geom.Box
- OmtTreeBuilder<B extends Bounds> - Class in com.geodesk.geom
- OmtTreeBuilder(SpatialTreeFactory<B>, int) - Constructor for class com.geodesk.geom.OmtTreeBuilder
- option(String, Object) - Method in class com.geodesk.util.Marker
-
Speficies a single option for this Marker.
- options - Variable in class com.geodesk.util.Marker
- options(Map<String, Object>) - Method in class com.geodesk.util.Marker
-
Specifies options for this Marker.
- OverlapMinimizingTree - Class in com.geodesk.geom
- OverlapMinimizingTree(List<Bounds>, int) - Constructor for class com.geodesk.geom.OverlapMinimizingTree
- overlapping(Feature) - Method in interface com.geodesk.feature.Features
- overlapping(Geometry) - Method in interface com.geodesk.feature.Features
- overlapping(PreparedGeometry) - Method in interface com.geodesk.feature.Features
- overlaps(Feature) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- overlaps(Geometry) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- overlaps(PreparedGeometry) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- OVERSIZED - Static variable in class com.geodesk.geom.TileQuad
P
- PairSort - Class in com.geodesk.geom
- PairSort() - Constructor for class com.geodesk.geom.PairSort
- parents() - Method in interface com.geodesk.feature.Feature
-
Returns all ways and relations to which this Feature belongs.
- parents(String) - Method in interface com.geodesk.feature.Feature
-
Returns all ways and relations to which this Feature belongs that match the given query.
- parentsOf(Feature) - Method in interface com.geodesk.feature.Features
-
Returns the features that are parent elements of the given feature (ways and/or relations).
- ParseException - Exception in com.geodesk.io
- ParseException(String) - Constructor for exception com.geodesk.io.ParseException
- PointInPolygon - Class in com.geodesk.geom
- PointInPolygon() - Constructor for class com.geodesk.geom.PointInPolygon
- polygon(int) - Static method in class com.geodesk.geom.Tile
- PolyReader - Class in com.geodesk.io
- PolyReader(BufferedReader, GeometryFactory, CoordinateTransformer) - Constructor for class com.geodesk.io.PolyReader
- PolyWriter - Class in com.geodesk.io
- PolyWriter(Appendable, CoordinateTransformer) - Constructor for class com.geodesk.io.PolyWriter
- project(double, double) - Static method in enum class com.geodesk.geom.Heading
-
Determines the coordinate that lies a given distance from the center of the plane, in a given heading
- project(double, double, Coordinate) - Static method in enum class com.geodesk.geom.Heading
- project(Geometry) - Static method in class com.geodesk.geom.Mercator
-
Converts the WGS84 (longitude/latitude) coordinates of a
Geometry
into Mercator projection. - projectedLine(GeometryFactory, double, double, Coordinate) - Static method in enum class com.geodesk.geom.Heading
Q
- quadChar(int) - Static method in class com.geodesk.geom.TileQuad
- query(Bounds, Consumer<T>) - Method in class com.geodesk.geom.RTree
- quickselect(List<T>, int, int, int, Comparator<T>) - Static method in class com.geodesk.geom.QuickSelect
- QuickSelect - Class in com.geodesk.geom
- QuickSelect() - Constructor for class com.geodesk.geom.QuickSelect
R
- read() - Method in class com.geodesk.io.PolyReader
- Relation - Interface in com.geodesk.feature
-
A
Feature
that represents a grouping of related features or a complex polygon. - RELATION - Enum constant in enum class com.geodesk.feature.FeatureType
- relations() - Method in interface com.geodesk.feature.Features
-
Returns a view of this collection that contains only relations.
- relations(String) - Method in interface com.geodesk.feature.Features
-
Returns a view of this collection that contains only relations matching the given query.
- relative(int, int, int) - Static method in class com.geodesk.geom.Tile
- reset() - Method in class com.geodesk.geom.BoxBuilder
- reversed() - Method in enum class com.geodesk.geom.Heading
-
Returns the opposite heading.
- right() - Method in class com.geodesk.geom.TileBox
- rightX(int) - Static method in class com.geodesk.geom.Tile
-
Returns the rightmost (highest) x-coordinate that lies within the given tile
- role() - Method in interface com.geodesk.feature.Feature
-
If this Feature was returned by a call to
Feature.members()
(or its variants) of a Relation, returns this Feature's role in that Relation. - root - Variable in class com.geodesk.geom.RTree
- root() - Method in class com.geodesk.geom.RTree
- ROOT - Static variable in class com.geodesk.geom.TileQuad
- row(int) - Static method in class com.geodesk.geom.Tile
- rowFromYZ(int, int) - Static method in class com.geodesk.geom.Tile
- RTree - Class in com.geodesk.geom
-
A generic r-tree.
- RTree() - Constructor for class com.geodesk.geom.RTree
- RTree.Node - Class in com.geodesk.geom
S
- save(String) - Method in class com.geodesk.util.MapMaker
-
Generates a self-contained HTML file that displays the interactive map and all its markers.
- scale(double) - Static method in class com.geodesk.geom.Mercator
- SE - Static variable in class com.geodesk.geom.TileQuad
- select(Features) - Method in interface com.geodesk.feature.Features
-
Returns the features present in both this collection and `other`.
- select(Filter) - Method in interface com.geodesk.feature.Features
- select(String) - Method in interface com.geodesk.feature.Features
-
Returns a view of this collection that only contains features matching the given query.
- setNull() - Method in class com.geodesk.geom.Box
- size() - Method in interface com.geodesk.feature.Tags
- size() - Method in class com.geodesk.geom.TileBox
- sizeAtZoom(int) - Static method in class com.geodesk.geom.Tile
-
Returns the width/height of a tile at the given zoom level
- slowCrosses(Feature) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- slowIntersects(Feature) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- slowIntersects(Geometry) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- slowIntersects(PreparedGeometry) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- slowWithin(Feature) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- slowWithin(Geometry) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- slowWithin(PreparedGeometry) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- smaller(Bounds, Bounds) - Static method in class com.geodesk.geom.Box
- sort(int[], List<T>) - Static method in class com.geodesk.geom.PairSort
- sort(int[], List<T>, int, int) - Static method in class com.geodesk.geom.PairSort
- sort(long[]) - Static method in class com.geodesk.feature.FeatureId
- SOUTH - Enum constant in enum class com.geodesk.geom.Heading
- SOUTHEAST - Enum constant in enum class com.geodesk.geom.Heading
- SOUTHWEST - Enum constant in enum class com.geodesk.geom.Heading
- SpatialTreeBuilder<B extends Bounds> - Interface in com.geodesk.geom
- SpatialTreeFactory<B extends Bounds> - Interface in com.geodesk.geom
- store() - Method in class com.geodesk.feature.FeatureLibrary
- strategy() - Method in interface com.geodesk.feature.Filter
-
Returns zero or more bit flags specified in
FilterStrategy
that help the Query Engine optimize the performance of this Filter. - stringValue() - Method in interface com.geodesk.feature.Tags
- stringValue(String) - Method in interface com.geodesk.feature.Feature
-
Returns the value of a tag as a String.
- subtractQuad(int, int) - Static method in class com.geodesk.geom.TileQuad
-
Subtracts one quad from another.
- subtractTile(int, int) - Static method in class com.geodesk.geom.TileQuad
- SW - Static variable in class com.geodesk.geom.TileQuad
T
- tag(String) - Method in interface com.geodesk.feature.Feature
-
Returns the string value of the given key.
- tags() - Method in interface com.geodesk.feature.Feature
-
Returns the tags of this feature.
- Tags - Interface in com.geodesk.feature
-
A
Consumable
that can be used to iterate a feature's tags. - testFast(int[], double, double) - Static method in class com.geodesk.geom.PointInPolygon
-
Fast but non-robust point-in-polygon test using the ray-crossing method.
- testFast(StoredWay.XYIterator, double, double) - Static method in class com.geodesk.geom.PointInPolygon
-
Fast but non-robust point-in-polygon test using the ray-crossing method.
- Tile - Class in com.geodesk.geom
- Tile() - Constructor for class com.geodesk.geom.Tile
- TileBox - Class in com.geodesk.geom
- TileBox() - Constructor for class com.geodesk.geom.TileBox
- tileCount(int) - Static method in class com.geodesk.geom.TileQuad
-
Returns the number of tiles in the quad.
- TileQuad - Class in com.geodesk.geom
-
Methods for dealing with numeric values that represent Tile Quads, a collection of one to four tiles that is at most 2 tiles wide and 2 tiles tall, at a specific zoom level from 0 to 12.
- TileQuad() - Constructor for class com.geodesk.geom.TileQuad
- tiles(String) - Method in class com.geodesk.util.MapMaker
-
Sets the URL template for the source of map tiles.
- tilesAtZoom(int) - Static method in class com.geodesk.geom.Tile
- toArray() - Method in interface com.geodesk.feature.Features
-
Creates an array containing all features in this collection.
- toArray(Feature[]) - Method in interface com.geodesk.feature.Features
- toCoordinate(long) - Static method in class com.geodesk.geom.XY
-
Turns a long coordinate into a JTS
Coordinate
. - toCoordinates(long[]) - Static method in class com.geodesk.geom.XY
- toDegrees() - Method in enum class com.geodesk.geom.Heading
-
Heading in degrees.
- toDenseParentLocator(int, int) - Static method in class com.geodesk.geom.TileQuad
-
Returns an 8-bit locator, which describes a quad relative to a child tile that is covered by it.
- toEnvelope() - Method in class com.geodesk.geom.Box
-
Creates a JTS
Envelope
with the same dimensions as this bounding box. - toGeometry() - Method in interface com.geodesk.feature.Feature
-
Creates a JTS
Geometry
object for this feature. - toGeometry(GeometryFactory) - Method in class com.geodesk.geom.Box
- toList() - Method in interface com.geodesk.feature.Features
-
Creates a
List
containing all features in this collection. - toListString(int) - Static method in class com.geodesk.geom.TileQuad
- toMap() - Method in interface com.geodesk.feature.Tags
- ToMercator() - Constructor for class com.geodesk.util.CoordinateTransformer.ToMercator
- tooltip(String) - Method in class com.geodesk.util.Marker
-
Sets the content to be displayed whenever the cursor is hovered over this Marker.
- top() - Method in class com.geodesk.geom.TileBox
- topLeft - Variable in class com.geodesk.geom.TileBox
- topLeft(Bounds, int) - Static method in class com.geodesk.geom.Tile
-
Returns the top-left tile occupied by a bounding box.
- topY(int) - Static method in class com.geodesk.geom.Tile
- toSparseSiblingLocator(int, int) - Static method in class com.geodesk.geom.TileQuad
-
Returns a 6-bit locator, which describes a quad relative to a tile contained within its bounds.
- toString() - Method in class com.geodesk.geom.Box
- toString() - Method in enum class com.geodesk.geom.Heading
- toString(double) - Method in class com.geodesk.util.CoordinateTransformer
- toString(int) - Static method in class com.geodesk.geom.Tile
- toString(int) - Static method in class com.geodesk.geom.TileQuad
- toString(long) - Static method in class com.geodesk.feature.FeatureId
- toString(FeatureType) - Static method in enum class com.geodesk.feature.FeatureType
- toTileList(int) - Static method in class com.geodesk.geom.TileQuad
- touches(Feature) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- touches(Geometry) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- touches(PreparedGeometry) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- touching(Feature) - Method in interface com.geodesk.feature.Features
- touching(Geometry) - Method in interface com.geodesk.feature.Features
- touching(PreparedGeometry) - Method in interface com.geodesk.feature.Features
- toXY() - Method in interface com.geodesk.feature.Feature
-
Returns the way's coordinates as an array of integers.
- transformX(double) - Method in class com.geodesk.util.CoordinateTransformer.FromMercator
- transformX(double) - Method in class com.geodesk.util.CoordinateTransformer.ToMercator
- transformX(double) - Method in class com.geodesk.util.CoordinateTransformer
- transformY(double) - Method in class com.geodesk.util.CoordinateTransformer.FromMercator
- transformY(double) - Method in class com.geodesk.util.CoordinateTransformer.ToMercator
- transformY(double) - Method in class com.geodesk.util.CoordinateTransformer
- translate(int, int) - Method in class com.geodesk.geom.Box
-
Moves the bounding box horizontally and vertically by the specified number of units.
- turnedBy(double) - Method in enum class com.geodesk.geom.Heading
- turnedBy(double, double) - Static method in enum class com.geodesk.geom.Heading
- type() - Method in interface com.geodesk.feature.Feature
-
Returns the feature's type.
- type(long) - Static method in class com.geodesk.feature.FeatureId
- typeCode(long) - Static method in class com.geodesk.feature.FeatureId
- typeToString(long) - Static method in class com.geodesk.feature.FeatureId
U
- url(String) - Method in class com.geodesk.util.Marker
-
Sets the URL which is navigated when the user clicks on this Marker.
V
- value() - Method in interface com.geodesk.feature.Tags
- valueOf(String) - Static method in enum class com.geodesk.feature.FeatureType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.geodesk.geom.Heading
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.geodesk.feature.FeatureType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.geodesk.geom.Heading
-
Returns an array containing the constants of this enum class, in the order they are declared.
- visit(Bounds, Consumer<T>) - Method in class com.geodesk.geom.RTree.Node
W
- Way - Interface in com.geodesk.feature
-
A
Feature
that represents a linestring, linear ring, or a simple polygon. - WAY - Enum constant in enum class com.geodesk.feature.FeatureType
- ways() - Method in interface com.geodesk.feature.Features
-
Returns a view of this collection that contains only ways.
- ways(String) - Method in interface com.geodesk.feature.Features
-
Returns a view of this collection that contains only ways matching the given query.
- WEST - Enum constant in enum class com.geodesk.geom.Heading
- width() - Method in interface com.geodesk.geom.Bounds
- width() - Method in class com.geodesk.geom.TileBox
- width(int) - Static method in class com.geodesk.geom.TileQuad
- within(Feature) - Method in interface com.geodesk.feature.Features
- within(Feature) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- within(Geometry) - Method in interface com.geodesk.feature.Features
- within(Geometry) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- within(PreparedGeometry) - Method in interface com.geodesk.feature.Features
- within(PreparedGeometry) - Static method in class com.geodesk.feature.Filters
-
Deprecated.
- write(Appendable) - Method in class com.geodesk.util.MapMaker
- write(Appendable) - Method in class com.geodesk.util.Marker
- write(String, Geometry) - Method in class com.geodesk.io.PolyWriter
- write(Geometry) - Method in class com.geodesk.io.PolyWriter
- write(Polygon) - Method in class com.geodesk.io.PolyWriter
- writeArray(Appendable, Object) - Static method in class com.geodesk.util.JavaScript
- writeCoordinates(Appendable, CoordinateSequence) - Method in class com.geodesk.util.Marker
- writeMap(Appendable, Map<?, ?>) - Static method in class com.geodesk.util.JavaScript
- writePoint(Appendable, double, double) - Method in class com.geodesk.util.Marker
- writeString(Appendable, String) - Static method in class com.geodesk.util.JavaScript
- writeStub(Appendable) - Method in class com.geodesk.util.Marker
- writeValue(Appendable, Object) - Static method in class com.geodesk.util.JavaScript
- writeX(Appendable, double) - Method in class com.geodesk.util.CoordinateTransformer
- writeY(Appendable, double) - Method in class com.geodesk.util.CoordinateTransformer
X
- x() - Method in interface com.geodesk.feature.Feature
-
Returns the X coordinate of this feature.
- x(long) - Static method in class com.geodesk.geom.XY
-
Returns the X coordinate of the given long coordinate.
- xFromLon(double) - Static method in class com.geodesk.geom.Mercator
-
Converts a longitude to imps.
- xFromLon100nd(int) - Static method in class com.geodesk.geom.Mercator
-
Converts a longitude to imps.
- XY - Class in com.geodesk.geom
-
Methods for working with coordinates that are represented as a single long value.
- XY() - Constructor for class com.geodesk.geom.XY
Y
- y() - Method in interface com.geodesk.feature.Feature
-
Returns the Y coordinate of this feature.
- y(long) - Static method in class com.geodesk.geom.XY
-
Returns the Y coordinate of the given long coordinate.
- yFromLat(double) - Static method in class com.geodesk.geom.Mercator
-
Converts a latitude to imps.
- yFromLat100nd(int) - Static method in class com.geodesk.geom.Mercator
-
Converts a latitude to imps.
Z
- zoom() - Method in class com.geodesk.geom.TileBox
- zoom(int) - Static method in class com.geodesk.geom.Tile
- zoom(int) - Static method in class com.geodesk.geom.TileQuad
- zoomedOut(int, int) - Static method in class com.geodesk.geom.Tile
-
Returns the tile that contains this tile at the specified (lower) zoom level.
- zoomedOut(int, int) - Static method in class com.geodesk.geom.TileQuad
- zoomFromSize(long) - Static method in class com.geodesk.geom.Tile
- zoomOut(int) - Method in class com.geodesk.geom.TileBox
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form