[mapserver-users] Log analysis for OGC services

2010-04-28 Thread RODIER BATISSE, ALEXANDRE
Hi everybody,

 

We need to make statistics from our OGC services.

 

Does anyone have experience about this subject?

 

We think to use a generalist statistical httpd analyzer (like Webalyzer or 
AWstats), but we don't know If there is some solutions specifically for OGC 
services.

 

Thanks a lot.

 

-

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.rod...@carm.es mailto:alexandre.rod...@carm.es 

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

-

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] required parameters WMS not used in client request: How to resolve?

2010-01-22 Thread RODIER BATISSE, ALEXANDRE
Hi everybody,

 

I am trying to resolve this problem: some wms client, like Arcgis 9.2, does not 
use some required wms parameters when it makes a request. Example: Arcgis does 
not use the FORMAT required parameter, from GetMap request, when I do a 
GetFeatureInfo request.

 

So the question is: How can I configure Apache/Mapserver to parse the inner 
request and add forgot required parameters when the request is not complete? 
Must I configure httpd.conf file, add intermediate CGI program or other 
solution?

 

Thanks a lot.

 

 

Hola a todos,

 

Estoy intentando resolver el siguiente problema: algunos clients sig, como 
Arcgis 9.2, no utilizan todos los parámetros requeridos cuando hacen una 
petición wms. Ejemplo: Arcgis no utiliza el parámetro FORMAT, de la petición 
GetMap incrustada, cuando hago una petición GetFeatureInfo.

 

La cuestión es entonces: ¿Cómo puedo configurar apache/mapserver para que se me 
chequee la petición de entrada y añadir los parámetros necesarios cuando la 
petición no es completa. ¿Tengo que actuar a nivel delfichero de configuración 
de Apache, añadir una interfaz intermedia de CGI u otra solución?

 

 

Muchas 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.rod...@carm.es mailto:alexandre.rod...@carm.es 

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

-

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] required parameters WMS not used in client request: How to resolve?

2010-01-22 Thread RODIER BATISSE, ALEXANDRE
Hi Bart,

We use 5.0.0. So we Hill upgrade it.

Thanks.


-Mensaje original-
De: bart...@osgis.nl [mailto:bart...@osgis.nl] 
Enviado el: viernes, 22 de enero de 2010 10:52
Para: RODIER BATISSE, ALEXANDRE
CC: mapserver-users@lists.osgeo.org
Asunto: Re: [mapserver-users] required parameters WMS not used in client 
request: How to resolve?

Hi,

which version of Mapserver are you using, since this was fixed a long time
ago (Mapserver was made less strict):

http://trac.osgeo.org/mapserver/ticket/2517

Best regards,
Bart

 Hi everybody,



 I am trying to resolve this problem: some wms client, like Arcgis 9.2,
 does not use some required wms parameters when it makes a request.
 Example: Arcgis does not use the FORMAT required parameter, from GetMap
 request, when I do a GetFeatureInfo request.



 So the question is: How can I configure Apache/Mapserver to parse the
 inner request and add forgot required parameters when the request is not
 complete? Must I configure httpd.conf file, add intermediate CGI program
 or other solution?



 Thanks a lot.





 Hola a todos,



 Estoy intentando resolver el siguiente problema: algunos clients sig, como
 Arcgis 9.2, no utilizan todos los parámetros requeridos cuando hacen una
 petición wms. Ejemplo: Arcgis no utiliza el parámetro FORMAT, de la
 petición GetMap incrustada, cuando hago una petición GetFeatureInfo.



 La cuestión es entonces: ¿Cómo puedo configurar apache/mapserver para que
 se me chequee la petición de entrada y añadir los parámetros necesarios
 cuando la petición no es completa. ¿Tengo que actuar a nivel delfichero de
 configuración de Apache, añadir una interfaz intermedia de CGI u otra
 solución?





 Muchas 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.rod...@carm.es mailto:alexandre.rod...@carm.es

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

 -



 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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

2009-11-23 Thread RODIER BATISSE, ALEXANDRE
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, Documentationoutput GenerationTile 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.rod...@carm.es mailto:alexandre.rod...@carm.es 

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

-

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Problem with CLASS display

