1 / 13

ArcXML

ArcXML. Ashraf Memon. ArcXML and ArcIMS. ArcXML. use to define map configuration use to define metadata configuration use to define ArcIMS request use to define ArcIMS response http://downloads.esri.com/support/documentation/ims_/ArcXML_Guide/Support_files/elements/introduction.htm.

patrice
Download Presentation

ArcXML

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ArcXML Ashraf Memon

  2. ArcXML and ArcIMS

  3. ArcXML • use to define map configuration • use to define metadata configuration • use to define ArcIMS request • use to define ArcIMS response • http://downloads.esri.com/support/documentation/ims_/ArcXML_Guide/Support_files/elements/introduction.htm

  4. ArcXML Requests • GET_IMAGE • GET_FEATURES • GET_GEOCODE • GET_EXTRACT • GET_SERVICE_INFO • GET_RASTER_INFO • GET_LAYOUT • GET_METADATA • PUBLISH_METADATA

  5. Sample Request • <?xml version="1.0" encoding="UTF-8" ?><ARCXML version="1.1">  <REQUEST>    <GET_IMAGE>      <PROPERTIES>        <ENVELOPE minx="-125" miny="25" maxx="-67" maxy="50" />      </PROPERTIES>    </GET_IMAGE>  </REQUEST></ARCXML>

  6. Sample Response • <?xml version="1.0" encoding="UTF-8" ?><ARCXML version="1.1">  <RESPONSE>     <IMAGE>       <ENVELOPE minx="-87.5" miny="30.0" maxx="-59.5" maxy="50.0" />       <OUTPUT file="C:\ArcIMS\output\usa_image_MYCOMPUTER2953026.jpg" url="http://mycomputer.domain.com/output/usa_image_MYCOMPUTER2953026.jpg" />     </IMAGE>   </RESPONSE> </ARCXML>

  7. GET_IMAGE <ARCXML version="1.1"> <REQUEST> <GET_IMAGE> <PROPERTIES> <ENVELOPE minx="-122.524464" miny="37.690002" maxx="-122.349621" maxy="37.834193" /> <IMAGESIZE width="500" height="350" /> </PROPERTIES> </GET_IMAGE> </REQUEST> </ARCXML>

  8. GET_FEATURES <ARCXML version="1.1"> <REQUEST> <GET_FEATURES outputmode="newxml" geometry="false" envelope="true" compact="true"> <LAYER id="states" /> <SPATIALQUERY subfields="#ALL#" > </SPATIALQUERY> </GET_FEATURES> </REQUEST> </ARCXML>

  9. Testing our own service • Enabling debug in your arcimsparam.js • open the file in text editor C:\data\arcims\website\storm\arcimsparam.js • Search for debug=0 and change it to debug=3 • Now open web browser and visit http://localhost/website/storm/ • Check out the communication between the client and server

  10. Lets play with it • Sandbox information • C:\tools\arcxmlvalidator.exe • Server Name : titan.sdsc.edu • Service name: Nevada or Arizona • Layers: states (polygon), interstate (line), cities (point)

  11. Further Reading • Please refer to the URL and try out different examples • http://downloads.esri.com/support/documentation/ims_/ArcXML_Guide/Support_files/arcxmlguide.htm

  12. Questions?

More Related