Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #27574

Re: Reading text from Google Maps

From Robin Rattay <rotora@gmx.net>
Newsgroups comp.lang.javascript
Subject Re: Reading text from Google Maps
Date 2015-05-10 10:47 +0200
Message-ID <cr8k8qF7aqoU1@mid.individual.net> (permalink)
References <wamdnagtarfR-tDInZ2dnUVZ5hadnZ2d@giganews.com>

Show all headers | View raw


Am 09.05.2015 um 03:47 schrieb Robert Crandal:
> Is it possible to use JavaScript or any other language to extract all
> the text from any area of Google Maps?  I'm mostly interested in
> extracting all the street names from a city section, but business names
> are okay too.
> 
> I know this is a far-fetched idea, but I can't think of any other method
> for obtaining all (or most) of the street names of a city.  If anybody
> has any better ideas I'd love to hear them.

Instead of Google Maps look into OpenStreetMap.org. It's an open source
collection of map data

The Map: http://www.openstreetmap.org (You can turn on "Map Data" on the
right side in the "Layers" menu to look at the available data)

http://wiki.openstreetmap.org/wiki/Develop (This shows information on
how to access the data. Esspecially the points "Data" for the basic
structure of the data and "API" (and "Alternative APIs") on how to
access it).

The problem will be that AFAIK the most APIs use HTTP queries, so
accessing it with JavaScript you have to consider that cross-domain
requests aren't usually supported.

There a many OSM specific channels that can help with follow up
questions: http://wiki.openstreetmap.org/wiki/Contact_channels

Regards,
Robin

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Reading text from Google Maps "Robert Crandal" <noreply2me@yahoo.com> - 2015-05-08 18:47 -0700
  Re: Reading text from Google Maps "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-05-09 12:33 +0200
  Re: Reading text from Google Maps Robin Rattay <rotora@gmx.net> - 2015-05-10 10:47 +0200
  Re: Reading text from Google Maps Dr J R Stockton <reply1500@merlyn.demon.co.uk.invalid> - 2015-05-11 18:59 +0100

csiph-web