GIS update

This version should be good enough for a demo. I will continue my work so please report improvement suggestions, bugs etc.

Two new objects are introduced in connection with the latest GIS version:

Map

int id;

String mapLayerPath; // link to geoserver

OrganisationUnit organisationUnit; // you may register shapefiles for every organisation unit now

OrganisationUnitLevel organisationUnitLevel; // by saying what level the organisation unit is devided into, you may register multiple maps for every organisation unit

String uniqueColumn; // the shapefile data column holding the id of the organisation unit

String nameColumn; // the shapefile data column holding the name of the organisation unit

and

MapOrganisationUnitRelation

int id;

Map map;

OrganisationUnit organisationUnit; // database organisation unit

String featureId; // shapefile organisation unit

If you are too lazy to build your own webservice, download here:

http://folk.uio.no/janhov/gis/dhis-webservice.war

I strongly recommend using Google Chrome for the best perfermance. If Firefox is a must, go for 3.1 beta 3 which comes with the new TraceMonkey javascript engine:

http://www.mozilla.com/en-US/firefox/all-beta.html

Jan Henrik

image

image

image

Glad to see this solution maturing!

···

On Mon, Apr 6, 2009 at 9:35 PM, Jan Henrik Øverland janhenrik.overland@gmail.com wrote:

I strongly recommend using Google Chrome for the best perfermance. If Firefox is a must, go for 3.1 beta 3 which comes with the new TraceMonkey javascript engine:

http://www.mozilla.com/en-US/firefox/all-beta.html

That’s a good idea, but for now I would stick to Firefox 3.0 since Firebug does not yet work with 3.1, making it very difficult to find out what goes wrong.

Jan Henrik, could you please provide documentation for your GIS tool on hisp.info? There are a lot of people who are eager to try this out, but it is not easy to do that without a description of all the steps needed. Of course, we should try to reduce the number of steps, but a user guide to what’s currently required would be a good start.

Knut

I have added a page for the soon-to-come documentation of the new GIS module.

While there is no documentation just yet, there are already a long list of desired addition. I started to add some of these as blueprints in Launchpad, but decided to keep them on the wiki for now:
http://208.76.222.114/confluence/display/HTOOL/MapFish+GeoStat

https://blueprints.launchpad.net/dhis2/+spec/gis-geojson-files

Knut

···

On Mon, Apr 6, 2009 at 9:35 PM, Jan Henrik Øverland janhenrik.overland@gmail.com wrote:

This version should be good enough for a demo. I will continue my work so please report improvement suggestions, bugs etc.

Two new objects are introduced in connection with the latest GIS version:

Map

int id;

String mapLayerPath; // link to geoserver

OrganisationUnit organisationUnit; // you may register shapefiles for every organisation unit now

OrganisationUnitLevel organisationUnitLevel; // by saying what level the organisation unit is devided into, you may register multiple maps for every organisation unit

String uniqueColumn; // the shapefile data column holding the id of the organisation unit

String nameColumn; // the shapefile data column holding the name of the organisation unit

and

MapOrganisationUnitRelation

int id;

Map map;

OrganisationUnit organisationUnit; // database organisation unit

String featureId; // shapefile organisation unit

If you are too lazy to build your own webservice, download here:

http://folk.uio.no/janhov/gis/dhis-webservice.war

I strongly recommend using Google Chrome for the best perfermance. If Firefox is a must, go for 3.1 beta 3 which comes with the new TraceMonkey javascript engine:

http://www.mozilla.com/en-US/firefox/all-beta.html

Jan Henrik


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Cheers,
Knut Staring