Package org.openstreetmap.josm.io
Class NameFinder.SearchResult
- java.lang.Object
-
- org.openstreetmap.josm.io.NameFinder.SearchResult
-
- Enclosing class:
- NameFinder
public static class NameFinder.SearchResult extends Object
Data storage for search results.
-
-
Constructor Summary
Constructors Constructor Description SearchResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Bounds
getBounds()
Returns the bounds.String
getDescription()
Returns the description.Bounds
getDownloadArea()
Returns the download area.String
getInfo()
Returns the info.double
getLat()
Returns the latitude.double
getLon()
Returns the longitude.String
getName()
Returns the name.String
getNearestPlace()
Returns the nearest place.PrimitiveId
getOsmId()
Returns the OSM id.long
getPlaceId()
Returns the Nominatim place id.int
getZoom()
Returns the zoom.
-
-
-
Field Detail
-
nearestPlace
private String nearestPlace
-
description
private String description
-
lat
private double lat
-
lon
private double lon
-
zoom
private int zoom
-
osmId
private PrimitiveId osmId
-
placeId
private long placeId
-
-
Constructor Detail
-
SearchResult
public SearchResult()
-
-
Method Detail
-
getNearestPlace
public final String getNearestPlace()
Returns the nearest place.- Returns:
- the nearest place
-
getDescription
public final String getDescription()
Returns the description.- Returns:
- the description
-
getLat
public final double getLat()
Returns the latitude.- Returns:
- the latitude
-
getLon
public final double getLon()
Returns the longitude.- Returns:
- the longitude
-
getZoom
public final int getZoom()
Returns the zoom.- Returns:
- the zoom
-
getOsmId
public final PrimitiveId getOsmId()
Returns the OSM id.- Returns:
- the OSM id
-
getPlaceId
public long getPlaceId()
Returns the Nominatim place id.- Returns:
- the Nominatim place id
-
getDownloadArea
public Bounds getDownloadArea()
Returns the download area.- Returns:
- the download area
-
-