Class ProjectionPreference

All Implemented Interfaces:
PreferenceSetting, TabPreferenceSetting

Projection preferences.

How to add new Projections: - Find EPSG code for the projection. - Look up the parameter string for Proj4, e.g. on https://spatialreference.org/ and add it to the file 'data/projection/epsg' in JOSM trunk - Search for official references and verify the parameter values. These documents are often available in the local language only. - Use registerProjectionChoice(org.openstreetmap.josm.gui.preferences.projection.ProjectionChoice), to make the entry known to JOSM.

In case there is no EPSG code: - override AbstractProjectionChoice.getProjection() and provide a manual implementation of the projection. Use CustomProjection if possible.