2009-01-28 Thread RODIER BATISSE, ALEXANDRE
Hi everyone,

 

I have a problem with CLASS object to display diferent value depending to the 
minscale.

 

I would to display a classitem field until 1:200.000 scale.

 

For it I set (first case):

 

CLASSITEM OBSERVACI

LABELITEM OBSERVACI

 

CLASS

  minscaledenom 20

  NAME PORN aprobado definitivamente

  EXPRESSION PORN aprobado definitivamente

  COLOR 125 210 84

  OUTLINECOLOR 110 110 110

END #Class  

 

CLASS

  minscaledenom 20

  NAME PORN sometido a información pública

  EXPRESSION PORN sometido a información pública

  COLOR 125 210 150

  OUTLINECOLOR 110 110 110

END #Class   

 

CLASS

  minscaledenom 20

  NAME PORN aprobado inicialmente

  EXPRESSION PORN aprobado inicialmente

  COLOR 125 210 84

  OUTLINECOLOR 110 110 110

END #Class

 

And I would to display another classitem with scale less than 1:200.000

 

For it I set (second case):

 

CLASSITEM Zonas

  LABELITEM Zonas

  CLASS

maxscaledenom 20

NAME Zona de conservación prioritaria

EXPRESSION Zona de conservación prioritaria

COLOR 2 220 0

OUTLINECOLOR 110 110 110

  END  # Class

  CLASS

maxscaledenom 20

NAME Zona de conservación compatible

EXPRESSION Zona de conservación compatible

COLOR 166 255 165

OUTLINECOLOR 110 110 110

  END  # Class

 

...

 

Problems arise with I set the scale upper than 1:200.000 (first case). 
Mapserver doesn't display map. I can see map image when I down above 1:20 
scale (second case).

 

If I set first case with an unique class, it works fine, and I can display good 
image.

 

Someone kowns where is the problem.

 

Thanks.

 

-

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.rod...@carm.es mailto:alexandre.rod...@carm.es 

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

-

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Problem with template

2009-01-09 Thread RODIER BATISSE, ALEXANDRE
Hi everyone,

 

Before to explain my problem I wish a happy new year.

 

Well, my problem is relationed with a mail than i sent past dicember about 
problem with template.

 

I define a map file with template definition in layer object (I attach it). I 
define also MIME format for query in the web object like 
wms_feature_info_mime_type text/html,text/plain. And finaly I define the 
templates files (I also attach them). The mapfile define a vector layer from 
shape file with few atrributes.

 

The problem appears when I perform a GetFeatureinfo request:

 

A GetFeatureInfo request in my web browser like this 
http://localhost/cgi-bin/mapserv.exe?map=c:/ms4w/datos/map/prueba.mapSERVICE=wmsVERSION=1.1.1REQUEST=GetFeatureInfoLAYERS=ENPSTYLES=QUERY_LAYERS=ENPx=300y=300SRS=EPSG:23030BBox=
 
610822.81,4137430.54,707593.47,4266594WIDTH=800HEIGHT=500INFO_FORMAT=text/html
 returns this result:

 

GetFeatureInfo results:
 
Layer 'ENP'
  Feature 6:

 

As you can see, the query doesn't return attribute from shape file.

 

When X,Y coordinates doesn't match with any feature, the request returns:

 

GetFeatureInfo results:
 
  Search returned no results.

 

Someone knows the source of the problem.

 

Thanks.

-

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.rod...@carm.es mailto:alexandre.rod...@carm.es 

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

-

 



prueba.map
Description: prueba.map






Contador
Nombre
Categoría
Superficie
Fecha declaración
Más información
Superficie geodb
Perímetro
  
   [lrn]
   [ENP_NOMBRE]
   [ENP_CAT]
   [HECTAREAS]
   [ENP_FECHA]
   [LINK]
   [SHAPE_AREA]
   [SHAPE_LEN]
  
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] Problem with template

2009-01-09 Thread RODIER BATISSE, ALEXANDRE
Hola David,

 

No he conseguido aún que me funcionen las plantillas, pero lo que sí he 
conseguido es que me devuelva todos los atributos en texto plano. Lo he 
conseguido añadiendo lo siguiente: wms_include_items all en el objeto 
LAYER. Y entonces me devuelve lo correcto (aunque de momento sin formato html):

 

