[ka-Map-users] visual display problems with wms

R. Ortner reinhard.ortner at edu.fh-kaernten.ac.at
Wed Oct 24 09:02:36 EDT 2007


hi,

i tried to visualize a few wms layers from an ArcIMS server.
When i try to display the data via the browser with a wms getmap request it
woks fine, when i try to display the data via the ka-map i get a blank page
(when i click to print this view i can export it as jpeg or png,... and it
will be displayed correctly but not in the ka-map explorer window). I see
that some tiles were loaded by blinking for a "millisecond" but the loaded
tiles are blank. :confused:

is there something i have to take care or something special to consider?

here is my map file for the ka-map:

#Mapfile für Ka-Map

MAP
 TRANSPARENT ON
 NAME geoland_wms
 STATUS ON
 SIZE 1500 1500
 EXTENT 390730 5119473 594760 5238680 
 UNITS METERS
 IMAGECOLOR 255 255 255
 IMAGETYPE PNG 
 INTERLACE ON
 SYMBOLSET "/maps/umn/symbols/symbset.sym"
 FONTSET   "/maps/umn/fonts/fonts.fnt"

OUTPUTFORMAT
 NAME png
 DRIVER "GD/PNG"
 MIMETYPE "image/png"
 IMAGEMODE RGBA
 EXTENSION "png"
 END
  
OUTPUTFORMAT
 NAME jpeg
 DRIVER "GD/JPEG"
 MIMETYPE "image/jpeg"
 IMAGEMODE RGB
 EXTENSION "jpg"
END


WEB
  IMAGEPATH '/maps/images.tmp'
  IMAGEURL '/images.tmp' 
  METADATA
       
"WMS_SRS"         "EPSG:31285"   #"EPSG:31258 EPSG:31285 EPSG:31284
EPSG:31286 EPSG:4326 EPSG:0"
	  "WMS_TITLE"       "Geoland WMS Kärnten"
	  "WMS_feature_INFO_MIME_TYPE" "text/html"
	  "WMS_ABSTRACT"    "Geodaten des Bundeslandes Kärnten als OGC-WMS"
    "WMS_ONLINERESOURCE"
"http://172.21.18.45/cgi-bin/mapserv?map=/usr/share/ka-map-1.0-20070205/htdocs/geoland_wms.map"	  
  END
END


PROJECTION
     "init=EPSG:31285"
END

  LEGEND
   TRANSPARENT TRUE
  END

  SCALEBAR
    TRANSPARENT TRUE
  END

  REFERENCE
   EXTENT 390730 5119473 594760 5238680
   SIZE 217 109
   IMAGE data/kaernten.png
   COLOR -1 -1 -1
   OUTLINECOLOR 255 0 0
 END



#####################################################################
######################### Gemeindegrenzen WMS Bündelung
###############################
#####################################################################


LAYER
	GROUP Verwaltungsgrenzen 
	NAME "Gemeinde_WMS"
	TYPE RASTER
    STATUS ON


	CONNECTION
"http://gis.ktn.gv.at/wmsconnector/com.esri.wms.Esrimap/geoland2?"    
	CONNECTIONTYPE WMS
		
  METADATA
    "DESCRIPTION"    "Gemeindegrenzen (WMS)"
    #"wms_REQUEST" "GetMap"
    #"wms_connectiontimeout" "20"
    #"wms_SERVICE""WMS"
   #"WMS_TITLE"      "Gemeindegrenzen Geoland"
   #   "WMS_extent"     "373826 5149569 601756 5316582" # steiermark
	#"WMS_extent" 	 "390730 5119473 594760 5238680" # kärnten
	
"wms_srs"        "EPSG:31285"   # "EPSG:32633 EPSG:31285 EPSG:31284
EPSG:31286 EPSG:4326 EPSG:0"
    "wms_name"            "PolitischeGemeinden"
    "wms_style"      "visual"
    "wms_server_version"  "1.1.1"
    "wms_format"          "image/png"
  END


#PROJECTION
  "init=EPSG:31285"
  #"init=EPSG:32633"
#END

CLASS
  NAME "Gemeinde_WMS"
END

END

############################################################################################################################################

LAYER
	GROUP Verwaltungsgrenzen 
	NAME "Land_WMS"
	TYPE RASTER
    STATUS ON


	CONNECTION
"http://gis.ktn.gv.at/wmsconnector/com.esri.wms.Esrimap/geoland2?"    
	CONNECTIONTYPE WMS
		
  METADATA
    "DESCRIPTION"    "Landesgrenzen (WMS)"
    #"wms_REQUEST" "GetMap"
    #"wms_connectiontimeout" "20"
    #"wms_SERVICE""WMS"
    #"WMS_TITLE"      "Landesgrenzen Geoland"
    #   "WMS_extent"     "373826 5149569 601756 5316582" # steiermark
	#"WMS_extent" 	 "390730 5119473 594760 5238680" # kärnten
	"wms_srs"       "EPSG:31285"   #      "EPSG:32633 EPSG:31285 EPSG:31284
EPSG:31286 EPSG:4326 EPSG:0"
    "wms_name"            "Landesgrenzen"
    "wms_style"      "visual"
    "wms_server_version"  "1.1.1"
    "wms_format"          "image/png"
  END


#PROJECTION
  "init=EPSG:31285"
  #"init=EPSG:32633"
#END

CLASS
  NAME "Land_WMS"
END

END

#########################################################################################################################################



END #END of MapFile

-- 
View this message in context: http://www.nabble.com/visual-display-problems-with-wms-tf4683974.html#a13384531
Sent from the ka-map-users mailing list archive at Nabble.com.




More information about the ka-Map-users mailing list