OpenStreetMap (OSM) XML Feature Representation
In addition to the generic FME feature attributes that FME Workbench adds to all features (seeAbout Feature Type Attributes),this format also adds format-specific attributes (Format Attributes).
Please see theWriter Overviewfor details on how the features are converted into OSM elements in the OSM Writer.
Geometry
The geometry features produced by the OSM reader can be identified by thexml_typeattribute.The valid values for this attribute are:
xml_type |
Description |
---|---|
xml_no_geom |
FME Feature with no geometry. |
xml_point |
Point feature. |
xml_line |
Linear feature. |
xml_area |
Simple polygon,donut,or an aggregate of polygon and donut features. |
No Geometry
xml_type:xml_no_geom
Features with theirxml_typeattribute set toxml_no_geomdo not contain any geometry data.
Points
xml_type:xml_point
Features with theirxml_typeset toxml_pointare single coordinate features or an aggregate of single points.
Lines
xml_type:xml_line
Features with theirxml_typeset toxml_lineare polyline features or an aggregate of polylines.
Areas
xml_type:xml_polygon
Features with theirxml_typeset toxml_polygonare polygon features which may or may not have interior boundaries,or an aggregate of such polygons.