displaying layers with two classes
Flavio Hendry
flavio at TYDAC.CH
Fri Aug 5 00:20:18 PDT 2005
Hi Bart
my experiance is that PNG24 creates "huge" files, such as 400k,
compared to around 70k with JPEG (same image), so I'd suggest to use
JPEG ...
Mit freundlichem Gruss / Best Regards
Flavio Hendry
----------------------------------------------------------------
TYDAC NEWS http://www.tydac.ch/german/index.php?menu=News_actual
----------------------------------------------------------------
############ Mit freundlichen Gruessen / Kind Regards
############ mailto:flavio at tydac.ch
############ TYDAC AG - http://www.tydac.ch
#### #### Geographic Information Solutions
#### #### Luternauweg 12 -- CH-3006 Bern
############ Tel +41 (0)31 368 0180 - Fax +41 (0)31 368 1860
----------------------------------------------------------------
-----Original Message-----
From: Bart van den Eijnden <BEN at SYNCERA-ITSOLUTIONS.NL>
To: MAPSERVER-USERS at LISTS.UMN.EDU
Date: Fri, 5 Aug 2005 08:28:35 +0200
Subject: Re: [UMN_MAPSERVER-USERS] displaying layers with two classes
> Looks like Mapserver is running out of colors in 8 bit mode, can you
> try and use 24 bit mode?
>
> Change your outputformat to:
>
> OUTPUTFORMAT
> NAME png
> DRIVER "GD/PNG"
> MIMETYPE "image/png"
> EXTENSION PNG
> IMAGEMODE RGBA
> TRANSPARENT ON
> END
>
>
> Best regards,
> Bart
>
> Bart van den Eijnden
> Syncera IT Solutions
> Postbus 270
> 2600 AG DELFT
>
> tel.nr.: 015-7512436
> email: BEN at Syncera-ITSolutions.nl
> >>> Travis Kirstine GIS Tech <tkirstine at JDBARNES.COM> 08/04/05 21:31
> PM >>>
> I've been tring to display several layer each with two classes but
> getting
> some unexpected results. I want to display each polygon layer with
> one
> class having a solid fill at max extent 1:150000 to 1:20000 then use
> another
> class having a outline only at the min scale range 1:20000 to 1:500.
> Seems
> easy, my layers display correctly at the max scale
> range(max_range.jpg) but
> at the min range the colours are incorrect, the colours are all the
> same as
> the first layer in my mapfile(min_range_bad.jpg). Also if I turn off
> the
> first layer the colour changes to the correct colour(min_range.jpg).
> I
> don't know what I'm doing wrong.
> Travis
>
> #{{{{{[[[[[[((((((<<< APARTMENT NEIGHBOURHOODS>>>)))))))]]]]]]]}}}}}}
>
> LAYER
> DATA mattamy/apartment_neighbourhoods
> NAME "op_niegh"
> METADATA
> DESCRIPTION "OP Apartment Areas"
> END
> TYPE POLYGON
> STATUS on
> MINSCALE 120000
> MAXSCALE 501
> TEMPLATE void
> CLASS
> NAME "app_1"
> MAXSCALE 120000
> MINSCALE 20001
> SYMBOL 4
> COLOR 255 127 0
> SIZE 1
> END
> CLASS
> NAME "app_2"
> MAXSCALE 20000
> MINSCALE 500
> SYMBOL 4
> OUTLINECOLOR 255 127 0
> SIZE 3
> END
>
> END
> #{{{{{[[[[[[((((((<<< MIXED USE >>>)))))))]]]]]]]}}}}}}
>
> LAYER
> DATA mattamy/mixed_use_area
> NAME "op_mix"
> METADATA
> DESCRIPTION "OP Mixed Use Areas"
> END
> TYPE POLYGON
> STATUS on
> MINSCALE 120000
> MAXSCALE 501
> TEMPLATE void
> CLASS #displayes correctly
> NAME "mix_1"
> MAXSCALE 120000
> MINSCALE 20001
> SYMBOL 4
> COLOR 255 50 50
> SIZE 1
> END
> CLASS #displayes as orange instead of
red
> NAME "mix_2"
> MAXSCALE 20000
> MINSCALE 500
> SYMBOL 4
> OUTLINECOLOR 255 50 50
> SIZE 3
> END
>
> END
More information about the MapServer-users
mailing list