[mapserver-dev] isValidItem is not aware of the OGR special
attributes
Lime, Steve D (DNR)
Steve.Lime at state.mn.us
Wed Mar 3 19:09:57 EST 2010
Sounds like the assumption that msLayerGetItems() returns all items is not true... &$%@! Intuitively I would have done something
like Alan suggests in the DATA statement with an alias and referred to the alias in the label item.
Pondering how to fix. Reverting to the 5.4 msLayerWhichItems() setup I guess...
Steve
________________________________________
From: mapserver-dev-bounces at lists.osgeo.org [mapserver-dev-bounces at lists.osgeo.org] On Behalf Of Alan Boudreault [aboudreault at mapgears.com]
Sent: Wednesday, March 03, 2010 3:54 PM
To: mapserver-dev at lists.osgeo.org
Subject: Re: [mapserver-dev] isValidItem is not aware of the OGR special attributes
The "isValidItem" addition seems to break more than that. The following oracle
labelitem field now fails in 5.6:
LABELITEM "PROJECT_NAME||'&'||MMI"
I let you imagine all the other possibilities we could have with all the
different DB engines.
See related ticket: http://trac.osgeo.org/mapserver/ticket/3342
Alan
On March 3, 2010 04:25:37 pm Tamas Szekeres wrote:
> My second problem of the day is related to the addition of the isValidItem
> check, see:
> http://trac.osgeo.org/mapserver/ticket/3356
>
>
> Best regards,
>
> Tamas
>
--
Alan Boudreault
Mapgears
http://www.mapgears.com
_______________________________________________
mapserver-dev mailing list
mapserver-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-dev
More information about the mapserver-dev
mailing list