Re: [mapserver-users] probleme mapserver 5.x tutorial
Hi: In that particular example the states label layer should become: LAYER # States label layer begins here NAME states DATA states_ugl STATUS OFF TYPE POLYGON PROJECTION "init=epsg:4326" END CLASSITEM"CLASS" LABELITEM"STATE" CLASS EXPRESSION 'land' LABEL COLOR 132 31 31 OUTLINECOLOR 128 128 128 SHADOWCOLOR 218 218 218 SHADOWSIZE 1 1 TYPE TRUETYPE FONT arial-bold SIZE 12 ANTIALIAS TRUE POSITION CL PARTIALS FALSE MINDISTANCE 200 BUFFER 4 END # end of label END # end of class END # States label layer ends here The reason you might want to use a label style is for something like drawing a road shield paired with a road number but that’s not necessary in this particular case. We really do need to update the demo and tutorials for 7.0 and newer versions. The changes are minor but can be frustrating for a new user. Please feel free to reach out as often as you need and I’ll do my best to help! --Steve From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Bogui Yannick Dogne Sent: Monday, February 25, 2019 10:02 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] probleme mapserver 5.x tutorial hello I am really new on mapserver. I started learning through the tutorial but I am stuck on section 1 example 1-9 which does not appear in my browser: Annotation Layers have been removed. To obtain same functionality, use a layer with label->styles and no class->styles. this also applies to section 2 I did some research but I still do not understand how to do it. should you change the annotation block or just add a style in label, if you have some examples and also anything that could help me learn better mapserver. thank you so much ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Order of layers
Dear All, I'm working on project for which maps in different scales are delivered by customer. Higher scale means more details but less coverage. Output can have glitches but it cannot have any gaps (it should works in similar way like in opencpn - high detailed maps shadow less detailed but at the same moment you can enable and disable groups of layers). So having layers like that: LAYER (GROUP "WATER", NAME "WATERBIG", COMPOP src-over) LAYER (GROUP "LAND", NAME "LANDBIG", COMPOP src-over) LAYER (GROUP "TREES", NAME "TREESBIG", COMPOP src-over) LAYER (GROUP "WATER", NAME "WATERMID", COMPOP src-over) LAYER (GROUP "LAND", NAME "LANDMID", COMPOP src-over) LAYER (GROUP "TREES", NAME "TREESMID", COMPOP src-over) LAYER (GROUP "WATER", NAME "WATERSMALL", COMPOP src-over) LAYER (GROUP "LAND", NAME "LANDSMALL", COMPOP src-over) LAYER (GROUP "TREES", NAME "TREESSMALL", COMPOP src-over) I'd have output in which: MID replaces BIG within its EXTENT (completely both transparent and non-transparent pixels) SMALL replaces BIG and MID within its EXTENT (completely both transparent and non-transparent pixels) But I'm having problem to force reset some EXTENT to transparent color. Someting like: LAYER (GROUP "WATER", NAME "WATERBIG", COMPOP src-over) LAYER (GROUP "LAND", NAME "LANDBIG", COMPOP src-over) LAYER (GROUP "TREES", NAME "TREESBIG", COMPOP src-over) LAYER (GROUP "RESET", NAME "RESETMID", COMPOP ??? - what to put here to have precalcuated EXTENT (not whole buffer) of render buffer to reset to transparent LAYER (GROUP "WATER", NAME "WATERMID", COMPOP src-over) LAYER (GROUP "LAND", NAME "LANDMID", COMPOP src-over) LAYER (GROUP "TREES", NAME "TREESMID", COMPOP src-over) Is it possible to achieve with MapServer using GROUP attribute and some kind reset extent layer? Regards, Marek ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] probleme mapserver 5.x tutorial
hello I am really new on mapserver. I started learning through the tutorial but I am stuck on section 1 example 1-9 which does not appear in my browser: Annotation Layers have been removed. To obtain same functionality, use a layer with label->styles and no class->styles.this also applies to section 2I did some research but I still do not understand how to do it. should you change the annotation block or just add a style in label, if you have some examples and also anything that could help me learn better mapserver. thank you so much ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users