Skip to content

Commit

Permalink
Update toponyms properties
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienKN committed May 23, 2024
1 parent 5f1df5a commit 18cad6b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions jobfile-osm-boundaries.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,7 @@ export default {
largestArea = subfeatureArea
toponym = centerOfMass(subfeature.geometry)
toponym.properties = {
name: feature.properties.name
}
toponym.properties = {
name: feature.properties.name,
admin_level: feature.properties.admin_level
}
if (_.has(feature, 'properties.name:en')) {
Expand Down

0 comments on commit 18cad6b

Please sign in to comment.