GetFeatureInfo results:

 

Layer 'ENP'

  Feature 6: 

ENP_NOMBRE = 'Carrascoy y El Valle'

ENP_CAT = 'Parque Regional'

HECTAREAS = '11873.77004420'

ENP_FECHA = '20050610'

LINK = 'http://www.carm.es/medioambiente/articulos.html?id=2469'

SHAPE_AREA = '1.18737700435e+008'

SHAPE_LEN = '1.31916887359e+005'

 

En fin, voy a seguir probando.

 

Un saludo.

 

 

Hi David,

 

Template still does not work, but i get full results with plain text. I get it 
adding this tag  wms_include_items all in the LAYER object. And then it 
returns correct results (though without html format).

 

Well, I continue testing.

 

Bye.

 

-

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.rod...@carm.es

http://www.carm.es/medioambiente

-



De: David Martinez Morata [mailto:dama...@gmail.com] 
Enviado el: viernes, 09 de enero de 2009 10:23
Para: RODIER BATISSE, ALEXANDRE
Asunto: Re: [mapserver-users] Problem with template

 

No se si esto te ayudara, pero elimina ciertos elementos html de tus ficheros 
plantilla imaginate que los tres forman un solo fichero html, es decir que no 
cierres el contenido html (/html) en la cabecera ni en el cuerpo, hazlo solo en 
el pie, no pongas cabeceras a los ficheros cuerpo y pie...

Suerte




2009/1/9 RODIER BATISSE, ALEXANDRE alexandre.rod...@carm.es

Hi everyone,

 

Before to explain my problem I wish a happy new year.

 

Well, my problem is relationed with a mail than i sent past dicember about 
problem with template.

 

I define a map file with template definition in layer object (I attach it). I 
define also MIME format for query in the web object like 
wms_feature_info_mime_type text/html,text/plain. And finaly I define the 
templates files (I also attach them). The mapfile define a vector layer from 
shape file with few atrributes.

 

The problem appears when I perform a GetFeatureinfo request:

 

A GetFeatureInfo request in my web browser like this 
http://localhost/cgi-bin/mapserv.exe?map=c:/ms4w/datos/map/prueba.mapSERVICE=wmsVERSION=1.1.1REQUEST=GetFeatureInfoLAYERS=ENPSTYLES=QUERY_LAYERS=ENPx=300y=300SRS=EPSG:23030BBox=
 
610822.81,4137430.54,707593.47,4266594WIDTH=800HEIGHT=500INFO_FORMAT=text/html
 returns this result:

 

GetFeatureInfo results:
 
Layer 'ENP'
  Feature 6:

 

As you can see, the query doesn't return attribute from shape file.

 

When X,Y coordinates doesn't match with any feature, the request returns:

 

GetFeatureInfo results:
 
  Search returned no results.

 

Someone knows the source of the problem.

 

Thanks.

-

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.rod...@carm.es mailto:alexandre.rod...@carm.es 

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

-

 


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users




-- 
Martinez Morata David
Thinking GIS

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Problem with query template

2008-12-18 Thread RODIER BATISSE, ALEXANDRE
Hi other time,

 

Today my problem is: I define a wms service with the attached .map file. It 
works well (i can see the map, wms conection is ok, legend likes good, etc.). 
But identifier tools in my gis client (Arcgis and gvsig) doesn't work and I 
cannot identifie the polygon values.

 

The question is that I don't get to understand where I have to define template 
url: ¿in the web object, in the layer object, or in every class object? ¿I have 
to define header, footer and general template? When I have more one layer in 
the same file, how can i define diferent template?¿in each layer object, or in 
each class object?

 

Thanks you for your help.

 

-

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.rod...@carm.es mailto:alexandre.rod...@carm.es 

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

-

 



prueba.map
Description: prueba.map
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] Blank image after map request

2008-12-17 Thread RODIER BATISSE, ALEXANDRE
Hi Jeff and all others than help me.

 

I tried all your advice and i changed this tips:

 

* I set STATUS layer tag to DEFAULT

* I changed wms_onlineresource tag to  
http://localhost/cgi-bin/mapserv?map=/ms4w/Apache/htdocs/map/mosaico.map;

