<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=514335813-16052006><FONT face=Arial
color=#0000ff size=2>J.F. -</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=514335813-16052006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=514335813-16052006><FONT face=Arial
color=#0000ff size=2>I was with you all the way until you mentioned operating
systems! There's no reason to think that Zhonghai's operating system is at
all related to his problem, and it's dangerous to propagate operating system
myths. I run lots of MapServer machines on Windows and Linux (mostly
Linux) and I cannot find any evidence (after 5 years or so) that there's
any difference worth thinking about on identical hardware.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=514335813-16052006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=514335813-16052006><FONT face=Arial
color=#0000ff size=2>If you can show me a MapServer test with identical
configurations on identical hardware showing statistically significant
differences in performance when running Window vs. Linux, I'd love to see the
details.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=514335813-16052006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=514335813-16052006> <FONT
face=Arial color=#0000ff size=2>- Ed</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=514335813-16052006><!-- Converted from text/plain format -->
<P><FONT size=2>Ed McNierney<BR>President and Chief Mapmaker<BR>TopoZone.com /
Maps a la carte, Inc.<BR>73 Princeton Street, Suite 305<BR>North Chelmsford,
MA 01863<BR>Phone: +1 (978) 251-4242<BR>Fax: +1 (978)
251-1396<BR>ed@topozone.com</FONT> </P></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> UMN MapServer Users List
[mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>Doyon,
Jean-Francois<BR><B>Sent:</B> Tuesday, May 16, 2006 9:53 AM<BR><B>To:</B>
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> Re: [UMN_MAPSERVER-USERS] how
to speed up MapServer performance?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=474424413-16052006><FONT face=Arial><FONT
color=#0000ff><FONT size=2>Zhonghai,</FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=474424413-16052006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=474424413-16052006><FONT face=Arial
color=#0000ff size=2>You have the one big data set in there, which is the
roads. If you're trying to display ALL the data in the one map, all at
once, then 3 secs isn't all that bad, considering you have 60 megs of data to
work through.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=474424413-16052006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=474424413-16052006><FONT face=Arial
color=#0000ff size=2>You may want to consider generalizing the data for viewing
at different scales.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=474424413-16052006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=474424413-16052006><FONT face=Arial><FONT
color=#0000ff><FONT size=2>The fileformat itself will create a tiny bit of an
impact, since it all goes through OGR, for "raw" speed, use shapefiles<SPAN
class=368004813-16052006> , indexed with .qix
...</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=474424413-16052006><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN
class=368004813-16052006></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=474424413-16052006><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN class=368004813-16052006>The MapServer CGI is
about the fastest mapping engine you'll find out there, open source or
commercial!</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=474424413-16052006><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN
class=368004813-16052006></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=474424413-16052006><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN class=368004813-16052006>Also, what's the
hardware like? Notably disk IO?</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=474424413-16052006><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN
class=368004813-16052006></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=474424413-16052006><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN class=368004813-16052006>Also, I'm sorry,
but I must ask :) Does it have to be windows? On Windows,
processes are quite expensive, which includes CGI ... this isn't the case on
Linux, where processes are cheap, and threads are expensive. Also, Linux
tends to cache things better in my
experience.</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=474424413-16052006><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN
class=368004813-16052006></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=474424413-16052006><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN class=368004813-16052006>If you're using WMS, I
think there's a FastCGI interface you could try using, though I'm not sure how
mature it is.</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=474424413-16052006><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN
class=368004813-16052006></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=474424413-16052006><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN
class=368004813-16052006>J.F.</SPAN></FONT></FONT></FONT></SPAN><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> UMN MapServer Users List
[mailto:MAPSERVER-USERS@lists.umn.edu] <B>On Behalf Of </B>Zhonghai
Wang<BR><B>Sent:</B> May 16, 2006 4:09 AM<BR><B>To:</B>
MAPSERVER-USERS@lists.umn.edu<BR><B>Subject:</B> Re: [UMN_MAPSERVER-USERS] how
to speed up MapServer performance?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi my friends,</DIV>
<DIV> </DIV>
<DIV>I am really very thankful for all your information, I am a newbie in
MapServer.</DIV>
<DIV> </DIV>
<DIV>here is the data amount that I am using for the application:</DIV>
<DIV>(all the source data is MapInfo format, and what I calculated is the ".MAP"
file)</DIV>
<DIV> </DIV>
<DIV>1. boundaries -- 388 KB</DIV>
<DIV>2. forests -- 9163 KB</DIV>
<DIV>3. lakes -- 26 KB</DIV>
<DIV>4. city parks -- 25 KB</DIV>
<DIV>5. settlement -- 2279 KB</DIV>
<DIV>6. rivers -- 1653 KB</DIV>
<DIV>7. road networks -- 56370 KB</DIV>
<DIV>8. railway -- 1343 KB</DIV>
<DIV>9. train station -- 27 KB</DIV>
<DIV>10 bus station -- 2 KB</DIV>
<DIV>11. tourist centers -- 9 KB</DIV>
<DIV>12. theaters -- 6 KB</DIV>
<DIV>13. shopping center -- 7 KB</DIV>
<DIV>14. city location -- 9 KB</DIV>
<DIV> </DIV>
<DIV>*****</DIV>
<DIV>and here is how I am symbolizing the layers, mapfile for all these
layers:</DIV>
<DIV> </DIV>
<DIV>***</DIV>
<DIV>LAYER<BR> NAME "Country"<BR> STATUS
DEFAULT<BR> TYPE POLYGON<BR> CONNECTIONTYPE
OGR<BR> CONNECTION "CA_NAV_COUNTRY.TAB"<BR>
TRANSPARENCY 40<BR> DEBUG ON<BR>
PROJECTION<BR> "init=epsg:4326"
<BR> END<BR>
CLASS<BR> #NAME
"Boundaries"<BR>
STYLE<BR> SYMBOL
0<BR> COLOR 155 155
155<BR> OUTLINECOLOR 155 155
155<BR> BACKGROUNDCOLOR 255 255 255
<BR> END<BR> END<BR>
END<BR> LAYER<BR> NAME "lakes"<BR>
STATUS DEFAULT<BR> TYPE POLYGON<BR>
CONNECTIONTYPE OGR<BR> CONNECTION
"CA_NAV_LAKE.TAB"<BR> DEBUG ON<BR>
PROJECTION <BR> "init=epsg:4326"
<BR> END<BR>
CLASS<BR> NAME
"Lake"<BR>
STYLE<BR> COLOR 102 153
255<BR> END<BR> END<BR>
END<BR> LAYER<BR> NAME "woodland"<BR>
STATUS DEFAULT <BR> TYPE POLYGON<BR>
CONNECTIONTYPE OGR<BR> CONNECTION
"CA_NAV_WOODLAND_G.TAB"<BR> DEBUG ON<BR>
PROJECTION<BR> "init=epsg:4326"
<BR> END<BR>
CLASS<BR> NAME "woodland"
<BR>
STYLE<BR> COLOR 0 185
92<BR> END<BR> END<BR>
END<BR> LAYER<BR> NAME "woodland"<BR>
STATUS DEFAULT<BR> TYPE POLYGON<BR>
CONNECTIONTYPE OGR<BR> CONNECTION "CA_NAV_WOODLAND.TAB"
<BR> MAXSCALE 100000<BR> #LABELITEM
"Street_Label"<BR> #SYMBOLSCALE 50000<BR>
#LABELMAXSCALE 80000<BR>
PROJECTION<BR> "init=epsg:4326"
<BR> END<BR>
CLASS<BR> NAME "woodland"
<BR>
STYLE<BR> COLOR 0 185
92<BR> END<BR> END<BR>
END<BR> LAYER<BR> NAME "city
parks"<BR> STATUS DEFAULT<BR> TYPE
POLYGON<BR> CONNECTIONTYPE OGR<BR>
CONNECTION "CA_NAV_CITY_PARK.TAB" <BR>
PROJECTION<BR> "init=epsg:4326"
<BR> END<BR>
CLASS<BR> NAME
"Park"<BR>
STYLE<BR> SYMBOL
0<BR> COLOR 233 254
205<BR> END<BR> END<BR>
END <BR> LAYER<BR> NAME
"settlement"<BR> STATUS DEFAULT<BR> TYPE
POLYGON<BR> #CLASSITEM "Area"<BR>
CONNECTIONTYPE OGR<BR> CONNECTION
"CA_NAV_BUILT_UP_AREA.TAB"<BR> MAXSCALE
800000<BR> #LABELITEM "Street_Label" <BR>
#SYMBOLSCALE 80000<BR> #LABELMAXSCALE
120000<BR> PROJECTION<BR>
"init=epsg:4326" <BR> END<BR>
CLASS<BR> NAME
"settlement"<BR> #EXPRESSION
([Area]>20000)<BR> STYLE
<BR> COLOR 207 207
158<BR> END<BR> END<BR>
END<BR> LAYER<BR> NAME "rivers"<BR>
STATUS DEFAULT<BR> TYPE POLYGON<BR>
CONNECTIONTYPE OGR<BR> CONNECTION "CA_NAV_WATERWYS.TAB"
<BR> MAXSCALE 800000<BR>
PROJECTION<BR> "init=epsg:4326"
<BR> END<BR>
CLASS<BR> NAME
"river"<BR>
STYLE<BR> COLOR 102 153
255<BR> END<BR> END<BR>
END<BR> LAYER <BR> NAME "street50"<BR>
STATUS DEFAULT<BR> TYPE LINE<BR>
CONNECTIONTYPE OGR<BR> CONNECTION
"CA_NAV_S50.TAB"<BR> MAXSCALE 40000<BR>
LABELITEM "Street_Label"<BR> SYMBOLSCALE 5000
<BR> LABELMAXSCALE 20000<BR>
PROJECTION<BR> "init=epsg:4326"
<BR> END<BR>
CLASS<BR> NAME "Street
50"<BR>
LABEL<BR> # must be in your
FONTSET<BR> TYPE
TRUETYPE<BR> FONT
"vera"<BR> SIZE
8<BR> MINSIZE
2<BR> MAXSIZE
8<BR> ANGLE
AUTO<BR> POSITION
CC<BR> OFFSET 0 0
<BR> COLOR 0 0
255<BR> MINFEATURESIZE
AUTO<BR> BUFFER 0
<BR> END<BR>
STYLE<BR> SYMBOL
"point"<BR> SIZE
8<BR> MINSIZE
1<BR> MAXSIZE
8<BR> COLOR 255 255
255<BR> END<BR> END<BR>
END<BR> LAYER<BR> NAME "oneway" <BR>
STATUS DEFAULT<BR> TYPE LINE<BR>
CONNECTIONTYPE OGR<BR> CONNECTION
"CA_NAV_ONEWAY.TAB"<BR> MAXSCALE 40000<BR>
SYMBOLSCALE 5000<BR>
PROJECTION<BR> "init=epsg:4326"
<BR> END <BR>
CLASS<BR> NAME
"Oneway" <BR>
STYLE<BR> SYMBOL
"oneway"<BR> SIZE
8<BR> MINSIZE
1<BR> MAXSIZE
8<BR> COLOR 255 51
0<BR> END<BR> END<BR> END
<BR> LAYER<BR> NAME "street40"<BR>
STATUS DEFAULT<BR> TYPE LINE<BR>
CONNECTIONTYPE OGR<BR> CONNECTION
"CA_NAV_S40.TAB"<BR> MAXSCALE 100000<BR>
LABELITEM "Street_Label"<BR> SYMBOLSCALE
15000<BR> LABELMAXSCALE 30000<BR> LABELCACHE
ON<BR> PROJECTION<BR>
"init=epsg:4326" <BR> END<BR>
CLASS<BR> NAME "Street
40"<BR>
LABEL<BR> # must be in the FONTSET
<BR> TYPE
TRUETYPE<BR> FONT
"vera"<BR> SIZE
9<BR> MINSIZE
2<BR> MAXSIZE
9<BR> ANGLE
AUTO<BR> POSITION
CC<BR> OFFSET 0 0
<BR> COLOR 0 0
255<BR> MINFEATURESIZE 20
<BR> BUFFER
0<BR> END<BR>
STYLE<BR> SYMBOL
"point"<BR> SIZE
10<BR> MINSIZE
3<BR> MAXSIZE
10<BR> COLOR 160 160
160<BR> ANTIALIAS
TRUE<BR> END<BR>
STYLE <BR> SYMBOL
"point"<BR> SIZE
8<BR> MINSIZE
1<BR> MAXSIZE
8<BR> COLOR 255 255
255<BR> ANTIALIAS
TRUE<BR> END<BR> END<BR>
END<BR> LAYER<BR> NAME "street30" <BR>
STATUS DEFAULT<BR> TYPE LINE<BR>
CONNECTIONTYPE OGR<BR> CONNECTION
"CA_NAV_S30.TAB"<BR> MAXSCALE 250000<BR>
LABELITEM "Street_Label"<BR> SYMBOLSCALE
40000<BR> LABELMAXSCALE 120000 <BR>
LABELCACHE ON<BR> PROJECTION<BR>
"init=epsg:4326" <BR> END<BR>
CLASS<BR> NAME "Street
30"<BR>
LABEL<BR> # must be in your
FONTSET<BR> TYPE
TRUETYPE<BR> FONT "vera"
<BR> SIZE
9<BR> MINSIZE
2<BR> MAXSIZE
9<BR> ANGLE
AUTO<BR> POSITION
CC<BR> OFFSET 0 0
<BR> COLOR 0 0
255<BR> MINFEATURESIZE
30<BR> #MINDISTANCE
10<BR> BUFFER 0
<BR> END<BR>
STYLE<BR> SYMBOL
"point"<BR> SIZE
10<BR> MINSIZE
3<BR> MAXSIZE
10<BR> COLOR 160 160
160<BR> END<BR>
STYLE<BR> SYMBOL
"point"<BR> SIZE
8<BR> MINSIZE
1<BR> MAXSIZE
8<BR> COLOR 255 204
51<BR> END<BR> END<BR>
END<BR> LAYER<BR> NAME "railway"<BR>
STATUS DEFAULT<BR> TYPE LINE<BR>
CONNECTIONTYPE OGR <BR> CONNECTION
"CA_NAV_RAILRDS.TAB"<BR> MAXSCALE 8000<BR>
SYMBOLSCALE 4000<BR>
PROJECTION<BR> "init=epsg:4326"
<BR> END<BR>
CLASS<BR> NAME
"railway"<BR> SYMBOL 'point'
<BR> COLOR 0 0
0<BR> SIZE
5<BR> MINSIZE
1<BR> MAXSIZE
5<BR> OVERLAYSYMBOL
"dashedline"<BR> OVERLAYCOLOR 255 255
255<BR> OVERLAYSIZE
3<BR> OVERLAYMINSIZE
0<BR> OVERLAYMAXSIZE
3 <BR> END<BR>
END<BR> LAYER<BR> NAME "street20"<BR>
STATUS DEFAULT<BR> TYPE LINE<BR>
CONNECTIONTYPE OGR<BR> CONNECTION
"CA_NAV_S20.TAB"<BR> MAXSCALE 900000 <BR>
LABELITEM "Street_Label"<BR> SYMBOLSCALE
100000<BR> LABELMAXSCALE 430000<BR>
LABELCACHE ON<BR> PROJECTION<BR>
"init=epsg:4326" <BR> END<BR>
CLASS<BR> NAME "Street 20"
<BR>
LABEL<BR> # must be in your
FONTSET<BR> TYPE
TRUETYPE<BR> FONT
"vera"<BR> SIZE
9<BR> MINSIZE
1<BR> MAXSIZE
9<BR> ANGLE
AUTO<BR> POSITION
CC<BR> OFFSET 0 0
<BR> COLOR 0 0
255<BR> MINFEATURESIZE
50<BR> #MINDISTANCE
10<BR> BUFFER
0<BR> END<BR>
STYLE<BR> SYMBOL
"point"<BR> SIZE
10<BR> MINSIZE
3<BR> MAXSIZE 10
<BR> COLOR 160 160
160<BR> END<BR>
STYLE<BR> SYMBOL
"point"<BR> SIZE
8<BR> MINSIZE
1<BR> MAXSIZE
8<BR> COLOR 247 193
157<BR> END<BR> END<BR>
END<BR> LAYER <BR> NAME "street10"<BR>
STATUS DEFAULT<BR> TYPE LINE<BR>
CONNECTIONTYPE OGR<BR> CONNECTION
"CA_NAV_S10_O.TAB"<BR> MAXSCALE 1700000<BR>
LABELITEM "Street_Label"<BR> SYMBOLSCALE 400000
<BR> LABELMAXSCALE 500000<BR>
PROJECTION<BR> "init=epsg:4326"
<BR> END<BR>
CLASS<BR> NAME "Street
10"<BR>
LABEL<BR> # must be in your
FONTSET<BR> TYPE
TRUETYPE<BR> FONT
"vera"<BR> SIZE
8<BR> MINSIZE
1<BR> MAXSIZE
8<BR> ANGLE
AUTO<BR> POSITION
CC<BR> OFFSET 0 0
<BR> COLOR 255 0
0<BR> BACKGROUNDCOLOR 153 204
153<BR> MINFEATURESIZE
AUTO<BR> MINDISTANCE
200<BR> BUFFER
1<BR> END<BR>
STYLE<BR> SYMBOL
"point"<BR> SIZE
10<BR> MINSIZE
3<BR> MAXSIZE
10<BR> COLOR 255 0 0
<BR> END<BR>
STYLE<BR> SYMBOL
"point"<BR> SIZE
6<BR> MINSIZE
1<BR> MAXSIZE
6<BR> COLOR 255 255
0<BR> END<BR> END<BR>
END<BR> LAYER<BR> NAME "train station"
<BR> STATUS OFF<BR> TYPE
POINT<BR> CONNECTIONTYPE OGR<BR> CONNECTION
"CA_NAV_TRAIN_STATION.TAB"<BR> MAXSCALE
10000<BR> #LABELITEM "Label"<BR> SYMBOLSCALE
1000<BR> LABELMAXSCALE 5000 <BR>
PROJECTION<BR> "init=epsg:4326"
<BR> END<BR>
CLASS<BR> NAME "Train
station"<BR>
LABEL<BR> TYPE
TRUETYPE<BR> FONT
"vera"<BR> SIZE
8<BR> MINSIZE 2
<BR> MAXSIZE
8<BR> ANGLE
AUTO<BR> POSITION
UC<BR> OFFSET 0
0<BR> END<BR>
STYLE<BR> SYMBOL
"triangle"<BR> COLOR 153 0
0<BR> SIZE
8<BR> MINSIZE
3<BR> MAXSIZE
8<BR> END<BR> END<BR>
END<BR> LAYER<BR> NAME "bus
station"<BR> STATUS DEFAULT<BR> TYPE
POINT<BR> CONNECTIONTYPE OGR<BR> CONNECTION
"CA_NAV_BUS_STATION.TAB"<BR> MAXSCALE 10000
<BR> LABELITEM "Label"<BR> SYMBOLSCALE
1000<BR> LABELMAXSCALE 5000<BR>
PROJECTION<BR> "init=epsg:4326"
<BR> END<BR>
CLASS<BR> NAME "bus
station"<BR>
LABEL<BR> TYPE
TRUETYPE<BR> FONT
"vera"<BR> SIZE
8<BR> MINSIZE
2<BR> MAXSIZE
8<BR> ANGLE
AUTO<BR> POSITION
UC<BR> OFFSET 0
0<BR> END<BR>
STYLE<BR> SYMBOL "triangle"
<BR> COLOR 0 153
0<BR> SIZE
8<BR> MINSIZE
3<BR> MAXSIZE
8<BR> END<BR> END<BR>
END<BR> LAYER<BR> NAME
"LOCATIONS0"<BR> STATUS DEFAULT<BR> TYPE
POINT<BR> CONNECTIONTYPE OGR <BR> CONNECTION
"CA_AND_LOCATIONS0.TAB"<BR> MAXSCALE
1000000<BR> LABELITEM "Name"
<BR> SYMBOLSCALE 200000<BR> LABELMAXSCALE
500000<BR> PROJECTION<BR>
"init=epsg:4326" <BR> END<BR>
CLASS<BR> NAME
"LOCATIONS0"<BR>
LABEL<BR> TYPE
TRUETYPE<BR> FONT
"vera"<BR> SIZE
12<BR> MINSIZE
2<BR> MAXSIZE
12<BR> ANGLE
AUTO<BR> POSITION
AUTO<BR> OFFSET 0
0<BR> COLOR 0 0
255<BR> END<BR>
STYLE<BR> SYMBOL
"star"<BR> COLOR 255 0
0<BR> SIZE
18<BR> MINSIZE
8<BR> MAXSIZE
18<BR> END <BR> END<BR>
END<BR> LAYER<BR> NAME
"LOCATIONS1"<BR> STATUS DEFAULT<BR> TYPE
POINT<BR> CONNECTIONTYPE OGR<BR> CONNECTION
"CA_AND_LOCATIONS1.TAB"<BR> MAXSCALE
800000<BR> LABELITEM "Name" <BR> SYMBOLSCALE
200000<BR> LABELMAXSCALE 500000<BR>
PROJECTION<BR> "init=epsg:4326"
<BR> END<BR>
CLASS<BR> NAME
"LOCATIONS1"<BR>
LABEL<BR> TYPE
TRUETYPE<BR> FONT "vera"
<BR> SIZE
12<BR> MINSIZE
2<BR> MAXSIZE
12<BR> ANGLE
AUTO<BR> POSITION
AUTO<BR> OFFSET 0
0<BR> COLOR 0 0
255<BR> END<BR>
STYLE<BR> SYMBOL
"point"<BR> COLOR 153 153
0<BR> SIZE
8<BR> MINSIZE
3<BR> MAXSIZE
8<BR> END<BR> END<BR>
END<BR> LAYER<BR> NAME
"LOCATIONS2"<BR> STATUS DEFAULT<BR> TYPE
POINT<BR> CONNECTIONTYPE OGR <BR> CONNECTION
"CA_AND_LOCATIONS2.TAB"<BR> MAXSCALE
800000<BR> LABELITEM "Name"<BR> SYMBOLSCALE
200000<BR> LABELMAXSCALE 500000<BR>
PROJECTION<BR> "init=epsg:4326"
<BR> END<BR>
CLASS<BR> NAME
"LOCATIONS2"<BR>
LABEL<BR> TYPE
TRUETYPE<BR> FONT
"vera"<BR> SIZE
10<BR> MINSIZE
2<BR> MAXSIZE
10<BR> ANGLE
AUTO<BR> POSITION AUTO
<BR> OFFSET 0
0<BR> COLOR 0 0
255<BR> END<BR>
STYLE<BR> SYMBOL
"point"<BR> COLOR 153 153
0<BR> SIZE
6<BR> MINSIZE
1<BR> MAXSIZE
6<BR> END<BR> END<BR>
END<BR> LAYER<BR> NAME
"LOCATIONS3"<BR> STATUS DEFAULT<BR> TYPE
POINT<BR> CONNECTIONTYPE OGR<BR> CONNECTION
"CA_AND_LOCATIONS3.TAB"<BR> MAXSCALE
400000<BR> LABELITEM "Name" <BR> SYMBOLSCALE
200000<BR> LABELMAXSCALE 200000<BR>
PROJECTION<BR> "init=epsg:4326"
<BR> END<BR>
CLASS<BR> NAME
"LOCATIONS3"<BR>
LABEL<BR> TYPE
TRUETYPE<BR> FONT "vera"
<BR> SIZE
10<BR> MINSIZE
2<BR> MAXSIZE
10<BR> ANGLE
AUTO<BR> POSITION
AUTO<BR> OFFSET 0
0<BR> COLOR 0 0
255<BR> END<BR>
STYLE<BR> SYMBOL
"point"<BR> COLOR 153 51
153<BR> SIZE
6<BR> MINSIZE
1<BR> MAXSIZE
6<BR> END<BR> END<BR>
END<BR> LAYER<BR> NAME "Tourist
Information"<BR> STATUS OFF<BR> TYPE
POINT<BR> CONNECTIONTYPE OGR <BR> CONNECTION
"CA_NAV_TOURIST_INFORMATION.TAB"<BR> MAXSCALE
10000<BR> LABELITEM "Label"<BR> SYMBOLSCALE
1000<BR> LABELMAXSCALE 5000<BR>
PROJECTION<BR> "init=epsg:4326"
<BR> END<BR>
CLASS<BR> NAME "Tourist
Information"<BR>
LABEL<BR> TYPE
TRUETYPE<BR> FONT
"vera"<BR> SIZE
8<BR> MINSIZE
2<BR> MAXSIZE
8<BR> ANGLE AUTO
<BR> POSITION
UC<BR> OFFSET 0
0<BR> END<BR>
STYLE<BR> SYMBOL
"rectangle"<BR> COLOR 255 51
0<BR> SIZE
8<BR> MINSIZE
3<BR> MAXSIZE
8<BR> END<BR> END <BR>
END<BR> LAYER<BR> NAME "Shopping
Center"<BR> STATUS DEFAULT<BR> TYPE
POINT<BR> CONNECTIONTYPE OGR<BR> CONNECTION
"CA_NAV_SHOPPING_CENTER.TAB"<BR> MAXSCALE
10000<BR> LABELITEM "Label" <BR> SYMBOLSCALE
1000<BR> LABELMAXSCALE 5000<BR>
PROJECTION<BR> "init=epsg:4326"
<BR> END<BR>
CLASS<BR> NAME "shopping
center"<BR>
LABEL<BR> TYPE
TRUETYPE<BR> FONT "vera"
<BR> SIZE
10<BR> MINSIZE
2<BR> MAXSIZE
10<BR> ANGLE
AUTO<BR> POSITION
UC<BR> OFFSET 0
0<BR> END<BR>
STYLE<BR> SYMBOL
"special"<BR> COLOR 255 51
0<BR> SIZE
15<BR> MINSIZE
6<BR> MAXSIZE
15<BR> END<BR> END<BR>
END<BR> LAYER<BR> NAME "Theater"<BR>
STATUS DEFAULT<BR> TYPE POINT<BR>
CONNECTIONTYPE OGR<BR> CONNECTION "CA_NAV_THEATER.TAB"
<BR> MAXSCALE 10000<BR> LABELITEM
"Label"<BR> SYMBOLSCALE 1000<BR>
LABELMAXSCALE 5000<BR>
PROJECTION<BR> "init=epsg:4326"
<BR> END<BR>
CLASS<BR> NAME
"Theater"<BR>
LABEL<BR> TYPE
TRUETYPE<BR> FONT
"vera"<BR> SIZE
8<BR> MINSIZE
2<BR> MAXSIZE
8<BR> ANGLE
AUTO<BR> POSITION
UC<BR> OFFSET 0
0<BR> END<BR> STYLE
<BR> SYMBOL
"triangle"<BR> COLOR 255 51
0<BR> SIZE
8<BR> MINSIZE
3<BR> MAXSIZE
8<BR> END<BR> END<BR>
END</DIV>
<DIV>***********************</DIV>
<DIV> </DIV>
<DIV>is it still possible to speed up my application?</DIV>
<DIV> </DIV>
<DIV>****</DIV>
<DIV> </DIV>
<DIV>
<DIV>the system parameters of my application:</DIV>
<DIV> </DIV>
<DIV>Windows XP professional</DIV>
<DIV>MS4W 4.8.1</DIV>
<DIV>data source -- MapInfo data</DIV>
<DIV> </DIV>
<DIV>*--only CGI parameters are used,since it is a pure static version with
HTML,</DIV>
<DIV> </DIV>
<DIV>is it possible to develop a pure static application based on MapServer,
even in conjunction with PHP/MapScript or Chameleon?</DIV>
<DIV> </DIV>
<DIV> </DIV></DIV>
<DIV>thanks for any clues.</DIV>
<DIV> </DIV>
<DIV>zhonghai</DIV>
<DIV> </DIV>
<DIV>16.05.2006</DIV><BR><BR>
<DIV><SPAN class=gmail_quote>On 5/15/06, <B class=gmail_sendername>Steve
Lime</B> <<A
href="mailto:Steve.Lime@dnr.state.mn.us">Steve.Lime@dnr.state.mn.us</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">We
really need more information about the nature of the data. I mean if you've
got<BR>20 layers each with a million polygons and are trying to show all of
them then 3 seconds <BR>might be really fast! Also, the way you are
symbolizing features may impact things.<BR><BR>In my experience neither 1 or 2
is worth considering...<BR><BR>Steve<BR><BR>Steve<BR><BR>>>> Zhonghai
Wang <<A href="mailto:zhonghaiw@GMAIL.COM"> zhonghaiw@GMAIL.COM</A>>
5/15/2006 9:15:49 AM >>><BR>Hi there,<BR><BR>for a special purpose
I've developed an static version application based on<BR>MapServer CGI, which
means I just use pure HTML tages for the GUI, even <BR>without JavaScript code
snippets to validate forms.<BR><BR>I have about 20 map layers to display
according to different map scale<BR>(ussing the MAXSCALE, SYMBOLSCALE AND
LABELMAXSCALE), there are no data<BR>classifications within a layer object,
the status of all layers are set as <BR>default.<BR><BR>I've made a test on a
standalone MapServer (XP system), every request takes<BR>about 3 second.
Obvioursly it's not fast enough for a web application, since<BR>there may be
many users requesting the server at the same time if the <BR>application is
published on the web.<BR><BR>Is MapServer really so slow? can anybody give me
some ideas?should I modify<BR>the mapfiles?<BR><BR>I am wondering whether the
following solutions will work:<BR>1. define every layer as a seperate mapfile,
and combine them together by <BR>request<BR>2. turn off the
non-displayed layers off on the fly<BR><BR>are these possible to speed up
MapServer performance?</BLOCKQUOTE></DIV><BR></BODY></HTML>