[Users] Legend Panel Does Not Display Icons for Cached Layers

Tim Heuer HeuerT at landcareresearch.co.nz
Sun Feb 6 22:02:55 CET 2011


Hi Seth,

Not sure if it is an elegant solution, but I solved it by overwriting the printProvider.print() function and replacing tilecache with our mapserver wms url.

Thanks for your time.
Tim

From: users-bounces at geoext.org [mailto:users-bounces at geoext.org] On Behalf Of geographika
Sent: Friday, 4 February 2011 7:28 p.m.
To: users at geoext.org
Subject: Re: [Users] Legend Panel Does Not Display Icons for Cached Layers

Hi Tim,

I had the same issue. In the end I created a wrapper script that would generate tiles for any WMS formatted request, or return a legend file (currently not cached but I hope to add that).
Python script at https://bitbucket.org/geographika/mapserver-scripts/src/tip/tilecache/tilecache.py and blog post at http://geographika.co.uk/using-tilecache-on-iis

Regards,

Seth

On 04/02/2011 03:52, Tim Heuer wrote:
Hi,

http://www.geoext.org/pipermail/users/2010-November/001563.html

Looking at the above did not solve the problem for us. Is there a way one can give a different GetLegendGraphic WMS request to GeoExt if for example one is using tilecache to cache the layers' image outputs?

Any help would be appreciated.

Thanks,
Tim

________________________________
Please consider the environment before printing this email
Warning: This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails.
The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz






_______________________________________________

Users mailing list

Users at geoext.org<mailto:Users at geoext.org>

http://www.geoext.org/cgi-bin/mailman/listinfo/users


________________________________
Please consider the environment before printing this email
Warning: This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails.
The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20110207/ff157817/attachment.htm 


More information about the Users mailing list