[mapserver-users] template item formatting options and joined table

Lime, Steve D (DNR) steve.lime at state.mn.us
Mon Mar 28 07:44:34 PDT 2011


It's not possible yet. Joined items aren't handled in the same fashion as regular items. This is an oversight on my part. There is a need to add a new one-to-many template block but it slipped off my radar. If you'd file a ticket and assign to me I'll get it added.

Steve

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of iomeneandrei
Sent: Monday, March 28, 2011 6:52 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] template item formatting options and joined table

Dear all,
I have an ITEMQUERY on a layer with a join object inside (ONE-TO-MANY).

I would like to format the results using template item formatting options. 
Is it possible to use them with the items of joined table?


I have applied it using this kind of syntax [item name="relationname_field"
precision="2" commify="2"], but I have this error message:
"Content-type: text/html processItemTag(): Web application error. Item name
(relate_ULM) not found in layer item list. "

"relate_ULM" is the real name of my joined field. If I insert simply
[relate_ULM] in my template I have no error, and I have the list of results.

Thank you,

Andrea


-----
Andrea Borruso

----------------------------------------------------
email: aborruso at tin.it
website: http://blog.spaziogis.it
my 2.0 life: http://aborruso.spaziogis.it
feed: http://feeds2.feedburner.com/Tanto
38° 7' 48" N, 13° 21' 9" E
----------------------------------------------------
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/template-item-formatting-options-and-joined-table-tp6214589p6214589.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the MapServer-users mailing list