Map template with unnamed layers

Daniel Morissette dmorissette at DMSOLUTIONS.CA
Fri Mar 4 08:40:02 EST 2005


Koji Ueda wrote:
>
> FYI, the first location mapserver fails is:
>
> maptemplate.c line 2245
> strlcat(repstr, msObj->Map->layers[i].name, sizeof(repstr));
> in the function processLine()
>
> Here, msObj->Map->layers[i].name is NULL when the NAME is not specified
> for the LAYER.
>

Thanks for the detailed report and patch. I have created a bug for this
and will fix it now in both the 4.4 branch and the 4.5 dev versions in CVS:

http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1271

--
------------------------------------------------------------
  Daniel Morissette               dmorissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the mapserver-dev mailing list