Hello,
I am having an issue with OSM values (in a FeatureReader). For some reason, there are level and layer values set to 0.5. Even if it is quite unconventional, "there is an ongoing discussion on usage of fractional values". Thing is, it seems that FME does not handle this case, I get the following error :
|FATAL |Feature Type: `waysStringFormatter_OUTPUT'
|FATAL |Attribute(encoded: UTF-16LE): `bridge' has value `yes'
|FATAL |Attribute(string) : `fme_feature_type' has value `highway'
|FATAL |Attribute(string) : `fme_geometry' has value `fme_line'
|FATAL |Attribute(entangled: string): `fme_type' has value `fme_line'
|FATAL | entangled to txml_type]
|FATAL |Attribute(encoded: UTF-16LE): `highway' has value `footway'
|FATAL |Attribute(64 bit integer) : `id' has value `271462128'
|FATAL |Attribute(encoded: UTF-16LE): `indoor' has value `yes'
|FATAL |Attribute(encoded: UTF-16LE): `level' has value `0.5'
|FATAL |Attribute(encoded: UTF-8) : `roadsWidth' has value `'
|FATAL |Attribute(encoded: UTF-16LE): `tag.layer' has value `0.5'
|FATAL |Attribute(encoded: UTF-16LE): `tag{0}.k' has value `bridge'
|FATAL |Attribute(encoded: UTF-16LE): `tag{0}.v' has value `yes'
|FATAL |Attribute(encoded: UTF-16LE): `tag{1}.k' has value `highway'
|FATAL |Attribute(encoded: UTF-16LE): `tag{1}.v' has value `footway'
|FATAL |Attribute(encoded: UTF-16LE): `tag{2}.k' has value `indoor'
|FATAL |Attribute(encoded: UTF-16LE): `tag{2}.v' has value `yes'
|FATAL |Attribute(encoded: UTF-16LE): `tag{3}.k' has value `layer'
|FATAL |Attribute(encoded: UTF-16LE): `tag{3}.v' has value `0.5'
|FATAL |Attribute(encoded: UTF-16LE): `tag{4}.k' has value `level'
|FATAL |Attribute(encoded: UTF-16LE): `tag{4}.v' has value `0.5'
|FATAL |Attribute(string) : `xml_type' has value `xml_line'
|FATAL |Coordinate System: `EPSG:4326'
|FATAL |Geometry Type: IFMELine
|FATAL |Number of Coordinates: 2 -- Coordinate Dimension: 2
|FATAL |(4.8605373,45.7605953)(4.8605085,45.7606767)
|FATAL |==========================================================================
|ERROR |waysStringFormatter(TeeFactory): waysStringFormatter: @Tcl2 -- failed to
ormatter_formatter' -- expected integer but got ".5"
|ERROR |waysStringFormatter: @Tcl2 -- failed to evaluate expression
-- expected integer but got ".5"
Any idea about of to fix this ? This is a blocking issue for my process.
Thanks in advance !