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


Groups > comp.lang.javascript > #27574

Re: Reading text from Google Maps

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Robin Rattay <rotora@gmx.net>
Newsgroups comp.lang.javascript
Subject Re: Reading text from Google Maps
Date Sun, 10 May 2015 10:47:20 +0200
Lines 31
Message-ID <cr8k8qF7aqoU1@mid.individual.net> (permalink)
References <wamdnagtarfR-tDInZ2dnUVZ5hadnZ2d@giganews.com>
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-15
Content-Transfer-Encoding 7bit
X-Trace individual.net ws0fflYuDDL5Xk0hwHzaxQ5rj5LTfJfGuLNLMQvQ/otZlxdSBf
Cancel-Lock sha1:I9Xz9hh4+RwP+HYlRuvgAA4ihDo=
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
In-Reply-To <wamdnagtarfR-tDInZ2dnUVZ5hadnZ2d@giganews.com>
Xref csiph.com comp.lang.javascript:27574

Show key headers only | 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