Skip to content

Commit

Permalink
Add admin_level properties to osm-boundaries-toponyms features
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienKN committed May 22, 2024
1 parent 3f9bc94 commit 18ee1ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jobfile-osm-boundaries.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ export default {
toponym.properties = {
name: feature.properties.name
}
toponym.properties = {
admin_level: feature.properties.admin_level
}
if (_.has(feature, 'properties.name:en')) {
_.set(toponym, 'properties.name:en', feature.properties['name:en'])
}
Expand Down

0 comments on commit 18ee1ae

Please sign in to comment.