[mapserver-users] Display performance
Chris Jackson
webturtles at gmail.com
Fri Sep 3 04:05:05 PDT 2010
Ok Folks
I am now ready to go home and have a sit down!!
I have re-classified the layer with a new class column and then ordered the
shapefile by the most common classes.....
the results are in......
<3.5 secs for the entire layer to draw!! (only a saving of 21secs +) - the
main saving was by just reclassifying.
Thanks to all as this has been a great learning experience, I am now going
to see if I can find a bigger model grid to play with.....! ;o)
Chris
On 3 September 2010 11:07, thomas bonfort <thomas.bonfort at gmail.com> wrote:
> That would be the fastest yes. Even more so if you order the classes
> inside your layer by order of occurences, i.e. the most common classes
> first, and the least common ones last.
>
> --
> thomas
>
> On Fri, Sep 3, 2010 at 11:54, Chris Jackson <webturtles at gmail.com> wrote:
> > Jukka
> >
> > Thank you for the code I will give it a go. I guess I will dust off the
> > field calculator in ArcMap and see if that improves things somewhat, I
> guess
> > that is a similar overhead when classifying a raster by pixel value (not
> > sure how to fix that). So if I understand you right then I would just
> use a
> > number per class (1-15 say) in the new attribute field and then code
> > something like:
> >
> > CLASSITEM "MEAN_SP_PC"
> > CLASS
> > EXPRESSION "1"
> > NAME "> 4.00 (m/s)"
> > STYLE
> > COLOR 135 99 64
> > END
> > END
> >
> > Thanks again for the insight.
> > Chris
> >
> >
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100903/6e179caa/attachment.htm>
More information about the MapServer-users
mailing list