ตราสัญลักษณ์ OpenStreetMap OpenStreetMap

Keeping OSM up to date with OSMfocus

โพสต์โดย MichaelVL เมื่อ 5 ตุลาคม 2014 ในภาษา English

Keeping OSM updated and in sync with the real (changing) world is in my opinion one of the key challenges for OSM. Adding new roads and POIs is fun - keeping them up to date is less so!

Have you ever come across POIs or roads and made a mental note to yourself to check later in e.g. JOSM if they are on OSM and tagged correctly? I have, and unless I document in detail what I am seeing with photos, there is a good probability that I miss some essential details. Also with photos, I often have lots of photos recording stuff that is already correctly tagged in OSM. Thus the hit/miss ratio is becoming smaller and this will continue as OSM mature.

To help myself spotting differences between the OSM database and the real world I wrote a small Android app that can display OSM data for nearby objects. With this its easy and efficient to be on the lookout for OSM updates.

The app looks like this:

screenshot

and it can be found on google Play: OSMfocus

I’m hoping this will be useful for others and that it will results in more OSM updates.

Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

การอภิปราย

ความคิดเห็นจาก nlehuby เมื่อ 5 ตุลาคม 2014 เมื่อเวลา 10:18 น.

Great app ! Thanks ! I was using the Layers > Map Data checkbox on the official OSM website for this purpose, but it’s not very usable on mobile phone…

ความคิดเห็นจาก Takuto เมื่อ 5 ตุลาคม 2014 เมื่อเวลา 11:24 น.

Very nice! now this app needs ability to add notes in some format, field mapping will be piece a cake then. I think user should be able tap on one of those “tag tables”, then add some note, which can be saved in OSM iNotes, or, if its too hard to program - in *.gpx file, like Favourites in Osmand (which I use for field mapping with meduim success).

ความคิดเห็นจาก stephan75 เมื่อ 5 ตุลาคม 2014 เมื่อเวลา 12:22 น.

Not bad … will try it later when enough time.

This app needs an own article in the OSM wiki!

Many users will benefit from creating a new page there for your app.

ความคิดเห็นจาก RobJN เมื่อ 5 ตุลาคม 2014 เมื่อเวลา 14:32 น.

Sounds great. Is it possible to download data prior to going out surveying (that is, an offline data mode)? I’ve tweeted this at https://twitter.com/mappamercia/status/518770161021886464

ความคิดเห็นจาก MichaelVL เมื่อ 5 ตุลาคม 2014 เมื่อเวลา 14:47 น.

Currently there is no support for ‘offline’ mode, but if there is sufficient interest I might add this.

Currently I think some way of taking notes is the most urgent feature that needs adding - maybe by adding the capability of taking pictures.

ความคิดเห็นจาก Sanderd17 เมื่อ 5 ตุลาคม 2014 เมื่อเวลา 16:33 น.

If you want it to make notes, it could be good to couple it to OSM Tracker.

Via a big “note” button, you launch the OSM Tracker intent (either integrated or installed separately), where you can have all kinds of notes: photo, plain text, presets, audio, …

But it’s a great app so far.

ความคิดเห็นจาก DTHG เมื่อ 5 ตุลาคม 2014 เมื่อเวลา 19:28 น.

Is OSMfocus open source? If it is where can I view or download the source code?

ความคิดเห็นจาก DaCor เมื่อ 6 ตุลาคม 2014 เมื่อเวลา 01:20 น.

This is brilliant.

For future development something I would recommend from a personal point of view would be:

  • Offline mode is a must. Data charges can be prohibitive
  • Set a standard location for the popout which relates to the crosshair e.g. top left. This is purely to prevent the user having to scan all (up to 8) popouts when looking for info on a specific feature
  • The popouts, I would make them a min of 3 lines in height to make them easily usable in touch interfaces which, when tapped, would offer a list of options to:
  1. Add a note on OSM
  2. Edit tags on OSM
  3. Take a photo
  4. Record a note

ความคิดเห็นจาก stragu เมื่อ 6 ตุลาคม 2014 เมื่อเวลา 04:07 น.

Great, looking forward to trying it. Woud it be possible to add it to the F-Droid repos (if it is open source) ?

Cheers!

ความคิดเห็นจาก Lindroid เมื่อ 6 ตุลาคม 2014 เมื่อเวลา 05:38 น.

Great idea! Thanks a lot!

ความคิดเห็นจาก mhenson เมื่อ 6 ตุลาคม 2014 เมื่อเวลา 16:44 น.

