[josm-dev] How do I add a new projection, EPSG:2924?

Dirk Stöcker openstreetmap at dstoecker.de
Wed Feb 9 09:14:57 GMT 2011


On Wed, 9 Feb 2011, Petr Nejedlý wrote:

> There are two approaches possible for this problem.
> The simpler one would be to change ProjectionPreference to not call 
> Class.forName(), but instead getProjections(), and iterate the registered 
> _instances_ until getClass().getName() matches.

What about a getProjection(String name) function instead? This sounds like 
a clean interface for me.

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)


More information about the josm-dev mailing list