<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Helvetica, Arial, sans-serif">Hi James,<br>
<br>
I am not 100% certain about the original problem. However let me
share two ways that i use to merge more than one layer into one
parent layer:<br>
<br>
I either use CONNECTIONTYPE UNION as is described here:
<a class="moz-txt-link-freetext" href="https://mapserver.org/mapfile/union.html">https://mapserver.org/mapfile/union.html</a><br>
<br>
Or I use WMS_LAYER_GROUP that I simply define in all "child"
layers. There is no need for a "parent" in this case for all
layers in the group can be queried at once by calling the layer
group as a normal layer in the WMS request. I do tend to keep the
names for those groups simple and without any extra characters. <br>
For instance if I have </font><br>
<font face="Helvetica, Arial, sans-serif"><font face="Helvetica,
Arial, sans-serif">"WMS_LAYER_GROUP" "/my_sweet_group" <br>
<br>
The call can simply be something like<br>
http://<my_url.com>/cgi-bin/mapserv?map=<path_to_mapfile>wms.map&LAYERS=</font></font><font
face="Helvetica, Arial, sans-serif"><font face="Helvetica, Arial,
sans-serif"><font face="Helvetica, Arial, sans-serif"><font
face="Helvetica, Arial, sans-serif">my_sweet_group</font></font>&...<br>
<br>
Documentation: <a class="moz-txt-link-freetext" href="https://mapserver.org/ogc/wms_server.html">https://mapserver.org/ogc/wms_server.html</a><br>
<br>
If you need SRS transformation, I would define that on the level
of the entire map (WEB - block) rather than on the layer level.
That can be confusing from my point of view.<br>
<br>
I hope this helps some?<br>
</font></font>
<div class="moz-signature">
<p style="text-align: left;font-family: Helvetica, Arial;">Best</p>
<p style="text-align: left;font-family: Helvetica, Arial;">Lars<br>
</p>
<p style="text-align: left;font-family: Helvetica, Arial;"><br>
Lars Fricke<br>
Forschung & Entwicklung<br>
</p>
<p style="text-align: left;font-family: Helvetica, Arial;">
+49(0)39602-183097<br>
+49(0)39602-183098<br>
</p>
<p style="text-align: left;font-family: Helvetica, Arial;">
SkenData GmbH<br>
Mühlendamm 8B<br>
18055 Rostock<br>
<a class="moz-txt-link-abbreviated" href="http://www.skendata.de">www.skendata.de</a><br>
</p>
<p style="text-align: left;font-family: Helvetica, Arial;
font-size: small;"> <br>
<img src="cid:part1.D233D6CD.64CC0A92@skendata.de" alt="Wert14"
title="Wert14 Auszeichnungen" px="" width="400"><br>
</p>
<p style="text-align: left;font-family: Helvetica, Arial;"> <br>
<a class="moz-txt-link-abbreviated" href="http://www.wert14.de">www.wert14.de</a><br>
</p>
<p style="text-align: left;font-family: Helvetica, Arial;
font-size: small"> Geschäftsführer: Jon Meis und Sven Jantzen<br>
Amtsgericht Rostock HRB 12937<br>
</p>
</div>
<div class="moz-cite-prefix">Am 28.10.19 um 03:55 schrieb James
Gardner:<br>
</div>
<blockquote type="cite"
cite="mid:ME2PR01MB526753CCF3B17D07C30AC8BA8F660@ME2PR01MB5267.ausprd01.prod.outlook.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style type="text/css">.style1 {font-family: "Times New Roman";}</style>Hi
Lars,<br>
<br>
Sub Layer<br>
In zzz.map<br>
<br>
<<+++<br>
LAYER<br>
CONNECTION "host=**** dbname=**** user=**** password=****"<br>
CONNECTIONTYPE POSTGIS<br>
DATA "the_geom FROM (select id,the_geom,time) as subquery using
unique id"<br>
GROUP "layer56_simulation_15044"<br>
METADATA<br>
"wms_srs" "EPSG:900913"<br>
"gml_the_geom_type" "point"<br>
"wms_keywordlist" "simulation_id 15044"<br>
"gml_include_items" "*"<br>
"gml_geometries" "the_geom"<br>
"wms_group_title" "/2019-09-27/09:00 - test (ID: 15044)"<br>
"wms_title" "*****"<br>
END # METADATA<br>
NAME "layer55_simulation_15044 "<br>
PROCESSING "CLOSE_CONNECTION=DEFER"<br>
PROJECTION<br>
"init=epsg:900913"<br>
END # PROJECTION<br>
STATUS ON<br>
TEMPLATE "zzzzz.html"<br>
TILEITEM "location"<br>
TOLERANCE 20<br>
TYPE POINT<br>
UNITS METERS<br>
END<br>
+++<br>
<br>
<br>
Parent layer<br>
<<<+++<br>
LAYER<br>
CONNECTION
<a class="moz-txt-link-rfc2396E" href="http://localhost/cgi-bin/mapserv?map=/data/web_projects/mapproxy/docker/ows/zzzz.map&">"http://localhost/cgi-bin/mapserv?map=/data/web_projects/mapproxy/docker/ows/zzzz.map&"</a><br>
CONNECTIONTYPE WMS<br>
METADATA<br>
"wms_srs" "EPSG:900913 EPSG:4326"<br>
"wms_extent" "13048989.6381759 -4108382.56980896 13049321.6706854
-4107853.60807286"<br>
"wms_layer_group" "/2019-09-27/09:00 - test (ID: 15044)"<br>
"wms_name" "layer56_simulation_15044"<br>
"wms_feature_info_mime_type" "text/html"<br>
"wms_format" "image/png"<br>
"wms_keywordlist" "simulation_id 15044,status complete"<br>
"wms_server_version" "1.1.1"<br>
"wms_title" "********"<br>
END # METADATA<br>
NAME "layer56_simulation_15044"<br>
PROJECTION<br>
"init=epsg:900913"<br>
END # PROJECTION<br>
STATUS ON<br>
TEMPLATE "zzzz.html"<br>
TILEITEM "location"<br>
TOLERANCE 20<br>
TYPE RASTER<br>
UNITS METERS<br>
CLASS<br>
NAME "*******"<br>
STYLE<br>
SIZE 20<br>
SYMBOL "********"<br>
END # STYLE<br>
END # CLASS<br>
+++<br>
<br>
<br>
When I do a getFeatureInfo on the parent layer, it returns
nothing, when it should query the sublayer and return something...<br>
Thanks<br>
JG..<br>
<br>
<br>
<p style="font-family: Verdana; font-size:8pt; color:#666666;">
This e-mail and any files transmitted with it are intended only
for the use of the addressee(s). It may contain information that
is confidential and privileged, in which case neither is
intended to be waived or lost by mistaken delivery to you. If
you are not an intended recipient, any use, interference with,
disclosure, distribution or copying of this material is
unauthorised and prohibited. If you receive this e-mail in
error, please notify the sender by return e-mail and delete the
message and any attachments from your system. Unless
specifically indicated, this e-mail does not constitute formal
advice or commitment by the sender or the Western Australian
Land Information Authority (Landgate). Information in this
message not relating to the official business of Landgate shall
be understood as neither given nor endorsed by it. It is your
responsibility to check any attachments for viruses and defects
before opening or sending them on. Landgate’s liability is
limited to re-supplying affected attachments. </p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a></pre>
</blockquote>
<br>
</body>
</html>