* I checked EXTENT tag to correct extents

* I changed wms_latlongbounding layer tag to the correct extents

* I checked gdalinfo for both mosaico.ecw and mosaico.tif image files, and this 
is the result:

C:\ms4w\tools\gdal-ogrgdalinfo c:\ms4w\Apache\htdocs\raster\mosaico.ecw

Driver: ECW/ERMapper Compressed Wavelets

Files: c:\ms4w\Apache\htdocs\raster\mosaico.ecw

Size is 302480, 316380

Coordinate System is `'

Origin = (556560.000,4293110.000)

Pixel Size = (0.500,-0.500)

Corner Coordinates:

Upper Left  (  556560.000, 4293110.000)

Lower Left  (  556560.000, 4134920.000)

Upper Right (  707800.000, 4293110.000)

Lower Right (  707800.000, 4134920.000)

Center  (  632180.000, 4214015.000)

Band 1 Block=302480x1 Type=Byte, ColorInterp=Red

  Overviews: arbitrary

Band 2 Block=302480x1 Type=Byte, ColorInterp=Green

  Overviews: arbitrary

Band 3 Block=302480x1 Type=Byte, ColorInterp=Blue

  Overviews: arbitrary

 

C:\ms4w\tools\gdal-ogrgdalinfo c:\ms4w\Apache\htdocs\raster\mosaico.tif

Driver: GTiff/GeoTIFF

Files: c:\ms4w\Apache\htdocs\raster\mosaico.tif

Size is 33910, 31638

Coordinate System is:

PROJCS[UTM Zone 30, Northern Hemisphere,

GEOGCS[ETRS89,

DATUM[unknown,

SPHEROID[unretrievable - using WGS84,6378137,298.257223563]],

PRIMEM[Greenwich,0],

UNIT[degree,0.0174532925199433]],

PROJECTION[Transverse_Mercator],

PARAMETER[latitude_of_origin,0],

PARAMETER[central_meridian,-3],

PARAMETER[scale_factor,0.9996],

PARAMETER[false_easting,50],

PARAMETER[false_northing,0],

UNIT[metre,1,

AUTHORITY[EPSG,9001]]]

Origin = (556560.000,4293110.000)

Pixel Size = (5.000,-5.000)

Metadata:

  AREA_OR_POINT=Area

Image Structure Metadata:

  COMPRESSION=LZW

  INTERLEAVE=PIXEL

Corner Coordinates:

Upper Left  (  556560.000, 4293110.000) (  2d20'55.64W, 38d47'5.69N)

Lower Left  (  556560.000, 4134920.000) (  2d21'40.71W, 37d21'33.38N)

Upper Right (  726110.000, 4293110.000) (  0d23'52.18W, 38d45'27.90N)

Lower Right (  726110.000, 4134920.000) (  0d26'52.05W, 37d20'0.44N)

Center  (  641335.000, 4214015.000) (  1d23'20.00W, 38d 3'46.30N)

Band 1 Block=33910x1 Type=Byte, ColorInterp=Red

Band 2 Block=33910x1 Type=Byte, ColorInterp=Green

Band 3 Block=33910x1 Type=Byte, ColorInterp=Blue

 

It likes ok, but gdalinfo does not return coordinate system data for ecw image, 
when i changed ecw header info to ETRS89 and NUTM30.

 

* I tried shp2img with both ecw and tif images, and in both cases the result is 
a 800x500 blank image.

* I tried getcapabilities with this url: 
http://localhost/cgi-bin/mapserv.exe?map=c:/ms4w/Apache/htdocs/map/mosaico.mapSERVICE=WMSVERSION=1.1.1REQUEST=GetCapabilities

And it returnsme file in attached.

 

And finally, I tried Getmap with 
http://localhost/cgi-bin/mapserv.exe?map=c:/ms4w/Apache/htdocs/map/mosaico.mapSERVICE=WMSVERSION=1.1.1REQUEST=GetmapLAYERs=mosaicoSRS=EPSG:25830bbox=556560,4134920,707800,4293920format=image/pngwidth=800height=500
 and it returns 800x500 balnk image.

 

Conclusion: I don't know what i can also do.

 

-

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.rod...@carm.es

http://www.carm.es/medioambiente

-

 

-Mensaje original-
De: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] En nombre de Jeff McKenna
Enviado el: miércoles, 17 de diciembre de 2008 0:10
Para: mapserver-users@lists.osgeo.org
Asunto: Re: [mapserver-users] Blank image after map request

 

RODIER BATISSE, ALEXANDRE wrote:

 Hi everyone,

 

  

 

 I am begining with mapserver for windows and i have this problem:

 

  

 

 Mapserver work (theorycally) fine, because 

 http://localhost/cgi-bin/mapserv.exe request in web navigator answer No 

 query information to decode. QUERY_STRING is set, but empty.

 

  

 

 I have a .map file in c:\ms4w\Apache\htdocs\map\ directory. (I put it in 

 anex).

 

  

 

 But when a try to make a map request mapserver give a blank image 

 (800x500 pixel)

 

  

 

 Whyyy!!!

 

 

I would also start with creating a valid map image with the shp2img 

utility 

(http://mapserver.gis.umn.edu/docs/reference/utilityreference/shp2img) 

and once that works move to debugging your application (or request).

 

-jeff

 

 

-- 

Jeff McKenna

FOSS4G

RE: [mapserver-users] Blank image after map request

2008-12-17 Thread RODIER BATISSE, ALEXANDRE
Ok,

I changed data path to a full path and a getmap works fine. But wms service in 
gis client doesn't yet work.

Thanks for your help.

-
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.rod...@carm.es
http://www.carm.es/medioambiente
-
-Mensaje original-
De: Benoît Andrieu [mailto:benoit.andr...@gmail.com] 
Enviado el: miércoles, 17 de diciembre de 2008 11:14
Para: RODIER BATISSE, ALEXANDRE; mapserver-users@lists.osgeo.org
Asunto: RE: [mapserver-users] Blank image after map request

Hi,
Sorry, but I am not at work and my webmail refuses to send the
message, don't know why, so I have to send this message directly to
you and not on the mailing list.

My guess would be to check the path to the tiff file in map file.
You have put DATA /../raster/mosaico.tif.

Doesn't that mean mapserv.exe will go to the root of the drive it is
installed on;  then go on the sub-folder of this root (...); then go
in the raster folder of sub-folder of the root and expect to find the
tiff in there ?

I would put a nice full path.

Other ideas :
- I personnally don't like having unknown references in my gdalinfo
results (your spheroid is unretrievable),
- well, nothing more...

Regards,

Benoit

Benoît Andrieu
+33.(0)1.30.08.95.21
b...@ixsea.com
benoit.andr...@gmail.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Blank image after map request

2008-12-16 Thread RODIER BATISSE, ALEXANDRE
Hi everyone,

 

I am begining with mapserver for windows and i have this problem:

 

Mapserver work (theorycally) fine, because http://localhost/cgi-bin/mapserv.exe 
request in web navigator answer No query information to decode. QUERY_STRING 
is set, but empty.

 

I have a .map file in c:\ms4w\Apache\htdocs\map\ directory. (I put it in anex).

 

But when a try to make a map request mapserver give a blank image (800x500 
pixel)

 

Whyyy!!!

 

Thank you for your help.

-

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.rod...@carm.es mailto:alexandre.rod...@carm.es 

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

-

 



mosaico.map
Description: mosaico.map
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Multiple layer in map file

2008-10-07 Thread RODIER BATISSE, ALEXANDRE
Hi everyone,
 
I am trying to define multiple layer with diferent epsg, and it doesn't work.
 
I define init EPSG with 25830 in projection tag, and I have two layers with 
25830 and five with 23030. I define every epsg's layer with wms_srs tag.
 
It owrks fine if I keep only one layer in map file, but when I group all of 
them in an unique file, it doesn't.
 
Someone can help me?
 
Thanks a lot.
 
-
Alexandre Rodier
 
SIGA - Servicio de Información e Integración Ambiental
Dirección General del Medio Natural
c/ Arquitecto Emilio Piñero, 1 Entresuelo C
30.007 Murcia
Tel. 968246272
Correo-e: [EMAIL PROTECTED]
http://www.carm.es/medioambiente
-
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users