Modify

Opened 11 years ago

Closed 11 years ago

#5935 closed enhancement (fixed)

[PATCH] Add plugin to load projections supported by Proj4J

Reported by: joshdoe Owned by: joshdoe
Priority: normal Milestone:
Component: Plugin Version: latest
Keywords: Cc: joshdoe

Description

I've started writing a plugin to enable using projections from the Proj4J library [1]. I had it working for one particular projection, EPSG:2924, but I'm trying to generalize it to load any supported projection (almost 4000 at the moment). Proj4J itself isn't stable yet, doesn't support everything its sister project proj.4 supports, and doesn't even have a release yet, but it seemed to work fine for my case.

The code is very ugly right now, and doesn't even work completely, but I wanted to put it somewhere before I got distracted and never got back to it. Hopefully I'll get it cleaned up and working properly soon.

[1]: http://trac.osgeo.org/proj4j/

Attachments (1)

proj4j-josm-plugin.zip (279.0 KB) - added by joshdoe 11 years ago.
latest snapshot of plugin, seems to be working okay

Download all attachments as: .zip

Change History (6)

comment:1 Changed 11 years ago by bastiK

Do you have an account for the openstreetmap svn? If not, you should try to get one, so you can continue working on your plugin when it has been released. See also #5532.

comment:2 Changed 11 years ago by bastiK

Summary: Add plugin to load projections supported by Proj4J[PATCH] Add plugin to load projections supported by Proj4J

Changed 11 years ago by joshdoe

Attachment: proj4j-josm-plugin.zip added

latest snapshot of plugin, seems to be working okay

comment:3 Changed 11 years ago by joshdoe

Plugin seems to be working for me, but definitely needs testing. I didn't want to ask for an svn account since this is my first patch, and am guessing I need to prove my worth first.

I've created a short page on the wiki for this plugin:
http://wiki.openstreetmap.org/wiki/JOSM/Plugins/Proj4J

comment:4 Changed 11 years ago by joshdoe

Owner: changed from team to joshdoe
Status: newassigned

I've added the plugin as attached to the SVN at changeset 25450. I've got a number of fixes I'll upload later when I get to the machine which has them.

comment:5 Changed 11 years ago by bastiK

Resolution: fixed
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain joshdoe.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.