阅读:1568回复:2
[分享]这个不知道大家有没有(Customizing Arcims 4)
<P>XML is a language structure. Just as different spoken languages have different structures, so do computer programming languages. You do not use XML itself directly, but rather a specific type of XML. In ArcIMS, the type of XML that is used is called ArcXML (ArcIMS Extensible Markup Language). <p></p></P>
<P>XML was not created to display text and images in a browser as HTML was. Instead, XML allows developers to create their own set of elements that define established functionality. An XML parser is software that can read and interpret XML requests and then perform the correct action. <p></p></P> <P>XML has recently received considerable attention in the Web development community. The flexibility afforded by the creation of custom elements is becoming an emerging standard and is making possible many tasks that would be too complex, or simply impossible, with HTML. <p></p></P> <P>There are many resources available that further discuss XML and its role in the World Wide Web. The Web pages below are dedicated to XML and include some good information. <p></p></P> <UL type=disc> <LI class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"><a href="http://w3c.org/TR/REC-xml" target="_blank" ><FONT color=#3333ff>w3c.org/TR/REC-xml</FONT></A> <p></p></LI> <LI class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"><a href="http://msdn.microsoft.com/XML" target="_blank" ><FONT color=#3333ff>msdn.microsoft.com/XML</FONT></A> <p></p></LI> <LI class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"><a href="http://www.w3.org/XML" target="_blank" ><FONT color=#3333ff>www.w3.org/XML</FONT></A> <p></p></LI></UL> <P><a href="http://www.xml.com" target="_blank" ><FONT color=#3333ff>www.xml.com</FONT></A> </P> <P> <TABLE cellPadding=0 width="100%" border=0> <TR > <TD > <P ><p> </p></P> <P>Most Internet users are familiar with, or have at least heard of, HTML. HTML identifies text and graphics within a document and displays it in your browser according to a set of rules. HTML in many ways has made the World Wide Web what it is: a vast wealth of information (and a whole lot of junk). <p></p></P> <P>Although HTML is used to describe how a document looks when viewed with a Web browser, it does not specify the structure of the information provided in the document. It therefore has limited use for effectively sharing information over the Internet. <p></p></P> <P>Because you can specify structure using XML, most experts agree that it will revolutionize the way information is transferred over the Web and in the electronic data community in general. XML is a text-based markup language that provides information about the structure and function of the data contained within the document. XML is in many ways similar to a spreadsheet or a database because it stores information in a structured manner. XML is different, however, because you don't need a specific proprietary software program to manipulate the data.<p></p></P> <DIV align=center> <TABLE cellPadding=0 width=285 border=0> <TR > <TD > <P ><v:shapetype><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path connecttype="rect" gradientshapeok="t" extrusionok="f"></v:path><lock aspectratio="t" v:ext="edit"></lock></v:shapetype><v:shape><v:imagedata></v:imagedata></v:shape><p></p></P></TD></TR> <TR > <TD > <P >In general, HTML defines how to display content and XML defines the content to be displayed. For example, the HTML "B" tag bolds characters, while an XML PHONE tag defines a phone number.<p></p></P></TD></TR></TABLE></DIV> <P >The explanation of XML presented here necessarily barely scratches the surface of XML capabilities and structure. For more information about XML, visit <a href="http://www.w3.org/" target="_blank" ><FONT color=#3333ff>www.w3.org</FONT></A>, the home page of the World Wide Web Consortium, the organizing body of the XML specification<p></p></P></TD></TR></TABLE></P> <P>ust as Italian is a specification of a Romance language, ArcXML is an XML specification for ArcIMS.<p></p></P> <DIV align=center> <TABLE cellPadding=0 width=148 border=0> <TR > <TD > <P ><v:shapetype><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path connecttype="rect" gradientshapeok="t" extrusionok="f"></v:path><lock aspectratio="t" v:ext="edit"></lock></v:shapetype><v:shape><v:imagedata></v:imagedata></v:shape></P></TD></TR> <TR > <TD > <P >ArcXML defines requests and responses between clients, the Web server, and the ArcIMS spatial server.<p></p></P></TD></TR></TABLE></DIV> <P >A map configuration file, called [filename].axl, is the final product of ArcIMS Author. The server uses a map configuration file to define the layers and rendering for incoming requests from clients. <p></p></P> <P>The name differentiates it from a second file called Default.axl. Default.axl is the final product of ArcIMS Designer when creating Web pages specific to the Java viewers. Default.axl, or the viewer configuration file, will be discussed in greater detail in the next module, <I>Customizing HTML ; Java Viewers</I>. <p></p></P> <P>ArcXML itself, however, is more pervasive than just the map and viewer configuration files. The client requests themselves are coded in ArcXML and parsed on the server computer. In addition, all server responses are returned in ArcXML format.</P> <P>如果有需要的就上传,若论坛或大家已经有了,就算了。</P> |
|
|
1楼#
发布于:2004-05-25 15:33
<TABLE 100%; mso-cellspacing: 1.5pt" cellPadding=0 width="100%" border=0><TR 0"><TD #d4d0c8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #d4d0c8; WIDTH: 41.25pt; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #d4d0c8; BACKGROUND-COLOR: transparent" vAlign=top noWrap width=55>这也是其中的一部份<P 0cm 0cm 0pt; TEXT-ALIGN: right" align=right>
<A><B>Step 9 </B></A><p></p></P></TD><TD #d4d0c8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #d4d0c8; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #d4d0c8; BACKGROUND-COLOR: transparent" vAlign=top><P 0cm 0cm 0pt"> <B>Add an ArcInfo GRID image</B><p></p></P></TD></TR><TR 1; mso-yfti-lastrow: yes"><TD #d4d0c8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #d4d0c8; WIDTH: 37.5pt; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #d4d0c8; BACKGROUND-COLOR: transparent" width=50><P 0cm 0cm 0pt; TEXT-ALIGN: right" align=right><FONT face="Times New Roman"> <p></p></FONT></P></TD><TD #d4d0c8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #d4d0c8; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #d4d0c8; BACKGROUND-COLOR: transparent" vAlign=top><P>On May 18, 1980, Mt. St. Helens erupted violently. When the volcanic ash cleared, it was revealed that the top 1,300 feet of the cone-shaped mountain had vaporized.<p></p></P><P>An ArcInfo GRID shows a black and white hillshade of Mt. St. Helens following the blast. In ArcIMS, ArcInfo GRIDs are treated as images. In this step, you will add a reference to this image to the map configuration file.<p></p></P><P>In your text editor, find the WORKSPACES element in Washington.axl.<p></p></P><P>You will need to add an IMAGEWORKSPACE element to identify the location of the ArcInfo GRID image.<p></p></P><P>Enter the bolded code for the IMAGEWORKSPACE element below the current SHAPEWORKSPACE element.<p></p></P><P 0cm 0cm 0pt 36pt"><WORKSPACES> <SHAPEWORKSPACE name="shp_ws-0" directory="C:\temp\CustomArcIMS4\ArcXML\lesson02\data" /> <B><IMAGEWORKSPACE name="img_ws-0" directory="C:\temp\CustomArcIMS4\ArcXML\lesson02\data" /></B> </WORKSPACES> <p></p></P><P>Now you will add a new LAYER element to add the specific image to your map.<p></p></P><P>Enter the bolded code under the WORKSPACES element below.<p></p></P><P 0cm 0cm 0pt 36pt"></WORKSPACES> <B><LAYER type="image" name="helens_dd" visible="true" id="helens_dd"> <DATASET name="helens_dd" type="image" workspace="img_ws-0" /> </LAYER></B> <p></p></P><P>Save Washington.axl in your text editor. Return to Administrator and refresh the ArcIMS Service.<p></p></P><P>Return to the Web site and reload the page.<p></p></P><P>Zoom in to the southwest corner of the state to see the ArcInfo GRID. <a href="http://campus.esri.com/courses/CustomArcIMS4/ArcXML/Lesson02/graphics/t1exr1s9S9M1.cfm?CFID=6447176;CFTOKEN=48190776" target="_blank" ><v:shapetype><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path connecttype="rect" gradientshapeok="t" extrusionok="f"></v:path><lock aspectratio="t" v:ext="edit"></lock></v:shapetype><v:shape><v:imagedata></v:imagedata></v:shape></A><p></p></P><P>You should see all layers and the GRID image of Mt. St. Helens in the proper location.<p></p></P><P>Close the Web browser window containing the Washington State Web site and the text editor<p></p></P></TD></TR></TABLE> |
|
|
2楼#
发布于:2004-05-25 15:43
<P>论坛中已经有esri的arcims,arcgis,arcsde等的全部原版文档,你如果有新的其他资料请赶快上传给大家啊</P><P>gisempire.3322.org</P><P>upload/upload</P>
|
|
|