public interface OsmEntityProvider
Modifier and Type | Method and Description |
---|---|
OsmNode |
getNode(long id)
Get the node with the given id.
|
OsmRelation |
getRelation(long id)
Get the relation with the given id.
|
OsmWay |
getWay(long id)
Get the way with the given id.
|
OsmNode getNode(long id) throws EntityNotFoundException
id
- the node's id.EntityNotFoundException
- if the implementation cannot return this entity.OsmWay getWay(long id) throws EntityNotFoundException
id
- the way's idEntityNotFoundException
- if the implementation cannot return this entity.OsmRelation getRelation(long id) throws EntityNotFoundException
id
- the relation's id.EntityNotFoundException
- if the implementation cannot return this entity.