[HOT] Nepal data validation: overpass script to identify the recent mappers?

Pierre Béland pierzenh at yahoo.fr
Tue May 12 22:01:38 UTC 2015


Thanks Jon,
Below is a link, your data brought me to look at. I see three buildings that should not be on the map. Two are not orthogonal. And just east of these, there is a building not traced.
https://www.openstreetmap.org/#map=19/27.996049/85.04349    
Pierre 

      De : kusala nine <kusala9 at googlemail.com>
 À : Mhairi O'Hara <mhairi.ohara at hotosm.org>; hot <hot at openstreetmap.org> 
 Envoyé le : Mardi 12 mai 2015 16h46
 Objet : Re: [HOT] Nepal data validation: overpass script to identify the recent mappers?
   
bit of a delay getting non-squared buildings to work in python/overpass but the day job intervened I'm afraid. Still, good to dive into learning overpass and the pytthon API. The link below has a python script which will report buildings within a bounding box with a skew greater than a certain tolerance. It's the kind of thing which could be integrated into JOSM ideally but not sure how to go about that... I'm happy to do the work (I speak java and python and would like to get involved in the JOSM developments). Have a go - email me if it doesn't work. Against the depressing backdrop of the 2nd earthquake this slips down the priority list so I'm going back to the TM to do some bread and butter mapping for a few days but happy to be diverted by this if it would help.
https://www.dropbox.com/s/xhlr6n1ia3kzqw6/buildings.zip?dl=0

all the best,
jon p.


On Tue, May 5, 2015 at 9:21 PM, Springfield Harrison <stellargps at gmail.com> wrote:

Wouldn't it be easier to just create a tool that draws abox/rectangle?  That is a common GIS drawing activity.

I'm new to this (but not to GIS/GPS mapping) but does this project reallyneed building footprints in every case?  Points might sufficeinitially in the interests of simplicity/expediency; building footprintscould be added later for specific cases.  The initial point couldhave attributes as to size, type of building, etc.

                Cheers . . ..   Spring Harrison 

 


At 05-05-2015 13:04 Tuesday, kusala nine wrote:

I have a python script whichwill analyse all buildings in a bounding box and output those with alarge "skew" - where the diagonals don't match (within atolerance). It uses overpass API and will also output changeset/userinfo. I'll post a link to it tomorrow once I've finished user options.Might be useful to identify tiles where buildings aren't square. Needsoverpass and pygeo to get data and work out distances. jon.

