guifi.net:desarrollo_web:instalacion
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| guifi.net:desarrollo_web:instalacion [2012/02/12 15:17] – jose | guifi.net:desarrollo_web:instalacion [2015/04/13 20:19] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 38: | Line 38: | ||
| En el proyecto guifimaps no hay carpeta data. La creamos primero dentro de la carpeta guifimaps\\ | En el proyecto guifimaps no hay carpeta data. La creamos primero dentro de la carpeta guifimaps\\ | ||
| Instalamos el paquete gdal-bin | Instalamos el paquete gdal-bin | ||
| + | |||
| + | Crear el siguiente fichero para que funcione el comando: | ||
| + | php refresh.php | ||
| + | |||
| + | touch / | ||
| **Añadir al cron:**\\ | **Añadir al cron:**\\ | ||
| Line 44: | Line 49: | ||
| Vamos a / | Vamos a / | ||
| - | Creamos la carpeta data | + | Creamos la carpeta |
| + | / | ||
| + | / | ||
| Descargamos los ficheros: | Descargamos los ficheros: | ||
| Line 50: | Line 57: | ||
| wget http:// | wget http:// | ||
| - | | + | cd / |
| Copiamos el fichero binario de mapserver: | Copiamos el fichero binario de mapserver: | ||
| Line 73: | Line 79: | ||
| Descargado también: | Descargado también: | ||
| http:// | http:// | ||
| + | y le quitamos la linea 16 | ||
| + | |||
| He creado el fichero vacio web.html: | He creado el fichero vacio web.html: | ||
| / | / | ||
| Line 99: | Line 107: | ||
| http:// | http:// | ||
| + | ====== Para que se vean las capas ====== | ||
| + | Si abrimos la página de maps con firebug, veremos que hace llamadas a urls del tipo: | ||
| + | http:// | ||
| + | Si las lanzamos individualmente veremos que da el error: | ||
| + | |||
| + | < | ||
| + | <?xml version=' | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | msWMSDispatch(): | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | Puede ser por la versión de mapserv. En el fichero GMap.map en el apartado WEB METADATA tenemos que añadir la linea: | ||
| + | OWS_ENABLE_REQUEST " | ||
| + | Quedará mas o menos así: | ||
| + | < | ||
| + | WEB | ||
| + | TEMPLATE " | ||
| + | IMAGEPATH "/ | ||
| + | IMAGEURL "/ | ||
| + | # | ||
| + | METADATA | ||
| + | OWS_ENABLE_REQUEST " | ||
| + | WMS_TITLE "Nodes GUIFI.NET" | ||
| + | WMS_ABSTRACT " | ||
| + | WMS_FEATURE_INFO_MIME_TYPE | ||
| + | WMS_ONLINERESOURCE " | ||
| + | WMS_SRS " | ||
| + | END | ||
| + | # | ||
| + | END | ||
| + | </ | ||
guifi.net/desarrollo_web/instalacion.1329059840.txt.gz · Last modified: (external edit)
