Diary Entries in English

Recent diary entries

Posted by Vishāl Bāgadē on 17 August 2021 in English. Last updated on 20 August 2021.

District Court, Aurangabad, Government Polytechnic Aurangabad, Collector Office Aurangabad, Zila Parishad Aurangabad, Regional Commissioner office, Municipal Corporation, MSEDCL, BSNL Customer Care Centre, BSNL Mobile, HP Gas, Government College of Engineering, CIDCO, HUDCO, MIDC, ASCDCL, Siddharth Garden and Zoo, DTE, ITI, Central Bus Stand, CIDCO Bus stand, City Smart Bus, Railway Station, Airport, Police Commissioner office, High Court, Cannaught place, IT park, Stadium, Theatre, Market, Canteen, police station, post office, CADA, TV Centre, Akashwani, Old Mondha, New Mondha, Bank, ATM, Government Hospital, petrol pump, Ration Distribution Centre, University, College, School, Maharashtra State Board Of Secondary & Higher Secondary Education Pune Divisional Board, RTO

Posted by Darkshredder on 16 August 2021 in English. Last updated on 17 August 2021.

Source Code

Nominatim-Feedback-Reporter

Previous Posts

Hosted server

About the project

This is a Google Summer of Code project, which has been developed over the Summer of 2021 by Yash Srivastava (darkshredder). This project is mentored by Marc Tobias (mtmail) and Sarah Hoffmann (lonvia).

Project Description

OpenStreetMap’s main search engine Nominatim did not provide a way to report feedback on the search results that they think to be wrong.

This project aims to provide a web interface to report such feedback and store them in a logs file. So that the feedback can be analyzed, fixed and can be re-run by the maintainers to see if the problem is still there.

Implementation

The following step was followed to implement this project:

  • Selecting the frontend and backend framework for the project.
  • Finding a way to fetch multiple results for reverse geocoding as nominatim only returns a single result.
    • We used overpass API to fetch multiple results and then to provide an option to select a correct result base on reverse search results.
  • Hosting the frontend and backend code on the server.
    • Our frontend UI can be found here.
    • Our backend API can be found here.
  • Testing the frontend and backend code.
    • We used puppeteer and mocha to add integration tests to the frontend.
    • We used pytest for unit testing backend code.
  • Setting up the continuous integration pipeline.
    • We used GitHub Actions to integrate the CI pipeline to test as well as build our frontend and backend code.

Final product at the end of the GSoC

See full entry

Location: Vijyant Khand, Chinhat, Lucknow, Uttar Pradesh, India
Posted by mariotomo on 16 August 2021 in English. Last updated on 18 August 2021.

This is a follow-up to a pedrito1414 diary entry on Silvester 2020, which itself, at least from my point of view, was a follow-up to a IRC chat the two of us held on 2020-12-15.

From our chat Pete distilled a short list of nine more or less urgent “issues to address / aspects to improve”. We’re 8 months later and a few days ago I downloaded the online HOT projects summaries, to choose some statistics that might let us measure the process and how it has been improving. Of these 9 points I think that the easiest to measure are #6: “TM projects don’t always get closed out” and #2: “Tasking manager transparency - project creators”.

Let’s start from #6 about non closed projects.

The one thing that HOT is not doing, they are not systematically setting a limit to the projects they host nor directly run: of the 3009 still active projects, 2848 (94%) does not have a due date. for the 587 projects that have been created this year 2021, 460 (78%) does not have a due date. it is a small improvement. limiting this to directly HOT owned projects, it’s a total of 315, of which 297 (94%) do not have a due date. This year it’s 111 projects directly owned by HOT, 94 (85%) of which without due date.

I’ll mention the two top outliers, which did set a due date goal for all their projects: osm-libya (37 projects) and unique-mappers-network-nigeria (5 projects).

Without a due date, it’s easy to let things slip through your fingers, so no surprise there’s still 2 open projects from 2012, 24 from 2013, 27 from 2014, and a total of 1378 unclosed projects published before 2020.

The other issue, #2 about project creators, in my opinion it has to do with local involvement, or lack thereof.

See full entry

