Steve, of course my first question was if there were an issue with line
type layers.
But if this is not the problem maybe I've done something wrong in my
mapfile :-)
My application is buidt with apache2.0,php 4.4 and mapserver 4.6 in WinXP
Here are my mapfile sections:
  layer
    name "streets"
    type line
    status on
    CONNECTION "user=postgres password=postgres dbname=dbmap
host=localhost port=5432"
    CONNECTIONTYPE postgis
    data "the_geom FROM streets"
    footer "streets_footer.html"
    header "streets_header.html"
    LABELITEM "name"
    LABELMAXSCALE 6000
    CLASSITEM "pk_id"
    class
      size 2
      name "Strade"
      template "streets_query.html"
      symbol "dash_2"
      backgroundcolor 0 0 255
      color 0 0 255
      LABEL
        MINFEATURESIZE 40
        MINDISTANCE 150
        POSITION UC
        SIZE TINY
        BACKGROUNDCOLOR 0 0 255
        COLOR 255 255 255
      END
    end
  end
#------------------
  querymap
    color 255 255 0
    status ON
    style hilite
  end

Hope it can help
Thanks,
Maurizio

Reply via email to