Some help with an XML chalenge would be great appreciated.
Geometry Data Functions
What geometry function or functions would you use when feeding a polyline into XMLTemplater to get a final result like:
<Point>
<LAT>{value Y}</LAT>
<LON>value X}</LON>
</Point>
<Point>
<LAT>{value Y}</LAT>
<LON>{value X}</LON>
</Point>
<Point>
<LAT>{value Y}</LAT>
<LON>{value X}</LON>
</Point>
geom:get-x-coord() and geom:get-y-coord() only works on Point geo, im feeding polylines and want to stay with them preferably.
Using a SUB Template like:
<Point>
<LAT>{geom:get-points("y")}</LAT>
<LON>{geom:get-points("x")}</LON>
</Point>
Results in ==>
<Point>
<LAT>{value Y} {value Y} {value Y}</LAT>
<LON>{value X} {value X} {value X}</LON>
</Point>
Any help appreciated
Jorge Vidinha