[MAPSERVER-USERS] Missing required parameter BBOX

cfb carla.fernandezb at gmail.com
Wed Mar 5 11:31:34 PST 2008


Hi again,

I'm having problems with the projections of my WMS (working with MapServer
5.0.2 for Windows). I've changed the SRS of the header's mapfile into EPSG
4326 (before it was EPSG 23030), and also the epsg of one layer (which
reference system I'd already changed to 4326). I'd left the other layer with
EPSG 23030.

When I try to GetMap with a client the WMS works but I don't see the image
(sid), I get this error: 
"msWMSLoadGetMapParams(): WMS server error. Missing required parameter BBOX"

Here is my mapfile. Any help will be really appreciated!

MAP                  
  NAME XX           			
 #STATUS ON         		      	
  SIZE 400 300       				
#EXTENT 101003 3981277 629275 4366350    # [Xmin][ymin][xmax][ymax] 
  EXTENT -7.52 35.93 -1.62 38.73
  UNITS DD                    		# [feet/inches/kilometers/meters/miles/dd] 
  SHAPEPATH "../data"         		
  IMAGETYPE  JPEG             		
  FONTSET "../etc/fonts.txt"    	
  SYMBOLSET "../etc/symbols.sym"            
  DEBUG ON
 
 
PROJECTION
  "init=epsg:4230"         		     #WGS 84  #135 m. de diferencia con
GoogleEarth
END
#
WEB
...
#
#
  METADATA
    "WMS_TITLE"                  "xxx"
    "WMS_ABSTRACT"               "xxxx"
    "WMS_ONLINERESOURCE" 		 "http://localhost/cgi-bin/xxx.exe?"	
    "WMS_ACCESSCONSTRAINTS"      "xxx"
    "WMS_SRS" 			         "EPSG:4230 EPSG:4326 EPSG:4258 EPSG:23030
EPSG:23029 EPSG:4324 EPSG:32629 EPSG:32630 EPSG:4267 EPSG:4269 EPSG:3035
EPSG:3034"
    ...
  END						     
END                                     
#
SCALEBAR
...      
END
#
LEGEND
...
END               
#
OUTPUTFORMAT
  NAME jpeg                
  DRIVER "GD/JPEG"         
  MIMETYPE "image/jpeg"    
  IMAGEMODE RGB            
  EXTENSION "jpg"          
END
...

######################################################
LAYER					 						
  NAME "catalogo_1956_57_BN_CMA"    # I want to leave this layer with EPSG
23030    					
 ...
 
METADATA
 "WMS_SRS" 	 "EPSG:23030 EPSG:23029 EPSG:4230 EPSG:4324 EPSG:4326 EPSG:32629
EPSG:32630 EPSG:4267 EPSG:4269 EPSG:4258 EPSG:3035 EPSG:3034"
 "WMS_TITLE"               "aaa
 "WMS_ABSTRACT"            "aaa"
 "WMS_FEATURE_INFO_MIME_TYPE"  "text/html"
 "wms_keywordlist"         "a"
 "wms_extent" 		"102003 3816667 629275 4366350"
END #METADATA
 
 PROJECTION
   "init=epsg:23030"       		     #Proyección UTM European Datum 50 Huso 30
N 
 END
 
END  #LAYER 
    
##################################################  

LAYER					# 
  NAME "xxxxx"        						
  DATA “D:\kkk.sid”
  TYPE RASTER                  						
  STATUS ON                   						
  PROCESSING "SCALE=AUTO"      						
  PROCESSING "DITHER=YES" 
  OFFSITE 0 0 0  
  DEBUG ON
  DUMP TRUE				 				
  
METADATA
 "WMS_SRS" 	 "EPSG:4326 EPSG:23030 EPSG:23029 EPSG:4230 EPSG:4324 EPSG:32629
EPSG:32630 EPSG:4267 EPSG:4269 EPSG:4258 EPSG:3035 EPSG:3034"
 "WMS_TITLE"               "ccc"
 "WMS_ABSTRACT"            "ccccc"
 "WMS_FEATURE_INFO_MIME_TYPE"  "text/html"
 "wms_keywordlist"         "cc"
#"wms_extent" 		"102003 3816667 629275 4366350"
 "wms_extent" "-7.52 35.93 -1.62 38.73"
END #METADATA
 
 PROJECTION
   "init=epsg:4326"       		     ##WGS 84  
 END
END			   
	#================================#
END



-- 
View this message in context: http://www.nabble.com/Missing-required-parameter-BBOX-tp15855659p15855659.html
Sent from the Mapserver - User mailing list archive at Nabble.com.




More information about the MapServer-users mailing list