CINXE.COM
OpenStreetMap diary entries for alan_gr
<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:georss="http://www.georss.org/georss"> <channel> <title>OpenStreetMap diary entries for alan_gr</title> <description>Recent OpenStreetMap diary entries from alan_gr</description> <link>https://www.openstreetmap.org/user/alan_gr/diary</link> <image> <url>https://www.openstreetmap.org/assets/mag_map-rss2.0-2973595662b8a92522b315b6c69bf5ee9bec75e07d702c5932f114c44a6251ea.png</url> <title>OpenStreetMap diary entries for alan_gr</title> <width>100</width> <height>100</height> <link>https://www.openstreetmap.org/user/alan_gr/diary</link> </image> <item> <title>Mapping Local POIs Part 4: what a difference five years make</title> <link>https://www.openstreetmap.org/user/alan_gr/diary/405457</link> <guid>https://www.openstreetmap.org/user/alan_gr/diary/405457</guid> <description><p>In <a href="https://www.openstreetmap.org/user/alan_gr/diary/405455" rel="nofollow noopener noreferrer">Part 3</a> I talked about changes in POI data in a small area over a period of two months. Most of those changes were due to mapping activity, rather than anything that happened in the real world over that period. But I’d like to use a similar approach to better understand how the real-world POIs are evolving.</p> <p>As I mentioned in Part 3, until recently a significant proportion of POIs in this area had never been mapped in OSM. That means there is no point in the past at which OSM data is anywhere close to a complete set of POIs for this area. But we might be able to learn something from the POIs that <em>were</em> mapped some time ago.</p> <p>I chose to look back 5 years, to August 2019. I guessed that was roughly the point at which the data was most accurate. Most POIs were added in 2017-2018, so while lots of POIs were missing, those existing in 2019 were probably still fairly accurate. This is how those specific POIs evolved over 5 years, ignoring anything newly created over that period:</p> <table class="table table-sm w-auto"> <thead> <tr> <th>&nbsp;</th> <th>POI count</th> <th>as %</th> </tr> </thead> <tbody> <tr> <td>no major change</td> <td>135</td> <td>57%</td> </tr> <tr> <td>removed</td> <td>42</td> <td>18%</td> </tr> <tr> <td>changed POI type</td> <td>38</td> <td>16%</td> </tr> <tr> <td>changed name</td> <td>22</td> <td>9%</td> </tr> <tr> <td>total</td> <td>237</td> <td>100%</td> </tr> </tbody> </table> <p>Plotting this on a map doesn’t reveal anything especially interesting, although zooming in does show a curious island of stability along the north side of Calle Ferrándiz. Somehow that row of shops has been almost immune to the changes that affected the rest of the area: <img src="https://linesinalandscape.com/assets/images/pois-change-5years.png" alt="map of POIs with different colours indicating how they changed over the period"></p> <p>The blue dot in the middle of the street is rather poignant: it is the only public telephone in the 2019 data, not surprisingly nowhere to be found in 2024.</p> <p>At a more granular level, there was a general decline in the number of clothes shops. Of 15 in the 2019 data, only 5 survived until 2024. At the other extreme are healthcare facilities including pharmacies and dentists: all 15 mapped in 2019 still exist, and 13 of them still have the same name. Otherwise, most types of POI changed at broadly similar rates.</p> <p>So, 57% of POIs mapped in 2019 were still operating as the same type of POI with the same name five year later. That suggests that 10%-11% of POIs experienced a significant change (closure, change of use, rebranding) each year. In fact the rate may well be higher, as this doesn’t account for locations that changed more than once over the 5 years. I know from memory that these exist (some locations just seem to be “cursed”), but I don’t have any data to quantify this effect.</p> <p>Of course all this ignores the many POIs that were not mapped until recently. In Part 3 I mentioned that these unmapped POIs were disproportionately located on quiet side streets. I have no idea if these would have increased or reduced the overall rate of change if they had been mapped from the start.</p> <p>Setting aside all the limitations of the data, this does seems to indicate a fairly manageable rate of change. Now that the data is reasonably complete, and given the lack of space for new construction in this area, I expect relatively few completely new POIs in future. I think I should be able to keep up with an annual rate of change of 10% to 15% - say 40 to 60 data updates each year.</p> <p>And if I manage to do that, this kind of analysis will become more interesting in future years, as it will reflect real changes rather than irregular bursts of mapping activity.</p> </description> <dc:creator>alan_gr</dc:creator> <pubDate>Thu, 31 Oct 2024 16:16:37 +0000</pubDate> <comments>https://www.openstreetmap.org/user/alan_gr/diary/405457#comments</comments> <geo:lat>36.7286866757293</geo:lat> <geo:long>-4.4127944111824045</geo:long> <georss:point>36.7286866757293 -4.4127944111824045</georss:point> </item> <item> <title>Mapping Local POIs Part 3: what a difference two months make</title> <link>https://www.openstreetmap.org/user/alan_gr/diary/405455</link> <guid>https://www.openstreetmap.org/user/alan_gr/diary/405455</guid> <description><p>As I mentioned in <a href="https://www.openstreetmap.org/user/alan_gr/diary/405425" rel="nofollow noopener noreferrer">Parts 1</a> <a href="https://www.openstreetmap.org/user/alan_gr/diary/405426" rel="nofollow noopener noreferrer">and 2</a>, over the last couple of months I set out to systematically update Points of Interest in four adjoining barrios in the city of Málaga.</p> <p>A few businesses really did open, close, or change hands over that short period. But the vast majority of the changes in the data reflect the OSM data “catching up” with reality: adding points that had never been mapped in OSM, or updating POIs that had changed in some way since they were last touched by an OSM mapper.</p> <h2 id="adding-leisure-pois">Adding leisure POIs</h2> <p>Closely examining changes over a period is a good way of revealing faulty assumptions. I noticed that three shop locations had disappeared from my data, even though I was sure there were still businesses at those addresses. They are all gyms now, and gyms are tagged as “leisure” - a tag I had completely ignored. I’ve now added leisure POIs. As with “amenity” tags, I excluded some high-volume tags such as “garden” and “swimming pool”. I now have 392 POIs in my current dataset, not 376 as I mentioned in previous diary entries.</p> <h2 id="changes-over-the-period">Changes over the period</h2> <table class="table table-sm w-auto"> <thead> <tr> <th>&nbsp;</th> <th>POI count</th> <th>count distinct feature tags</th> </tr> </thead> <tbody> <tr> <td>mid Aug 2024</td> <td>267</td> <td>96</td> </tr> <tr> <td>+ newly created</td> <td>141</td> <td>34</td> </tr> <tr> <td>- removed</td> <td>(16)</td> <td>(9)</td> </tr> <tr> <td>late Oct 2024</td> <td>392</td> <td>121</td> </tr> <tr> <td>% change</td> <td>+47%</td> <td>+26%</td> </tr> </tbody> </table> <p>I mentioned in a previous post that I thought that POIs were reasonably well mapped in this neighbourhood. The numbers suggest that about two thirds of POIs were mapped two months ago. That seems respectable, but not great. There has not been any major expansion of retail space in this area recently. Some of the new additions are locations that were vacant or derelict when the area was first mapped in detail, but the majority have existed for a long time and were simply never mapped in OSM.</p> <p>Most of the removed POIs are now mapped as with a “disused:” life cycle tag (and thus excluded from my data). These are premises that could still be used for retail, but are currently vacant. In a few cases the original POI has been deleted completely, where the building has been demolished or the retail space has been absorbed by a neighbouring shop.</p> <p>Many of the POIs added and removed had unique tags, so the number of tags changes roughly in line with the number of POIs. But it increases at a slower rate, as we would expect - the more POIs we map, the more likely a new POI will be of a type already in the data.</p> <h2 id="evolution-of-the-pois-in-the-original-dataset">Evolution of the POIs in the original dataset</h2> <p>Ignoring the newly added points, this is what happened the 267 POIs already mapped in mid August:</p> <table class="table table-sm w-auto"> <thead> <tr> <th>&nbsp;</th> <th>number of points</th> <th>as %</th> </tr> </thead> <tbody> <tr> <td>no major change</td> <td>209</td> <td>78%</td> </tr> <tr> <td>removed</td> <td>16</td> <td>6%</td> </tr> <tr> <td>changed POI type</td> <td>28</td> <td>10%</td> </tr> <tr> <td>changed name</td> <td>14</td> <td>5%</td> </tr> <tr> <td>total</td> <td>267</td> <td>100%</td> </tr> </tbody> </table> <p>The changes of POI type are mainly genuine changes of use, often to something very different: a greengrocer to a coworking centre, a clothes shop to a beauty salon for pets, an electronics shop to a laundry. The name changes usually reflect a change in ownership or a a significant rebranding. Only a small share of both types of change is due to improved tagging of a POI that did not change in reality.</p> <p>Almost 80% of mapped POIs were already up to date when I started checking (ignoring minor changes such as contact details or spelling errors). Again, this seems fairly respectable in isolation. But combined with the POIs that were missing completely, only 53% of POIs were mapped correctly. That’s a lot less than I expected when I started all this.</p> <h2 id="changes-by-poi-group">Changes by POI group</h2> <p>Were some types of POIs better mapped than others?</p> <table class="table table-sm w-auto"> <thead> <tr> <th>feature group</th> <th>count new</th> <th>count old</th> <th>change</th> <th>% change</th> </tr> </thead> <tbody> <tr> <td>amenity - food+drinks</td> <td>56</td> <td>49</td> <td>7</td> <td>+14%</td> </tr> <tr> <td>amenity - general</td> <td>48</td> <td>33</td> <td>15</td> <td>+45%</td> </tr> <tr> <td>craft - general</td> <td>14</td> <td>3</td> <td>11</td> <td>+367%</td> </tr> <tr> <td>healthcare - general</td> <td>26</td> <td>17</td> <td>9</td> <td>+53%</td> </tr> <tr> <td>leisure - general</td> <td>16</td> <td>13</td> <td>3</td> <td>+23%</td> </tr> <tr> <td>office - general</td> <td>42</td> <td>17</td> <td>25</td> <td>+147%</td> </tr> <tr> <td>shop - clothes</td> <td>15</td> <td>17</td> <td>-2</td> <td>-12%</td> </tr> <tr> <td>shop - food</td> <td>52</td> <td>45</td> <td>7</td> <td>+16%</td> </tr> <tr> <td>shop - for the body</td> <td>51</td> <td>24</td> <td>27</td> <td>+113%</td> </tr> <tr> <td>shop - general</td> <td>61</td> <td>42</td> <td>19</td> <td>+45%</td> </tr> <tr> <td>tourism - general</td> <td>11</td> <td>7</td> <td>4</td> <td>+57%</td> </tr> <tr> <td>total</td> <td>392</td> <td>267</td> <td>125</td> <td>+47%</td> </tr> </tbody> </table> <p>Most eateries (restaurants, cafes, bars) were already on the map, as well as most food shops (supermarkets, greengrocers, bakeries and so on).</p> <p>Of the main groups, “for the body” stands out as undermapped. I have already talked about the high proportion of shops in the area that are hairdressers or beauty salons. The majority had not been mapped previously: the number increased from 15 to 38. In fact “shop=hairdresser” is now the most common single tag, well ahead of “amenity=restaurant” which was the leader until two months ago.</p> <p>It’s also clear that offices and crafts were undermapped. The increase in these categories was spread across a wide range of POI types. I did notice an increase in business related to the sale and management of property (including vacation rentals), but that only accounts for at most 10 extra POIs. I could have mapped <em>even more</em> offices, but as I mentioned in a previous post, I generally didn’t add businesses identified only by a plaque in a doorway.</p> <p>So, it seems that over the years, local mappers (including me) have tended to focus more on some categories of POI than others. That <em>might</em> be due to the nature of the POIs themselves: offices are often not very interesting, hairdressers tend to open and close rather frequently, mappers tend to add cafes where they eat themselves, and so on. But it might also have something to do with…</p> <h2 id="location-location-location">Location, location, location</h2> <p><img src="https://linesinalandscape.com/assets/images/pois-change-2months.png" alt="map of POIs with different colours indicating how they changed over the period"></p> <p>Looking at the map, it’s clear that a lot of the new POIs are in the northwest corner of the area of interest. Apparently neither I nor other mappers ever paid enough attention to this group of streets. Until I started my systematic survey, I had thought of these streets as almost entirely residential. In fact they contain quite a few small retail businesses. To some extent the same applies to other side streets. It probably doesn’t help that I do most of my surveying at night, when many of these shops are completely shuttered and attract very little attention. Shops on the main streets tend to be a little more obvious even when they are closed.</p> <p>This pattern inevitably influences the results I described above. It seems quite possible that hairdressers, crafts, and offices were undermapped not so much because of anything intrinsic to these businesses, but because they are more likely to be located away from the busiest streets.</p> <p>In my next diary entry, I’ll look at how the POIs in this area evolved over a much longer period.</p> </description> <dc:creator>alan_gr</dc:creator> <pubDate>Thu, 31 Oct 2024 12:40:56 +0000</pubDate> <comments>https://www.openstreetmap.org/user/alan_gr/diary/405455#comments</comments> <geo:lat>36.72869119016902</geo:lat> <geo:long>-4.412797093391419</geo:long> <georss:point>36.72869119016902 -4.412797093391419</georss:point> </item> <item> <title>Mapping Local POIs Part 2: All the Brands, not All the Places</title> <link>https://www.openstreetmap.org/user/alan_gr/diary/405426</link> <guid>https://www.openstreetmap.org/user/alan_gr/diary/405426</guid> <description><h1 id="brands">Brands</h1> <p>As part of my systematic update of local POIs (see Part 1), I added the “brand” and “brand:wikidata” tags wherever I could identify them. Before I started I thought I might find quite a few POIs that I had not previously recognised as brands.</p> <p>Spoiler: I was wrong, yet again. It’s good to have your preconceptions challenged by actual data. I guess.</p> <p>It turned out that the reason I hadn’t heard of most of the brands displayed on POIs in this area, and the reason not many POIs had the brand tag before I started mapping, was that … they aren’t brands. It’s possible there are a few shops belonging to brands so obscure or localised that I couldn’t find any reference to them online, but I don’t think I can have missed many.</p> <p>Out of 376 POIs, only 36 - less than 10 percent - are now tagged as brands.</p> <p><img src="https://linesinalandscape.com/assets/images/pois-current-by-brand.png" alt="map of POIs with multiple colours distinguishing different types of POI"></p> <p>Of the 36, about a dozen are banks and insurers, and the remainder are mainly shops. Quite a few of the shop brands are relatively local, with branches only in the city or province of Málaga. Perhaps that’s one reason that nine brands them have no wikidata entry. Of all the food and drink amenities, only one cafe is branded. And no, it’s not Starbucks, it’s Tejeringo’s - another local brand.</p> <p>I find this interesting for reasons that go well beyond OpenStreetMap. I have often read that European cities are becoming increasingly homegeneous, that international brands have taken over, and that a shopping street in one city is hard to tell apart from a similar street in a different city. Yet the mix of shops in these neighbourhoods isn’t repeated in other parts of Europe - it isn’t even repeated in other cities in Spain. Sure, this isn’t the most fashionable or most touristy part of Málaga. But it’s not the most out-of-the-way either: you can easily walk from the Cathedral to the southern end of this area in 10 minutes.</p> <p>What does all this mean for mapping in OSM? It certainly helped motivate me to map POIs in this area, and I hope it will continue to inspire me to keep the data up to date. Making a small fruit shop or dressmaker visible on the map feels more worthwhile, and certainly more interesting, than confirming that a large Spanish shopping mall has a branch of Zara. (It might be quicker to add “zara=no” to the rare shopping centre that doesn’t).</p> <p>But that positive view implies its own negative. What of the many similar areas that don’t have local mappers to carry out a painstaking survey, one shop at a time? If 80-90 percent of POIs are not part of a brand, it reduces the chances of getting data in a uniform format that might speed up the mapping process.</p> <h1 id="all-the-places">All the Places</h1> <p>As I was carrying out my local mapping campaign, I read quite a lot of discussion on OpenStreeMap forums about the possibility of using data from <a href="https://www.alltheplaces.xyz/" rel="nofollow noopener noreferrer">All The Places</a> (ATP) to help map POIs in OSM. ATP is a project to gather data from business websites, typically those operated by large brands, and make it available in a consistent format.</p> <p>Could ATP have helped to speed up my survey? Not in its current form. It only contained three valid POIs in this area (three branches of DIA supermarket).</p> <p>Could ATP help if more brands were added? The potential for this particular area seems limited. Adding a “spider” to scrape business information is not a trivial task, and would only be worthwhile for brands with a substantial number of branches. Of the POIs I surveyed, the major Spanish banks and insurers seem the most likely candidates. As I mentioned, most of the others are relatively localised brands, so the effort of developing a spider would probably be out of proportion to any mapping advantage.</p> <p>All in all, I can’t see ATP ever covering more than 5 percent of POIs in this area. Of course it could be very different in a shopping mall full of international and national brands. But for this kind of neighbourhood of small local businesses, it looks like ATP will only ever be of marginal help.</p> <p>In my next entry I’ll look at the process of getting from 258 to 376 POIs over two months.</p> </description> <dc:creator>alan_gr</dc:creator> <pubDate>Mon, 28 Oct 2024 18:41:29 +0000</pubDate> <comments>https://www.openstreetmap.org/user/alan_gr/diary/405426#comments</comments> <geo:lat>36.72869119020184</geo:lat> <geo:long>-4.412799775600434</geo:long> <georss:point>36.72869119020184 -4.412799775600434</georss:point> </item> <item> <title>Mapping Local POIs Part 1: How many hairdressers does one barrio need?</title> <link>https://www.openstreetmap.org/user/alan_gr/diary/405425</link> <guid>https://www.openstreetmap.org/user/alan_gr/diary/405425</guid> <description><p>Recently I have been trying to systematically improve OSM data about shops, businesses, and other Points of Interest in a small area of my city. Like many OSM contributors before me, I have been torn between the desire to make my local map as complete as possible, and the realisation of just how much time is needed to do that. My observations in the following series of diary posts may not be very original, but perhaps they’ll help me to clarify my thoughts on the subject.</p> <h1 id="background">Background</h1> <p>Málaga is divided into about 200 <em>barrios</em> or neighborhoods, all with well-defined boundaries in OSM. I chose to focus on an area of four adjoining barrios slightly to the northeast of the historic centre. The main axis of this area, formed by Calle Victoria and Calle Cristo de la Epidemia, is about 1km long (the green dashes in the map below). These main thoroughfares, and many of the smaller streets, are lined by apartment blocks with commercial premises on the ground floor. The hillier areas to the east are more purely residential. Most shops are quite small, many are sole traders, and there are no shopping malls.</p> <p><img src="https://linesinalandscape.com/assets/images/overpass-background-area-medium.jpg" alt="map of the area discussed in the diary entry"></p> <p>To be clear, I am not claiming this area is representative of anything but itself. Even in the same city, there are neighbourhoods with denser concentrations of POIs due to shopping malls, and areas that are almost entirely residential with very few POIs.</p> <p>Various OSM contributors have added POI data here over the years, with a particularly big effort in 2017. I have updated individual POIs from time to time when I noticed changes, but I was aware that I hadn’t been very diligent about this, so there was probably quite a lot of outdated data. Still, I reckoned POIs in the area were reasonably well mapped, and that it wouldn’t take too long to add some missing shops and update others.</p> <p>Spoiler: I was wrong.</p> <h1 id="complete-data--almost">Complete data … almost</h1> <p>Over the period of the survey (about 2 months), the number of POIs increased from 258 to 376.</p> <p>I will talk about the reasons behind that change in a future diary entry. But first, I want to look at the data as it is now. Often discussions of OSM POI data have to start from the assumption that the data is incomplete. Looking at “my” area just after a survey gives us a chance to consider an “almost complete” OSM dataset.</p> <p>Why only “almost”? There are a few reasons: * The definition of a POI is inevitably arbitrary. My definition is essentially “everthing tagged in OSM as shop, amenity, office, healthcare, craft, and tourism, EXCEPT things I decided to exclude”. Those exceptions are mainly high-volume tags such as individual parking spaces, waste/recycling facilities, and street furniture such as benches. * Some offices are identifiable only by a small plaque in a doorway, and I didn’t go out of my way to find all these (although I did try to confirm those already mapped). * Local business owners thoughtlessly went on doing things like retiring and selling their businesses while I was in the middle of my surveying effort, so I was never quite sure of being up to date. * I probably just got some things plain wrong.</p> <h1 id="current-pois-some-numbers">Current POIs: Some numbers</h1> <h2 id="pois-by-type">POIs by type</h2> <p>The 376 POIs (according to my definition above) fall into these broad groups:</p> <table class="table table-sm w-auto"> <thead> <tr> <th>feature_group</th> <th>frequency</th> <th>frequency_pc</th> </tr> </thead> <tbody> <tr> <td>amenity - food+drinks</td> <td>56</td> <td>14.9</td> </tr> <tr> <td>amenity - general</td> <td>48</td> <td>12.8</td> </tr> <tr> <td>craft - general</td> <td>14</td> <td>3.7</td> </tr> <tr> <td>healthcare - general</td> <td>26</td> <td>6.9</td> </tr> <tr> <td>office - general</td> <td>42</td> <td>11.2</td> </tr> <tr> <td>shop - clothes</td> <td>15</td> <td>4.0</td> </tr> <tr> <td>shop - food</td> <td>52</td> <td>13.8</td> </tr> <tr> <td>shop - for the body</td> <td>51</td> <td>13.6</td> </tr> <tr> <td>shop - general</td> <td>61</td> <td>16.2</td> </tr> <tr> <td>tourism - general</td> <td>11</td> <td>2.9</td> </tr> </tbody> </table> <p>I have defined a few large groupings following Vespucci/JOSM presets, with everything else falling into “general”. Both “amenity - general” and “shop - general” cover a very diverse range of other POIs.</p> <p>A plot of these points shows that POI types are fairly well mixed throughout the area. The mainly residential northeast corner is an exception - the POIs here are mainly tourist accommodation. <img src="https://linesinalandscape.com/assets/images/pois-current-by-group.png" alt="map of POIs with multiple colours distinguishing different types of POI"></p> <h2 id="tag-distribution">Tag distribution</h2> <p>The 376 POIs are mapped by 116 distinct feature tags (amenity=bank, shop=supermarket and so on). The most common single tag is “hairdresser” with 29 uses, some way ahead of “cafe”, “restaurant”, and “fast_food”. At the other end of the scale, 52 tags are used only once. Only 21 of the 116 tags are used more than 4 times.</p> <p>Within the “office” grouping, “estate_agent” and “property_management” accounted for 17 POIs between them - possibly a reflection of the growing importance of vacation rentals.</p> <h2 id="main-streets-v-side-streets">Main streets v side streets</h2> <p>One thing that surprised me was the number of premises on side streets. I previously had the impression that most POIs were along the main axis I mentioned above, plus Calle Ferrándiz which branches off to the east.</p> <p>Spoiler: I was wrong again.</p> <p>In fact 55 percent of POIs were on other streets.</p> <p>Even extending the definition of “main street” a bit further (roughly to anything classed as tertiary or above in OSM), a healthy 45 percent of POIs were on side streets.</p> <h2 id="how-many-hairdressers">How many hairdressers?</h2> <p>While surveying the zone I gradually started to become haunted by a feeling that I was spending most of my time mapping hairdressers, barbers, and beauty salons. (Many such places label themselves “Peluquería - Estética”, so any distinction between hairdressers and beauty salons is rather arbitrary). It felt quite appropriate that I ended up mapping the Association of Ladies’ Hairdressers (as an association, not a hairdresser).</p> <p>It turns out that 38 POIs, about 10% of the total, are hair/beauty shops. Comparing with shops rather than all POIs, that’s more than 21% of shops - compared to 10% in OSM worldwide. At face value that supports my impression that this particular area is strangely oversupplied with hairdressers.</p> <p>But there is another possibility: maybe it’s quite normal for one in five shops to be hair and beauty salons, and it’s the 10% global OSM figure that is misleading. Perhaps these businesses are typically small and run by sole traders, and get less attention from mappers than larger shops or brands. That was certainly the case in my area until my recent systematic mapping.</p> <p>In my next diary entry I’ll look at brands … and their absence.</p> </description> <dc:creator>alan_gr</dc:creator> <pubDate>Mon, 28 Oct 2024 18:30:38 +0000</pubDate> <comments>https://www.openstreetmap.org/user/alan_gr/diary/405425#comments</comments> <geo:lat>36.7286886463233</geo:lat> <geo:long>-4.412802457809449</geo:long> <georss:point>36.7286886463233 -4.412802457809449</georss:point> </item> </channel> </rss>