Great Idea, I like to see all the tags, I already found some tag mistakes. Could you show map (browse map) with out requiring a GPS lock? I like that I can browse the map after a GPS lock. I would like to see tags of a restaurant real quick while waiting for food. If there are tags missing, I would want to edit tags or create an OSM note. Taking a photo and placing it where the cross hairs are would be nice (great for taking a picture of Open Hours). I then could use the picture and location of picture on the map for later editing in JOSM.

ความคิดเห็นจาก HannesHH เมื่อ 7 ตุลาคม 2014 เมื่อเวลา 21:33 น.

Any chance to get this for Android 2.3? It looks fantastic.

ความคิดเห็นจาก Klumbumbus เมื่อ 8 ตุลาคม 2014 เมื่อเวลา 10:22 น.

Great App. Thanks.

ความคิดเห็นจาก Klumbumbus เมื่อ 8 ตุลาคม 2014 เมื่อเวลา 10:46 น.

I noticed that addr:postcode and addr:country are not displayed. Is this by design? Are there more key which are not displayed?

ความคิดเห็นจาก kay_D เมื่อ 8 ตุลาคม 2014 เมื่อเวลา 11:18 น.

Fantastic app, easy and on the spot. Just became my favourite “is this shop still open?” app :)

Only sucks a little bit when values are lengthy (as sometimes the case with opening hours) as boxes become too wide. Apparently there is no limit to box width and no text line breaking.

I love it so much, if it could easily edit (add+modify) tags+values for existing geometry, it would be a perfect lightweight POI editor. At least for people like us knowing the tagging scheme good enough.

ความคิดเห็นจาก Klumbumbus เมื่อ 8 ตุลาคม 2014 เมื่อเวลา 13:58 น.

I noticed that addr:postcode and addr:country are not displayed. Is this by design? Are there more key which are not displayed?

OK, I just read the description in the play store. Can we use the description text in the play store to create a osm wiki page?

ความคิดเห็นจาก MichaelVL เมื่อ 8 ตุลาคม 2014 เมื่อเวลา 16:36 น.

Yes, you can definitely use the text for the OSM wiki. Any volunteers for creating a wikipage… please go ahead.

There will be an update soon which implements a limitation on legend-box size and wrapping of long lines.

Wrt. support for Android 2.3 - I dont think that will happen. The current implementation use features from Android API level 14, and although I might be able to decrease the required API level, I probably will not get down to Android 2.3.

ความคิดเห็นจาก MichaelVL เมื่อ 8 ตุลาคม 2014 เมื่อเวลา 17:37 น.

A new version with the changes below has just gone out to beta-testers. I expect to promote it to production in a day or two.

  • Limitations on legend box size implemented. Legend boxes no longer can fill the entire screen. Long lines are wrapped as indicated by a curved arrow and excess lines are indicated by an arrow ‘going below a line’.

  • Use of most recent location instead of waiting for GPS fix. This will make it possible to use OSMfocus while waiting for the GPS.

  • Improved internal vector rendering, especially related to multi-polygon rendering.

ความคิดเห็นจาก Klumbumbus เมื่อ 8 ตุลาคม 2014 เมื่อเวลา 18:47 น.

New osm wiki page is here: osm.wiki/OSMfocus

@MichaelVL: Can you upload the icon and a screenshot to commons, which can be used in the wiki?

ความคิดเห็นจาก Klumbumbus เมื่อ 8 ตุลาคม 2014 เมื่อเวลา 18:59 น.

I collected some improvement suggestions which were mentioned here at the osm wiki talk page

ความคิดเห็นจาก nidi0 เมื่อ 11 ตุลาคม 2014 เมื่อเวลา 00:18 น.

This is looking very interesting! I’d appreciate a lot if it’s released as free software. This allows to release the app on the F-Droid market (many privacy aware people don’t use Google Play) and generally encourages contribution.

ความคิดเห็นจาก Zian Choy เมื่อ 13 ตุลาคม 2014 เมื่อเวลา 05:07 น.

This is fabulous!

I love the user interface and the clever way you handled the overwhelming amount of information that even a single point can have.

I’d like to echo the call for offline data and suggest a possible solution. There is already an offline OpenStreetMap program called “OsmAnd” and they have set up a fairly solid system for offering regular up-to-date downloads of the entire world, broken down in chunks by country or province. Perhaps you could take advantage of the OsmAnd OBF files in 2 ways:

  1. If the user already has OsmAnd installed, read the OBF files on the device when there’s no network connectivity and provide a way to create offline OsmNotes.
  2. If the user doesn’t have OsmAnd installed, then suggest installing it & downloading some offline data. Or, you can try copying the code that OsmAnd uses to grab updated map data (you may want to clear this with the OsmAnd developers first) and bake data updating straight into your program. Or, do both. :)

