[mapserver-users] Mapserver mapwmslayer on ubuntu18 (Lars Fricke)

James Gardner James.Gardner at landgate.wa.gov.au
Sun Oct 27 19:55:40 PDT 2019


Hi Lars,

Sub Layer
In zzz.map

<<+++
LAYER
    CONNECTION "host=**** dbname=**** user=**** password=****"
    CONNECTIONTYPE POSTGIS
    DATA "the_geom FROM (select id,the_geom,time) as subquery using unique id"
    GROUP "layer56_simulation_15044"
    METADATA
      "wms_srs" "EPSG:900913"
      "gml_the_geom_type"       "point"
      "wms_keywordlist" "simulation_id 15044"
      "gml_include_items"       "*"
      "gml_geometries"  "the_geom"
      "wms_group_title" "/2019-09-27/09:00  -  test (ID: 15044)"
      "wms_title"       "*****"
    END # METADATA
    NAME "layer55_simulation_15044 "
    PROCESSING "CLOSE_CONNECTION=DEFER"
    PROJECTION
      "init=epsg:900913"
    END # PROJECTION
    STATUS ON
    TEMPLATE "zzzzz.html"
    TILEITEM "location"
    TOLERANCE 20
    TYPE POINT
    UNITS METERS
   END
+++


    Parent layer
<<<+++
LAYER
    CONNECTION "http://localhost/cgi-bin/mapserv?map=/data/web_projects/mapproxy/docker/ows/zzzz.map&"
    CONNECTIONTYPE WMS
    METADATA
      "wms_srs" "EPSG:900913 EPSG:4326"
      "wms_extent"      "13048989.6381759 -4108382.56980896 13049321.6706854 -4107853.60807286"
      "wms_layer_group" "/2019-09-27/09:00  -  test (ID: 15044)"
      "wms_name"        "layer56_simulation_15044"
      "wms_feature_info_mime_type"      "text/html"
      "wms_format"      "image/png"
      "wms_keywordlist" "simulation_id 15044,status complete"
      "wms_server_version"      "1.1.1"
      "wms_title"       "********"
    END # METADATA
    NAME "layer56_simulation_15044"
    PROJECTION
      "init=epsg:900913"
    END # PROJECTION
    STATUS ON
    TEMPLATE "zzzz.html"
    TILEITEM "location"
    TOLERANCE 20
    TYPE RASTER
    UNITS METERS
    CLASS
      NAME "*******"
      STYLE
        SIZE 20
        SYMBOL "********"
      END # STYLE
    END # CLASS
+++


When I do a getFeatureInfo on the parent layer, it returns nothing, when it should query the sublayer and return something...
Thanks
    JG..

Disclaimer

The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. Providing a safer and more useful place for your human generated data. Specializing in; Security, archiving and compliance. To find out more visit the Mimecast website.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20191028/7fc3dbcc/attachment.html>


More information about the mapserver-users mailing list