Package | Description |
---|---|
org.openstreetmap.josm |
Provides the classes of JOSM application.
|
org.openstreetmap.josm.actions |
Provides the classes for JOSM user actions.
|
org.openstreetmap.josm.actions.downloadtasks |
Provides the classes for JOSM
download tasks . |
org.openstreetmap.josm.actions.mapmode |
Provides the classes for JOSM
map modes . |
org.openstreetmap.josm.actions.search |
Provides the classes for JOSM
search action . |
org.openstreetmap.josm.data |
Provides the classes for JOSM managed data.
|
org.openstreetmap.josm.data.coor |
Provides the classes for geographic
coordinates
(east/north and lat/lon systems). |
org.openstreetmap.josm.data.gpx |
Provides the classes for JOSM
GPX data (points, tracks, routes). |
org.openstreetmap.josm.data.imagery |
Provides the classes for JOSM imagery sources, coupled with
JMapViewer classes. |
org.openstreetmap.josm.data.osm |
Provides the classes for OSM data:
Primitives :
Node ,
Way ,
Relation
Users
Tags
Changesets
Utilities classes
|
org.openstreetmap.josm.data.osm.search |
Provides classes allowing to search OSM primitives in a dataset using textual queries.
|
org.openstreetmap.josm.data.osm.visitor |
Provides the classes for performing actions on OSM primitives using Visitor design pattern.
|
org.openstreetmap.josm.data.osm.visitor.paint |
Provides the classes for painting (rendering) OSM primitives on the map.
|
org.openstreetmap.josm.data.projection |
Provides the classes for JOSM map projection.
|
org.openstreetmap.josm.data.projection.proj |
Provides the classes for JOSM map projections implementations.
|
org.openstreetmap.josm.gui |
Provides the classes for JOSM graphical user interface.
|
org.openstreetmap.josm.gui.bbox |
Provides GUI classes for displaying a customizable and interactive bounding box.
|
org.openstreetmap.josm.gui.download |
Provides GUI classes for the download dialog.
|
org.openstreetmap.josm.gui.layer |
Provides classes for handling the different kinds of map layers.
|
org.openstreetmap.josm.gui.layer.geoimage |
Provides classes for handling layers displaying geottaged pictures.
|
org.openstreetmap.josm.gui.layer.gpx |
Provides classes for handling GPX layers.
|
org.openstreetmap.josm.gui.layer.markerlayer |
Provides classes for handling marker layers.
|
org.openstreetmap.josm.gui.mappaint |
Drawing system allowing to display and render OSM map data in a user-friendly and customizable way, through map styles.
Two implementations are provided: XML: this was the system used by default JOSM map style for a long time. |
org.openstreetmap.josm.gui.widgets |
Provides GUI widgets customized for JOSM needs.
|
org.openstreetmap.josm.io |
Provides the classes for JOSM input/output support.
|
org.openstreetmap.josm.io.imagery |
Provides the classes for imagery I/O.
|
org.openstreetmap.josm.io.remotecontrol.handler |
Provides the classes for remote control handlers (features exposed to the browser).
|
org.openstreetmap.josm.tools |
Provides the classes for various utilities and tools called from all other packages.
|
Modifier and Type | Method and Description |
---|---|
protected Bounds |
Main.getRealBounds()
Returns the bounds for the current projection.
|
Modifier and Type | Method and Description |
---|---|
private static void |
Main.fireProjectionChanged(Projection oldValue,
Projection newValue,
Bounds oldBounds) |
protected void |
Main.restoreOldBounds(Bounds oldBounds)
Restore clean state corresponding to old bounds after a projection change event.
|
Modifier and Type | Method and Description |
---|---|
(package private) java.util.concurrent.Future<?> |
DownloadOsmInViewAction.DownloadOsmInViewTask.download(Bounds downloadArea) |
private void |
JumpToAction.setBounds(Bounds b) |
Modifier and Type | Field and Description |
---|---|
protected Bounds |
DownloadOsmTask.currentBounds |
Modifier and Type | Method and Description |
---|---|
protected ProjectionBounds |
DownloadOsmTask.AbstractInternalTask.computeBbox(Bounds bounds) |
java.util.concurrent.Future<?> |
DownloadTask.download(boolean newLayer,
Bounds downloadArea,
ProgressMonitor progressMonitor)
Asynchronously launches the download task for a given bounding box.
|
java.util.concurrent.Future<?> |
DownloadSessionTask.download(boolean newLayer,
Bounds downloadArea,
ProgressMonitor progressMonitor) |
java.util.concurrent.Future<?> |
DownloadNotesTask.download(boolean newLayer,
Bounds downloadArea,
ProgressMonitor progressMonitor) |
java.util.concurrent.Future<?> |
DownloadOsmTask.download(boolean newLayer,
Bounds downloadArea,
ProgressMonitor progressMonitor) |
java.util.concurrent.Future<?> |
DownloadOsmChangeTask.download(boolean newLayer,
Bounds downloadArea,
ProgressMonitor progressMonitor) |
java.util.concurrent.Future<?> |
DownloadOsmCompressedTask.download(boolean newLayer,
Bounds downloadArea,
ProgressMonitor progressMonitor) |
java.util.concurrent.Future<?> |
DownloadGpsTask.download(boolean newLayer,
Bounds downloadArea,
ProgressMonitor progressMonitor) |
java.util.concurrent.Future<?> |
AbstractChangesetDownloadTask.download(boolean newLayer,
Bounds downloadArea,
ProgressMonitor progressMonitor) |
protected java.util.concurrent.Future<?> |
DownloadOsmTask.download(DownloadOsmTask.DownloadTask downloadTask,
Bounds downloadArea) |
java.util.concurrent.Future<?> |
DownloadOsmTask.download(OsmServerReader reader,
boolean newLayer,
Bounds downloadArea,
ProgressMonitor progressMonitor)
Asynchronously launches the download task for a given bounding box.
|
protected void |
DownloadOsmTask.AbstractInternalTask.loadData(java.lang.String newLayerName,
Bounds bounds) |
private java.util.Collection<OsmPrimitive> |
DownloadOsmTask.AbstractInternalTask.searchPrimitivesToUpdate(Bounds bounds,
DataSet ds)
Look for primitives deleted on server (thus absent from downloaded data)
but still present in existing data layer
|
Modifier and Type | Method and Description |
---|---|
void |
ExtrudeAction.paint(java.awt.Graphics2D g,
MapView mv,
Bounds box) |
void |
ImproveWayAccuracyAction.paint(java.awt.Graphics2D g,
MapView mv,
Bounds bbox)
Redraws temporary layer.
|
void |
ParallelWayAction.ParallelWayLayer.paint(java.awt.Graphics2D g,
MapView mv,
Bounds bbox) |
void |
DrawAction.paint(java.awt.Graphics2D g,
MapView mv,
Bounds box) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<Bounds> |
InView.getBounds(OsmPrimitive primitive) |
Modifier and Type | Field and Description |
---|---|
Bounds |
DataSource.bounds
The bounds of this data source
|
Modifier and Type | Method and Description |
---|---|
default java.util.List<Bounds> |
Data.getDataSourceBounds()
Replies the list of data source bounds.
|
static java.util.List<Bounds> |
DataSource.getDataSourceBounds(java.util.Collection<DataSource> dataSources)
Replies the list of data source bounds.
|
Modifier and Type | Method and Description |
---|---|
void |
Bounds.extend(Bounds b)
Extends this bounds to enclose an other bounding box
|
boolean |
Bounds.intersects(Bounds b)
The two bounds intersect? Compared to java Shape.intersects, if does not use
the interior but the closure.
|
private static boolean |
Bounds.intersectsLonCrossing(Bounds crossing,
Bounds notCrossing) |
Constructor and Description |
---|
Bounds(Bounds other)
Creates new
Bounds from an existing one. |
DataSource(Bounds bounds,
java.lang.String origin)
Constructs a new
DataSource . |
Modifier and Type | Method and Description |
---|---|
boolean |
LatLon.isWithin(Bounds b)
Determines if this lat/lon is within the given bounding box.
|
Modifier and Type | Field and Description |
---|---|
private Bounds |
ImmutableGpxTrackSegment.bounds |
private Bounds |
ImmutableGpxTrack.bounds |
Modifier and Type | Method and Description |
---|---|
private Bounds |
ImmutableGpxTrackSegment.calculateBounds() |
private Bounds |
ImmutableGpxTrack.calculateBounds() |
Bounds |
ImmutableGpxTrackSegment.getBounds() |
Bounds |
ImmutableGpxTrack.getBounds() |
Bounds |
GpxTrackSegment.getBounds()
Returns the segment bounds.
|
Bounds |
GpxTrack.getBounds()
Returns the track bounds.
|
Bounds |
GpxData.getMetaBounds()
Returns the bounds defining the extend of this data, as read in metadata, if any.
|
Bounds |
GpxData.recalculateBounds()
Calculates the bounding box of available data and returns it.
|
Modifier and Type | Class and Description |
---|---|
static class |
ImageryInfo.ImageryBounds
Multi-polygon bounds for imagery backgrounds.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<Bounds> |
DataSet.cachedDataSourceBounds |
Modifier and Type | Method and Description |
---|---|
Bounds |
Changeset.getBounds()
Returns the changeset bounding box.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Bounds> |
DataSet.getDataSourceBounds() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.util.Collection<Bounds> |
SearchCompiler.InArea.getBounds(OsmPrimitive primitive) |
protected java.util.Collection<Bounds> |
SearchCompiler.InDataSourceArea.getBounds(OsmPrimitive primitive) |
protected java.util.Collection<Bounds> |
SearchCompiler.NotOutsideDataSourceArea.getBounds(OsmPrimitive primitive) |
Modifier and Type | Method and Description |
---|---|
void |
BoundingXYVisitor.visit(Bounds b)
Visiting call for bounds.
|
Modifier and Type | Method and Description |
---|---|
void |
StyledMapRenderer.render(DataSet data,
boolean renderVirtualNodes,
Bounds bounds) |
void |
Rendering.render(DataSet data,
boolean renderVirtualNodes,
Bounds bbox)
Renders the OSM data in
data |
void |
WireframeMapRenderer.render(DataSet data,
boolean virtual,
Bounds bounds) |
Modifier and Type | Field and Description |
---|---|
protected Bounds |
CustomProjection.bounds |
Modifier and Type | Method and Description |
---|---|
Bounds |
CustomProjection.getLatLonBoundsBox(ProjectionBounds r) |
Bounds |
Projection.getLatLonBoundsBox(ProjectionBounds pb)
Find lat/lon-box containing all the area of a given rectangle in
east/north space.
|
Bounds |
CustomProjection.getWorldBoundsLatLon() |
Bounds |
Projection.getWorldBoundsLatLon()
Get the bounds of the world.
|
static Bounds |
CustomProjection.parseBounds(java.lang.String boundsStr)
Converts a string to a bounds object
|
Modifier and Type | Method and Description |
---|---|
void |
Projection.visitOutline(Bounds bounds,
java.util.function.Consumer<EastNorth> visitor)
Visit points along the edge of this bounds instance.
|
void |
AbstractProjection.visitOutline(Bounds b,
java.util.function.Consumer<EastNorth> visitor) |
private void |
AbstractProjection.visitOutline(Bounds b,
int nPoints,
java.util.function.Consumer<EastNorth> visitor) |
Modifier and Type | Method and Description |
---|---|
Bounds |
DoubleStereographic.getAlgorithmBounds() |
Bounds |
SwissObliqueMercator.getAlgorithmBounds() |
Bounds |
Sinusoidal.getAlgorithmBounds() |
Bounds |
Mercator.getAlgorithmBounds() |
Bounds |
PolarStereographic.getAlgorithmBounds() |
Bounds |
AlbersEqualArea.getAlgorithmBounds() |
Bounds |
LambertAzimuthalEqualArea.getAlgorithmBounds() |
Bounds |
LambertConformalConic.getAlgorithmBounds() |
Bounds |
CassiniSoldner.getAlgorithmBounds() |
Bounds |
Proj.getAlgorithmBounds()
Return the bounds where this projection is applicable.
|
Bounds |
TransverseMercator.getAlgorithmBounds() |
Bounds |
LonLat.getAlgorithmBounds() |
Bounds |
ObliqueMercator.getAlgorithmBounds() |
Modifier and Type | Method and Description |
---|---|
Bounds |
MapViewState.MapViewRectangle.getCornerBounds()
Gets a rough estimate of the bounds by assuming lat/lon are parallel to x/y.
|
Bounds |
NavigatableComponent.getLatLonBounds(java.awt.Rectangle r) |
Bounds |
MapViewState.MapViewRectangle.getLatLonBoundsBox()
Gets the real bounds that enclose this rectangle.
|
protected Bounds |
MainApplication.getRealBounds() |
Bounds |
NavigatableComponent.getRealBounds() |
Modifier and Type | Method and Description |
---|---|
(package private) static java.util.List<java.util.concurrent.Future<?>> |
MainApplication.downloadFromParamBounds(boolean rawGps,
Bounds b)
Download area specified as Bounds value.
|
private void |
MapView.drawTemporaryLayers(java.awt.Graphics2D tempG,
Bounds box) |
java.awt.geom.Area |
MapViewState.getArea(Bounds bounds)
Returns the area for the given bounds.
|
void |
SelectionManager.SelectionHintLayer.paint(java.awt.Graphics2D g,
MapView mv,
Bounds bbox) |
protected void |
MainApplication.restoreOldBounds(Bounds oldBounds) |
void |
NavigatableComponent.zoomTo(Bounds box)
Zoom to given bounds.
|
Modifier and Type | Field and Description |
---|---|
private Bounds |
TileSelectionBBoxChooser.bbox
the current bounding box
|
private Bounds |
SlippyMapBBoxChooser.bbox |
Modifier and Type | Method and Description |
---|---|
protected Bounds |
TileSelectionBBoxChooser.convertTileBoundsToBoundingBox(TileSelectionBBoxChooser.TileBounds tb)
Computes the bounding box given a tile grid.
|
Bounds |
TileSelectionBBoxChooser.getBoundingBox()
Replies the current bounding box.
|
Bounds |
SlippyMapBBoxChooser.getBoundingBox() |
Bounds |
BBoxChooser.getBoundingBox()
Replies the currently selected bounding box in this BBoxChooser.
|
Modifier and Type | Method and Description |
---|---|
void |
TileSelectionBBoxChooser.TileGridInputPanel.initFromBoundingBox(Bounds bbox) |
void |
TileSelectionBBoxChooser.setBoundingBox(Bounds bbox)
Sets the current bounding box.
|
void |
TileSelectionBBoxChooser.TileBoundsMapView.setBoundingBox(Bounds bbox) |
void |
SlippyMapBBoxChooser.setBoundingBox(Bounds bbox)
Sets the current bounding box in this bbox chooser without
emiting a property change event.
|
void |
BBoxChooser.setBoundingBox(Bounds bbox)
Sets the current bounding box in this BboxChooser.
|
Modifier and Type | Field and Description |
---|---|
private Bounds |
BookmarkList.Bookmark.area |
private Bounds |
BookmarkSelection.currentArea
the currently selected download area.
|
protected Bounds |
DownloadDialog.currentBounds |
private Bounds |
DownloadSettings.downloadBounds |
Modifier and Type | Method and Description |
---|---|
protected Bounds |
BoundingBoxSelection.BoundingBoxBuilder.build() |
Bounds |
BookmarkList.Bookmark.getArea()
Returns the bookmark area
|
Bounds |
BoundingBoxSelection.getDownloadArea()
Replies the download area.
|
static Bounds |
DownloadDialog.getSavedDownloadBounds()
Returns the previously saved bounding box from preferences.
|
Modifier and Type | Method and Description |
---|---|
java.util.Optional<Bounds> |
DownloadSettings.getDownloadBounds()
Gets the download bounds that are requested
|
java.util.Optional<Bounds> |
DownloadDialog.getSelectedDownloadArea()
Returns an
Optional of the currently selected download area. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractDownloadSourcePanel.boudingBoxChanged(Bounds bbox)
Deprecated.
|
void |
AbstractDownloadSourcePanel.boundingBoxChanged(Bounds bbox)
Updates GUI components of the panel according to the bbox changes.
|
void |
OSMDownloadSource.OSMDownloadSourcePanel.boundingBoxChanged(Bounds bbox) |
void |
DownloadDialog.boundingBoxChanged(Bounds b,
DownloadSelection eventSource)
Distributes a "bounding box changed" from one DownloadSelection
object to the others, so they may update or clear their input fields.
|
void |
BookmarkList.Bookmark.setArea(Bounds area)
Sets the bookmark area
|
void |
TileSelection.setDownloadArea(Bounds area) |
void |
BoundingBoxSelection.setDownloadArea(Bounds area) |
void |
SlippyMapChooser.setDownloadArea(Bounds area) |
void |
PlaceSelection.setDownloadArea(Bounds area) |
void |
DownloadSelection.setDownloadArea(Bounds area)
Sets the current download area.
|
void |
BookmarkSelection.setDownloadArea(Bounds area)
Sets the current download area
|
void |
DownloadDialog.startDownload(Bounds b)
Starts download for the given bounding box
|
private void |
BoundingBoxSelection.updateBboxFields(Bounds area) |
private void |
OSMDownloadSource.OSMDownloadSourcePanel.updateSizeCheck(Bounds bbox) |
private void |
BoundingBoxSelection.updateUrl(Bounds area) |
Constructor and Description |
---|
Bookmark(Bounds area)
Constructs a new unamed
Bookmark for the given area. |
Bookmark(java.lang.String name,
Bounds area)
Constructs a new
Bookmark for the given name and area. |
DownloadSettings(Bounds bbox,
boolean downloadAsNewLayer,
boolean zoomToDownloadedData)
Initializes a new instance of
DownloadSettings . |
Modifier and Type | Method and Description |
---|---|
void |
OsmDataLayer.paint(java.awt.Graphics2D g,
MapView mv,
Bounds box)
Draw all primitives in this layer but do not draw modified ones (they
are drawn by the edit layer).
|
void |
MapViewPaintable.paint(java.awt.Graphics2D g,
MapView mv,
Bounds bbox)
Paint the dataset using the engine set.
|
void |
NoteLayer.paint(java.awt.Graphics2D g,
MapView mv,
Bounds box) |
void |
GpxLayer.paint(java.awt.Graphics2D g,
MapView mv,
Bounds bbox) |
void |
ValidatorLayer.paint(java.awt.Graphics2D g,
MapView mv,
Bounds bounds)
Draw all primitives in this layer but do not draw modified ones (they
are drawn by the edit layer).
|
void |
AbstractTileSourceLayer.paint(java.awt.Graphics2D g,
MapView mv,
Bounds bounds) |
Modifier and Type | Method and Description |
---|---|
void |
GeoImageLayer.paint(java.awt.Graphics2D g,
MapView mv,
Bounds bounds) |
Modifier and Type | Method and Description |
---|---|
private java.util.List<WayPoint> |
GpxDrawHelper.listVisibleSegments(Bounds box) |
Modifier and Type | Method and Description |
---|---|
void |
MarkerLayer.paint(java.awt.Graphics2D g,
MapView mv,
Bounds box) |
Modifier and Type | Field and Description |
---|---|
private Bounds |
RenderingCLI.argBounds |
private Bounds |
RenderingHelper.bounds |
Bounds |
RenderingCLI.RenderingArea.bounds |
Constructor and Description |
---|
RenderingHelper(DataSet ds,
Bounds bounds,
double scale,
java.util.Collection<RenderingHelper.StyleData> styles)
Construct a new
RenderingHelper . |
Modifier and Type | Method and Description |
---|---|
Bounds |
BoundingBoxSelectionPanel.getBoundingBox()
Get the bounding box the user selected
|
Modifier and Type | Method and Description |
---|---|
void |
BoundingBoxSelectionPanel.setBoundingBox(Bounds area)
Sets the bounding box to the given area
|
private void |
BoundingBoxSelectionPanel.updateBboxFields(Bounds area) |
Modifier and Type | Field and Description |
---|---|
private Bounds |
NameFinder.SearchResult.bounds |
private Bounds |
ChangesetQuery.bounds
the bounding box this query is restricted to.
|
Modifier and Type | Method and Description |
---|---|
Bounds |
NameFinder.SearchResult.getBounds()
Returns the bounds.
|
Bounds |
NameFinder.SearchResult.getDownloadArea()
Returns the download area.
|
Modifier and Type | Method and Description |
---|---|
protected void |
GeoJSONWriter.appendBounds(Bounds b,
javax.json.JsonObjectBuilder object) |
private GpxData |
BoundingBoxDownloader.downloadRawGps(Bounds b,
ProgressMonitor progressMonitor) |
ChangesetQuery |
ChangesetQuery.inBbox(Bounds bbox)
Replies a query which is restricted to a bounding box given by
bbox . |
Constructor and Description |
---|
BoundingBoxDownloader(Bounds downloadArea)
Constructs a new
BoundingBoxDownloader . |
OverpassDownloadReader(Bounds downloadArea,
java.lang.String overpassServer,
java.lang.String overpassQuery)
Constructs a new
OverpassDownloadReader . |
Modifier and Type | Field and Description |
---|---|
Bounds |
WMSImagery.LayerDetails.bounds
The bounds this layer can be used for
|
Constructor and Description |
---|
LayerDetails(java.lang.String name,
java.lang.String ident,
java.lang.String abstr,
java.util.Set<java.lang.String> crsList,
boolean supportedLayer,
Bounds bounds,
java.util.List<WMSImagery.LayerDetails> childLayers)
Constructs a new
LayerDetails . |
Modifier and Type | Method and Description |
---|---|
protected void |
LoadAndZoomHandler.zoom(java.util.Collection<OsmPrimitive> primitives,
Bounds bbox) |
Modifier and Type | Method and Description |
---|---|
static Bounds |
OsmUrlToBounds.parse(java.lang.String url)
Parses an URL into
Bounds |
static Bounds |
GeoUrlToBounds.parse(java.lang.String url)
|
private static Bounds |
OsmUrlToBounds.parseHashURLs(java.lang.String url)
Openstreetmap.org changed it's URL scheme in August 2013, which breaks the URL parsing.
|
private static Bounds |
OsmUrlToBounds.parseShortLink(java.lang.String url)
Parse OSM short link
|
static Bounds |
OsmUrlToBounds.positionToBounds(double lat,
double lon,
int zoom)
Compute the bounds for a given lat/lon position and the zoom level
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
OsmUrlToBounds.getURL(Bounds b)
Return OSM URL for given area.
|
static int |
OsmUrlToBounds.getZoom(Bounds b)
Return OSM Zoom level for a given area
|