Package | Description |
---|---|
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.coor.conversion |
Provides the classes for geographic
coordinates
conversion. |
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.visitor |
Provides the classes for performing actions on OSM primitives using Visitor design pattern.
|
org.openstreetmap.josm.data.projection |
Provides the classes for JOSM map projection.
|
org.openstreetmap.josm.gui |
Provides the classes for JOSM graphical user interface.
|
org.openstreetmap.josm.gui.dialogs |
Provides three kinds of dialogs:
Toggle dialogs on the right side of the GUI, that can be turned on, off, attached or detached from the GUI
Changeset dialog based on a standalone implementation, dedicated to OSM changesets management
Extended dialogs for everything else
|
org.openstreetmap.josm.gui.draw |
Provides GUI classes for 2D drawing in the map.
|
org.openstreetmap.josm.gui.layer.markerlayer |
Provides classes for handling marker layers.
|
org.openstreetmap.josm.tools |
Provides the classes for various utilities and tools called from all other packages.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Bounds.contains(ILatLon ll)
Determines if the given point
ll is within these bounds. |
Modifier and Type | Class and Description |
---|---|
class |
CachedLatLon
LatLon class that maintains a cache of projected EastNorth coordinates.
|
class |
LatLon
LatLon are unprojected latitude / longitude coordinates.
|
Constructor and Description |
---|
LatLon(ILatLon coor)
Creates a new LatLon object for the given coordinate
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
NauticalCoordinateFormat.latToString(ILatLon ll) |
java.lang.String |
ProjectedCoordinateFormat.latToString(ILatLon ll) |
java.lang.String |
DecimalDegreesCoordinateFormat.latToString(ILatLon ll) |
java.lang.String |
DMSCoordinateFormat.latToString(ILatLon ll) |
java.lang.String |
ICoordinateFormat.latToString(ILatLon ll)
Convert latitude to string.
|
java.lang.String |
NauticalCoordinateFormat.lonToString(ILatLon ll) |
java.lang.String |
ProjectedCoordinateFormat.lonToString(ILatLon ll) |
java.lang.String |
DecimalDegreesCoordinateFormat.lonToString(ILatLon ll) |
java.lang.String |
DMSCoordinateFormat.lonToString(ILatLon ll) |
java.lang.String |
ICoordinateFormat.lonToString(ILatLon ll)
Convert longitude to string.
|
Modifier and Type | Class and Description |
---|---|
class |
WayPoint
A point in the GPX data
|
Constructor and Description |
---|
OffsetBookmark(java.lang.String projectionCode,
java.lang.String imageryId,
java.lang.String imageryName,
java.lang.String name,
EastNorth displacement,
ILatLon center)
Create a new
OffsetBookmark object |
Modifier and Type | Interface and Description |
---|---|
interface |
INode
|
Modifier and Type | Class and Description |
---|---|
class |
Node
One node data, consisting of one world coordinate waypoint.
|
class |
NodeData
The data on a single node (tags and position) that is stored in the database
|
Modifier and Type | Method and Description |
---|---|
void |
BBox.add(ILatLon c)
Add a point to an existing BBox.
|
Constructor and Description |
---|
BBox(ILatLon ll)
Create BBox for a given latlon.
|
Modifier and Type | Method and Description |
---|---|
void |
BoundingXYVisitor.visit(ILatLon latlon)
Visiting call for lat/lon.
|
Modifier and Type | Method and Description |
---|---|
EastNorth |
ShiftedProjecting.latlon2eastNorth(ILatLon ll) |
EastNorth |
Projecting.latlon2eastNorth(ILatLon ll)
Convert from lat/lon to easting/northing.
|
EastNorth |
AbstractProjection.latlon2eastNorth(ILatLon toConvert) |
Modifier and Type | Method and Description |
---|---|
java.awt.Point |
NavigatableComponent.getPoint(ILatLon latlon)
looses precision, may overflow (depends on p and current scale)
|
java.awt.geom.Point2D |
NavigatableComponent.getPoint2D(ILatLon latlon)
Return the point on the screen where this Coordinate would be.
|
MapViewState.MapViewPoint |
MapViewState.getPointFor(ILatLon latlon)
Gets the
MapViewState.MapViewPoint for the given LatLon coordinate. |
void |
NavigatableComponent.zoomTo(ILatLon newCenter)
Zoom to given lat/lon.
|
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
InspectPrimitiveDataText.toStringCSV(boolean projected,
ILatLon... coordinates)
Returns the coordinates in human-readable format.
|
Modifier and Type | Method and Description |
---|---|
MapViewPath |
MapViewPath.lineTo(ILatLon n)
Draw a line to the node.
|
MapViewPath |
MapViewPath.moveTo(ILatLon n)
Move the cursor to the given node.
|
MapViewPath |
MapViewPath.shapeAround(ILatLon p1,
SymbolShape symbol,
double size)
Add the given shape centered around the current node.
|
Modifier and Type | Method and Description |
---|---|
MapViewPath |
MapViewPath.append(java.lang.Iterable<? extends ILatLon> nodes,
boolean connect)
Append a list of nodes
|
MapViewPath |
MapViewPath.appendClosed(java.lang.Iterable<? extends ILatLon> nodes,
boolean connect)
Append a list of nodes as closed way.
|
private void |
MapViewPath.appendWay(java.lang.Iterable<? extends ILatLon> nodes,
boolean connect,
boolean close) |
Modifier and Type | Class and Description |
---|---|
class |
AudioMarker
Marker class with audio playback capability.
|
class |
ButtonMarker
Marker class with button look-and-feel.
|
class |
ImageMarker
Marker representing an image.
|
class |
Marker
Basic marker class.
|
class |
PlayHeadMarker
Singleton marker class to track position of audio.
|
class |
WebMarker
Marker class with Web URL activation.
|
Modifier and Type | Method and Description |
---|---|
static java.awt.geom.Path2D |
Geometry.buildPath2DLatLon(java.util.List<? extends ILatLon> polygon,
java.awt.geom.Path2D path2d)
Builds a path from a list of nodes
|
static Geometry.AreaAndPerimeter |
Geometry.getAreaAndPerimeter(java.util.List<? extends ILatLon> nodes)
Calculate area and perimeter length of a polygon.
|
static Geometry.AreaAndPerimeter |
Geometry.getAreaAndPerimeter(java.util.List<? extends ILatLon> nodes,
Projection projection)
Calculate area and perimeter length of a polygon in the given projection.
|