User Tools

Site Tools


guifi.net:desarrollo_web:instalacion

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
guifi.net:desarrollo_web:instalacion [2012/02/12 13:26] joseguifi.net:desarrollo_web:instalacion [2012/02/12 20:53] jose
Line 42: Line 42:
   3,13,23,33,43,53 * * * * cd /mnt/raid/www/public/http/guifimaps; php refresh.php > /dev/null 2>&1; cd data; rm -rf dlinks/*; rm -rf dnodes/*; ogr2ogr -f "ESRI Shapefile" dlinks dlinks.gml; ogr2ogr -f "ESRI Shapefile" dnodes dnodes.gml   3,13,23,33,43,53 * * * * cd /mnt/raid/www/public/http/guifimaps; php refresh.php > /dev/null 2>&1; cd data; rm -rf dlinks/*; rm -rf dnodes/*; ogr2ogr -f "ESRI Shapefile" dlinks dlinks.gml; ogr2ogr -f "ESRI Shapefile" dnodes dnodes.gml
  
-<code> +Vamos a /mnt/raid/www/public/http/guifimaps 
-donquixot:/mnt/raid/www/public/http/guifimaps/data# cd /mnt/raid/www/public/http/guifimaps; php refresh.php > /dev/null 2>&1; cd data; rm -rf dlinks/*; rm -rf dnodes/*; ogr2ogr -f "ESRI Shapefile" dlinks dlinks.gml; ogr2ogr -f "ESRI Shapefile" dnodes dnodes.gml + 
-FAILURE: +Creamos la carpeta data 
-Unable to open datasource `dlinks.gml' with the following drivers. + 
-  -> ESRI Shapefile +Descargamos los ficheros: 
-  -> MapInfo File +  wget http://maps.guifi.net/data/dnodes.gml 
-  -> UK .NTF +  wget http://maps.guifi.net/data/dlinks.gml 
-  -> SDTS + 
-  -> TIGER +  # cd /mnt/raid/www/public/http/guifimaps; php refresh.php > /dev/null 2>&1; cd data; rm -rf dlinks/*; rm -rf dnodes/*; ogr2ogr -f "ESRI Shapefile" dlinks dlinks.gml; ogr2ogr -f  
-  -> 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' with the following drivers. +
-  -> 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 +
-</code>+
  
 Copiamos el fichero binario de mapserver: Copiamos el fichero binario de mapserver:
Line 133: Line 66:
  
 El usuario administrador será "webmestre" y la contraseña "guifi" El usuario administrador será "webmestre" y la contraseña "guifi"
 +
  
 ====== Modificación opciones mapa ====== ====== Modificación opciones mapa ======
 +Para que funcione, he descargado GMap.map de producción de:
 +  http://maps.guifi.net/GMap.map
 +Descargado también:
 +  http://maps.guifi.net/guifi_symbols.sym
 +y le quitamos la linea 16
 +
 +He creado el fichero vacio web.html:
 +  /mnt/raid/www/public/http/guifimaps/web.html
 +He tenido que crear la carpeta:
 +  /tmp/ms_tmp
 +
 +
 +
 En ca/admin/settings/guifi En ca/admin/settings/guifi
  
-URL for WMS service:+URL for WMS service: \\
 http://guifi.net/cgi-bin/mapserv?map=/home/guifi/maps.guifi.net/guifimaps/GMap.map http://guifi.net/cgi-bin/mapserv?map=/home/guifi/maps.guifi.net/guifimaps/GMap.map
  
-URL for maps module:+URL for maps module: \\
 http://maps.guifi.net http://maps.guifi.net
  
 Cambiar por las locales Cambiar por las locales
 +
 +
 +====== Google maps key ======
 +http://code.google.com/apis/maps/signup.html
 +
 +  ABQIAAAAc_9onakTMYFPkm8AOLxVtxRB-teqlm_auOpyOeRPFLJzLncjFhRxnAPMceDQc12XIBzD6KSVU0QFPg
 +
 +Se cambia aquí
 +  http://guifidev.matarosensefils.net/ca/admin/settings/guifi
 +
 +
guifi.net/desarrollo_web/instalacion.txt · Last modified: 2015/04/13 20:19 by 127.0.0.1