On Nov 19, 11:31 pm, Lara <[EMAIL PROTECTED]> wrote: > OK. Thanks Bratliff and Garthan. I've figured out how to query my WFS > and create a static XML, which I can save and upload to my site. Here > is my > query:http://geodata.epa.gov/wfsconnector/com.esri.wfs.Esrimap/NPL_FS?reque... > > and here is the XML up on a modified version of your orginal GeoXML > code.http://www.tchdgis.org/googlemaps/testgeoxml.html > > I am totally stoked, because I've never used WFS or GeoXML! > > So, you are saying that I need to create a proxy script that creates > my XML using the GetFeature request and writes it to my server, right? > I can search for how to do this, but if you have any tips/hints/ > examples, I would be very appreciative. Thanks for all your help > already! > > Lara
Unless your XML document changes frequently and/or you have to access different XML documents on the fly, a proxy is overkill. You can use "GDownLoadUrl" to pull from your own server an XML file you have built previously. I believe Mike Williams has an example of basic XML parsing. JSON is another option to consider. You can even use the "responseText" property of your "XMLHttpRequest" to capture a raw text file like CSV. A 100K JS file (half the size of the API itself) is a lot of extra overhead for simply parsing an XML document. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
