[Mapserver-users] php_mapscript401 doesn't display points

Geoprogetti Informatica noti at ciaoweb.it
Thu May 20 08:52:19 PDT 2004


Hi all,
I updated my application from php_mapscript366 to php_mapscript401 in
win2000 server (IIS5).
401 version doesn't display point shapefile. When I set the reference to 366
version in my code, the point
shapefile returns in the map. Lines and polygons seem to work fine with both
versions.

This is the mapfile:

MAP
  NAME "test"
  STATUS ON
  #EXTENT 1316000 4034000 2310000 5241000
  EXTENT 1552554 4673500 1773000 4929127
  SIZE 600 600
  FONTSET fontset.txt
  SHAPEPATH "shape"
  IMAGECOLOR 255 255 255
  UNITS METERS
  SYMBOLSET    symbol.sym
#IMAGETYPE PNG
  WEB
    HEADER toscana_header.html
    TEMPLATE query.phtml
      FOOTER toscana_footer.html
    MINSCALE 10
    MAXSCALE 8500000
    IMAGEPATH "C:\inetpub\wwwroot\tmp\"
    IMAGEURL "/tmp/"
  END
REFERENCE
    STATUS ON
    IMAGE "ref.gif"
    SIZE 120 126
    EXTENT 1313238 4072162 2312138 5220403
      COLOR -1 -1 -1
      OUTLINECOLOR 255 0 0
END
SCALEBAR
      LABEL
        COLOR 0 0 0
    END
  STYLE 0
  SIZE 100 2
  BACKGROUNDCOLOR 200 200 200
  COLOR 0 0 0
  UNITS METERS
  INTERVALS 1
  TRANSPARENT FALSE
  STATUS TRUE
  IMAGECOLOR 255 255 221
END
QUERYMAP
    COLOR 255 255 0
    STATUS ON
    STYLE HILITE
END

LAYER
  NAME ""
  GROUP "test"
  TYPE POINT
  STATUS On
  DATA 'test'
  CLASSITEM 'Name'
  TEMPLATE "ttt.html"
  CLASS
    NAME "pp"
    EXPRESSION /./
    SYMBOL 'test'
    SIZE 12
  END
END

END


and this is the symbol.sym file:
....
SYMBOL
 TYPE pixmap
 IMAGE images/test.gif
 NAME "test"
 TRANSPARENT 100
END
....

Any help appreciated

Thanks

Valerio




More information about the MapServer-users mailing list