Get coordinates of google maps markers

Posted by App_beginner on Stack Overflow See other posts from Stack Overflow or by App_beginner
Published on 2010-03-16T14:15:14Z Indexed on 2010/03/16 14:26 UTC
Read the original article Hit count: 485

I am creating a databse containing the names and coordinates of all bus stops in my local area. I have all the names stored in my database, and now I need to add the coordinates. I am trying to get these of a website that contains them all as placemarks on a google map. It seems to me like they are being generated from a local server, and then added to the map. However I am unable to find exactly where the server is queried for the coordinates.

I am hoping to collect these coordinates through the use of a screen scraper. However unless I am able to find where in the source code the coordinates are created this seems to be impossible. I can of course search and collect all these placemarks manually, but that will be very time consuming. So I am hoping that someone in here can help me.

This is the website I am trying to scrape. The placemarks are marked by the blue bus sign:

http://reiseplanlegger.skyss.no/scripts/travelmagic/TravelMagicWE.dll/?from=Brimnes+ferjekai+%28Eidfjord%29&to=

You can also get the coordinates of a single placemark by writing the name of the stop in the search field and pushing the "Vis i kart" button.

I hope someone can help me with this.

© Stack Overflow or respective owner

Related posts about google-maps

Related posts about annotations