Posted by mmd on 14 August 2021 in English.

In this blog post we want to count addr:housenumber nodes across all EU member states, broken down by country. That’s a bit above 34 million nodes in total.

Queries are tested on different Overpass instances: two rather busy public ones, one idle private instance and a dev instance. With the exception of the latter, queries run on offical Overpass releases. Database contains a full planet (including metadata and history).

Query: https://overpass-turbo.eu/s/1adO

[out:csv(name, count)];
rel(2668952);rel(r);
map_to_area -> .areas;
foreach.areas->.area (
  node["addr:housenumber"](area.area);
  make data count = count(nodes),
            name = area.set(t["name"]);
  out;
);

Result: https://gist.github.com/mmd-osm/5219028c9fa93db17ac7c271a99183a1

Runtimes

kumi.systems:     gateway timeout after 1h
overpass-api.de:  gateway timeout after 2h
private server:   timeout after >2h
dev branch:       30s

NB: dev branch is exploring alternative implementation options and is currently not released.

Posted by gpserror on 14 August 2021 in English.

Well, today I checked in my first JOSM edits.

First was a boo boo. I cheated and used iD to revert… hah.

Second was what I intended as the first checkin - found out that iD was deliberately nerfed to not allow the edit I wanted to do. Still haven’t figured out the best way but oh boy, JOSM was much easier to move a node 10 miles away. Did a few in iD and that was really no fun.

Then a few more edits in JOSM… just to not get annoyed when iD nags “You didn’t fix the warning I flagged.”

“But I didn’t make the warning… and I don’t know enough to actually fix the warning!”

grumble grumble…

I was doing some HOT mapping on an old project in Nigeria recently and noticed that depending on how I access the project, I get different versions of the Bing imagery.

If I use the HOT tasking manager (either using iD or JOSM) or direct JOSM download as a starting point I get a lower resolution image that is clearly a different vintage than if I open it direct from the OSM page through the iD editor.

I can’t tell which is more recent as buildings appear and disappear in Nigeria so no telling without some local knowledge.

Someone suggested that it’s likely due to accessing different API endpoints (which I don’t quite know what this means).

Time for some more investigating. I’d love to be able to use both sets of images. Maybe I’ll post on why I want to do that as a separate entry when I get a free moment.

Location: Yali, Ganjuwa, Bauchi State, Nigeria

Here’s how to check cycling mapping mistakes and fixme’s in your area:

  1. Go to Bicycle tags map
  2. From upper left corner, select “bugs in tags”
  3. Zoom into area of interest
  4. From menu on the right you can select/deselect features to show

This way I could see a few fixme’s in my area, plan a route with OsmAnd application, observe and make necessary updates to the map in Oulu area.

And on my way yesterday I was able to visit the new separated cycleway opened the same day. Really liked to ride it. Have a look from our Baana Engineer’s twitter video.

Happy cycling, everyone!

Juhani

Location: Raksila, Keskusta, Oulu, Oulu sub-region, North Ostrobothnia, Mainland Finland, Finland

I have just updated some structures( as-builts) around National Capital District in Port Moresby in PNG. After seeing some street having awkward shapes(partially incomplete), I have deleted these and updated with correct tags. Most of the roads did not have correct tags( as most roads in PNG residential and rural areas have 6.0 m width as approved by Department of Works-PNG). I even updated the road surface based on the type of material the roads are built with( mostly asphalt, gravel and dirt/grass). Most Building do have Heights/Levels and using correct level tags, those Buildings not having the correct heights/Levels have been re-edited with correct tags. When also checking on Power transmission Pylons, the average Height is 30.0m, I have re-edited the pylon height again by setting the correct height. The type of landcover( whether grass, forest, concrete asphalt etc.) has also been updated of some streets that I was rechecking/verifying around National Capital District(NCD).

Thanks to the use of F4map.com, I was able to see the update in 3D after the edits were made 48Hrs later. Please do use correct tags in OSM to improve OSM maps.

Once again, thankyou and happy mapping to you all Mappers.

