New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magrit: Cartography Teaching+Learning as part of IIAB [with OSM?] #1568
Comments
A Docker approach is also possible but not recommended. Using
|
I have successfully installed Magrit in IIAB, it runs really well (seems to use max 20% CPU when loading map layers). I used venv with Python 3.5, compiled gdal 2.2. In order to eventually produce an Ansible recipe I made a .deb installer with the compiled gdal, would this be a feasible procedure? I would appreciate help with Ansible, it's a bit too much for me at this point! |
Great news! And we will definitely help you with any questions you have about Ansible as it is not hard, and we have lots of experience after about 5 years now! |
Would it be ok if I post here a description of my installation procedure for someone else in the team to pick it up? Also: what is a good place to put my gdal_2.2.3-1_armhf.deb? |
Start with that yes!
How big is it? We can publish it to http://d.iiab.io/packages if that helps, but there may also be better places long term. |
Tagging @m-anish, @georgejhunt, @tim-moody & @mapmeld so they might investigate Magrit prior to our Thursday 10AM NYC Time OSM + mapmaking call (http://minutes.iiab.io) |
OK, here are my install steps for Magrit:
(gdal 2.2 .deb can be found here, it's 34.6 mb)
(What's a better location than
Modify from: from: This is hardcoded in my installation, but better to pass the server address.
Create
Magrit can be accessed at |
There might be other very simple and/or useful mapping apps that might run in IIAB, for example, Mapshaper (https://github.com/mbloch/mapshaper), good for simplifying shapefiles and other vector layers and to export as topoJSON. |
Nice work! I have transcribed the magrit manual install recipe listed in this issue into ansible format. But I'm stuck getting it to execute. It seems to fail with conflicting requirements between magrit which now wants python3.6, and the the raspbian package which do not appear to be complete in python 3.6, the the recipe calls out 3.5 packages To continue to debug, you will need to
I'm not very good at python version conflicts, virtualenv, and such. But I can tweak the ansible, when we find out what needs to change. I'm looking forward to playing with magrit when we get it working. I like the way their web site makes projections other than web-mercator visible. |
The ansible code that @mir123 and I generated is at https://github.com/iiab/iiab/pull/1579/files |
@mir123 Mir, If not, at least I should select the options for "./configure" similar to the ones you chose -- to try to minimize debugging issues, later in the process. |
@mapmeld & all: A critical question we need help to answer is what Android apps to recommend for local community map-making and map-reading — as arose during Thursday's Internet-in-a-Box community call (http://minutes.iiab.io) outlining different approaches to grassroots civic cartography. Please all make pragmatic recommendations here beyond just MAPS.ME if possible! As we nurture techne / craftsmanship and cultural technics not just pyrotechnics that build understanding of local geographies, this too is tangentially related: #1541 Can IIAB recommend/include an Android filesharing app for offline communities? |
@georgejhunt on my Linux Mint 19 (equivalent to Ubuntu Bionic) I just installed gdal from the repos (2.2.3), no need to compile, it's enough that it's at least 2.2 according to Magrit instructions |
Also check improvements being considered to Magrit for IIAB deployment: |
Possible Magrit (and other OSM-like) Questions for the April 4 call: (http://minutes.iiab.io)
[above revised with input from 2019-04-04 call] |
Mapping the Map strategy continues, with the above short-term roadmap ideas quickly discussed this morning with @mir123, @m-anish & @georgejhunt. Medium-term roadmap ideas: Next OSM/mapmaking tactics call will be Thursday 2019-05-02 (http://minutes.iiab.io) |
@georgejhunt should I defer this ticket to the IIAB 7.1 milestone, given you closed "Magrit playbook" PR #1579 on 2019-03-24 with the following message?
|
We are hopeful @mir123 can work on this, in a virtual environment (venv) so that https://github.com/riatelab/magrit can avoid "dependency hell" and work with the Python 3.6 it requests.
We should assist @mir123 in identifying the best roles (Ansible playbooks) at https://github.com/iiab/iiab/tree/master/roles to model his work upon.
The text was updated successfully, but these errors were encountered: