[Tilecache] Symbol image transparency problem
Jez Walters
Jez.Walters at ipl.com
Tue Aug 10 06:52:19 EDT 2010
Marco,
It took some work, but I've pared it down to the attached mapfile and tilecache.cfg. For completeness I've enclosed my OpenLayers configuration and the image file too, just in case either of these are the culprit.
Any thoughts as to where I'm going wrong - or is it a bug in TileCache?
Jez
____________________________________________________________
Jez Walters
Senior Consultant
direct phone: +44 (0)1225 475093
phone: +44 (0)1225 475000
fax: +44 (0)1225 444400
email: jez.walters at ipl.com
IPL Information Processing Limited
Eveleigh House, Grove Street, Bath, BA1 5LR, UK
www.ipl.com
____________________________________________________________
-----Original Message-----
From: Marco Nijdam [mailto:marco at west.nl]
Sent: Monday 9 August 2010 19:56
To: Jez Walters
Cc: tilecache at openlayers.org
Subject: Re: [Tilecache] Symbol image transparency problem
Dear Jez,
Could you please give more information on you setup?
E.g. mapfile, tilecache.cfg file.
Are all layers tiled into one tilecache, or are you overlaying multiple
layers?
Kind regards,
--
-- Marco Nijdam
--
As quoted from Jez Walters:
>
> Hello TileCachers,
>
> I'm not sure if I posted this question correctly last time, so I'm trying
> again! ;-)
>
> I'm displaying UK Ordnance Survey MasterMap vector maps using OpenLayers,
> TileCache and MapServer. The maps display perfectly when I use just
> MapServer (
> http://osgeo-org.1803224.n2.nabble.com/file/n5389483/MapServer.jpg
> MapServer.jpg ), as well as when I also use OpenLayers. However, when I
> add TileCache to the mix, the various symbol images are no longer
> transparent (
> http://osgeo-org.1803224.n2.nabble.com/file/n5389483/TileCache.jpg
> TileCache.jpg ).
>
> I don't have that much experience of TileCache, so any help/explanation
> would be most appreciated!
>
> Jez
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/Symbol-image-transparency-problem-tp5389483p5389483.html
> Sent from the TileCache mailing list archive at Nabble.com.
> _______________________________________________
> Tilecache mailing list
> Tilecache at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/tilecache
>
The information transmitted is intended only for the person
or entity to which it is addressed and may contain
confidential and/or privileged material. If you are not the
addressee, any disclosure, reproduction, copying,
distribution, or other dissemination or use of this
communication is strictly prohibited. If you have received
this transmission in error please notify the sender
immediately and then delete this email.
Any representations or commitments expressed in this email
are subject to contract.
This message has been scanned for viruses and dangerous
content. However, it is essential that the recipient also
checks this message using commercially available mail
scanning and anti-virus software. IPL Information Processing
Limited accepts no liability for any loss or damage resulting
from any virus or other dangerous content in this message.
IPL Information Processing Limited is registered in England
and Wales under company registration number 1418818.
Registration took place at Cardiff on 10 May 1979. IPL
Information Processing Limited's registered office and
normal place of business is Eveleigh House, Grove Street,
Bath, BA1 5LR, United Kingdom. IPL is also registered for
Value Added Tax (VAT) under registration number GB 601 2931 83.
-------------- next part --------------
MAP
NAME "IPMap"
EXTENT 529445 179961 529555 180038 # The Mall, London
SIZE 1200 1200
UNITS meters
IMAGETYPE PNG24
IMAGECOLOR 190 255 255
SHAPEPATH "."
PROJECTION
"init=epsg:27700" # OSGB39
END
SYMBOL
NAME "nonconiferousTreeGeometry"
TYPE pixmap
IMAGE "Templates/TopographyLayer/Symbols/positionedNonconiferousTreeSymbol.png"
END
LAYER
NAME "TopographicPoint"
STATUS off
TYPE point
UNITS meters
MINSCALEDENOM 0
MAXSCALEDENOM 3125
TRANSPARENCY alpha
SIZEUNITS meters
TILEINDEX "OSMasterMap/TopographyLayer/TopographicPoint"
CLASS
NAME "positionedNonconiferousTreeSymbol"
EXPRESSION (("[descriptiv]" == "General Feature") AND ("[descript_1]" == "Positioned Nonconiferous Tree") AND ("[make]" == "Natural"))
STYLE
SYMBOL "nonconiferousTreeGeometry"
SIZE 5
END
END
END
END
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tilecache.cfg
Type: application/octet-stream
Size: 2834 bytes
Desc: tilecache.cfg
Url : http://lists.osgeo.org/pipermail/tilecache/attachments/20100810/4bbaf55d/tilecache-0001.obj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20100810/4bbaf55d/IPMap-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: positionedNonconiferousTreeSymbol.png
Type: image/png
Size: 1425 bytes
Desc: positionedNonconiferousTreeSymbol.png
Url : http://lists.osgeo.org/pipermail/tilecache/attachments/20100810/4bbaf55d/positionedNonconiferousTreeSymbol-0001.png
More information about the Tilecache
mailing list