[mapserver-users] Using value from hstore column for labels

Lime, Steve D (MNIT) Steve.Lime at state.mn.us
Mon Nov 9 06:22:37 PST 2015


Can you give name->name an alias in the SQL? E.g. name->name as labelname?

________________________________
From: mapserver-users [mapserver-users-bounces at lists.osgeo.org] on behalf of Juanma M. R. [juanma.mr at gmail.com]
Sent: Monday, November 09, 2015 7:12 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Using value from hstore column for labels

Dear list,

I am trying to draw milestones from my OSM local database. The issue is that in Nominatim database, the one I am ussing, I am trying to draw the value "name" from a hstore column. How do I indicate this in mapfile in labelitem? I haven't found the format to use a hstore data.

"name"->'name' obviously breaks the mapfile format.

Regards,
Juan Manuel Moreno Rivera.<http://www.teledeteccionysig.es/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20151109/187bd34a/attachment.html>


More information about the mapserver-users mailing list