[HOT] Humanitarian Mapping for a class

Pierre Béland pierzenh at yahoo.fr
Thu Jan 22 20:46:25 UTC 2015


As Blake just said, it is important to also control the quality. JOSM should be favored since there are various plugins like for buildings There is also a Validation process when you upload the data. Osmose Map and other Validation tools can also be part of the workflow to assure better quality. This can also be querried by user. It is also important to look at the various classifications like for road.

Below, I am looking more at how we can map efforts, have statistics and detail of objects edited.

OSM keeps history of each object and user. There are various ways to query the OSM database.
First, a summary of a student edit sessions (OSM Changesets) for the week can be obtained with this simple commandhttp://www.openstreetmap.org/api/0.6/changesets?bbox=left,bottom,right,top&time=datetime,datetime&user=uidxxx

left, bottom, right and top coordinates correspond to the coordinates showed on OpenStreetMap.org when you click on the Export button.

examplehttp://www.openstreetmap.org/api/0.6/changesets?bbox=-79.013671875,44.071800467511565,-65.28076171875,50.597186230587035&time=2015-01-19T00:00:00Z,2015-01-20T00:00:00Z&user=226516

Detailed information  about objects modified by the user over the week can be obtained  with an Overpass query. The Overpass UI site let do queries easily and provides both a map and an OSM Changes file.  The bottom of the map also provides summary statistics about ojbects modified (ie. nodes, ways, relation, POI's, polygons).

Try the script below, replacing uidxxx by a valid OSM UID.   Note that Overpass bbox is slightly different from the OSM API, the coordinates being in a different order.  Copy the API Overpass url link from the Export panel to have these boudaries. 
In the example below, replace the {{bbox}} parameter by these coordinates.  This will let you control wich area to query to extract data and compile statistics.
You can also test the script as is with the {{bbox}} parameter and Overpass will automatically calculate the coordinates. Zoom to the area you want to investigate. 

For a city, you should have no problem extracting the data but it could be for a larger zone like a country.

For each student, it is then possible to have at the end of the week an image of the map plus the OSM Changes file. The map would show the areas where he concentrated his edits. The OSM Changes files would provide the detail about the objects edited. Either the students do this individually, or a script is written to do that automatically from a list of student UID's.  The Map and statistics would be both a way to control individual efforts and motivate the students.

Overpass script , START and END dates, BBOX and UID parameters to be provided
[adiff:"2015-01-19T00:00:00Z","2015-01-21T00:00:00Z"];
(
  node({{bbox}})(uid:"uidxxx");
  way({{bbox}})(uid:"uidxxx");
  rel({{bbox}})(uid:"uidxxx")
);
out meta;

 Pierre 

      De : "Mueller, Thomas" <Mueller at calu.edu>
 À : "hot at openstreetmap.org" <hot at openstreetmap.org> 
 Envoyé le : Jeudi 22 janvier 2015 13h53
 Objet : [HOT] Humanitarian Mapping for a class
   
 <!--#yiv3472664763 _filtered #yiv3472664763 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}#yiv3472664763 #yiv3472664763 p.yiv3472664763MsoNormal, #yiv3472664763 li.yiv3472664763MsoNormal, #yiv3472664763 div.yiv3472664763MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", "sans-serif";}#yiv3472664763 a:link, #yiv3472664763 span.yiv3472664763MsoHyperlink {color:blue;text-decoration:underline;}#yiv3472664763 a:visited, #yiv3472664763 span.yiv3472664763MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv3472664763 p.yiv3472664763MsoListParagraph, #yiv3472664763 li.yiv3472664763MsoListParagraph, #yiv3472664763 div.yiv3472664763MsoListParagraph {margin-top:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", "sans-serif";}#yiv3472664763 span.yiv3472664763EmailStyle17 {font-family:"Calibri", "sans-serif";color:windowtext;}#yiv3472664763 .yiv3472664763MsoChpDefault {font-family:"Calibri", "sans-serif";} _filtered #yiv3472664763 {margin:1.0in 1.0in 1.0in 1.0in;}#yiv3472664763 div.yiv3472664763WordSection1 {}#yiv3472664763 _filtered #yiv3472664763 {} _filtered #yiv3472664763 {} _filtered #yiv3472664763 {} _filtered #yiv3472664763 {} _filtered #yiv3472664763 {} _filtered #yiv3472664763 {} _filtered #yiv3472664763 {} _filtered #yiv3472664763 {} _filtered #yiv3472664763 {} _filtered #yiv3472664763 {}#yiv3472664763 ol {margin-bottom:0in;}#yiv3472664763 ul {margin-bottom:0in;}-->Hello    Hello, I have been working slowly trying to integrate humanitarian mapping into my classes and students’ education over the past couple of years .  I am a Geography professor, but I admit I am a jack of all trades master of none (as I teach crime mapping, demographic analysis, GIS, etc.)  I have tried several small projects– some successful and others not so successful.  This year in one of my upper level classes I have assigned a Humanitarian Mapping assignment.  The students will be working on the Mapping Kamrangirchar (Dhaka, Bangladesh).  I felt this was a good project for my students since there are quite a few structures that need to be mapped.    I am requesting that my students spend 30 minutes per week, every week mapping structures for this project.  Obviously this should not be a difficult for them, but I am hoping it will accomplish several objectives including: 1)     Help map the area 2)     Help the students understand how they can “donate” their time to help (within a topic in their field) 3)     Hopefully this will become part of their routine so they will continue, etc.    Also it will make sure that I donate my time too to this endeavor.     I have one question – how is the best way for me to check that they have completed this assignment every week?  Should I have them copy and paste their history on to a Word Document?  Is there a better way?    Hopefully if this project is successful, then I am hoping to integrate this assignment into more of my classes.    Thank you for your time Tom Mueller    Thomas R. Mueller, Ph.D., GISP
Advisor: Geography Major with GIS and Emergency Management Concentration
Co - Director: Pennsylvania View
Department of Earth Sciences, California University of Pennsylvania "A man never gets to this station in life without being helped, aided, shoved, pushed and prodded to do better." - Johnny Unitas    
_______________________________________________
HOT mailing list
HOT at openstreetmap.org
https://lists.openstreetmap.org/listinfo/hot


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/hot/attachments/20150122/5c4b3caa/attachment.html>


More information about the HOT mailing list