Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(import): map field used in #402
Browse files Browse the repository at this point in the history
Joxit committed Jan 20, 2021
1 parent a838dce commit 6e9cce8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/streams/recordStream.js
Original file line number Diff line number Diff line change
@@ -79,7 +79,10 @@ function geojsonStream(stream) {
LON: _.get(geojson, 'geometry.coordinates[0]'),
LAT: _.get(geojson, 'geometry.coordinates[1]'),
POSTCODE: _.get(geojson, 'properties.postcode'),
UNIT:_.get(geojson, 'properties.unit')
UNIT:_.get(geojson, 'properties.unit'),
DISTRICT:_.get(geojson, 'properties.district'),
REGION:_.get(geojson, 'properties.region'),
CITY:_.get(geojson, 'properties.city')
};
} catch(e) {
logger.error(e);

0 comments on commit 6e9cce8

Please sign in to comment.