the person writing this piece of diary is by now a middle aged man, in his 50s, still passionate about all that he does, or he simply won’t do it. for reasons which might be clear to a psychologist, but not to a mathematician like the person in question, he assumes the same passion and intellectual correctness in his colleagues, even in the face of proof to the contrary.

since 1989 he left his home town, never settled for longer than 8 years, now since October 2016 living in Panamá, speaking the language as any native latin speaker, that is with a decent linguistic awareness, and with an accent making him sound a mix of French, Colombian and obviously Southern Italian. but language is not the whole story, and regardless his “permanent resident” status, he doubts how not to feel as an alien here in Panamá.

I’ll now switch to writing in first person.

when it had become clear I would stay here for a longer spell, that was around the end of 2018, I looked for ways to collect people around the common OSM interest, I found the very sleepy Panama forum and I founded a Telegram group, and started monitoring new mappers coming to contribute to the map, inviting them to come to the group, and form a local community.

See full entry

mod_tile, consisting of libapache2-mod-tile and renderd, to instruct Mapnik to generate raster tile images and deliver them via a web server has reached version 0.6 through a broad and constructive collaboration among Free and Open Source Software contributors. And the installation packages have recently become part of Debian and Ubuntu.

OpenStreetMap.org and many other web map tile servers are using mod_tile with Mapnik to generate and render raster tile images and with Apache2 to make them availabe serving on a webserver. For example for providing a slippy map on the web.

mod_tile has been been actively implemented between 2008 and 2014 by a core group of contributors. The last release was nine years ago when I assumed responsibility for maintenance, at the same there were also many good code suggestions waiting in the pipeline as pull requests on Github.

See full entry

Posted by Bimanywaruhanga Jonas on 8 August 2021 in English. Last updated on 14 August 2021.

This is to extend my sincere gratitude an endless favorite thanks to project which was designed to fight against Gender based violence in Bushenyi district that is run by Nuwashaba Dativer and the team,it is our pleasure as the volunteers under center for life change and development to see community members living in a harmonious way.

Location: Tshuapa, Democratic Republic of the Congo
Posted by RobJN on 7 August 2021 in English.

As of a few weeks ago, it is now possible to add Mapbox Vector Tile (MVT) layers to JOSM. I have been playing around with these to learn how to apply basic styling to the layer. For this tutorial we will use a postcodes layer in Great Britain.

Styling requires us to first create a style.json file. Copy the contents below in to a plain text file (notepad) and save as style.json. If doing this on Windows you will want to make sure it doesn’t also have a .txt extension.

{
  "version": 8,
  "name": "Postcodes",
  "owner": "Postcodes",
  "id": "postcodes",
  "sources": {
    "postcodes-source": {
      "maxzoom": 13,
      "tiles": [
        "https://api.mapbox.com/v4/robjn.3uur23nz/{zoom}/{x}/{y}.mvt?access_token=pk.eyJ1Ijoicm9iam4iLCJhIjoid0dYNkY1QSJ9.A-0lzQOawGYICYPfURsjDA"
      ],
      "type": "vector"
    }
  },
  "layers": [
    {
      "id": "something",
      "type": "circle",
      "source": "postcodes-source",
      "source-layer": "results-4326-deduped",
      "minzoom": 13,
      "paint": {
        "circle-color": "#C70039",
        "circle-radius": 6
      }
    },
    {
      "id": "secondthing",
      "type": "symbol",
      "source": "postcodes-source",
      "source-layer": "results-4326-deduped",
      "minzoom": 13,
      "layout": {
        "text-field": "{postcode}",
        "text-size": 18,
        "text-allow-overlap": true,
        "text-ignore-placement": true
      },
      "paint": {
        "text-color": "#C70039",
        "text-halo-color": "#000000"
      }
    }
  ]
}

See full entry

To all developers involved in an application which uses OSM data, either for smartphones (OsmAnd, MagicEarth, Maps.Me…) or online (Qwant maps…).

OpenStreetMap is a great database containing many type of information. All of the software I’m aware of seems to focus on explicit data (e.g. “There is a picnic table at this exact position” or “There is a rest area here”) to search for a POI, display a map or for navigation. Those explicit data come from tags directly on the POI or on a relation. But there is more to do whenever we think of what can be deduced from those explicit data to infer implicit data (e.g. “There are picnic tables in this rest area”). This would require to take into account tags on other POIs based on geometry.

