120 likes | 222 Views
ArcXML Overview. Presented by Ashraf Memon. ArcXML References. ArcXML online reference http://downloads.esri.com/support/documentation/ims_/ArcXML_Guide/Support_files/arcxmlguide.htm. ArcXML and ArcIMS. ArcXML. use to define map configuration use to define metadata configuration
E N D
ArcXML Overview Presented by Ashraf Memon
ArcXML References • ArcXML online reference • http://downloads.esri.com/support/documentation/ims_/ArcXML_Guide/Support_files/arcxmlguide.htm
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
ArcXML Requests • GET_IMAGE • GET_FEATURES • GET_GEOCODE • GET_EXTRACT • GET_SERVICE_INFO • GET_RASTER_INFO • GET_LAYOUT • GET_METADATA • PUBLISH_METADATA
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>
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>
Lets play with it • Sandbox information • http://geon07.sdsc.edu/axl/ • Service name: US • Layers: states (polygon), interstate (line), cities (point)
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>
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>
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