Symbols in 3.4.

Stepan Kafka stepan.kafka at oku-kh.cz
Thu Feb 8 06:08:26 PST 2001


 Dear mapserver users!

I have several problems:

1. I tried new truetype line symbol support in 3.4. version, but the result
wasn't too nice (standard Arial "-" for dashed lines). Steve you wrote about
special truetype font for line features. It is possible to get it? Or what
is the solution?

2. With ITEMQUERY mode and using MAPEXT=SHAPE I would like to show the
result on certain scale, but BUFFER or SCALE parameter does nothing. I tried
the MAPXY=SHAPE, but with the same result. With point layers the result is
not usable.

3. In version 3.010 I use inline features this way:

In map file:
LAYER
  NAME 'pin'
  TYPE Point
  STATUS default
  FEATURE
    POINTS END
  END
  CLASS
    SYMBOL 8
    SIZE 10
    LABEL
      TYPE truetype
      POSITION cr
      OFFSET -5 0
      FONT arial
      SIZE 8
      COLOR 0 0 0
      BACKGROUNDCOLOR 255 255 220
    END #Label
 END  # CLASS
END  # LAYER

and thru CGI I call:
...&map_pin_feature_poits=-683920+-1065907&map_feature_text=something&....

It works well, but in 3.4. version I get error message "internal server
error". Where is the mistake?

Here is full URL:
http://www.oku-kh.cz/cgi-bin/mapserv?s=i&zoomdir=1&imgxy=&mapext=-686657+-10
68138+-681184+-1063676&imgext=-715708.120401+-1093562.000000+-661129.879599+
-1057286.000000&map=%2F%2Fhome%2Fhttpd%2Fhtml%2Fgis%2Fprojekt%2Ftopo.map&mod
e=browse&map_pin_feature_points=-683920.5+-1065907&map_pin_feature_text=&map
_web_template=topo.html&zoomsize=2&mapsize=450+300&qlayer=domy&layer=siln&la
yer=zelez&layer=cesty&layer=hran_l&layer=vrst10&layer=vodp&layer=vodl&layer=
mokriny&layer=les&layer=sidla

Thank you

Stepan Kafka





More information about the MapServer-users mailing list