From 176179b2482b914311b40e692d24925a58895a0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Thu, 2 Nov 2023 19:31:28 +0100 Subject: [PATCH] [PBF] Fix conversion from enum to its name (#77) --- src/pbf.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pbf.jl b/src/pbf.jl index 2d02d62..4c247d6 100644 --- a/src/pbf.jl +++ b/src/pbf.jl @@ -107,7 +107,7 @@ function process_element(osm, pbf_relation::OSMPBF.Relation, table, lat_offset, types = pbf_relation.types for i in eachindex(types) push!(relation.members, Dict( - "type" => OSMPBF.var"Relation.MemberType"[types[i] + 1], + "type" => string(types[i]), "ref" => string(memids[i]), )) end