[mapserver-users] [WFS-client] geometry name

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Thu Sep 20 00:07:21 PDT 2012


Hi,

That's very limiting. I think that none of the more than 80 feature types on my server is using name "Geometry".  suggest you to file a ticket about making this configurable.

-Jukka Rahkonen-

Yves Jacolin wrote:

Hello,

Ok I find the answer: Geometry column name is hardcoded in https://github.com/mapserver/mapserver/blob/master/mapwfslayer.c#L242

Y.
2012/9/19 Yves Jacolin <yves.jacolin at camptocamp.com<mailto:yves.jacolin at camptocamp.com>>
Hello,

There is not possiblity? Documentation tell nothing about the possibility to tell to MapServer the geometry column name to the WFS service used for my layer and I can't change the geometry name server side.

Nobody already fall in this issue?

Thanks,

Y.

2012/9/19 Yves Jacolin <yves.jacolin at camptocamp.com<mailto:yves.jacolin at camptocamp.com>>
Hello,

Does it possible to tell MapServer the geometry name to use for a layer in the case of WFS CONNECTIONTYPE?

By default, Mapserver use "Geometry", for example:

<ogc:BBOX>
  <ogc:PropertyName>Geometry</ogc:PropertyName>
  <gml:Box><gml:coordinates>2.022184,48.116468
    3.923033,49.118807</gml:coordinates></gml:Box>
</ogc:BBOX>

Thanks,

Y.
--
Responsable Formation et Support
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel (France) : +33 4 79 26 57 98<tel:%2B33%204%2079%2026%2057%2098>
Mob. : +33 6 18 75 42 21<tel:%2B33%206%2018%2075%2042%2021>
Fax : 04 79 70 15 81
Mail : yves.jacolin at camptocamp.com<mailto:yves.jacolin at camptocamp.com>
http://www.camptocamp.com



--

Responsable Formation et Support

Camptocamp France SAS

Savoie Technolac, BP 352

73377 Le Bourget du Lac, Cedex

Tel (France) : +33 4 79 26 57 98<tel:%2B33%204%2079%2026%2057%2098>

Mob. : +33 6 18 75 42 21<tel:%2B33%206%2018%2075%2042%2021>

Fax : 04 79 70 15 81

Mail : yves.jacolin at camptocamp.com<mailto:yves.jacolin at camptocamp.com>

http://www.camptocamp.com




--

Responsable Formation et Support

Camptocamp France SAS

Savoie Technolac, BP 352

73377 Le Bourget du Lac, Cedex

Tel (France) : +33 4 79 26 57 98

Mob. : +33 6 18 75 42 21

Fax : 04 79 70 15 81

Mail : yves.jacolin at camptocamp.com<mailto:yves.jacolin at camptocamp.com>

http://www.camptocamp.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120920/ccd18f4e/attachment.htm>


More information about the MapServer-users mailing list