BUT... (more as an anwser to jeff): Mathias is right, WFS needs no style information on server-side.
The wohle class-section of the example is not necessary (useless if only used für wfs-requests). shp2img might use it but a wfs-request doesn't and a wms-request should not work, because the examples only configures a wfs. (or is it me woh is confused?) Jörg Am 31.05.21 um 14:40 schrieb Rahkonen Jukka (MML) via mapserver-users: > Hi, > > > > Mapserver can serve a layers through different services. STYLE is not > for WFS but it can be used in &mode=map or in the WMS service. > > > > Similarly Geoserver can deliver GML data > http://demo.geo-solutions.it/geoserver/topp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=topp:states&maxFeatures=50 > <http://demo.geo-solutions.it/geoserver/topp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=topp:states&maxFeatures=50> > > > > or the same data as styled through WMS > > http://demo.geo-solutions.it/geoserver/topp/wms?service=WMS&version=1.1.0&request=GetMap&layers=topp:states&styles=&bbox=-124.73142200000001,24.955967,-66.969849,49.371735&width=768&height=330&srs=EPSG:4326&format=application/openlayers > <http://demo.geo-solutions.it/geoserver/topp/wms?service=WMS&version=1.1.0&request=GetMap&layers=topp:states&styles=&bbox=-124.73142200000001,24.955967,-66.969849,49.371735&width=768&height=330&srs=EPSG:4326&format=application/openlayers> > > > > -Jukka Rahkonen- > > > > > > *Lähettäjä:* mapserver-users <[email protected] > <mailto:[email protected]>> *Puolesta *mathias > cunault via mapserver-users > *Lähetetty:* maanantai 31. toukokuuta 2021 13.21 > *Vastaanottaja:* [email protected] > <mailto:[email protected]> > *Aihe:* [mapserver-users] Styling a WFS ? or not ? > > > > Hello, > > It seems that styling a WFS is nonsense according to what I found on the > net (?). And I couldn't do it until now. But in Mapserver doc there is > an example with a WFS and a style > https://www.mapserver.org/ogc/wfs_server.html > <https://www.mapserver.org/ogc/wfs_server.html>. > > So I am a bit confused : is there a way to stylize a WFS layer or I > misunderstand the doc ? > > Thanks > > > -- > > /----------/ > > /Mathias Cunault/ > > /référent SIG / Admin Caviar > Inrap Tours - 148 av. Maginot > 37000 TOURS > 06 32 05 98 96 > //[email protected]/ <mailto:[email protected]> > > www.inrap.fr <http://www.inrap.fr> > abonnez-vous à la lettre d'information de l'Inrap : > http://www.inrap.fr/newsletter.php <http://www.inrap.fr/newsletter.php> > > > _______________________________________________ > mapserver-users mailing list > [email protected] > https://lists.osgeo.org/mailman/listinfo/mapserver-users > Viele Grüße, Jörg Thomsen -- ---------------------------------------------------- Aufwind durch Wissen! Web-Seminare und Online-Schulungen bei der www.foss-academy.com ---------------------------------------------------- Jörg Thomsen WhereGroup GmbH Bundesallee 23 10717 Berlin Germany Fon: +49 (0)30 / 5130 278 74 Fax: +49 (0)30 / 5130 278 11 [email protected] www.wheregroup.com Geschäftsführer: Olaf Knopp, Peter Stamm Amtsgericht Bonn, HRB 9885 ------------------------------- Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com _______________________________________________ mapserver-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-users
