[mapserver-users] layer with "truncated" symbols

mathias cunault mathias.cunault at inrap.fr
Wed Mar 18 03:57:26 PDT 2020


Issue solved. Thanks.
Indeed I set an extent in the layer, in addition to and larger than the MAP
one.
I tried this before but forgot to reload getCapabilities.
(So maybe it was good before :/)

Le mer. 18 mars 2020 à 11:22, Jörg Thomsen (WhereGroup) <
joerg.thomsen at wheregroup.com> a écrit :

> Hello Mathias,
>
> I suppose you are right. Try to define the extent bigger. It looks as if
> the circles are cut by the extent of the whole wms.
> QGIS only requstes WMS-maps for the extent it finds in the Capabilities
> (it's a feature to avoid useless traffic).
> Following up to this, you will have to reload the Layer in QGIS (only
> panning the map has no effect), QGIS must request the capabilities with
> the new extent.
>
> Jörg
>
> Am 18.03.20 um 11:04 schrieb Leehan:
> > Hello,
> >
> > I want to display a layer with symbol TYPE ELLIPSE.
> > SIZE depends on an attribute.
> > When loading the layer in Qgis, symbols are "cut" by, I guess, the
> extent of
> > the layer (?). But I can't fix it.
> >
> > LAYER
> >       NAME "nombre de cas"
> >       TYPE POINT
> >       PROJECTION
> >               "init=epsg:2154"
> >       END
> >       CONNECTIONTYPE POSTGIS
> >       CONNECTION ...
> >       DATA "geom from ...
> >       SIZEUNITS KILOMETERS
> >       CLASS
> >               STYLE
> >                       SYMBOL "isolat"
> >                       SIZE [nb_cas]
> >                       COLOR 255 150 0
> >               END #fin style
> >               STYLE #just to see what's happening
> >                       SYMBOL "isolat"
> >                       WIDTH 50
> >                       OUTLINECOLOR 255 0 0
> >               END #fin style
> >       END #fin class unique
> >       METADATA
> >               "wms_title" "nombre de cas"
> >       END
> > ENDa
> >
> > <http://osgeo-org.1560.x6.nabble.com/file/t372757/Capture.png>
> >
> > Thanks for help.
> >
> >
> >
> >
> > --
> > Sent from:
> http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
>
>
> Viele Grüße,
> Jörg Thomsen
>
> --
>
> 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
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users



-- 
*----------*
*Mathias Cunault*

*référent SIG / Admin Caviar*


*Inrap Tours - 148 av. Maginot37000 TOURS06 32 05 98
96mathias.cunault at inrap.fr <mathias.cunault at inrap.fr>*
www.inrap.fr
abonnez-vous à la lettre d'information de l'Inrap :
http://www.inrap.fr/newsletter.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20200318/490f0aef/attachment.html>


More information about the mapserver-users mailing list