[Gfoss] mapserver + geotools

Salvator*eL*arosa s_larosa a libero.it
Mer 16 Lug 2008 14:55:07 CEST




Giuseppe Campagna wrote:
> 
> 
> webgis tramite geotools, mi lancia un'eccezione del tipo
> msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be 
> valid for all requested layers.
> 
> Nel map file in che modo devo devo settare il sistema di riferimento? se 
> provo ad aggiungere
> 	PROJECTION
>   "init=epsg:3003"
> 	END
> lanciando da browser mi da il seguente errore:
> msProcessProjection(): Projection library error. no options found in
> 'init' 
> file
> 
> grazie in anticipo per il vostro aiuto
> ciao
> 
> 
> 

Potresti dire a Mapserver dove pescare i valori EPSG aggiungendo questo:

MAP
...
CONFIG "PROJ_LIB" "/ms4w/proj/nad/" 
....
END

In questo caso puoi definire la proiezione con

"init=EPSG:3003"

CIAO

-----
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
-- 
View this message in context: http://www.nabble.com/mapserver-%2B-geotools-tp18485072p18486817.html
Sent from the Gfoss mailing list archive at Nabble.com.




Maggiori informazioni sulla lista Gfoss