[mapserver-users] confused on styling polygon

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Tue Nov 8 00:29:55 PST 2016


Hi,

I could make it to show by removing WIDTH 5.  Mapserver obviously did not like to see it in that place because the error from the server was

loadClass(): Unknown identifier. Parsing error near (WIDTH):(line 43)

By reading the documentation I do not quite understand what WIDTH should do with your diagonal-auf2 symbol, but I think it should do something, or then nothing, but not to lead to loadClass error. Perhaps you have found a bug.

-Jukka Rahkonen-

Lähettäjä: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Ahmet Temiz
Lähetetty: 8. marraskuuta 2016 9:47
Vastaanottaja: mapserver-users <mapserver-users at lists.osgeo.org>
Aihe: [mapserver-users] confused on styling polygon

Hi,
I think I am confused on styling polygon.
I normally displayed the map without using symbol. When
I used symbol. Nothing is displayed.

here is the relevant code.


  STATUS OFF
  TYPE POLYGON
  OPACITY 80
  CLASS
     STYLE
           SYMBOL "diagonal-auf2"
           COLOR 0 0 252
           SIZE 10
           WIDTH 5
     END
  END

​SYMBOL
  NAME "diagonal-auf2"
  TYPE vector
  POINTS
    0 0.8
    0.2 1
    1 0.2
    0.8 0
    0 0.8
  END
  FILLED TRUE
END
​
What am I doing wrong?

regards

--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20161108/31a4a8b1/attachment.htm>


More information about the MapServer-users mailing list