[mapserver-dev] Allowing spaces in layer names (WMS/WFS)

Yves Jacolin yves.jacolin at camptocamp.com
Thu Jul 2 06:37:52 PDT 2015


in the metadata you have a title items for this.

METADATA
  "title" "my layer name"
END

Y.

2015-07-02 15:29 GMT+02:00 Tamas Szekeres <szekerest at gmail.com>:

> Thanks for the input, makes sense.
> Do we have an alias option, like gml_[item name]_alias for the layers
> names?
>
> Tamas
>
> 2015-07-02 14:22 GMT+02:00 Bart van den Eijnden <bartvde at osgis.nl>:
>
>> They do appear as XML elements? At least when I last used MapServer as
>> WFS.
>>
>>
>> http://geoservices.rijkswaterstaat.nl/nwb_wegen?service=WFS&request=GetFeature&maxfeatures=5&version=1.0.0&typename=nwb_hecto_2010
>>
>> <gml:featureMember>
>> <rws:nwb_hecto_2010 fid="nwb_hecto_2010.149295”>
>>
>> On 02 Jul 2015, at 14:16, Tamas Szekeres <szekerest at gmail.com> wrote:
>>
>> Hi,
>>
>> Could anyone explain the reason of limiting the layer names to valid XML
>> tag names (not containing spaces or any special characters in that)? As far
>> as I know the layer names don't appear a XML tags in the OWS requests and I
>> couldn't find such limitation in the WFS specs either.
>> Many clients uses spaces in layer names and this is causing issues for us.
>>
>> Thanks,
>>
>> Tamas
>> _______________________________________________
>> mapserver-dev mailing list
>> mapserver-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>>
>>
>>
>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>



-- 
Responsable Formation et Support
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel (France) : +33 4 58 48 20 43 (new !)
Tel (Suisse) : +41 21 619 10 43
Mob. : +33 6 18 75 42 21
Fax : 04 79 70 15 81

Mail : yves.jacolin at camptocamp.com
http://www.camptocamp.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20150702/7c9a7ddc/attachment.html>


More information about the mapserver-dev mailing list