Symbols in 3.4.

Stephen Lime steve.lime at dnr.state.mn.us
Thu Feb 8 12:30:25 EST 2001


1) TTF line symbols are mean't as a way to annotate a line at regular intervals to create
effects like train tracks or weather symbols (fronts). They are not a replacement for normal
lines and are really just an experimental feature at this moment. I hope to polish them off
for the 3.5 release. At this point I have no fonts, other than a test font or two for distribution.

2) Using mapxy=shapes + a buffer or scale *should* work. I'll have a look.

3) I'm not sure why the error in 3.4, there were some implementation changes made in that
version that represent inline features using the same structures that hold any other shape
from shapefiles, SDE or whatever. There may be a bug in the code. However, there is an
error in your mapfile. There is no need to pre-define an empty feature. Remove the section:

FEATURE
   POINTS END
END

and see if that fixes things.

Steve

Stephen Lime
Internet Applications Analyst

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> "Stepan Kafka" <stepan.kafka at oku-kh.cz> 02/08/01 08:08AM >>>
 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