Thanks for your reply guys ......<BR><BR><B><I>rock well <rockwell_001@YAHOO.COM></I></B> wrote: <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"> <DIV>Hi all, i am trying to generate a map from mapfile context document. I have a mapfile with a raster layer, </DIV> <DIV> </DIV> <DIV>MAP<BR> NAME "wallmap"<BR> SIZE 600 600<BR> STATUS ON<BR> EXTENT 610537 5291088 627571 5308122<BR> IMAGECOLOR 255 255 255<BR> IMAGETYPE JPEG<BR> UNITS METERS</DIV> <DIV> <BR> WEB<BR> TEMPLATE "C:\Inetpub\wwwroot\index.html"<BR> IMAGEPATH "c:\Inetpub\wwwroot\tmp\"<BR> IMAGEURL "c:\Inetpub\wwwroot\tmp\"<BR>
END</DIV> <DIV> LAYER<BR> NAME "raster1"<BR> TYPE RASTER<BR> PROJECTION<BR> "init=epsg:26914"<BR> END<BR> DATA "pathtotestfile.sid"<BR> OFFSITE 0 0 0<BR> STATUS OFF<BR> END</DIV> <DIV>END</DIV> <DIV> </DIV> <DIV>The mapcontext document is as follows</DIV> <DIV> </DIV><FONT size=2> <DIV><?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?></DIV> <DIV><ViewContext version="1.0.0" id="wallmap" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.opengis.net/context" xsi:schemaLocation="http://www.opengis.net/context
http://schemas.opengis.net/context/1.0.0/context.xsd"></DIV> <DIV><General></DIV> <DIV><Window width="600" height="600"/></DIV> <DIV><!-- Bounding box corners and spatial reference system --></DIV> <DIV><BoundingBox SRS="EPSG:4269" minx="610537.000000" miny="5291088.000000" maxx="627571.000000" maxy="5308122.000000"/></DIV> <DIV><!-- Title of Context --></DIV> <DIV><Title>WMS Demo Server</Title></DIV> <DIV></General></DIV> <DIV><LayerList></DIV> <DIV><Layer queryable="" hidden="0"></DIV> <DIV><Server service="WMS" version="1.1.1" title="raster1"></DIV> <DIV><OnlineResource xlink:type="simple" xlink:href="http://localhost/scripts/mapserv.exe?"/></DIV> <DIV></Server></DIV> <DIV><Name>raster1</Name></DIV> <DIV><Title>raster1</Title></DIV> <DIV><Abstract>Info</Abstract></DIV> <DIV><SRS>EPSG:26914 </SRS></DIV>
<DIV><FormatList></DIV> <DIV><Format>image/jpeg</Format></DIV> <DIV></FormatList></DIV> <DIV><StyleList></DIV> <DIV><Style current="1"></DIV> <DIV><Name>0xb8d8f6</Name></DIV> <DIV><Title>0xb8d8f6</Title></DIV> <DIV><LegendURL width="16" height="16" format="image/jpeg"></DIV> <DIV></FONT><FONT face="Courier New" size=2><OnlineResource xlink:type="simple" xlink:href="</FONT><FONT face="Courier New" size=2>"/></DIV></FONT><FONT size=2> <DIV></LegendURL></DIV> <DIV></Style></DIV> <DIV></StyleList></DIV> <DIV></Layer></DIV> <DIV></LayerList></DIV> <DIV></ViewContext></DIV></FONT> <DIV> </DIV> <DIV>when i inlcude this context file in the browser, nothing gets displayed, the url is as follows</DIV> <DIV> </DIV> <DIV><A
href="http://localhost/scripts/mapserv.exe?MODE=map&MAP=c:/Inetpub/wwwroot/testmap.map&CONTEXT=c:/Inetpub/wwwroot/contextdoc.xml&LAYERS=raster1">http://localhost/scripts/mapserv.exe?MODE=map&MAP=c:/Inetpub/wwwroot/testmap.map&CONTEXT=c:/Inetpub/wwwroot/contextdoc.xml&LAYERS=raster1</A></DIV> <DIV> </DIV> <DIV>What more do i need to add, do i need to add anything else in the url, if anyone has generated a map with context file can you suggest whats missing ...</DIV> <DIV> </DIV> <DIV>Thanks for your time ...</DIV> <DIV>kris</DIV> <div> <HR SIZE=1> See the all-new, redesigned Yahoo.com. <A href="http://us.rd.yahoo.com/evt=40762/*http://www.yahoo.com/preview">Check it out.</A> </BLOCKQUOTE><BR><p>
<hr size=1>Yahoo! Music Unlimited - Access over 1 million songs.
<a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/
">Try it free.</a>