On Tue, May 5, 2015 at 7:05 AM, kusala nine<kusala9 at googlemail.com> wrote:
   
      - I put the latest extract back into a database last night andextracted just the buildings and the number of sides in them - the listbelow shows total number of buildings and the number of sides in thepolygon.. Of the 190k buildings in the current Nepal extract the vastmajority have four sides - There are 58 triangular buildings though! andquite a lot with more sides. I am analysing the 4-sided buildings now andmeasuring the difference in metres between the diagonals - this isprobably the best method of determing the skew. If you want a shapefileof the triangular buildings let me know and I can dropbox it. I'll tryand get this working in python/overpass wrapper so it can be run as avalidation process... jon.   
   

      - total  | #sides   

      - Â 160852 | Â 4   

      - Â 10940 | Â 6   

      - Â Â 6259 | Â 5   

      - Â Â 5075 | Â 8   

      - Â Â 2404 | Â 7   

      - Â Â 1240 | 10   

      - Â Â 875 | Â 9   

      - Â Â 718 | 12   

      - Â Â 496 | 11   

      - Â Â 231 | 14   

      - Â Â 208 | 13   

      - Â Â 179 | 16   

      - Â Â 128 | 15   

      - Â Â Â 82 | 18   

      - Â Â Â 72 | 19   

      - Â Â Â 58 | Â 3   
   
   

      - On Mon, May 4, 2015 at 10:23 PM, kusala nine<kusala9 at googlemail.com> wrote:   
      
         - hi - will do. back to the day job tomorrow but will keep on it.geometrically it's easy to figure out if something's got right angles -it's just the extract from the database. I'll see what I can do andreport back. jon.      
      

         - On Mon, May 4, 2015 at 9:36 PM, Mhairi O'Hara<mhairi.ohara at hotosm.org> wrote:      
         
            - This is great. We are really looking at somehow incorporating atiered user system (beginner/intermediate/advanced) into the TaskingManager, so that we can hopefully do the following:         
         

            - Mapper status: Provide various levels of mapper status(beginner/intermediate/advanced), so that only advanced can validatetiles and perhaps a buddy system can be introduced to guidebeginners.         
         

            - Chat room: Provide a channel where users (beginners) can speak toother users (experienced) live to get help on how to do mapping.Something similar to MapCraft(http://mapcraft.nanodesu.ru/)         
         

            - Beginner guidance: Once new mappers are identified, perhapsexperienced users can give them view access to watch them map live. Thiswould be the quickest way to teach and learn during an activation, as itwould be specific to the project they are working on and enable them tobecome familiar with identifying features in the satellite imagery.         
         

            - Again, duly noted! Please keep me in the loop if you make any headway on the python wrapper Kusala.         
         

            - Kind regards,         
         

            - Mhairi         
         
         
         

            - On Mon, May 4, 2015 at 9:41 AM, Pierre Béland<pierzenh at yahoo.fr>wrote:         
            
               - Working better :)            

               - Thanks            

               - Â             

               - Â             

               - Pierre             
            
            

               - De : Julian Haag<osm at juhaag.de>            

               - À :hot at openstreetmap.org             

               - Envoyé le : Lundi 4 mai 2015 9h05            

               - Objet : Re: [HOT] Nepal data validation: overpass script toidentify the recent mappers?            
            
            

               - -----BEGIN PGP SIGNED MESSAGE-----             

               - Hash: SHA1             

               - Â             

               - Hi,            

               - there is a . athe the ent of the URL. This is the correct one:            

               - http://resultmaps.neis-one.org/newestosmcountry.php?c=Nepal            
            

               - ngt            
            

               - Am 04.05.2015 um 14:54 schrieb Pierre Béland:            

               - > Thanks Pascal Neis for this again. This includes a RSS feed. Nouser listed yet on my screen.            

               - >Â             

               - >Â             

               - > Pierre            

               - >            

               - > -------------------------            

               - > *De :* amrit karmacharya<amrit.im at gmail.com>            

               - > *À :* Kusala9<kusala9 at googlemail.com>            

               - > *Cc :*"hot at openstreetmap.org"<hot at openstreetmap.org>            

               - > *Envoyé le :* Lundi 4 mai 2015 8h41            

               - > *Objet :* Re: [HOT] Nepal data validation: overpass script toidentify the recent mappers?            

               - >            

               - > This page shows Newest Active OpenStreetMap Contributors forNepalhttp://resultmaps.neis-one.org/newestosmcountry.php?c=Nepal.            

               - >            

               - >            

               - >            

               - > On Mon, May 4, 2015 at 12:35 PM, Kusala9<kusala9 at googlemail.com<mailto:kusala9 at googlemail.com>> wrote:            

               - >            

               - >Â Â Â Â I'm new to overpass but there s a nice python wrapperwhich will make user counts and geometry calculations easier. I can lookat this tonight and will report back. Jon            

               - >            

               - >Â Â Â Â 58683-23001#47            

               - >            

               - >Â Â Â Â On 4 May 2015, at 02:45, Severin Menard<severin.menard at gmail.com <mailto:severin.menard at gmail.com>>wrote:            

               - >            

               - >Â Â Â Â > Hi,            

               - >Â Â Â Â >            

               - >Â Â Â Â > Is there a overpass skilled person to write thescript that can identify mappers with limited experience (recent mapperID or number of contributions less than let us say 5,000) over Nepal, sothat we can check their contributions and give advice about how toimprove them.            

               - >Â Â Â Â >            

               - >Â Â Â Â > Another hero would be the person able to include adetection of non squared buildings within the Validator steps.            

               - >Â Â Â Â >            

               - >Â Â Â Â > Sincerely,            

               - >Â Â Â Â >            

               - >Â Â Â Â > Severin            

               - >Â Â Â Â >_______________________________________________            

               - >Â Â Â Â > HOT mailing list            

               - >Â Â Â Â >HOT at openstreetmap.org<mailto:HOT at openstreetmap.org>            

               - >Â Â Â Â >https://lists.openstreetmap.org/listinfo/hot            

               - >            

               - >Â Â Â Â _______________________________________________            

               - >Â Â Â Â HOT mailing list            

               - >Â Â Â Â HOT at openstreetmap.org<mailto:HOT at openstreetmap.org>            

               - >Â Â Â Â https://lists.openstreetmap.org/listinfo/hot            

               - >            

               - >            

               - >            

               - >            

               - > --             

               - > Best Regards            

               - > Amrit Karmacharya            

               - > Instructor, Survey Officer            

               - > Land Management Training Center            

               - >            

               - > _______________________________________________            

               - > HOT mailing list            

               - > HOT at openstreetmap.org<mailto:HOT at openstreetmap.org>            
            
            
            

               - >https://lists.openstreetmap.org/listinfo/hot            

               - >            

               - >            

               - >            

               - >            

               - > _______________________________________________            

               - > HOT mailing list            

               - >HOT at openstreetmap.org            

               - >https://lists.openstreetmap.org/listinfo/hot            
            
            

               - -----BEGIN PGP SIGNATURE-----             

               - Version: GnuPG v2             

               - Â             

               - iQIcBAEBAgAGBQJVR26KAAoJEMUCiYazPkhKZjcQAM7zlBJW6huq2ikO1iB55oIj            

               - VTqMd3HW2hdIGNQYywbbSqV31dXSDu1HCpPRZZMTfCDHwHjYeEm6ChMFVo3MEJ6C            

               - GCRHyr7XtzsDueCytQdXyWoSRVPNcigNQczMKfURYdPyiWzRdTqLHrasfMZdUPfW            

               - Ue8Gy1iITksRF17zh/URJydGjD+9fsWPiNBYyjvI2oTXXPEAPZH69G7wG7N8Me43            

               - /cNuIMIv2m81MBhD5egGzIHw7buJ/aUbjl3LSDzX64GOuOp/NC5Xgotg1HL2PvmE            

               - FfNaZIhpiyLwk31odMOcwUglnLfHepIekNulc4qi7BpXx139pT0KrRsmXgpS+Y7Q            

               - 0LR3inEf0fHWS0PrrzVK9UxF03xcMNJLZDOMnpeoZ3PIXQ5HWSsF0H7N6nF6dXIk            

               - wHfo+cxm1ype6A08vHw+TVK/gSoR/0DlxgNTyQyq3ZQDaP2mUE9ZtPuHtz3Yq3n/            

               - oIPRp3vlwYHpeskk54pE3jb1pJwVq75JC0Akt/Au7K0v3JAmmkW7QHpiU9NCJbkM            

               - cFm7PWISyuEK7RWYm+lEUU1aJInGeVsN94OtJPJ7XxTCBZE9glDsEEooFVYaNYov            

               - BpaIuHem2GZniin+Yg0Ow3ZVGj3kOYhJ1gGZSkwGHeN6P1JePD/ZwyO2scYZLvmQ            

               - kfytyRgvPtpKm1oEFb/5             

               - =NLxE             

               - -----END PGP SIGNATURE-----             
            
            
            

               - _______________________________________________            

               - HOT mailing list            

               - HOT at openstreetmap.org            

               - https://lists.openstreetmap.org/listinfo/hot            
            
            
            

               - _______________________________________________            

               - HOT mailing list            

               - HOT at openstreetmap.org            

               - https://lists.openstreetmap.org/listinfo/hot            
            








   
      - --    

      - Mhairi O'Hara   

      - Technical Project Manager   

      - Email:Â
mhairi.ohara at hotosm.org
   
      - Indonesian Mobile:Â+62 822 4701 1475   
   

      - Humanitarian OpenStreetMap Team    

      - Using OpenStreetMap    

      - for Humanitarian Response    

      - & Economic Development
 




_______________________________________________ HOT mailing listHOT at openstreetmap.orghttps://lists.openstreetmap.org/listinfo/hot 


_______________________________________________
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/20150512/b9699b82/attachment.html>


More information about the HOT mailing list