public class FlaggedPolyline extends FlaggedObject
PolyLineAREA_TAG, COUNTRY_MISSING, EDGE_TAG, ITEM_IDENTIFIER_TAG, ITEM_TYPE_TAG, LINE_TAG, NODE_TAG, OSM_IDENTIFIER_TAG, POINT_TAG| Constructor and Description |
|---|
FlaggedPolyline(org.openstreetmap.atlas.geography.atlas.items.AtlasItem atlasItem)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonObject |
asGeoJsonFeature(java.lang.String flagIdentifier)
A GeoJSON representation of the flagged object.
|
org.openstreetmap.atlas.geography.Rectangle |
bounds() |
java.lang.String |
getCountry() |
java.lang.Iterable<org.openstreetmap.atlas.geography.Location> |
getGeometry() |
java.util.Map<java.lang.String,java.lang.String> |
getProperties() |
equals, hasCountry, hashCodepublic FlaggedPolyline(org.openstreetmap.atlas.geography.atlas.items.AtlasItem atlasItem)
atlasItem - the AtlasItem to flagpublic java.lang.String getCountry()
getCountry in class FlaggedObjectpublic java.lang.Iterable<org.openstreetmap.atlas.geography.Location> getGeometry()
getGeometry in class FlaggedObjectpublic java.util.Map<java.lang.String,java.lang.String> getProperties()
getProperties in class FlaggedObjectpublic com.google.gson.JsonObject asGeoJsonFeature(java.lang.String flagIdentifier)
FlaggedObjectasGeoJsonFeature in class FlaggedObjectflagIdentifier - We always will want to know the id of the flag assocaited with this flag object.public org.openstreetmap.atlas.geography.Rectangle bounds()
bounds in interface org.openstreetmap.atlas.geography.Locatedbounds in class FlaggedObject