mmc1718 / wikigeo Goto Github PK
View Code? Open in Web Editor NEWsupplementing geographic data with wiki data
License: MIT License
supplementing geographic data with wiki data
License: MIT License
pages like https://en.wikipedia.org/wiki/Moorgreen_Meadows are returned as having no coordinates. But on the page they do.
expecting a dictionary, when there are no results instead of empty dict empty list is returned. this is inconsistent.
remove this
image search should return citation
images nearby all have same key of 'image' which makes it hard to work with
getting data ('NANT Y GRAEN A NANT GANOL', 52.864636479, -3.861978822)
Traceback (most recent call last):
File "c:\Users\marym\Documents\GitHub\etl\wikitablescript.py", line 207, in
run()
File "c:\Users\marym\Documents\GitHub\etl\wikitablescript.py", line 169, in run
wikidata = run_page_search(wiki, searches)
File "c:\Users\marym\Documents\GitHub\etl\wikitablescript.py", line 56, in run_page_search
response = wikiobj.get_page_match(param[0], param[1], param[2], bestmatch='name', minnamematch=50)
File "C:\Users\marym\anaconda3\envs\geo2\lib\site-packages\wikigeo\wikisearch.py", line 183, in get_page_match
for page, info in search_results['query']['pages'].items():
KeyError: 'query'
would be useful to have a unique id for each photo returned that is snappier than the filename (same for pages?)
so if a name is written all in caps it will have a low match with the same name in lower case. This is annoying when dealing with inconsistent formatting
need to add translate to but it is not clear what to use if you want no translation and there is no default
would be good to have coordinates returned with each image
the equivalent functions for the non-concurrent seacher (wikiextractor) output results in a slightly different layout which makes changing between the concurrent and non concurrent versions long
results returned must be greater than minnamematch filter, 'min' is misleading. change to greater or equal
currently doesn't use maxlag https://www.mediawiki.org/wiki/Manual:Maxlag_parameter
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.