Package org.openstreetmap.josm.io
Class NameFinder.SearchResult
java.lang.Object
org.openstreetmap.josm.io.NameFinder.SearchResult
- Enclosing class:
- NameFinder
Data storage for search results.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal BoundsReturns the bounds.final StringReturns the description.Returns the download area.final StringgetInfo()Returns the info.final doublegetLat()Returns the latitude.final doublegetLon()Returns the longitude.final StringgetName()Returns the name.final StringReturns the nearest place.final PrimitiveIdgetOsmId()Returns the OSM id.longReturns the Nominatim place id.final intgetZoom()Returns the zoom.
-
Field Details
-
name
-
info
-
nearestPlace
-
description
-
lat
-
lon
-
zoom
-
bounds
-
osmId
-
placeId
-
-
Constructor Details
-
SearchResult
public SearchResult()
-
-
Method Details
-
getName
Returns the name.- Returns:
- the name
-
getInfo
Returns the info.- Returns:
- the info
-
getNearestPlace
Returns the nearest place.- Returns:
- the nearest place
-
getDescription
Returns the description.- Returns:
- the description
-
getLat
Returns the latitude.- Returns:
- the latitude
-
getLon
Returns the longitude.- Returns:
- the longitude
-
getZoom
Returns the zoom.- Returns:
- the zoom
-
getBounds
Returns the bounds.- Returns:
- the bounds
-
getOsmId
Returns the OSM id.- Returns:
- the OSM id
-
getPlaceId
Returns the Nominatim place id.- Returns:
- the Nominatim place id
-
getDownloadArea
Returns the download area.- Returns:
- the download area
-