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

Josh Doe josh at joshdoe.com
Tue Feb 8 18:15:04 GMT 2011


Hi Dirk,
I believe I understand how to add it now, though I can't do so as a
plugin because it then would not be available to the pdfimport plugin.

However a bigger problem I have is that there appears to be a
difference in datums between what JOSM uses (WGS 84) and what
EPSG:2924 uses (NAD83). I'll have to first figure out how to convert
between those.

Thanks,
-Josh

On Tue, Feb 8, 2011 at 10:04 AM, Dirk Stöcker
<openstreetmap at dstoecker.de> wrote:
> On Tue, 8 Feb 2011, Josh Doe wrote:
>
>> What's the best way to add this new projection? I believe I can't add
>> it as a plugin, like (epsg31287 [2]), because it won't be available to
>> the pdfimport plugin. However, since that plugin uses the jhlabs Java
>> Map Projection Library, which does support the Virginia State Plane
>> EPSG:2924, and it appears to be capable of being integrated with JOSM
>> through a custom build, I can just copy that code, modify it, and
>> build my own version of JOSM.
>
> Well, you're the third one asking:
> - Add it as plugin
> - Add the proper interface into josm - namely a addProjection() function
>  in the right place (like e.g. Main) - and send a patch for this.
>
> Ciao
> --
> http://www.dstoecker.eu/ (PGP key available)
>
>
> _______________________________________________
> josm-dev mailing list
> josm-dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/josm-dev
>



More information about the josm-dev mailing list