ความคิดเห็นจาก Zian Choy เมื่อ 13 ตุลาคม 2014 เมื่อเวลา 05:08 น.

Correction:

“Provide a way to create offline OsmNotes” should be its own item (as “#3”). And, you can probably copy & paste the existing OsmAnd code that implements that feature already.

ความคิดเห็นจาก AgusQui เมื่อ 18 ตุลาคม 2014 เมื่อเวลา 00:10 น.

would be nice to be opened what is being viewed on the Vespucci application and to correct at the time, that can also leave notes.

ความคิดเห็นจาก Joško Horvat เมื่อ 8 พฤศจิกายน 2014 เมื่อเวลา 10:55 น.

Well done. Keep on.

ความคิดเห็นจาก 0x1fff เมื่อ 10 กันยายน 2015 เมื่อเวลา 20:02 น.

Is OSMFocus aplication open source (any github link)? Are you planing to add edit tags function, or other functions which mentioned DaCor on 6 october 2014 at 01:20?

ความคิดเห็นจาก MichaelVL เมื่อ 12 กันยายน 2015 เมื่อเวลา 05:31 น.

It is my intention to make OSMfocus open-source eventually. I was reworking it when I got caught up in other OSM-related projects (more on that soon) and it has kind of been on the backburned since then. Rest assured that its not forgotten…

ความคิดเห็นจาก 0x1fff เมื่อ 12 กันยายน 2015 เมื่อเวลา 06:56 น.

@MichaelVL - ok :). When it will be OpenSource just send info to FDroid repos :). I would love to see some tag edit options in OSMFocus. The interface is very nice, and i think it would be very easy to edit tags even for non technical users. If it will be available on mobile you can edit this stuff when you waiting for something.

For me it would be perfect to edit opening hours in restaurants that I use, update/set number of floors in building which I’m passing by (number of floors will be used to create 3D representation of building), adding a website address for interesting places, names of companies which are located in building (most places are mapped correctly, but there are no such specific information).

I don’t know any of the OSM product with that kind of functionality on the mobile (Android) - maybe you know what should I use to be able to edit only tags in simple way?

ความคิดเห็นจาก MichaelVL เมื่อ 13 กันยายน 2015 เมื่อเวลา 05:51 น.

I have put my OSM Analytic Difference Engine on github. In short its a backend for a live service providing realtime insight into edits within a region of interest. Special focus has been made to analyse the changesets and provide a concise description of what has changed.

Some of purposes of this engine:

  • Prof-of-concept for an improved changeset-info service (improved compared to looking up changeset details on osm.org)
  • Provide insight into changes in your area of interest
  • Improve team spirit of a regional OSM team/task-force.
  • Quality ensurance through peer review
  • Learning by seeing how other make edits to your region of interest.

Find it here:

[OSM Analytic Difference Engine for Denmark] http://osm.expandable.dk [OSM Analytic Difference Engine on github] https://github.com/MichaelVL/osm-analytic-tracker

ความคิดเห็นจาก RobJN เมื่อ 23 มกราคม 2018 เมื่อเวลา 00:02 น.

I love the OSMfocus app. Did you get anywhere with the open source release?

ความคิดเห็นจาก RobJN เมื่อ 8 กรกฎาคม 2018 เมื่อเวลา 21:26 น.

The OSMfocus app has stopped working on my phone. I now says “Could not download area!”. Great shame as this was a wonderful app.

@MichaelVL: Do you still have the source code for this? Any chance of a fix/open sourcing it?

ความคิดเห็นจาก MichaelVL เมื่อ 9 กรกฎาคม 2018 เมื่อเวลา 18:22 น.

The source for OSMfocus is now available on github:

https://github.com/MichaelVL/osm-focus

ความคิดเห็นจาก Bexhill-OSM เมื่อ 13 กรกฎาคม 2018 เมื่อเวลา 00:36 น.

I think you just need to update your api connections to use https.

ความคิดเห็นจาก dikkeknodel เมื่อ 19 กรกฎาคม 2018 เมื่อเวลา 09:07 น.

Yes, it would be great if the app is back on working. I used it quite frequently while being out in the wild. Unfortunately I do not have any programming experience.

ความคิดเห็นจาก RobJN เมื่อ 23 กรกฎาคม 2018 เมื่อเวลา 18:16 น.

Hi Michael, Are you thinking of pushing an update now the error has been identified? If not, then I can help search for alternate maintainer.

ความคิดเห็นจาก MichaelVL เมื่อ 27 กรกฎาคม 2018 เมื่อเวลา 05:24 น.

I am not able to give OSMFocus any priority soon. Alternative maintainers are welcome :-)

เข้าสู่ระบบเพื่อแสดงความคิดเห็น