Transit_Stop How to extract information for specific areas?

19 views
Skip to first unread message

Parksie

unread,
Sep 15, 2011, 3:56:24 PM9/15/11
to Google Maps JavaScript API v3
Hi,

In new Zealand we have the Transit overlay for Google maps which is
great. But what I would like to do is extract this information to an
XML files and then parse it for an application I am building.

In this case I am unable to use the API in my application otherwise I
would use it. The information I require is the bus stop number,
address and lat, long.

Is there any way to accomplish this?

Rossko

unread,
Sep 15, 2011, 10:04:19 PM9/15/11
to Google Maps JavaScript API v3
> Is there any way to accomplish this?

Google supply data for use with maps, it's not on free issue for other
purposes.
I don't think there is a way to scrape what you want anyway.
Try asking the transit company for the info.

Rhys

unread,
Sep 15, 2011, 10:22:43 PM9/15/11
to Google Maps JavaScript API v3
Yeah, I Figured that's the case. I have already contacted the transit
company and they only have it on PDF's which means serious data entry.

Also looked into HTML scraping and no go their either.

Cheers for your confirmation though.

Rossko

unread,
Sep 16, 2011, 5:15:37 AM9/16/11
to Google Maps JavaScript API v3
> Also looked into HTML scraping and no go their either.

I'm sure you would have checked the service terms of use before
actually employing that, but it won't help here anyway

Chris Broadfoot

unread,
Sep 17, 2011, 2:01:33 PM9/17/11
to google-map...@googlegroups.com
Rhys,

I'd look at some PDF libraries. If the PDF is formatted well, it can be easy to extract. For example:

As Rossko said, the Places API is not suitable for this sort of use case.

Chris

--


--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To post to this group, send email to google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.


Rhys

unread,
Sep 20, 2011, 4:58:48 PM9/20/11
to Google Maps JavaScript API v3
Thanks for that, I have already looked into PDF converting or mining,
but unfortunately the PDF is terrible and not able to be converted.
But I found another solution, HTML parsing with JS url calls that
seems to work. Thanks

On Sep 18, 6:01 am, Chris Broadfoot <c...@google.com> wrote:
> Rhys,
>
> I'd look at some PDF libraries. If the PDF is formatted well, it can be easy
> to extract. For example:http://www.unixuser.org/~euske/python/pdfminer/index.html
>
> As Rossko said, the Places API is not suitable for this sort of use case.
>
> Chris
>
> --http://twitter.com/broady
Reply all
Reply to author
Forward
0 new messages