[Gvsig_usuarios] Error al cargar la plantilla en mapserver

Andres Juarez albertoandres.juarez en gmail.com
Lun Ago 9 20:34:10 CEST 2010


Hola Jhonatan

Las plantillas de Mapserver deben contener en la primera línea lo siguiente:
<!-- MapServer Template -->
Tu plantilla tiene que quedar así.


<!-- MapServer Template -->
<html>
    <head><title>Mapserver Plantilla</title></head>
    <center>
    <h2>P&aacute;gina inicial de mapserver</h2>
    </center>
    Ejemplo de P&aacute;gina de inicio

    <body>
        <IMG SRC="[img]" width=400 height=400 border=0>
    </body>
</html>

Espero te sirva.
Saludos

_______
El 9 de agosto de 2010 14:34, JHONATAN CANO FURAGARO <
jhonatan.cano.f en gmail.com> escribió:

> Buen día,
> Estoy trabajando con mapserver 5.X en GNU/Linux Ubuntu y no he podido ver
> la informción en la plantilla.
> mapserver me renderiza la imagen sin problemas, esto lo puedo comprobar de
> la siguiente forma:
> http://localhost/cgi-bin/mapserv.exe?map=/www/htdocs/colombia/prueba1.map&mode=map
> pero cuanto cuanto quiero que lo muestre en la plantilla sale el siguiente
> error (encontre en la web el mismo error):
>
>
> http://geonetwork3.fao.org/cgi-bin/wms?map=/GeoNetwork_data/01100-01199/1111/wms/1111.map
>
> El archivo de inicio es:
> <html>
>     <head><title> Mapserver2</title></head>
>     <center>
>     </center>
>
>     <body>
> <table width="410" border="1" align="center">
>     <tr>
>         <td width="120" rowspan="3"></td>
>         <td width="274" height="51">1</td>
>     </tr>
>     <tr>
>         <td height="45" align="center">
>             <form method=POST action="/cgi-bin/mapserv">
>             <input type="submit" value="Iniciar  Mapserver">
>           <input type="hidden"  name="program" value="/cgi-bin/mapserv">
>             <input type="hidden" name="zoomsize" value=2>
>             <input type="hidden" name="map"
> value="/var/www/prueba/prueba1.map">
>             <input type="hidden" name="layer" value="Municipio">
>         </form>
>         </td>
>     </tr>
>     <tr>
>         <td height="73">3</td>
>     </tr>
>  </table>
>     </body>
> </html>
> _______________________________
>
> La plantilla:
> <html>
>     <head><title>Mapserver Plantilla</title></head>
>     <center>
>     <h2>P&aacute;gina inicial de mapserver</h2>
>     </center>
>     Ejemplo de P&aacute;gina de inicio
>
>     <body>
>         <IMG SRC="[img]" width=400 height=400 border=0>
>     </body>
> </html>
> ________________________
>
> Que  puede estar pasando?
>
> Muchas gracias.
>
> --
> JHONATAN CANO FURAGARO
> Ingeniero Forestal
> Universidad Nacional de Colombia
> Celular 300 430 45 46
>
> _______________________________________________
> gvSIG_usuarios mailing list
> gvSIG_usuarios en listserv.gva.es
>
> Para ver histórico de mensajes, editar sus preferencias de usuario o darse
> de baja en esta lista, acuda a la siguiente dirección:
>
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuarios
>
>


-- 
   Andrés Juarez
Malvinas Argentinas
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://listserv.gva.es/pipermail/gvsig_usuarios/attachments/20100809/38dbe0bd/attachment.htm 


Más información sobre la lista de distribución gvSIG_usuarios