[mapserver-users] layer with "truncated" symbols

Jörg Thomsen (WhereGroup) joerg.thomsen at wheregroup.com
Wed Mar 18 03:22:37 PDT 2020


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


More information about the mapserver-users mailing list