From 5baa1376a1b44bb7a57b31513f45a9a30da869fd Mon Sep 17 00:00:00 2001 From: Andrew Harvey Date: Wed, 9 Jun 2021 15:30:39 +1000 Subject: jsdoc toOSM --- lib/toOSM.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/toOSM.js') diff --git a/lib/toOSM.js b/lib/toOSM.js index 3e57c3f..e96568c 100644 --- a/lib/toOSM.js +++ b/lib/toOSM.js @@ -14,6 +14,10 @@ const emptyNames = [ * Transforms a GeoJSON Feature from the Vicmap address schema into OSM schema * * @param {Array} sourceFeature Feature in Vicmap address schema + * @param {Object} [options] + * @param {string} [options.tracing=false] + * @param {string} [options.includeUnitPrefix=false] include addr:unit:prefix to indicate unit type (UNIT, SHOP, SUITE, FLAT, etc.) + * @param {string} [options.includeDerivableProperties=false] include properties addr:suburb, addr:postcode, addr:state which can be derived from existing boundaries on each address object * @returns {Object} Feature in OSM schema */ module.exports = (sourceFeature, options) => { -- cgit v1.2.3