dBox dLegend raster/vector images
Ken Boss
Ken.Boss at DNR.STATE.MN.US
Tue Jun 27 07:43:23 PDT 2006
Rich--
Sorry, I misunderstood your question. AFAICT, the most likely reasons for broken auto-generated vector-layer keyimages would be either:
a misconfigured WEB IMAGEURL parameter in the mapfile
or
a misconfigured config.dlegend_server parameter in the html template
You might also want to look at settings in the mapfile's WEB METADATA section (see Steve's post at http://article.gmane.org/gmane.comp.gis.mapserver.user/20286), but I'm not convinced a misconfiguration there would result in broken keyimages.
HTH,
--Ken
>>> Richard Greenwood <richard.greenwood at GMAIL.COM> 6/26/2006 10:07:37 PM >>>
On 6/26/06, Ken Boss <Ken.Boss at dnr.state.mn.us> wrote:
> Hey Rich--
>
> You should be able to do the same thing for a vector layer - just throw a KEYIMAGE line into the CLASS(es) section(s). At least, it works for me on my ms4w installation using make_dlegend_cgi.py.
Hey Ken,
Always a pleasure to hear from you. Where I'm lost is that in the demo
there is a keyimage defined for the ratser layer, but the vector
layers seem to get their keyimage created on the fly. When I try this
in my application I just get a "broken link" image in my legend for
all my layers. I'm not doing a very good job of articulating my
problem (and if I could articulate it better, I would probably have
solved it by now!)
Rich
--
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com
More information about the MapServer-users
mailing list