<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><p>
<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>