Think about Loose Coupling | |
PerlMonks |
Re: Generating a map using perlby vroom (His Eminence) |
on Apr 30, 2002 at 14:06 UTC ( [id://163066]=note: print w/replies, xml ) | Need Help?? |
I'm guessing this isn't an approach you're likely to take unless it is for a major project, however I'll throw my 2 cents in.
esri offers a product called IMS which is an internet map server. The communication between the client and server can occur through a servlet connector in which XML requests are passed back and forth, or an Active X connector. The product ships with an HTML client which is basically a whole lot of Javascript which builds and parses the XML requests and responses. The requests are then sent via javascript by submitting a form in a hidden frame. If the request is to generate an image the response contains the URL of the generated map. The client then replaces the map with the new map. This allows for dynamic things like zooming and panning to occur. For instance you select a bounding box within the client. It calculates the bounding box and sends the request to the map service which then generates the image. I've done a lot of things using LWP, HTML::Template for XML templating, and XML::Parser to read the resulting response. This reference to ArcXML might give you a feeling for its capabilities as well as some ideas for approaches you might want to use in your project.Server Error (Error ID 5112705c2129572) An error has occurred. The site administrators have been notified of the problem and will likely soon fix it. We thank you, for you're patients.
In Section
Seekers of Perl Wisdom
|
|