Đang Thực Hiện

126945 geocode data extract / scrape

Found a Perl script on the internet that lets you query Google Maps with an address and get back a latitude and longitude.

However it does not work now as Google have changed their page format.

I would like this to work for both [url removed, login to view] & [url removed, login to view]

I want it to work from the command line and as a cgi for my webserver.

The output should be in the CSV format.

Latitude, Longitude, input query, laddr:, dtlsUrl:, svaddr:,

To be clear here are examples of inputs and output that I want to have.

Examples

Input: 11223

Output: [url removed, login to view],[url removed, login to view],11223,"Brooklyn, NY 11223", '/maps?q=11223&ie=UTF8&hl=en&latlng=&ei=hu0KRvbIEYW82ALRt9npCg',Brooklyn,NY,11223,US

Input: ha71pd

Output: [url removed, login to view],[url removed, login to view], HA7 1PD,“Stanmore, Greater London HA7 1PD”, '/maps?q=ha71pd&ie=UTF8&hl=en&sll=[url removed, login to view],-0.300364&sspn=[url removed, login to view],0.010141&latlng=&ei=YuUKRoH_EYbG2wK8ruzrCg',Stanmore, Greater London, HA7 1PD,UK

Input: 109 KNIGHTSBRIDGE SW1

Output: [url removed, login to view],[url removed, login to view],109 KNIGHTSBRIDGE SW1, “109-125 Knightsbridge, Kensington And Chelsea, London SW1X”, '/maps?q=109+KNIGHTSBRIDGE+SW1&ie=UTF8&hl=en&sll=[url removed, login to view],-0.159805&sspn=[url removed, login to view],0.010119&latlng=&ei=7-gKRqT5D4S22AKN4cDnCg', 109-125 Knightsbridge, London, Greater London, SW1X 7RJ,UK,

Also when no results can be found, the output should be in the CSV format.

Latitude, Longitude, input query, Error message

0,0, 1 foobar road, No results found

For more information see [url removed, login to view]

Kỹ năng: Bất kì công việc gì, Perl

Xem thêm: laddr geocode, maps line, hl 7, greater london, ei, data query, data en, brooklyn, data longitude, geocode google, geocode address, perl webserver, perl script clear command, extract information google maps, extract data internet, perl script input, extract google maps data, address command line, perl script extract data, google maps extract data, csv extract data, script data internet, script data input, csv input format, perl data extract

Về Bên Thuê:
( 4 nhận xét ) London, United Kingdom

Mã Dự Án: #1873113

Đã trao cho:

dims

Let me help you

$70 USD trong 3 ngày
(131 Đánh Giá)
6.2