sg

Salı, Ocak 10, 2006

Re: csv2map 1.0


Wasn't it geocodezip@gmail.com who wrote:

> I have an example of parsing a CSV file from the usgs.gov website
>(through a proxy):
>http://www.geocodezip.com/earthquakeCSV.asp
>If anyone is interested in doing it using GXmlHttp()

API version 2 provides a GDownloadUrl() function that does all the
GXmlHttp() stuff for you. You just create a function that knows what to
do with the CSV or plain text data when the request completes.

GDownloadUrl("filename.csv", process_the_file);

Here's some information and an example that uses "|" as a separator. I
avoided ";" so that it's possible to use things like < and é
in the contained html strings.

http://www.econym.demon.co.uk/googlemaps2/basic9.htm

Oddly, there's no equivalent GDownload function for downloading XML
files.

--
The Blackpool Community Church Google Map API Version 2 Tutorial
http://www.econym.demon.co.uk/googlemaps2/

0 Comments:

Yorum Gönder

<< Home


Komik Videolar   islam  şarkı sözleri  yemek tarifleri  gelibolu  huzur   sağlık