[mapserver-users] seeing labels along with grid lines

2016-09-19 Thread Ahmet Temiz
hi,
I just want to see labels along with grid lines. labels are displayed with
shp2 I got. But
Not in wms app.

Do you have any idea about disappearance of labels




LAYER
  NAME "grid3857"
  METADATA
"DESCRIPTION" "Grid"
  END
  TYPE LINE
  STATUS ON
  CLASS
NAME "Graticule"
COLOR 0 0 0
LABEL
  COLOR  255 0 0
  FONT "FreeSans"
  TYPE truetype
  SIZE 8
  POSITION AUTOOr cc
  PARTIALS FALSE
  BUFFER 2
  OUTLINECOLOR 255 255 255
END
  END
  PROJECTION
"init=epsg:3857"
  END
  GRID
LABELFORMAT '%.0fm'
MININTERVAL 20
  END
END # Layer


-- 
Ahmet Temiz
Jeoloji Müh.
Afet ve Acil Durum Yönetimi Başkanlığı
Bilgi İşlem  Dairesi Başkanlığı-CBS Grubu




Ahmet Temiz
Geological Eng.
Information Systems - GIS Group
Disaster and Emergency Management
of Presidency
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] creating (vector/svg) symbols dynamically with MapServer

2016-09-19 Thread Elias Wolf

Hello,

I am working on a WMS that deals with Inland Electronic Navigational 
Chart (IENC) data.
Most of its point features can be rendered by simple *.gif files in the 
map-file like that:


STYLE
SYMBOL 'foobar'
END

where 'foobar' is linked to a certain *.gif file.

This works fine. But now I want to create symbols that can't be rendered 
by simple gif-files,

because - in a way - they have to be dynamic. Let me explain what I need.

I want to create symbols like those two on the attached screenshot. 
These symbols consist of three parts:

- One Point in the center
- Two dashed lines that start at this centerpoint and point into certain 
directions
- A "part" of a circle, that is spanned between the two dashed lines 
(red on screenshot).




As you can see, the structure of those symbols is always the same, but 
depending on the angle of the dashed lines,
the symbols can look different (e.g. on the left symbol of the 
screenshot you can see the part of the circle very well,
whereas on the right side symbol the "circle" is just a tiny little area 
between the lines).
What should stay the same is the radius of the "part-circle" and the 
length of the dashed lines.


What I have:
- The coordinates of the center point
- The directions of the dashed lines (in degree)

Now, my question is, if it is possible to create these kind of symbols 
with Mapserver.

I'm thinking of SVG-Symbols or a combination of VECTOR Symbols like that:

SYMBOL
NAME 'square'
TYPE VECTOR
FILLED TRUE
POINTS
0 0
0 2
2 2
2 0
0 0
END
END

If anyone got an idea, I would really appreciate it :-)

Thanks in advance.
Elias
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users