https://bugzilla.wikimedia.org/show_bug.cgi?id=62009

            Bug ID: 62009
           Summary: Add coordinates to harvest_template
           Product: Pywikibot
           Version: core (2.0)
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Wikidata
          Assignee: pywikipedia-b...@lists.wikimedia.org
          Reporter: maar...@mdammers.nl
       Web browser: ---
   Mobile Platform: ---

We still have a lot of items on Wikidata that don't have coordinates. Would be
nice to be able to import them. I did this with some bots, but would of course
be nicer to have a generic bot so more people can help out.

How to fetch the data is going to be fun. We have all sorts of fields that need
to be combined:
* It can be in decimal notation, than we have to combine the lat and lon fields
* It can be in deg/min/sec/direction notation, than we have up to 8 fields to
handle.
* Probably other variants in the wild

Maybe add some field options so we can do <somefield> "P625|<keyword".
Than we would have keywords like
* lat - The latitude, either just a degree or with some decimals
* lanmin - Minutes to be added to the latitude
* latsec - Seconds to be added to the latitude
* latdir - Direction for the latitude. Different languages might have different
things here

For lon the same things (lon, lonmin, lonsec, londir)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to