<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>RE: [UMN_MAPSERVER-USERS] need mapserv.exe recompiled with max layers = 500</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Ravi,<BR>
<BR>
Why do you select out each county individually, rather than having an expression that defines a range of population density? For example, EXPRESSION ('[populationdensity]'&gt;500)<BR>
<BR>
If you can't do that, do you have the ability to pre-generate the classified layers, such that each layer requires no further classification, and contains a class (1 through to 10) of which colour it should have?<BR>
<BR>
If even that fails, you could consider rendering your areas to a raster, and only start showing individual vector-based objects when a user zooms in. I have used that approach to 'fake' the displaying of 100,000s of polygons, so that they wouldn't have to be generated at runtime. You&nbsp; can use minscale and maxscale to turn the raster off when the vector comes in.<BR>
<BR>
Otherwise, can you tell us what datasource you are using? Shapefiles? PostGIS?<BR>
<BR>
regards,<BR>
<BR>
Jacob<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: UMN MapServer Users List on behalf of Ravi<BR>
Sent: Wed 12/6/2006 2:41 PM<BR>
To: MAPSERVER-USERS@LISTS.UMN.EDU<BR>
Subject: [UMN_MAPSERVER-USERS] need mapserv.exe recompiled with max layers = 500<BR>
<BR>
Hi,<BR>
<BR>
Can somebody recompile the mapserv.exe with max layers = 500? Or guide<BR>
me how to do this? If you want to charge for this kind of service, can<BR>
you send me an email telling me how much would you charge?<BR>
<BR>
Yes I have thought about reducing the layers and tried various options<BR>
to the best of my knowledge but so far I have not come up with a solution.<BR>
<BR>
If you are curious why I need so many layers or can help me reduce<BR>
layers here is what I am doing. This is very confusing...sorry I am<BR>
trying my best to explain.<BR>
<BR>
I want to show population density in US using 10 different colors. Hence<BR>
I need 10 layers (1 for each color). I am not able to use single layer<BR>
as I would need to define 10 classes with different colors. Each class<BR>
will select 300 counties using &quot;EXPRESSION&quot; as follows:<BR>
EXPRESSION ('[FIPSSTCO]'='21037' or '[FIPSSTCO]'='21125' or.....<BR>
Selecting 300 counties like this is VERY slow.<BR>
<BR>
Now we can see entire US map with colors. When the user zooms in, I have<BR>
to show same thing using zip codes. Further zooming in shows the data<BR>
divided by block groups. Hence total layers = 10x3 = 30.<BR>
<BR>
Now I need to show 8 such parameters (potentially 16). Hence I need<BR>
10x3x16 = 480 layers<BR>
<BR>
Thanks for help<BR>
Ravi<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>