hello list <br>
I have constructed following mapfile :<br>
<p class="MsoPlainText"><span style="" lang="EN-US">MAP<br>
<span style=""> </span>NAME<span style=""> </span>
EX1.9<br>
<span style=""> </span>IMAGETYPE<span style=""> </span>PNG24<br>
<span style=""> </span>#EXTENT<span style=""> </span>-81.328393 -18.351232 -68.653396
-0.038607<br>
<span style=""> </span>EXTENT<span style=""> </span>2302807
-6483741 3702046 -4286330 #laea <br>
<span style=""> </span>SIZE<span style=""> </span>400 300 <br>
<span style=""> </span>SHAPEPATH<span style=""> </span>"/home/postgres/vectores"<br>
<span style=""> </span>FONTSET<span style=""> </span>
"/home/earevalo/mapserver-4.8.3/fonts/fonts.list"<br>
<span style=""> </span>SYMBOLSET<span style=""> </span>"/home/earevalo/mapserver-4.8.3/symbols/line.sym"<br>
<br>
WEB<br>
<span style=""> </span>TEMPLATE<span style="">
</span>"/usr/local/apache2/htdocs/httpmapinteractivo.html"<span style=""> </span><br>
<span style=""> </span>IMAGEPATH
"/home/earevalo/mapserver-4.8.3/tmp/"<br>
<span style=""> </span>IMAGEURL<span style=""> </span>"/tmp/"<br>
<span style=""> </span>LOG<span style=""> </span>"/home/earevalo/mapserver-4.8.3/log/mslog"<span style=""> </span><span style=""> </span><span style=""> </span><br>
END<br>
<br>
<span style=""> </span>PROJECTION<span style=""> </span><br>
<span style=""> </span># "proj=laea"<br>
<span style=""> </span># "ellps=clrk66"<br>
<span style=""> </span># "lat_0=45"<br>
<span style=""> </span># "lon_0=-100"<br>
<span style=""> </span>"init=epsg:2163"<span style=""> </span><br>
<span style=""> </span>END<span style=""> </span>
<br>
<br>
LAYER <br>
<span style=""> </span>NAME<span style=""> </span>Peru_poly<br>
<span style=""> </span>DATA<span style=""> </span>departamentos<br>
<span style=""> </span>STATUS<span style=""> </span>OFF<br>
<span style=""> </span>TYPE<span style=""> </span><span style=""> </span>POLYGON<br>
<span style=""> </span>PROJECTION<br>
<span style=""> </span>"init=epsg:4326"<br>
<span style=""> </span>END <br>
<span style=""> </span>CLASSITEM<span style=""> </span> "nomb_dep"<br>
<span style=""> </span>CLASS <span style=""> </span><span style=""> </span><br>
<span style=""> </span><span style=""> </span>NAME<span style=""> </span>"departamento selva"<br>
<span style=""> </span>EXPRESSION "UCAYALI"<span style=""> </span><span style=""> </span><br>
<span style=""> </span>STYLE<br>
<span style=""> </span><span style=""> </span>SYMBOL<span style=""> </span> 0<br>
<span style=""> </span>COLOR<span style=""> </span>232 232 232<br>
<span style=""> </span><span style=""> </span>END<br>
<span style=""> </span>END<br>
<span style=""> </span>END<br>
<span style=""> </span><br>
<span style=""> </span>LAYER #MOSAICO PERÚ<br>
<span style=""> </span>NAME<span style=""> </span>Mosaico_Peru<br>
<span style=""> </span>DATA<span style=""> </span>"/home/postgres/raster/PERU300DPI.tif"<br>
<span style=""> </span>STATUS<span style=""> </span>OFF#DEFAULT<br>
<span style=""> </span>TYPE<span style=""> </span>RASTER<br>
<span style=""> </span>PROCESSING<span style=""> </span>"BANDS=1,2,3"<br>
<span style=""> </span>OFFSITE<span style=""> </span>71
74 65<br>
<span style=""> </span>PROJECTION<br>
<span style=""> </span>"init=epsg:4326"<br>
<span style=""> </span>END <br>
END<br>
<br>
LAYER #CAPA EXTERNA WMS<br>
NAME<span style=""> </span>Mosaico_WMS<br>
TYPE<span style=""> </span>RASTER<br>
OFFSITE<span style=""> </span>0 0 0<br>
STATUS<span style=""> </span>OFF#OFF<br>
CONNECTIONTYPE<span style=""> </span>WMS<br>
CONNECTION<span style=""> </span>"<a href="http://10.1.6.46/cgi-bin/mapserv?map=mapwms.map&SERVICE=wms&VERSION=1.1.1&REQUEST=GetMap&LAYERS=Mosaico_Peru">http://10.1.6.46/cgi-bin/mapserv?map=mapwms.map&SERVICE=wms&VERSION=1.1.1&REQUEST=GetMap&LAYERS=Mosaico_Peru
</a>"<br>
<br>
METADATA<br>
<span style=""> </span>"wms_srs"
"EPSG:4326"<br>
<span style=""> </span>"wms_name"
"Mosaico"<br>
<span style=""> </span>"wms_server_version" "1.1.1"<br>
<span style=""> </span>"wms_format"
"image/jpeg"<br>
END<br>
PROJECTION<br>
<span style=""> </span>"init=epsg:4326"<br>
<span style=""> </span>END<br>
</span>END<br>
<br>
<br>
LAYER #CAPA DEPARTAMENTOS<br>
<span style=""> </span>NAME<span style=""> </span>Peru_poly<br>
<span style=""> </span>DATA<span style=""> </span>departamentos<br>
<span style=""> </span><span style="" lang="EN-US">STATUS<span style=""> </span>OFF<br>
<span style=""> </span>TYPE<span style=""> </span>LINE<br>
<span style=""> </span><br>
<span style=""> </span>PROJECTION<br>
<span style=""> </span>"init=epsg:4326"<br>
<span style=""> </span>END<br>
<span style=""> </span><br>
CLASSITEM<span style=""> </span>"nomb_dep"<br>
<span style=""> </span>CLASS<br>
<span style=""> </span>NAME<span style=""> </span>"departamento
selva"<br>
<span style=""> </span>EXPRESSION<span style=""> </span>"UCAYALI"<br>
<span style=""> </span>STYLE<br>
<span style=""> </span>SYMBOL<span style=""> </span>'line'<br>
<span style=""> </span>COLOR<span style=""> </span>32 32 32<br>
<span style=""> </span>SIZE<span style=""> </span>1<span style=""> </span><br>
<span style=""> </span>END<br>
<span style=""> </span>END<br>
END<br>
<br>
LAYER #CAPA DEPARTAMENTOS<br>
NAME<span style=""> </span>Peru_poly<br>
DATA<span style=""> </span>departamentos<br>
STATUS<span style=""> </span>OFF<br>
TYPE<span style=""> </span>LINE<br>
<br>
PROJECTION<br>
"init=epsg:4326"<br>
END<br>
CLASSITEM<span style=""> </span>"nomb_dep"<br>
<span style=""> </span>CLASS<br>
<span style=""> </span></span>NAME<span style=""> </span>"Departamentos Costa"<br>
<span style=""> </span>EXPRESSION<span style=""> </span>"LIMA"<br>
<span style=""> </span><span style="" lang="EN-US">STYLE<br>
<span style=""> </span>SYMBOL<span style=""> </span>'line'<br>
<span style=""> </span>COLOR<span style=""> </span>32 32 32<br>
<span style=""> </span>SIZE<span style=""> </span>1<br>
<span style=""> </span></span>END<br>
<span style=""> </span>END<br>
END<span style=""> </span><br>
<br>
LAYER #TITULOS DE DEPARTAMENTOS<br>
<span style=""> </span>NAME<span style=""> </span>Titulos<br>
<span style=""> </span><span style="" lang="EN-US">DATA<span style=""> </span>departamentos<br>
<span style=""> </span>STATUS<span style=""> </span>OFF<br>
<span style=""> </span>TYPE<span style=""> </span>ANNOTATION<br>
<span style=""> </span>PROJECTION<br>
<span style=""> </span>"init=epsg:4326"<br>
<span style=""> </span>END<br>
<span style=""> </span><br>
<span style=""> </span>CLASSITEM<span style=""> </span>"nomb_dep"<br>
<span style=""> </span>LABELITEM<span style=""> </span>"capital"<br>
<span style=""> </span>CLASS<span style=""> </span><br>
<span style=""> </span>EXPRESSION<span style=""> </span>/./<br>
<span style=""> </span>STYLE<br>
<span style=""> </span>COLOR<span style=""> </span>-1
-1 -1<br>
<span style=""> </span>END<br>
<br>
<span style=""> </span>LABEL<br>
<span style=""> </span>COLOR<span style=""> </span>132
31 31<br>
<span style=""> </span>SHADOWCOLOR<span style=""> </span>218 218 218<br>
<span style=""> </span>SHADOWSIZE<span style=""> </span>1 1<br>
<span style=""> </span>TYPE<span style=""> </span>TRUETYPE<br>
<span style=""> </span>FONT<span style=""> </span>arial-bold<br>
<span style=""> </span>SIZE<span style=""> </span>8<br>
<span style=""> </span><span style="">
</span>ANTIALIAS<span style=""> </span>TRUE<br>
<span style=""> </span>POSITION<span style=""> </span>CL<br>
<span style=""> </span>PARTIALS<span style=""> </span>FALSE<br>
<span style=""> </span>MINDISTANCE<span style=""> </span>200<br>
<span style=""> </span>BUFFER<span style=""> </span>4<br>
<span style=""> </span>END<br>
<span style=""> </span></span>END<br>
END<br>
END<br>
END<br>
</p>
in the line<br>
<span style="" lang="EN-US">
WEB<br>
<span style=""> </span>TEMPLATE<span style="">
</span>"/usr/local/apache2/htdocs/httpmapinteractivo.html"<span style=""> </span></span><br>
........<br>
<br>
it calls to template following:<br>
<html><br>
<head><br>
<title>prueba</title><br>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><br>
<link type="text/css" rel="stylesheet" href="/tutorial/ms35.css" /><br>
</head><br>
<body bgcolor="#FFFFFF" text="#000000"><br>
<table align="center" width="680" border="0"><br>
<br>
<tr><br>
<td><br>
<h3 align="center"><br>
Ejemplo 1: Mapa interctivo y modo Browse <br>
</h3><br>
<div align="center"><br>
<img border="1"
src="/cgi-bin/mapserv?map=/home/earevalo/mapserver-4.8.3/tests/cincomapinter.map&layer=Peru_poly&layer=Mosaico_Peru&layer=Titulos&mode=map"
/><br>
</div><br>
<p>--------------------------------------------------</p><br>
<!-- START OF MAPSERVER FORM --><br>
<form name="mapserv" method="GET" action="/cgi-bin/mapserv"><br>
<!-- HIDDEN MAPSERVER CGI VARIABLES --><br>
<input type="hidden" name="map" value="[map]"><br>
<input type="hidden" name="imgext" value="[mapext]"><br>
<input type="hidden" name="imgxy" value="200.0 150.0"><br>
<input type="hidden" name="zoom" value="0"><br>
<input type="hidden" name="layer" value="Mosaico_Peru"><br>
<input type="hidden" name="layer" value="Peru_poly"><br>
<!--input type="hidden" name="layer" value="Titulos"--><br>
<input type="hidden" name="mode" value="browse"><br>
<div align="center"><br>
<table border="1" cellpadding="0" cellspacing="0"><br>
<tr><br>
<td><br>
<!-- THE INTERACTIVE, DYNAMICALLY CREATED MAP --><br>
<input type="image" name="img" src="[img]"<br>
width="400" height="300"><br>
</td><br>
</tr><br>
</table><br>
</div><br>
</form><br>
<!-- END OF MAPSERVER FORM --><br>
</td><br>
</tr><br>
</table><br>
</body><br>
</html><br>
<br>
when I invoke to mapfile with:
<a href="http://10.1.6.46/cgi-bin/mapserv?map=/home/earevalo/mapserver-4.8.3/tests/cincomapinter.map&mode=browse">http://10.1.6.46/cgi-bin/mapserv?map=/home/earevalo/mapserver-4.8.3/tests/cincomapinter.map&mode=browse
</a><br>
<br>
the resulting HTML is:<br>
<pre id="line1"><span class="comment"><!-- MapServer version 4.6.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
</span><br><<span class="start-tag">html</span>><br> <<span class="start-tag">head</span>><br> <<span class="start-tag">title</span>>prueba</<span class="end-tag">title</span>><br> <<span class="start-tag">
meta</span><span class="attribute-name"> http-equiv</span>=<span class="attribute-value">"Content-Type" </span><span class="attribute-name">content</span>=<span class="attribute-value">"text/html; charset=iso-8859-1"
</span>><br> <<span class="start-tag">link</span><span class="attribute-name"> type</span>=<span class="attribute-value">"text/css" </span><span class="attribute-name">rel</span>=<span class="attribute-value">
"stylesheet" </span><span class="attribute-name">href</span>=<span class="attribute-value">"/tutorial/ms35.css" </span><span class="attribute-name">/</span>><br> </<span class="end-tag">head</span>
><br> <<span class="start-tag">body</span><span class="attribute-name"> bgcolor</span>=<span class="attribute-value">"#FFFFFF" </span><span class="attribute-name">text</span>=<span class="attribute-value">
"#000000"</span>><br> <<span class="start-tag">table</span><span class="attribute-name"> align</span>=<span class="attribute-value">"center" </span><span class="attribute-name">width</span>=<span class="attribute-value">
"680" </span><span class="attribute-name">border</span>=<span class="attribute-value">"0"</span>><br></pre>
<pre id="line10"> <<span class="start-tag">tr</span>><br> <<span class="start-tag">td</span>><br> <<span class="start-tag">h3</span><span class="attribute-name"> align</span>=<span class="attribute-value">
"center"</span>><br> Ejemplo 1: Mapa interctivo y modo Browse <br> </<span class="end-tag">h3</span>><br> <<span class="start-tag">div</span><span class="attribute-name"> align
</span>=<span class="attribute-value">"center"</span>><br> <<span class="start-tag">img</span><span class="attribute-name"> border</span>=<span class="attribute-value">"1" </span><span class="attribute-name">
src</span>=<span class="attribute-value">"/cgi-bin/mapserv?map=/home/earevalo/mapserver-4.8.3/tests/cincomapinter.map&layer=Peru_poly&layer=Mosaico_Peru&layer=Titulos&mode=map" </span><span class="attribute-name">
/</span>><br> </<span class="end-tag">div</span>><br><<span class="start-tag">p</span>>--------------------------------------------------</<span class="end-tag">p</span>><br></pre>
<pre id="line20"> <span class="comment"><!-- START OF MAPSERVER FORM --></span><br> <<span class="start-tag">form</span><span class="attribute-name"> name</span>=<span class="attribute-value">"mapserv"
</span><span class="attribute-name">method</span>=<span class="attribute-value">"GET" </span><span class="attribute-name">action</span>=<span class="attribute-value">"/cgi-bin/mapserv"</span>><br>
<span class="comment"><!-- HIDDEN MAPSERVER CGI VARIABLES --></span><br> <<span class="start-tag">input</span><span class="attribute-name"> type</span>=<span class="attribute-value">"hidden" </span>
<span class="attribute-name">name</span>=<span class="attribute-value">"map" </span><span class="attribute-name">value</span>=<span class="attribute-value">"/home/earevalo/mapserver-4.8.3/tests/cincomapinter.map"
</span>><br> <<span class="start-tag">input</span><span class="attribute-name"> type</span>=<span class="attribute-value">"hidden" </span><span class="attribute-name">name</span>=<span class="attribute-value">
"imgext" </span><span class="attribute-name">value</span>=<span class="attribute-value">"1537485.833333 -6483741.000000 4467367.166667 -4286330.000000"</span>><br> <<span class="start-tag">
input</span><span class="attribute-name"> type</span>=<span class="attribute-value">"hidden" </span><span class="attribute-name">name</span>=<span class="attribute-value">"imgxy" </span><span class="attribute-name">
value</span>=<span class="attribute-value">"200.0 150.0"</span>><br> <<span class="start-tag">input</span><span class="attribute-name"> type</span>=<span class="attribute-value">"hidden" </span>
<span class="attribute-name">name</span>=<span class="attribute-value">"zoom" </span><span class="attribute-name">value</span>=<span class="attribute-value">"0"</span>><br> <<span class="start-tag">
input</span><span class="attribute-name"> type</span>=<span class="attribute-value">"hidden" </span><span class="attribute-name">name</span>=<span class="attribute-value">"layer" </span><span class="attribute-name">
value</span>=<span class="attribute-value">"Mosaico_Peru"</span>><br> <<span class="start-tag">input</span><span class="attribute-name"> type</span>=<span class="attribute-value">"hidden" </span>
<span class="attribute-name">name</span>=<span class="attribute-value">"layer" </span><span class="attribute-name">value</span>=<span class="attribute-value">"Peru_poly"</span>><br></pre>
<pre id="line29"> <span class="comment"><!--input type="hidden" name="layer" value="Titulos"--></span><br> <<span class="start-tag">input</span><span class="attribute-name"> type
</span>=<span class="attribute-value">"hidden" </span><span class="attribute-name">name</span>=<span class="attribute-value">"mode" </span><span class="attribute-name">value</span>=<span class="attribute-value">
"browse"</span>><br> <<span class="start-tag">div</span><span class="attribute-name"> align</span>=<span class="attribute-value">"center"</span>><br> <<span class="start-tag">table</span>
<span class="attribute-name"> border</span>=<span class="attribute-value">"1" </span><span class="attribute-name">cellpadding</span>=<span class="attribute-value">"0" </span><span class="attribute-name">
cellspacing</span>=<span class="attribute-value">"0"</span>><br> <<span class="start-tag">tr</span>><br> <<span class="start-tag">td</span>><br> <span class="comment"><!-- THE INTERACTIVE, DYNAMICALLY CREATED MAP -->
</span><br> <<span class="start-tag">input</span><span class="attribute-name"> type</span>=<span class="attribute-value">"image" </span><span class="attribute-name">name</span>=<span class="attribute-value">
"img" </span><span class="attribute-name">src</span>=<span class="attribute-value">"/tmp/EX1.911528997113671.png"<br> </span><span class="attribute-name">width</span>=<span class="attribute-value">
"400" </span><span class="attribute-name">height</span>=<span class="attribute-value">"300"</span>><br> </<span class="end-tag">td</span>><br></pre>
<pre id="line39"> </<span class="end-tag">tr</span>><br> </<span class="end-tag">table</span>><br> </<span class="end-tag">div</span>><br> </<span class="end-tag">form</span>><br>
<span class="comment"><!-- END OF MAPSERVER FORM --></span><br><br><br> </<span class="end-tag">td</span>><br></<span class="end-tag">tr</span>><br></<span class="end-tag">table</span>>
<br></pre>
<pre id="line50"></<span class="end-tag">body</span>><br></<span class="end-tag">html</span>></pre>
the problem is the EXTENT (<span style="" lang="EN-US">2302807
-6483741 3702046 -4286330)</span> of mapfile is different that imgext [<br>
<pre id="line20"><span class="attribute-value">1537485.833333 -6483741.000000 4467367.166667 -4286330.000000]</span></pre>
<br>
by this it does not show the image to give an aid me <br>
<br>