Extending Redmine's "Issue" to Add Location Data
I'm looking at extending Redmine to support location data for a particular issue. Is there a way I can write a plugin that extends the "Issue" to include lat/lon so I can display a little Google Map with the issue's location? I'd also like to be able to use the "Issues" page to view all issues matching the filter(s) on a map.
I can deal with the maps part, but it didn't look like the Plugin API for Redmine allowed me to extend in just the right way.
Thanks in advance!
Yeah, I believe it's possible to write a plugin for what you describe.
did you have any success with this ? We are attempting virtually the same thing at the moment.
I never really tried that hard to do this. How far along are you? What are you using it for?
the requirement is to manage a database of safety hazards (which become redmine tickets) and have contractors acknowledge that they have read the item. we can pass a filtered ticket list to gmaps with a link back from each pin to the relevant ticket for the acknowledgement and we can also create an hazard/issue by clicking on the map and filling in some basic details in a form but just proof of concept at this stage.
Cool. Did you implement it as a plugin or a does it sit on top of Redmine in another way?
at the moment its a bit of a hack and a mixture of plugin and core patch. If the concept flies with the exec team presentation we would hope to do as much as possible in a plug in and then maybe try to beg a change in the redmine trunk if necessary. i think this mod would be generally interesting enough to contribute back to the community.
Did you just add location data to the issue object and add views to do CRUD operations on it?
y - we also found its better to separately keep the entered address and the resolved (or entered) geo-loc as you get some funny effects from round tripping
Can you give me a pointer for the correct spot to start? I don't really understand the plug-in API's method of extending the core models (like the Issue).
Darryl, did you manage to finish your changes to include location data? I am just now thinking about starting this up again.
RE: Extending Redmine's "Issue" to Add Location Data - Added by Michael Greifeneder about 11 years ago
Any information about a progress available? Maybe a link to a ticket, source code, plugin?