Re: [Pywikipedia-l] Coordinates
I wouldn't make a big effort since Wikidata phase 2 is ante portas, and it will provide coordinates. Not worth to deal with the task for a few months. But if you are interested, you may want to take part in ongoing discussion about coordinates on Wikidata-l. 2013/1/18 Bojan Kalkan boki...@gmail.com Is there someone who has or is wiling to share/make bot that will place coordinates template (in decimal format rather than DMS) at top or bottom of articles that have have not such template? __**_ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.**org Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/**mailman/listinfo/pywikipedia-lhttps://lists.wikimedia.org/mailman/listinfo/pywikipedia-l -- BinĂ¡ris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Re: [Pywikipedia-l] Coordinates
2013/1/18 Bojan Kalkan boki...@gmail.com: Is there someone who has or is wiling to share/make bot that will place coordinates template (in decimal format rather than DMS) at top or bottom of articles that have have not such template? Here you go: https://code.google.com/p/wikiro/source/browse/trunk/robots/python/geo/osm2wiki_coord.py This takes data from OSM and puts in in Romanian villages' articles, but it should be pretty trivial to change the source. As to Wikidata, I wouldn't hold my breath :) Strainu ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Re: [Pywikipedia-l] Coordinates
2013/1/18 Strainu strain...@gmail.com: 2013/1/18 Bojan Kalkan boki...@gmail.com: Is there someone who has or is wiling to share/make bot that will place coordinates template (in decimal format rather than DMS) at top or bottom of articles that have have not such template? Here you go: https://code.google.com/p/wikiro/source/browse/trunk/robots/python/geo/osm2wiki_coord.py This takes data from OSM and puts in in Romanian villages' articles, but it should be pretty trivial to change the source. Oh, and for decimal coordinates, just skip the getDeg, getMin, getSec functions and use the lat/lon values. As to Wikidata, I wouldn't hold my breath :) Strainu ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Re: [Pywikipedia-l] Coordinates
Thanks, guys. ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l