rock well <[EMAIL PROTECTED]> wrote:
Hi all, i am trying to generate a map from mapfile context document. I have a mapfile with a raster layer,MAP
NAME "wallmap"
SIZE 600 600
STATUS ON
EXTENT 610537 5291088 627571 5308122
IMAGECOLOR 255 255 255
IMAGETYPE JPEG
UNITS METERS
WEB
TEMPLATE "C:\Inetpub\wwwroot\index.html"
IMAGEPATH "c:\Inetpub\wwwroot\tmp\"
IMAGEURL "c:\Inetpub\wwwroot\tmp\"
ENDLAYER
NAME "raster1"
TYPE RASTER
PROJECTION
"init=epsg:26914"
END
DATA "pathtotestfile.sid"
OFFSITE 0 0 0
STATUS OFF
ENDENDThe mapcontext document is as follows<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?><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"><General><Window width="600" height="600"/><!-- Bounding box corners and spatial reference system --><BoundingBox SRS="EPSG:4269" minx="610537.000000" miny="5291088.000000" maxx="627571.000000" maxy="5308122.000000"/><!-- Title of Context --><Title>WMS Demo Server</Title></General><LayerList><Layer queryable="" hidden="0"><Server service="WMS" version="1.1.1" title="raster1"><OnlineResource xlink:type="simple" xlink:href=""/></Server><Name>raster1</Name><Title>raster1</Title><Abstract>Info</Abstract><SRS>EPSG:26914 </SRS><FormatList><Format>image/jpeg</Format></FormatList><StyleList><Style current="1"><Name>0xb8d8f6</Name><Title>0xb8d8f6</Title><LegendURL width="16" height="16" format="image/jpeg"><OnlineResource xlink:type="simple" xlink:href=""Courier New" size=2>"/></LegendURL></Style></StyleList></Layer></LayerList></ViewContext>when i inlcude this context file in the browser, nothing gets displayed, the url is as followsWhat 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 ...Thanks for your time ...kris
See the all-new, redesigned Yahoo.com. Check it out.
Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
Reply via email to
