[mapguide-users] Maestro 4 and 5 shows name for WMS layers and not title

Birgir bgu at geograf.dk
Wed Sep 12 05:14:27 PDT 2012


The problem is to identify the correct feature class when create a new Raster
Layer definition from a WMS feature source.

The following screenshot shows data from 2 different wms servers. The reason
why wms server B displays the feature source names in a form that a human
can understand it is because it returns an xml file containing the following
layer definition...

<Layer cascaded="0" fixedHeight="0" fixedWidth="0" noSubsets="0" opaque="0"
queryable="0">
<Title>DTK/Skærmkort 6192</Title>

Note without a <name> ... </name>

Whereas wms server A returns the following
<Layer cascaded="0" fixedHeight="0" fixedWidth="0" noSubsets="0" opaque="0"
queryable="0">
<Name>1499f919-a361-44f5-afb3-275f3ca4f7da</Name>
<Title>DTK/Skærmkort 6192</Title>

http://osgeo-org.1560.n6.nabble.com/file/n5001421/WMSServer.png 

to sum up, the feature class combobox displays <name> field if it exists,
else it displays <title>.
should not this be the otherway around, that is.. display <title> as default
and <name> as secondary?

Regards,
Birgir



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Maestro-4-and-5-shows-name-for-WMS-layers-and-not-title-tp5001070p5001421.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list