I'm developing a program who can locate point given a coordinate over a map, do you know an RSS with international news a geo data to test with?
PS: GEODATA EX:
GeoRSS-Simple
<georss:point>45.256 -71.92</georss:point>
GeoRSS-GML
<georss:where>
<gml:Point>
<gml:pos>45.256 -71.92</gml:pos>
</gml:Point>
</georss:where>
This Yahoo! Pipe for a map with news includes coordinates in it's RSS feed. Or for testing use the example feeds from the Wikipedia page on GeoRSS.
Related
I used the twitteR package to extract data from Twitter API, and now I try to filter data by country name.
Most geocode packages are designed for inputting the real address and returning the corresponding geocode, but my needs are just the opposite.
For example, when I input c(38.897957, -77.036560), the result is "Whitehouse, D.C., U.S."
I ran into the revgeo package which performs Reverse Geocoding with the Photon Geocoder for OpenStreetMap,Google Maps, and Bing .
By default it uses photon which provides free data.
I'm using the example from the package itself.
require(revgeo)
revgeo(longitude=-77.0229529, latitude=38.89283435)
#"700 Pennsylvania Avenue Northwest, City Not Found, Washington, D.C., 20004, United States of America"
You can give it a try.
This blog below does mention that some locations are missing form their dataset, and it throttles down the speed after certain number of queries. There are other good pointers at the blog. https://towardsdatascience.com/reverse-geocoding-in-r-f7fe4b908355
I'm currently trying to build a news reader that gets rss feeds from different google news topics and I found this website that breaks down the url parameters pretty well, but under the topic parameter, the link that it has for a list of topics brings you to this page which says nothing about topic keywords. The only topic key that I've been able to find is tc being the key for the tech topic.
Does anybody know where I could find a list of these topics or if the topic=[topic] parameter is deprecated what I could use instead?
It will depend of country.
Example (for US):
WORLD
NATION
BUSINESS
TECHNOLOGY
ENTERTAINMENT
SPORTS
SCIENCE
HEALTH
RSS business (US)
https://news.google.com/news/headlines/section/topic/BUSINESS?ned=us&hl=en
But, if you query other country, the topic will change.
Example (Colombia):
WORLD.es_co
NATION.es_co
BUSINESS.es_co
TECHNOLOGY.es_co
ENTERTAINMENT.es_co
SPORTS.es_co
SCIENCE.es_co
HEALTH.es_co
Here is the RSS about economy/business in Colombia:
https://news.google.com/news/rss/headlines/section/topic/BUSINESS.es_co/Econom%C3%ADa?ned=es_co&hl=es
Check too the ned and hls parameters added.
I am developing a website in ASP.NET in which I need accurate coordinates of properties and populate their markers on Google Maps. I read the Google Maps API documentation and it doesn't accept business names or house numbers. So if I add 5 properties on Moseley Road with postal code WR2 6NJ, they all receive the same coordinates at the beginning of the road, where as they're all separate properties with separate coordinates, for example: Arthur Amos Associates Ltd, Moseley Farms etc.
How can I increase the accuracy so each address gets it's own coordinates? I tried the ROOFTOP and street_address parameters but they didn't help. Do I need to get Google Maps API for Work to get this level of accuracy?
Thanks.
I am trying to get a list of nearby airports, given a certain location.
You can do this through the google places api and using types=airport.
The problem is that Google Places is self-policing so any tom, dick and harry can call themselves an airport.
Is there any way to determine whether an airport is real - through google maps?
I know I could double check against an airports database but then I'd be best just using an external database and only use google maps to plot their locations!!
thanks
Geonames will give you airports eg. a search centred on Central Park New York with a radius of 25 kms.
http://api.geonames.org/findNearby?lat=40.776902&lng=-73.968887&fcode=AIRP&radius=25&maxRows=100&username=xxxxx`.
You will need to open a (free) Geonames account to make it work.
Such a search would be in your "external database" category but as far as I know, the entries are not self-certified, so are possibly more reliable than Google's from what you say.
To verify Google results against Geonames results would need to develop and code your own comparison algorithm.
Playing with the idea of making a video blog of locally trending videos that pulls from Youtube's API and posts trending videos related to Houston.
If I simply query for recent videos with the word Houston, I get a mix of car videos no one has seen, some Whitney Houston videos and some interesting local uploads.
Any suggestions for better paramaters? Could I get more specific with Youtube Trends? The Youtube Trends blog lets me search for trending videos in Houston, but there doesn't seem to be an API...
I'm not sure that there's currently a way to get videos via the API recently trending in Houston or the Houston area, but one idea for getting recent videos about Houston would be to use the topicId field in v3 of the API -- using Freebase topics yields much more semantically relevant results than a simple keyword search. For example, this query (you'll have to be oAuth authenticated to make this call):
GET https://www.googleapis.com/youtube/v3/search?part=snippet&topicId=%2Fm%2F03l2n
(/m/0312n is the Freebase Topic ID for the city of Houston) will return videos of live concerts in Houston, the Houston coffee & cars series, etc. If you were to collect a series of Freebase IDs that you think your viewers would be interested in (sports teams, local cuisine, etc. etc.), you could then aggregate your results and sort them by date or by view count.