[mapserver-users] Tile Mode to use Maprserver with Google maps

RODIER BATISSE, ALEXANDRE alexandre.rodier at carm.es
Mon Nov 23 10:49:02 EST 2009


Hi everybody,

 

I am trying to resolve a urgent necesity with Mapserver and Google Maps, but I have a very Basic problem (perhaps because I'm not a good developer):

 

I think, If I not wrong, we can add a wms Mapserver layer in Google Maps, but for that we need to serve the layer with Tile mode. And we can read in the Mapserver documentation, Documentation>output Generation>Tile Mode, than Mapserver can fedd tile-based map clients directly using the CGI "tile mode".

 

BUT, I don't understand where I need to configure this mode. I know to work with a simple .map file with a desktop client or a visor like Openlayer, but I don't arrive to understand the CGI question. I don't know if I need to configure my map file, o if I need to compile the mapserver with different option, etc. We tried inserting fragment code in the API page, as describe in Mapserve documentation, but the server respond than Tile mode is not available.

 

So, If someone could help, I'd be very gratefull.

 

Thanks a lot.

 

 

 

Hola a todos,

 

Necesitamos resolver una necesidad combinando las soluciones que nos ofrecen Mapserver y Google Maps, pero de momento me quedo atascado en un problema muy básico (seguramente debido a mi pésimo nivel como programador):

 

Hasta he podido entender, se puede añadir capas wms de Mapserver en la API de Google Maps, pero para ello había que hacerlo con modo Tile. Y a dicho modo se accede a través de la interfaz CGI del programa.

 

Mi problema está en entender concretamente y correctamente cómo se configura Mapserver para que funcione el modo Tile. ¿Tengo que hacer algo cuando se compila el programa?¿Viene por defecto? Hasta ahora estaba acostumbrado a utilizar solamente un fichero .map al cual llamo a través de un cliente de escitorio o a través de un visor tipo Openlayer. Pero eso del CGI me tiene parado.

 

Hemos probado insertar dentro del código la API de Google Maps el código para llamar al servicio wms en modo tile, tal y como se indica en la web de Mapserver. Se realiza la llamada, pero nos devuelve un error diciendo que el modo en cuestión (el Tile), no está disponible.

 

Si alguien puede darme pistas de cómo se hace, se lo agradecería.

 

Gracias.

 

---------------------------------------------

Alexandre Rodier

Asistencia Técnica del SIGA

 

Servicio de Información e Integración Ambiental
Dirección General de Patrimonio Natural y Biodiversidad
Consejería de Agricultura y Agua.
c/ Arquitecto Emilio Piñero, 1 Entresuelo C

30.007 Murcia

Tel. 968246272

Correo-e: alexandre.rodier at carm.es <mailto:alexandre.rodier at carm.es> 

http://www.carm.es/medioambiente <http://www.carm.es/medioambiente> 

---------------------------------------------

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20091123/1523513f/attachment.html


More information about the mapserver-users mailing list