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

Sven Böhme boehme at supportgis.de
Fri Jan 22 08:56:08 EST 2010


Hallo!

Damit der Layer queryable ist, musst du den Parameter Template im Layer 
ergänzen. Infos dazu hier:

http://mapserver.org/mapfile/template.html#template

Gruß
Sven

Am 22.01.2010 14:46, schrieb Bertil Miller:
> 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
>
>
>    


-- 
--------------------------------------

Dipl.-Geogr. Sven Böhme
boehme at supportgis.de

--------------------------------------

CPA Systems GmbH
Grantham-Allee 2-8
D-53757 Sankt Augustin

Tel.: +49 (0) 2241 / 25 94 – 24
Fax.: +49 (0) 2241 / 25 94 - 29

www.cpa-systems.de

--------------------------------------
Handelsregister:
HRB 9706, Amtsgericht Siegburg

Geschäftsführer:

Dr.-Ing. habil. Christoph Averdung
Dr.-Ing. René Thiele
Dr.-Ing. Matthias Ellsiepen



More information about the Mapbender_users mailing list