[josm-dev] adding projections through plugins
Frederik Ramm
frederik at remote.org
Wed Jan 5 18:21:52 GMT 2011
Hi,
On 01/05/11 18:38, Dirk Stöcker wrote:
> Please use something like "addProjection()" at a proper place, so we can
> change internals later. I already suggested something alike to the one
> doing the other external projection plugin, but it seems he lost
> interest in that topic.
I'll have a look. I'm currently fighting with the plugin class loader. I
had manually configured the projection to be my new projection through
the config file, but JOSM wanted to configure that before my plugin was
loaded, so it couldn't load the class. I then made my plugin into an
"early" plugin so it was definitely loaded before the
ProjectionPreference tried to load the thing, but still I got a "class
not found" error.
Generic proj4 support would be a nice thing to have, but of course there
are lots of ways to shoot oneself in the foot there. We'd probably have
to for a list of named presets or so.
Bye
Frederik
More information about the josm-dev
mailing list