Add id to geo areas

This commit is contained in:
Paul Chavard 2018-10-30 11:05:08 +01:00
parent a005484e38
commit fcdc0114fd
5 changed files with 14 additions and 4 deletions

View file

@ -18,7 +18,10 @@ class ApiGeo::RPGAdapter
:code_culture,
:surface,
:bio
).merge({ geometry: feature[:geometry] })
).merge({
geometry: feature[:geometry],
geo_reference_id: feature[:properties][:id]
})
end
end
end