public class NodeOSMElement extends OSMElement
| Constructor and Description |
|---|
NodeOSMElement(double latitude,
double longitude)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addTag(String key,
String value) |
Double |
getElevation() |
org.locationtech.jts.geom.Point |
getPoint(org.locationtech.jts.geom.GeometryFactory gf)
The geometry of the node
|
void |
setElevation(double elevation) |
getChangeSet, getID, getName, getTags, getTimeStamp, getUID, getUser, getVersion, getVisible, setChangeset, setId, setName, setTimestamp, setUid, setUser, setVersion, setVisiblepublic NodeOSMElement(double latitude,
double longitude)
latitude - Latitude valuelongitude - Longitude valuepublic void setElevation(double elevation)
elevation - Elevation (also known as altitude or height) above mean sea level in metre,
based on geoid model EGM 96 which is used by WGS 84 (GPS).public org.locationtech.jts.geom.Point getPoint(org.locationtech.jts.geom.GeometryFactory gf)
public Double getElevation()
public boolean addTag(String key, String value)
addTag in class OSMElementCopyright © 2019 CNRS. All rights reserved.