[Mapbender-users] tooltip mit mouseover effekt (Forts.)

Bertil Miller bird_harbin at operamail.com
Fri Jan 22 08:46:54 EST 2010


UMN MapServer WMS muss querable sein.

Wie kann ich sicherstellen und prüfen, dass die WMS querable ist ?
1.  über mapbender:  Button  Show WMS Info (modul metadata)
    im sich öffnenden Fenster "Mapbender Info"   Spalt  layer_querable   1  !

BEI MIR STEHT HIER 0 (NULL).

Ist der mapfile korrekt ?

# http://localhost/cgi-bin/mapserv.exe?map=/webgis/data/uae/maps/hotels-uae.map&REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1

MAP
   NAME "Hotels"
   STATUS ON
   CONFIG PROJ_LIB "/webgis/system/proj/nad"
   EXTENT 55.349706 25.330308 55.580571 25.498501
   UNITS KILOMETERS
   
   PROJECTION
     "init=epsg:4326"
   END
   
   SIZE 1046 819 
   SYMBOLSET "/webgis/system/symbols/symbols.sym"
   FONTSET "/webgis/system/fonts/fonts.list"
   IMAGECOLOR 136 206 235
   RESOLUTION 72
   IMAGETYPE PNG

 WEB
   IMAGEPATH "/home/umn/tmp/"
   IMAGEURL "/home/umn/tmp/"
  
   TEMPLATE "templates/query.html"
#  LOG "/webgis/umn/log/uae.log"
  
   METADATA
     "WMS_TITLE"    "Hotels UAE"
     "WMS_ABSTRACT"    "Hotel Map in WGS84 Reference System"
     "WMS_FEATURE_INFO_MIME_TYPE"    "text/html"
     "WMS_ONLINERESOURCE"    "http://localhost/cgi-bin/mapserv.exe?map=/webgis/data/uae/maps/hotels-uae.map"
     "WMS_SRS"   "epsg:4326"
   END
 END

 OUTPUTFORMAT
    NAME "AGG"
    DRIVER "AGG/PNG"
    IMAGEMODE RGB
    FORMATOPTION "QUANTIZE_FORCE=ON"
    FORMATOPTION "QUANTIZE_DITHER=OFF"
    FORMATOPTION "QUANTIZE_COLORS=256"
 END
 
LAYER
  NAME "hotelsuae"
  TYPE POINT
  STATUS ON
  DATA "/webgis/data/uae/hotels/hotels.shp"

   PROJECTION
     "init=epsg:4326"
   END
     
  METADATA
    "WMS_TITLE"    "Hotels"
    "WMS_SRS"    "epsg:4326"
    "WMS_FEATURE_INFO_MIME_TYPE"    "text/plain"
    "WMS_INCLUDE_ITEMS" "all"
  END

  CLASS
    Name "Hotels"
    STYLE
      SYMBOL "circle"
      COLOR  255 0 0
      OUTLINECOLOR 0 0 0
      SIZE 9 
    END
  END
END  # of layer

END    # end of map file

WFS-Konfiguration:   hotels_wfs.map
Test mit
http://localhost/cgi-bin/mapserv.exe?map=/webgis/data/uae/maps/hotels_wfs.map&REQUEST=getCapabilities&VERSION=1.0.0&SERVICE=WFS&TYPENAME=hotels&

da waren alle Datenstrings aufgeführt.

Mfg
Bird


-- 
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

Powered by Outblaze


More information about the Mapbender_users mailing list