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


Groups > comp.lang.javascript > #27570 > unrolled thread

Reading text from Google Maps

Started by"Robert Crandal" <noreply2me@yahoo.com>
First post2015-05-08 18:47 -0700
Last post2015-05-11 18:59 +0100
Articles 4 — 4 participants

Back to article view | Back to comp.lang.javascript


Contents

  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

#27570 — Reading text from Google Maps

From"Robert Crandal" <noreply2me@yahoo.com>
Date2015-05-08 18:47 -0700
SubjectReading text from Google Maps
Message-ID<wamdnagtarfR-tDInZ2dnUVZ5hadnZ2d@giganews.com>
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.

Thank you.


[toc] | [next] | [standalone]


#27571

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2015-05-09 12:33 +0200
Message-ID<XnsA4957FD54B4CEeejj99@194.109.133.246>
In reply to#27570
"Robert Crandal" <noreply2me@yahoo.com> wrote on 09 mei 2015 in 
comp.lang.javascript:

> Is it possible to use JavaScript or any other language

Let us forget about Swahili, afer all you are asking in a Javascript NG.

> 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.

No, don't think so.
 
> 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.

Perhaps you can use autocomplete with "geocode" restriction.

<https://developers.google.com/maps/documentation/javascript/reference#Autoc
omplete>

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#27574

FromRobin Rattay <rotora@gmx.net>
Date2015-05-10 10:47 +0200
Message-ID<cr8k8qF7aqoU1@mid.individual.net>
In reply to#27570
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

[toc] | [prev] | [next] | [standalone]


#27605

FromDr J R Stockton <reply1500@merlyn.demon.co.uk.invalid>
Date2015-05-11 18:59 +0100
Message-ID<4noWiDo43OUVFwKP@invalid.uk.co.demon.merlyn.invalid>
In reply to#27570
In comp.lang.javascript message <wamdnagtarfR-tDInZ2dnUVZ5hadnZ2d@gigane
ws.com>, Fri, 8 May 2015 18:47:58, Robert Crandal <noreply2me@yahoo.com>
posted:

>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.

You do not say whether you want this for one, many, or all cities - and
what about towns & villages?  You do not say whether you want to have it
fully automated, or is partially manual allowed?  You do not say whether
this is to be world-wide (most Americans do not really believe in other
countries apart from Canada and Mexico).

Google searches for   street names in Machyllneth   &   street names in
Chattanooga   should give you some clues.

Try, for example, www.proviser.com & cartographic.info &
www.geographic.org.  Try also the web site of the place in question.

But remember that, in most of the world, the *real* names of streets are
not written in ASCII or even in a Latin alphabet.

Do not rely on a single non-local source; for example, you could perhaps
use all of Google Maps, Bing Maps, and a national source.

-- 
 (c) John Stockton, nr London, UK.   E-mail, see Home Page.    Turnpike v6.05.
 Website  <http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms
 PAS EXE etc. : <http://www.merlyn.demon.co.uk/programs/> - see in 00index.htm
 Dates - miscdate.htm estrdate.htm js-dates.htm pas-time.htm critdate.htm etc.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web