<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Hello users,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The map located here;</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><A href="http://gisinventory.net/status_maps.html">http://gisinventory.net/status_maps.html</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>takes a while to load. At least at the national view where there is a lot of area to render.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I am looking for alternative ways to generate the map that will significantly improve performance.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Currently I am using php and looping through data and turning on layers as I go. The PHP part is lightning fast. But after I get the map ready mapserver takes several seconds to generate it.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I'm curious about alternative ways to handle this problem and wonder if anyone had comments on any of them.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>1) modifying the shape files in some way so the layer information is in those files so that all mapserver has to do is load those files and not depend on the map files.</DIV><DIV>2) using a db such as postgres with postgis so that layer information is available all in one compact source.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Right now I have to generate a bunch of dynamic classes in PHP using the general method below.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                </SPAN>$lyr = $this->ramona_map->getLayerByName("state_yes");</DIV><DIV> $cla = $lyr->getClass(0);</DIV><DIV> $cla->setExpression("/".$expression."/");</DIV><DIV> $lyr->set("status", MS_ON);</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I have to do this several hundred times to represent all of the data. The time it takes to generate the map seem proportionate to the amount of layers I make visible. And again this is on the mapserver side and not PHP. PHP does its part of the operation in thousandths of a second.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>anyone's thoughts are greatly appreciated.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>-boice tomlin</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><BR class="Apple-interchange-newline"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">////////////////////////////</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Run Skip</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><A href="http://runskip.com">http://runskip.com</A>/<BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">boice tomlin</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:boice@runskip.com">boice@runskip.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">503-528-6204</DIV><BR class="Apple-interchange-newline"></SPAN></SPAN> </DIV><BR></BODY></HTML>