Recent diary entries
This week we (me, simone and sbiribizio) launched the new version of the 'Italian Local OpenStreetMap Extracts': a website from which users can download slices of the italy-latest.pbf provided by GeoFabrik on a regional or municipal level, converted also in different formats.
The web interface is written in php (with the flightphp microframework), allows multiple languages (currently italian and english) and queries a postgresql database popupulated by the extraction scripts. The scripts are a mix of bash, perl and python and require some binaries commonly available in Ubuntu. As background layer in the maps we use Wikimedia Maps
Last year I did a quick demo application to mock people asking if an object will get rendered on the map, extracting some information from the stylesheet used for the map on osm.org (it was during the switch to the Carto version).
Today I reviewed the process of extracting that information and generated semi-automatically a complete list of key-value pairs, which powers now DoesItRender.
If a tag is in the style, it answers yes (http://stefanosabatini.eu/doesitrender/#amenity=bar). If not, it gives option (http://stefanosabatini.eu/doesitrender/#tourism=unicorns) to display it via overpass-turbo or xapi-viewer.
If you for chance read my previous diary entry, I registered on GiveIt100 and documented with a video a changeset made each day in a different country. I followed some basic criteria: each day in a different continent (counterclockwise order); if I missed a day I'd map in the same continent for two days; map in a country where I didn't map before.
So, straight from January 1st, I got to April 10th and in the last video I did a changeset in San Mateo, CA, where lives the developer of GiveIt100 (I previously mapped in USA, I know!).
The complete project is visible on https://giveit100.com/@sabas/ro277m
Having the NaturalEarth shapefile half filled, I should paint it green completely some time...
Someone with a planet file at hand could do a ladder of users ranked by how many countries has been visited (similar to the hydc user page)..
Thanks to Karen and Finbarr for their work!
After seeing an article on The Verge - this one - about the launch of giveit100.com I wondered if there was something to do involving OSM. The mission of the social network is to try to make a resolution and stick to it for at least 100 days, filming a short 10 seconds video segment.
Well, I chose to make a small contribution in a different country each day, and today I did a changeset in Jamaica as my sixth country. Long way to go, but I'll try (to make viewable the video I make circa 6 minutes of editing, so between 50 and 150 edits usually). Here's how I work to do this:
the global map is a shapefile from Natural Earth rendered with qgis (3 pictures each lasting 15-16 frames)
I use recordmydesktop to do the recording (resulting in a ogv file)
ffmpeg to convert from ogv to avi
kdenlive to mix them up, the video is accelerated to fit 205 frames
Here's my project link (which was also selected as featured) https://giveit100.com/@sabas/ro277m
I was mapping something in North Korea when...
I wonder if they understand they have to put map labels only on the map, not directly on the ground.
BTW some who understand Korean can translate? I'm going to put this on the map, there's another one near the dam on the right.
Today I finally ended checking the whole coastlines of Sardinia, except the Medio Campidano and Carbonia - Igliesias provinces. I started a year ago while editing my first area in West Sardinia and today I can say I've touched all the remaining parts where there was PGS or there was a bad definition.
Next I'd like to import the new borders for remaining provinces of Sassari and Olbia-Tempio.