← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 426142] [NEW] Move mapping/geojson folder out of webapps/dhis?

 

Bump on this one. More of a feature request than bug, but I do agree.

We had mentioned about having a contrib folder. I think this would be a good
place for this type of data that would be potentially useful for different
parties.

How about this structure, and then maybe the devs can fix the code around it
at some point?

/contrib/geodata/iso2code/geojson/

where the iso2code would be for a particular country.


On Tue, Sep 8, 2009 at 10:05 AM, Ola Hodne Titlestad <olatitle@xxxxxxxxx>wrote:

> Public bug reported:
>
> Currently all the map files (geojson) needed for the GIS module are stored
> in mapping/geojson in the dhis webapps folder.
> I can see the benefit from distributing these files together with the
> source code and inside war files, but often you will create these files
> locally and put them manually into webapps/dhis. These files are then easily
> lost when updating dhis to a new version (since you then have to delete
> webapps/dhis). Would it be possible to keep these files in a
> DHIS2_HOME/mapping/geojson folder in stead? Or if possible, fetch map files
> match from both locations so that you get the best of both sides, both
> distribution inside war files and a safe place to put additional maps?
>
> ** Affects: dhis2
>     Importance: Medium
>         Status: New
>
> ** Changed in: dhis2
>   Importance: Undecided => Medium
>
> ** Changed in: dhis2
>    Milestone: None => 2.0.3
>
> --
> Move mapping/geojson folder out of webapps/dhis?
> https://bugs.launchpad.net/bugs/426142
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
>
> Status in DHIS 2: New
>
> Bug description:
> Currently all the map files (geojson) needed for the GIS module are stored
> in mapping/geojson in the dhis webapps folder.
> I can see the benefit from distributing these files together with the
> source code and inside war files, but often you will create these files
> locally and put them manually into webapps/dhis. These files are then easily
> lost when updating dhis to a new version (since you then have to delete
> webapps/dhis). Would it be possible to keep these files in a
> DHIS2_HOME/mapping/geojson folder in stead? Or if possible, fetch map files
> match from both locations so that you get the best of both sides, both
> distribution inside war files and a safe place to put additional maps?
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References