On Jan 4, 12:43 pm, Steve <[email protected]> wrote:
>
> The first is:  I was wondering if someone could help me in parsing xml
> data from a wms service.  Currently I am using ArcGIS Server to
> publish the wms.  I am able to sucessfully communicate with the wms
> via a getinfofeature request via a click event) and return the xml in
> an infowindow.  However the data is not formated for the end user.  Is
> there some sample code that could show me how to do this.  Also is
> there a way to display this data in a table format outside of the map
> display?  (I can currently retrieve the data via xml and html)

Creating a sidebar (and markers) from XML: http://econym.org.uk/gmap/basic3.htm

> Second:  I there a way to search wns data via an attribute in the
> data.  For example, I currently have a traffic count service set up.
> Is there a way for a user to select a town name from a dropdown list
> and display the locations of all counts in that community on the map?

Yes. Exactly how depends on the format of the data, but it would be
possible to loop through elements to find ones with a particular
attribute (or a particular child element) and do things with the data.
This is primarily a DHTML/Javascript/XML topic rather than a Google
Maps question. Once you have the data, plotting it is fairly easy.

XML parsing: http://www.google.co.uk/search?q=parse+xml+site%3Aw3schools.com

> Unfortunately I am unable to post the code to a server, but I could
> email it to you if necessary.

Not for me thanks.

Andrew

--

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.


Reply via email to