What is the interest to deduce implicit data?

Imagine a family on the road looking for a place to stop: Kids will want to go to the restrooms, the driver will need some coffee and it’s time to have lunch and wait a moment we also need to refill the car. Not all rest areas/service areas propose all those services. Looking for each of those POI on a map can be quickly cumbersome (cluttering, filtering…). Now imagine if one can, when selecting a service area or rest area, have in addition to the name and opening hours of the area, a list of services available there then the decision will probably be more efficient.

Another use case is if I’m looking for a park to bring my kids. I would love to know at a single glance if a given park has some sport fields, playgrounds, toilets, ice creams… depending of what I’m looking for without zooming and panning everywhere on my map.

So how would it works?

See full entry

Posted by arnalielsewhere on 6 August 2021 in English. Last updated on 16 August 2021.

Note: This post has been translated and available in Spanish! Thanks to Cyberjuan! (Nota: Este post ha sido traducido y disponible en español! ¡Gracias a Cyberjuan!)

At State of the Map 2018, I was lucky to be selected as one of the conference scholars (my reflections here). This year, I took the chance to be part of the SotM 2021 WG to organize SotM 2021 online conference.

I mainly worked in the Communications team. I am sharing in this diary my experience and learnings as an organizer as this might help organizers in planning their online events, among others.

Long post ahead!

1. Recruiting volunteers for SotM WG (view Call for Volunteers invitation via mailing list)

Because of the pandemic, SotM became online. Since there is no community bidding involved, SotM Chairperson invited OSM community members to join the SotM WG. She promoted this via the mailing list, and was shared by community members via social media and other community channels.

Takeaway: Clearly lay out structure of the WG (sub-wg/sub-teams), its functions and who’s leading the teams, and how to join (as simple as sending an email).

2. Organizing team structure / workflow (sync and async communication)

As seen in the invitation, there were small groups/sub-wg’s within the SotM WG for a more organized coordination.

Takeaways:

  1. Coordination: Creation of sub-teams and sub-wgs, with a way to have asynchronous communication (no-meeting required coordination) for those who could not make it to the live meetings

  2. Decision-making: We arrived at decisions by building a group consensus - this have encourage more active participation from the volunteers

3. Conference Format (3 days, online)

SotM 2021 followed a 3day-format just like a physical event.

Cons: I don’t recommend the 3 consecutive days format as this is too exhaustive in the part of the organizing team (for an online event).

See full entry

Location: Denver, Colorado, United States

Every week we get an alert from the very dedicated OSMBC group, that a new issue is ready on the site. I’m in a country where internet connectivity is expensive, and slow, and unreliable, all at the same time, so I wish to avoid opening the web site with all of its javascript and css files, and only get the information without the site software.

I’ve not been able to make the above situation considered, or understood, but I could use one of the hints I received, namely to check the RSS feed for the newsletter. This feed contains one item per week, and the latest item is the one I want to receive in my mailbox. I first simply added the feed to my Android RSS client, but since every item contains links to pictures, refreshing the feed would again clog my slow limited connection.

What I did was to write a bash one-liner which will run every Sunday on a server hosted in Europe, to which I have access. The script grabs the RSS feed, extracts the first item, and sends it to me by email. Which is what I wanted, so I’m fine now.

Should anybody want to be included in the mail, I have no problem sending them any of the OSMWeekly translations. the only limitation is I can’t send email to google.com.

the script is more or less this:

wget -qO- "https://weeklyosm.eu/feed" | sed -n -e '1,/^\]\]><\/content:encoded>/p' | sed -n -e '/<content:encoded>/,/^\]\]/p' | sed -e 's/.*CDATA.//' -e 's/^\]\]><\/content:encoded>//' | grep -v '^<p class="wp-caption-text"><img loading="lazy" src=".*alt="lead picture"' | grep -v '<p><!-- place picture here --></p>' | mail -a "Content-Type: text/html" -s "OSM Weekly" email@example.com