Hi,
How do I transform donut polygons with a variable amount of holes from ESRI database to GML?
So far I have only succeeded in transforming one hole per polygon. Below is the code inside my XMLTemplater transformer.
<hy-p:geometry>
<gml:Polygon gml:id="id{fme:get-attribute("OBJECTID")}">
<gml:exterior>
<gml:LinearRing>
<gml:coordinates>{fme:get-attribute("_coord_outer")}</gml:coordinates>
</gml:LinearRing>
</gml:exterior>
<gml:interior>
<gml:LinearRing>
<gml:coordinates>{fme:get-attribute("_coord_hole")}</gml:coordinates>
</gml:LinearRing>
</gml:interior>
</gml:Polygon>
</hy-p:geometry>
Kind regards
Kristina Danielsson