[mapserver-users] 3.5 Demo File Changes

Stephen Lime steve.lime at dnr.state.mn.us
Thu Dec 6 09:22:59 PST 2001


There is a working 3.5 demo at http://maps.dnr.state.mn.us/mapserver_demos/itasca.tar.gz

Steve

Stephen Lime
Data & Applications Manager

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

>>> Stephen Woodbridge <woodbri at swoodbridge.com> 12/06/01 09:24AM >>>
Hi all,

I just downloaded 3.5 and built it, but could find a working demo file
so here are the changes I had to make to 3.3.11 demo download to get it
to work with 3.5. I hope this helps others trying to get started.  

Is there someone that would be interested in taking these changes and
updating the MapServer site with a working 3.5 demo download? Please
contact me.

ALSO: What changes do I need to make to get the QUERY stuff to work
again?

-Steve

[woodbri at linus ms_demo]$ diff demo.map
/home/httpd/html/web2/ms_demo_3.5/
7,9c7,10
< SHADESET symbols/shade.sym
< MARKERSET symbols/marker.sym
< LINESET symbols/line.sym
---
> ####SHADESET symbols/shade.sym
> ####MARKERSET symbols/marker.sym
> ####LINESET symbols/line.sym
> SYMBOLSET symbols/symbol.sym
18,24c19,25
< #PROJECTION
< #  "proj=utm"
< #  "ellps=GRS80"
< #  "zone=15"
< #  "north"
< #  "no_defs"
< #END
---
> PROJECTION
>   "proj=utm"
>   "ellps=GRS80"
>   "zone=15"
>   "north"
>   "no_defs"
> END
35,36c36,37
<   IMAGEPATH "/usr/local/apache/htdocs/tmp/"
<   IMAGEURL "/tmp/"
---
>   IMAGEPATH "/home/httpd/html/web2/tmp/"
>   IMAGEURL "/web2/tmp/"
51c52,53
<   IMAGE graphics/reference.gif
---
> #  IMAGE graphics/reference.gif
>   IMAGE graphics/reference.png
76c78
<   IMAGECOLOR 255 255 255
---
>   IMAGECOLOR 0 0 0
87c89
<   STATUS TRUE
---
>   STATUS ON
128c130
<   TYPE POLYLINE
---
>   TYPE POLYGON
135c137
<     COLOR 181 181 145
---
>     OUTLINECOLOR 181 181 145
152,154c154,156
<   QUERY
<     TEMPLATE "lakespy2.html"
<   END
---
> ###  QUERY
> ###    TEMPLATE "lakespy2.html"
> ###  END
172,174c174,176
<   QUERY
<     TEMPLATE "dlgstln2.html"
<   END
---
> ###  QUERY
> ###    TEMPLATE "dlgstln2.html"
> ###  END

And here is the symbol.sym file

[woodbri at linus ms_demo_3.5]$ cat symbols/symbol.sym
Symbol
Name 'tent'
Type VECTOR
Filled TRUE
Points
0 1
.5 0
1 1
.75 1
.5 .5
.25 1
0 1
END
END

Symbol
Name 'star'
Type VECTOR
Filled TRUE
Points
0 .375
.35 .375
.5 0
.65 .375
1 .375
.75 .625
.875 1
.5 .75
.125 1
.25 .625
END
END

Symbol
Name 'triangle'
Type VECTOR
Filled TRUE
Points
0 1
.5 0
1 1
0 1
END
END

Symbol
Name 'square'
Type VECTOR
Filled TRUE
Points
0 1
0 0
1 0
1 1
0 1
END
END

Symbol
Name 'plus'
Type VECTOR
Points
.5 0
.5 1
-99 -99
0 .5
1 .5
END
END

Symbol
Name 'cross'
Type VECTOR
Points
0 0
1 1
-99 -99
0 1
1 0
END
END

Symbol
Name 'circle'
Type ELLIPSE
Filled TRUE
Points
1 1
END
END


Symbol
Type VECTOR
TRANSPARENT 0
Points
0 1
1 1
END
END

Symbol
Type VECTOR
TRANSPARENT 0
Points
1 0
1 1
END
END

Symbol
Type VECTOR
TRANSPARENT 0
Points
0 0
1 1
END
END

Symbol
Type VECTOR
TRANSPARENT 0
Points
0 1
1 0
END
END

Symbol
Type VECTOR
Points
0 1
1 0
-99 -99
0 0
1 1
END
END

Symbol
Type ELLIPSE
Filled TRUE
Points
1 1
END
END

  Symbol
    Name 'interstate_shield'
    Type PIXMAP
#    Image 'images/interstate.gif'
    Image 'images/interstate.png'
    Transparent 7
  END

  Symbol
    Name 'us_highway_shield'
    Type PIXMAP
#    Image 'images/ushwy.gif'
    Image 'images/ushwy.png'
    Transparent 1
  END

  Symbol
    Name 'state_highway_shield'
    Type PIXMAP
#    Image 'images/sthwy.gif'
    Image 'images/sthwy.png'
  END

  Symbol
    Name 'county_highway_shield'
    Type PIXMAP
#    Image 'images/ctyhwy.gif'
    Image 'images/ctyhwy.png'
    Transparent 0
  END




More information about the MapServer-users mailing list