Package | Description |
---|---|
org.openstreetmap.josm.data.coor |
Provides the classes for geographic
coordinates
(east/north and lat/lon systems). |
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.paint.relations |
Provides the classes for painting and caching
Multipolygon relations. |
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.layer |
Provides classes for handling the different kinds of map layers.
|
org.openstreetmap.josm.gui.preferences.projection |
Provides classes for handling projection preferences.
|
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.session |
Provides the classes for user sessions import/export.
|
org.openstreetmap.josm.tools |
Provides the classes for various utilities and tools called from all other packages.
|
Constructor and Description |
---|
CachedLatLon(EastNorth eastNorth,
Projection projection) |
Modifier and Type | Field and Description |
---|---|
private Projection |
AbstractWMSTileSource.tileProjection |
private Projection |
WMTSTileSource.tileProjection |
Modifier and Type | Method and Description |
---|---|
Projection |
AbstractWMSTileSource.getTileProjection() |
Projection |
WMTSTileSource.getTileProjection()
Returns the tile projection.
|
Modifier and Type | Method and Description |
---|---|
EastNorth |
OffsetBookmark.getDisplacement(Projection proj)
Get displacement in EastNorth coordinates of a given projection.
|
private int |
WMTSTileSource.getTileXMax(int zoom,
Projection proj) |
private int |
WMTSTileSource.getTileYMax(int zoom,
Projection proj) |
private void |
AbstractWMSTileSource.initAnchorPosition(Projection proj) |
void |
AbstractWMSTileSource.initProjection(Projection proj)
Initializes class with projection in JOSM.
|
void |
WMTSTileSource.initProjection(Projection proj)
Initializes projection for this TileSource with projection
|
void |
AbstractWMSTileSource.setTileProjection(Projection tileProjection) |
Constructor and Description |
---|
AbstractWMSTileSource(TileSourceInfo info,
Projection tileProjection)
Constructs a new
AbstractWMSTileSource . |
TemplatedWMSTileSource(ImageryInfo info,
Projection tileProjection)
Creates a tile source based on imagery info
|
WMSEndpointTileSource(ImageryInfo info,
Projection tileProjection)
Create WMSEndpointTileSource tile source
|
WMTSTileSource(ImageryInfo info,
Projection projection)
Creates a tile source based on imagery info and initializes it with given projection.
|
Modifier and Type | Method and Description |
---|---|
void |
DataSet.projectionChanged(Projection oldValue,
Projection newValue) |
Modifier and Type | Method and Description |
---|---|
Geometry.AreaAndPerimeter |
Multipolygon.PolyData.getAreaAndPerimeter(Projection projection)
Calculate area and perimeter length in the given projection.
|
void |
MultipolygonCache.projectionChanged(Projection oldValue,
Projection newValue) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractProjection
Implementation of the Projection interface that represents a coordinate reference system and delegates
the real projection and datum conversion to other classes.
|
class |
CustomProjection
Custom projection.
|
Modifier and Type | Field and Description |
---|---|
private static Projection |
ProjectionRegistry.proj
The projection method used.
|
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,Projection> |
Projections.projectionsByCode_cache |
private static java.util.Map<java.lang.String,java.util.function.Supplier<Projection>> |
Projections.projectionSuppliersByCode |
Modifier and Type | Method and Description |
---|---|
Projection |
AbstractProjection.getBaseProjection() |
Projection |
ShiftedProjecting.getBaseProjection() |
Projection |
Projecting.getBaseProjection()
Gets the base projection instance used.
|
static Projection |
ProjectionRegistry.getProjection()
Replies the current projection.
|
static Projection |
Projections.getProjectionByCode(java.lang.String code)
Get a projection by code.
|
Modifier and Type | Method and Description |
---|---|
private static void |
ProjectionRegistry.fireProjectionChanged(Projection oldValue,
Projection newValue,
Bounds oldBounds) |
ProjectionBounds |
CustomProjection.getEastNorthBoundsBox(ProjectionBounds box,
Projection boxProjection) |
ProjectionBounds |
Projection.getEastNorthBoundsBox(ProjectionBounds box,
Projection boxProjection)
Get a box in east/north space of this projection, that fully contains an
east/north box of another projection.
|
void |
ProjectionChangeListener.projectionChanged(Projection oldValue,
Projection newValue) |
static void |
ProjectionRegistry.setProjection(Projection p)
Sets the current projection
|
Modifier and Type | Method and Description |
---|---|
static void |
Projections.registerProjectionSupplier(java.lang.String code,
java.util.function.Supplier<Projection> supplier)
Register a projection supplier, that is, a factory class for projections.
|
Modifier and Type | Method and Description |
---|---|
Projection |
NavigatableComponent.getProjection() |
Projection |
MapViewState.getProjection()
Gets the current projection used for the MapView.
|
Modifier and Type | Method and Description |
---|---|
MapViewState |
MapViewState.usingProjection(Projection projection)
Creates a state that uses the projection.
|
Modifier and Type | Method and Description |
---|---|
private Projection |
WMSLayer.chooseProjection(Projection requested) |
private Projection |
WMSLayer.selectProjection(Projection proj) |
Modifier and Type | Method and Description |
---|---|
private Projection |
WMSLayer.chooseProjection(Projection requested) |
boolean |
Layer.isProjectionSupported(Projection proj)
allows to check whether a projection is supported or not
|
void |
WMTSLayer.projectionChanged(Projection oldValue,
Projection newValue) |
void |
AbstractTileSourceLayer.projectionChanged(Projection oldValue,
Projection newValue) |
void |
GpxLayer.projectionChanged(Projection oldValue,
Projection newValue) |
void |
WMSLayer.projectionChanged(Projection oldValue,
Projection newValue) |
void |
Layer.projectionChanged(Projection oldValue,
Projection newValue) |
void |
OsmDataLayer.projectionChanged(Projection oldValue,
Projection newValue) |
private Projection |
WMSLayer.selectProjection(Projection proj) |
Modifier and Type | Method and Description |
---|---|
Projection |
ProjectionChoice.getProjection()
Get the projection that matches the internal state.
|
Projection |
CustomProjectionChoice.getProjection() |
Projection |
AbstractProjectionChoice.getProjection() |
Projection |
CodeProjectionChoice.getProjection() |
Modifier and Type | Field and Description |
---|---|
private Projection |
GeoJSONWriter.projection |
Modifier and Type | Method and Description |
---|---|
private static Bounds |
WMSImagery.parseBBox(Projection conv,
java.lang.String miny,
java.lang.String minx,
java.lang.String maxy,
java.lang.String maxx) |
private Bounds |
WMSImagery.parseBoundingBox(javax.xml.stream.XMLStreamReader reader,
Projection conv) |
Modifier and Type | Method and Description |
---|---|
ViewportData |
SessionReader.SessionViewportData.getEastNorthViewport(Projection proj)
Convert this viewport data to a
ViewportData object (with projected coordinates). |
Modifier and Type | Method and Description |
---|---|
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.
|