From 3a60ead7ec38b423e863994e0739fb0c56c4d095 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Thu, 2 Nov 2023 10:46:11 +0100 Subject: [PATCH] Fix pbf reader with Relation.MemberType (#76) --- src/pbf.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pbf.jl b/src/pbf.jl index f965e50..2d02d62 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.Relation_MemberType[types[i] + 1], + "type" => OSMPBF.var"Relation.MemberType"[types[i] + 1], "ref" => string(memids[i]), )) end