[mapserver-users] Styling a WFS ? or not ?

Jörg Thomsen (WhereGroup) joerg.thomsen at wheregroup.com
Mon May 31 06:02:00 PDT 2021


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 <mapserver-users-bounces at lists.osgeo.org
> <mailto:mapserver-users-bounces at lists.osgeo.org>> *Puolesta *mathias
> cunault via mapserver-users
> *Lähetetty:* maanantai 31. toukokuuta 2021 13.21
> *Vastaanottaja:* mapserver-users at lists.osgeo.org
> <mailto:mapserver-users at lists.osgeo.org>
> *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
> //mathias.cunault at inrap.fr/ <mailto:mathias.cunault at inrap.fr>
> 
> 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
> mapserver-users at lists.osgeo.org
> 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	

joerg.thomsen at wheregroup.com
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



More information about the MapServer-users mailing list