guifi.net:desarrollo_web:instalacion
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
guifi.net:desarrollo_web:instalacion [2012/02/12 14:03] – jose | guifi.net:desarrollo_web:instalacion [2012/02/13 01:33] – jose | ||
---|---|---|---|
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:**\\ | ||
3, | 3, | ||
- | < | + | Vamos a / |
- | donquixot:/ | + | |
- | FAILURE: | + | Creamos la carpeta data en dos sitios: |
- | Unable to open datasource `dlinks.gml' | + | / |
- | -> ESRI Shapefile | + | / |
- | -> MapInfo File | + | |
- | -> UK .NTF | + | Descargamos los ficheros: |
- | -> SDTS | + | wget http:// |
- | -> TIGER | + | wget http:// |
- | -> S57 | + | |
- | -> DGN | + | |
- | -> VRT | + | |
- | -> REC | + | |
- | -> Memory | + | |
- | -> BNA | + | |
- | -> CSV | + | |
- | -> GML | + | |
- | -> GPX | + | |
- | -> KML | + | |
- | -> GeoJSON | + | |
- | -> Interlis 1 | + | |
- | -> Interlis 2 | + | |
- | -> GMT | + | |
- | -> SQLite | + | |
- | -> DODS | + | |
- | -> ODBC | + | |
- | -> PGeo | + | |
- | -> OGDI | + | |
- | -> PostgreSQL | + | |
- | -> MySQL | + | |
- | -> PCIDSK | + | |
- | -> XPlane | + | |
- | -> AVCBin | + | |
- | -> AVCE00 | + | |
- | -> DXF | + | |
- | -> Geoconcept | + | |
- | -> GeoRSS | + | |
- | -> GPSTrackMaker | + | |
- | -> VFK | + | |
- | FAILURE: | + | |
- | Unable to open datasource `dnodes.gml' | + | |
- | -> ESRI Shapefile | + | |
- | -> MapInfo File | + | |
- | -> UK .NTF | + | |
- | -> SDTS | + | |
- | -> TIGER | + | |
- | -> S57 | + | |
- | -> DGN | + | |
- | -> VRT | + | |
- | -> REC | + | |
- | -> Memory | + | |
- | -> BNA | + | |
- | -> CSV | + | |
- | -> GML | + | |
- | -> GPX | + | |
- | -> KML | + | |
- | -> GeoJSON | + | |
- | -> Interlis 1 | + | |
- | -> Interlis 2 | + | |
- | -> GMT | + | |
- | -> SQLite | + | |
- | -> DODS | + | |
- | -> ODBC | + | |
- | -> PGeo | + | |
- | -> OGDI | + | |
- | -> PostgreSQL | + | |
- | -> MySQL | + | |
- | -> PCIDSK | + | |
- | -> XPlane | + | |
- | -> AVCBin | + | |
- | -> AVCE00 | + | |
- | -> DXF | + | |
- | -> Geoconcept | + | |
- | -> GeoRSS | + | |
- | -> GPSTrackMaker | + | |
- | -> VFK | + | |
- | </ | + | |
Copiamos el fichero binario de mapserver: | Copiamos el fichero binario de mapserver: | ||
Line 136: | Line 75: | ||
====== Modificación opciones mapa ====== | ====== Modificación opciones mapa ====== | ||
+ | Para que funcione, he descargado GMap.map de producción de: | ||
+ | http:// | ||
+ | Descargado también: | ||
+ | http:// | ||
+ | y le quitamos la linea 16 | ||
+ | |||
+ | He creado el fichero vacio web.html: | ||
+ | / | ||
+ | He tenido que crear la carpeta: | ||
+ | /tmp/ms_tmp | ||
+ | |||
+ | |||
+ | |||
En ca/ | En ca/ | ||
Line 155: | 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.txt · Last modified: 2015/04/13 20:19 by 127.0.0.1