Package org.h2gis.functions.io.osm
Class NodeOSMElement
java.lang.Object
org.h2gis.functions.io.osm.OSMElement
org.h2gis.functions.io.osm.NodeOSMElement
A class to manage the node element properties.
- Author:
- Erwan Bocher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.locationtech.jts.geom.PointgetPoint(org.locationtech.jts.geom.GeometryFactory gf) The geometry of the nodevoidsetElevation(double elevation) Methods inherited from class org.h2gis.functions.io.osm.OSMElement
getChangeSet, getID, getName, getTags, getTimeStamp, getUID, getUser, getVersion, getVisible, setChangeset, setId, setName, setTimestamp, setUid, setUser, setVersion, setVisible
-
Constructor Details
-
NodeOSMElement
public NodeOSMElement(double latitude, double longitude) Constructor- Parameters:
latitude- Latitude valuelongitude- Longitude value
-
-
Method Details
-
setElevation
public void setElevation(double elevation) - Parameters:
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).
-
getPoint
public org.locationtech.jts.geom.Point getPoint(org.locationtech.jts.geom.GeometryFactory gf) The geometry of the node- Returns:
- Point value
-
getElevation
- Returns:
- 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).
-
addTag
- Overrides:
addTagin classOSMElement- Returns:
- True if the tag should be inserted in the tag table.
-