Commons talk:Unvisited app
I haven't written anything up yet, but the short answer is...
- It queries for articles with coordinates within about a 10K radius of your current location, or the location you set.
- If the article already has a jpg or jpeg image it's excluded.
- For the jpg/jpeg check, it tries to ignore jpg/jpeg images that were just included from templates.
- The app then looks at the article categories to try to find out what kind of place it is. Many kinds of places can't even be photographed.
- If the kind of place is on the exclusion list, then it's excluded from the results.
- Then the app tries to find the efficient trips to the most places in the shortest distance.
- Thanks. What articles are considered? Only en.wp? Regards, --Flominator (talk) 13:37, 8 August 2013 (UTC)
- Right now it's very much ad-hoc ware that I wrote in Java. It doesn't have a user interface on the PC. I'd have to do some work on it to make it user friendly. But anyone with an Android version of the app could generate trips and email them to you in wiki friendly format. You'd have to supply the location, maximum trip length (1-20 miles), and minimum places you want to see (3-20) on each trip. The project page has examples of some trips generated for 9 cities around the world. Faolin42 (talk) 22:00, 8 August 2013 (UTC)
- w:Edmonton is where I live. Could someone email me a maximum trip that I could view on PC? You may wish to move from city center to get more articles without images.--Canoe1967 (talk) 23:20, 8 August 2013 (UTC)
- There is also a Wikimonuments finder page. Jim.henderson (talk) 09:55, 16 July 2014 (UTC)
- I'm interested in the PC version too, for testing. --Nemo 14:12, 13 August 2013 (UTC)
For those without Android. Hat or archive when resolved.
- w:Edmonton. Just one trip to start. You may have to move from city centre to get maximum articles in a 20 mile radius. loc: 53.533333,-113.5 --Canoe1967 (talk) 23:27, 8 August 2013 (UTC)
- I posted trips centered at Faolin42/Edmonton. I used the default of a maximum 6 miles per trip, seeing at least 3 places per trip. How do you travel, walking/biking/driving/other? I.e., how far would you travel on a typical trip? Faolin42 (talk) 03:13, 9 August 2013 (UTC)
- Driving normally, but my battery is dead and crack heads stole my plate. 2 days and $30 should fix. Thank you very much.--Canoe1967 (talk) 03:49, 9 August 2013 (UTC)
- All moved. w:User:Canoe1967/Unvisited. You should create a transit subpage or ask requesters to. That way you can erase after copying or copy straight to theirs. You could also create a page in their user space if they don't know how.--Canoe1967 (talk) 03:59, 9 August 2013 (UTC)
- When a friend has days off, he can take us 200-300km or more. I just stick around this thriving metropolis, 50km or so.--Canoe1967 (talk) 04:02, 9 August 2013 (UTC)
This may be difficult because of copyright. A link may work to an off-projects site that has a screenshot. Commons:De minimis may work. You could also make your own map from a CC one like w:OpenStreetMap and claim Commons:Threshold of originality with any icons used. The graphics lab may have ideas and possibly make you one. A simple way may be to copy/paste the Edmonton generation to a the section. Then hat everything except the link to the map. Will the markup work on a commons page? Someone may have to write a template or two.--Canoe1967 (talk) 18:15, 9 August 2013 (UTC)
Firstly thanks for a great app and for both adding other Wikipedias and support for the WLM competition. Just tried out the WLM feature and noticed two minor bugs, is there anywhere special where bug reports should be collected?
On a related note, is the app open sourced?
- I appreciate bug reports. You can email me at firstname.lastname@example.org, or post them here on the talk page. The code isn't open sourced. Faolin42 (talk) 09:49, 21 August 2013 (UTC)
- Just remembered, you can also email me the trip(s) using the email icons on the Trips and/or Places screens, or use the new Report Problem menu option on the Wikipedia screen. Faolin42 (talk) 10:13, 21 August 2013 (UTC)
Questions and Feature request
Hi! Thanks a lot for this very usefull app! I like to contribute to Wiki-Commons and this app helps me a lot to organize requested pictures. I have some questions and feature requests:
- How long does it take until the databases are updated? I made some pictures and included them into the cultural heritage monument list (see https://commons.wikimedia.org/w/index.php?title=Special:ListFiles/Poppei&ilshowall=1 and for example the usage of https://commons.wikimedia.org/wiki/File:Emmerich_steinstra%C3%9Fe_30.jpg). However the app thinks that this picture is still missing. I also made a picture some weeks ago and the app is marking it as still missing.
- I see that the navigation of Google Maps is implemented already. Is it planned to include Osmand also? Will it be possible to plan a roundtrip directly with Osmand? In other words: seek with unvisited app and than automatically plan a route by foot/bicycle/car with all stops?O
- I personally not always do rountrips. Sometimes I go from one place to another. Will it be possible to plan trips from A to B with little "trips in locality"? In other words: if I arrived at a trainstation and go to my targetted adress, would it be possible that Unvisited "rings" if activated, to show me, that I am not far from a place to take a picture?
- Is it possible to include another database? I love to map in OpenStreetMap. There is also a project called "Historical Obejcts" where historical objects are shown: http://geschichtskarten.openstreetmap.de/historische_objekte/translate/en/index-en.html. However there are also objects which are not cultural heritage monuments though they are of historic interest. For such objects it is possible to link images with Wiki-Commons. For this purpose you see in the right corner at the bottom the ""No-Image-GPX" where you can download the GPX file of objects, that are not linked / that have no picture. Is it possible to include it into Unvisited? Maybe I can contact the developers of this map.
- If displaying the route in OsmAnd may be not possible, just fire a "show this location" intent that can OsmAnd also handle? Or maybe some option to save the trip als GPX-file (that way the route can be used as overlay in OsmAnd). --Faldrian (talk) 05:52, 2 June 2014 (UTC)
Here's some answers...
- How long does it take until the databases are updated? The app caches search results to reduce overhead. If you want to pick up the latest results, you can click on the menu (3 bars/dots) on the first screen, then choose Clear Cache. That will allow the latest results to be picked up. On the Wikipedia side the results are updated almost immediately, so clearing the cache on the app side should do the trick.
- Is it planned to include Osmand also? I'll check into Osmand. I'd need to find the api so I can send a request to Osmand, like the [https//www.google.com/maps/dir/31.8661,-102.383/31.8519,-102.382/31.8443,-102.376/31.8661,-email@example.com,-102.3905698,15z/data=!3m1!4b1!4m6!4m5!1m0!1m0!1m0!1m0!3e2 request] I send to Google.
- Will it be possible to plan trips from A to B with little "trips in locality"? This is a feature I'd like too, but haven't gotten around to implementing it. I'm kind of thinking the alarm feature would be a separate app that could run in the background periodically looking for nearby places. What I'd also like is be able to plan one-way trip from an origin to a destination. Sites that fall within an elipse with the origin and destination as the foci.
- Is it possible to include another database? It's my long term dream to include other databases. I would need to figure/find out the api request(s) that would return a list of places and whether they have images or not. Can you point me to documentation online? I'd also like to include Geocaching, Waymarking, Trigpointing, etc... Faolin42 (talk) 19:18, 25 March 2014 (UTC)
Hi! Thanks for your answers. It's nice that you have some other features in mind which you will implement!
- However the Clear Cache did not solve the problem that places which already have a picture are shown in the trip list. Perhaps you can reproduce this error? See the List of monuments: https://de.wikipedia.org/wiki/Liste_der_Baudenkm%C3%A4ler_in_Emmerich_am_Rhein Look for monument number 87: Restaurant und Wohngebäude, Altstadt, Kleiner Wall 2, "Societät". This building is still shown in Unvisitied though the picture is on Wikipedia since some days. There are other examples I can show.
- One of the maintainers of OSM's Historical Objects Map told me that it is possible to implement the database, using following URL: http://geschichtskarten.openstreetmap.de/c/csv.phtml?db=historic&zoom=20&bbox=6.944,50.931,6.971,50.943&format=gpx&image=f where BBOX is the rectangular box around the area you want to get the results for. To prevent the Historical Map of beeing overloaded, there is the possibility to use ZOOM. Some objects will only be shown in special zoomlevels. However he told that you can use ZOOM=20 to get all results. You can see the original post in German OSM-forum here: http://forum.openstreetmap.org/viewtopic.php?pid=409478#p409478
You're right, https://de.wikipedia.org/wiki/Liste_der_Baudenkm%C3%A4ler_in_Emmerich_am_Rhein still shows up even though it clearly has a picture. I'll go into debug mode to see what's going on. I have a safe mode which is supposed to serve as a double check on stuff like that, but even that didn't catch it. Maybe I'm not handling umlauts correctly? I'll keep you posted. Faolin42 (talk) 13:57, 28 March 2014 (UTC)
I published version 1.6 of Unvisited to help address this problem. Basically the WLM results are not very up to date, picture wise. So I allowed az,ca,cs,da,de,en,es,et,fr,gl,hu,it,lb,nl,no,pl,pt,ro,sk,sv,uk to use Safe Mode, which double checks the WLM results against Wikipedia. Wikipedia results are updated immediately, so they will show an image before WLM does. Try your query again after using Clear Cache and turning on Safe Mode in the Settings Screen. Faolin42 (talk) 16:48, 31 March 2014 (UTC)
Hmm, I still get all results as a marker on the (preview-)map. In the route-planning screen some resukts are not shown anymore. That's a success! However some objects are still shown, though there is a picture: e.g. "Hof von Holland" from https://de.wikipedia.org/wiki/Liste_der_Baudenkm%C3%A4ler_in_Emmerich_am_Rhein --Poppei (talk) 10:16, 7 April 2014 (UTC)
Currently all the WLM results show up on the Preview screen, even if they're screened out in the doublechecking. I'll change that. And I'll look into "Hof von Holland". I'm probably being thrown by the "'s, but we'll see. What I may need to do in Safe Mode is to put something like "(nicht bestätigt)" next to the place if I can't determine for sure whether it already has a picture or not. So it will warn the user that the place might already have a picture. Let me know if there's better wording, I took some German courses a long time ago... Faolin42 (talk) 15:13, 7 April 2014 (UTC)
Sorry I haven't gotten back to you. Still organizing my thoughts on what needs to be translated. The iPhone version has much less to translate, and I want to make the Android version simpler in the same way. Faolin42 (talk) 13:26, 15 April 2014 (UTC)
I submitted version 1.6.1, which beefs up Safe mode processing some more. "Hof von Holland" and Haus der Familie don't show up in the search results anymore. (Still pondering translation...) Faolin42 (talk) 15:27, 18 April 2014 (UTC)
GREAT! Thanks a lot! Now everything is OK! Because of Translation: some projects do that in the Wiki: http://wiki.openstreetmap.org/wiki/Historical_Objects/Translations -> http://wiki.openstreetmap.org/wiki/DE:Historical_Objects/Translations/table.en Perhaps this is something for you. --Poppei (talk) 10:38, 25 April 2014 (UTC)
Wiki Loves Earth mode?
Hi! I just saw that Wikipedia is now searching pictures from nature (http://wikilovesearth.org/). Will Unvisited have a special mode like it has for Wikipedia Loves Monuments? Are picture-requests found in tables like https://de.wikipedia.org/wiki/Liste_der_Naturdenkmale_in_Bad_Sobernheim There are coordinates intergrated in this table but no picture requests. Is this found by Unvisited app? Thanks! --Poppei (talk) 10:58, 2 May 2014 (UTC)
- I'll look into it. How are you finding these places now? I noticed there's a root category, Kategorie:Liste (Naturdenkmäler in Deutschland). Is that where you start? Is that how you determine if this is part of Wiki Loves Earth? Faolin42 (talk) 14:53, 2 May 2014 (UTC)
- Great! I went through the German WikiLovesEarth projectpage (http://www.wikilovesearth.de/objektlisten/) to the list mentioned above. In Germany it seems to pe separated in 3 categories: Naturschutzgebiete / natural reserve (https://de.wikipedia.org/wiki/Kategorie:Liste_der_Naturschutzgebiete_in_Deutschland), Landschaftsschutzgebiete / protected landscape (https://de.wikipedia.org/wiki/Kategorie:Liste_Schutzgebiete_in_Natur-_und_Landschaftsschutz_in_Deutschland) and Naturdenkmale / natural monument (https://de.wikipedia.org/wiki/Kategorie:Liste_%28Naturdenkm%C3%A4ler_in_Deutschland%29 or https://de.wikipedia.org/wiki/Kategorie:Naturdenkmal_in_Deutschland). Only the natural monuments seems to be objects. The others are landscapes where no special position is given. :-( --Poppei (talk) 09:34, 3 May 2014 (UTC)
iOS beta request
- In beta, I have to add your device to the testing profile. This requires your iPad/iPhone device name and device id (also known as UDID or identifier). If you have a Mac you can connect the iPad/iPhone to, the instructions are at apple.com/MaintainingProfiles in the section titled "Locating iOS Device IDs Using iTunes". (Be sure to click on the serial number to get the device id, that's a step I forgot.) Then email me the device name and id at firstname.lastname@example.org. Then I'll add you to the testing profile and email you an Unvisited.ipa file attachment you can install on your iPad/iPhone. (That step also requires connection to a mac). Faolin42 (talk) 17:32, 7 June 2014 (UTC)
First glance; no GPS
I only heard of this app at a Wikimedia NYC meeting this afternoon, and even in its present state (and my state of ignorance) it seems very useful. My smartphone battery was already run down, so I loaded it on my poor little Azpen A727 tablet with Android 4.2.
- Because the tablet has no GPS the app just sits, showing a world map and awaiting a position that never comes. Google Maps, in contrast, locates itself by WiFi which is the only radio working in this tablet. Clearly this Unvisited app is intended for use on the road with a real phone having GPS, so I guess that's understandable but sometimes real GPS doesn't work in inner city bad signal areas (my little home island of Manhattan has many such) where even the phone gets only cellphone and WiFi signals.
- So, I tell it to look at nearby Bayonne, NJ and get a great many location pins. Great many. Might be nice when the map opens, to zoom it automatically so as to include an approximate default number of pins such as ten or twenty or thirty.
- Bigger nuisance comes when I tap a pin, see the name of the unphotographed school or other notable object, and tap the name to see the article that explains whether or why it deserves my attention. All good, but I then tap the "back" button and return, not to the map full of pins that I was studying, but far back to the world map that's awaiting the GPS signal that will never come. It should go less far back, until I tap back again.
- Final complaint, on a superficial first look, I don't see how to draw the lines make the map of suggested routes. This is far less important to me than seeing the pins and their name flags, and I imagine another hour of experimentation (overage mind learns slowly) will show me how it works.
But no, don't think I'm failing to appreciate what you've made. Even if I never went beyond this rudimentary understanding, this app would still improve my productivity. Daytime, I'll load it on the smartphone, study more closely, and compare. Jim.henderson (talk) 01:58, 14 July 2014 (UTC)
If abandoned, please make it open source thanks! :-)
I need this app so badly! Any chance someone can fix the API or find a workaround?
Faolin42, if you don't have the time to maintain this app, could you please open source it? Just send me the source code as a ZIP if you want, my email address is at my homepage (linked from my user page). Thanks a lot! :-) Syced (talk) 01:24, 8 September 2015 (UTC)