-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.54..v0.2.55 changeset TDSv61.js
Garret Voltz edited this page Aug 14, 2020
·
1 revision
diff --git a/translations/TDSv61.js b/translations/TDSv61.js
index a43e38a..42591c4 100644
--- a/translations/TDSv61.js
+++ b/translations/TDSv61.js
@@ -39,22 +39,22 @@ hoot.require('fcode_common');
function initialize()
{
- // Set the schema type for the export
- hoot.Settings.set({"osm.map.writer.schema":"TDSv61"});
+ // Set the schema type for the export
+ hoot.Settings.set({'osm.map.writer.schema':'TDSv61'});
}
// Layer name filter - Filter out all layers that match this regexp
function layerNameFilter()
{
- // Drop all of the "SRC_*", "o2s_*" and "extra_*" layers
- return "^(?!SRC_|extra_)";
+ // Drop all of the "SRC_*", "o2s_*" and "extra_*" layers
+ return '^(?!SRC_|extra_)';
}
// Create the output Schema
function getDbSchema()
{
- return tds61.getDbSchema();
+ return tds61.getDbSchema();
}
@@ -63,7 +63,7 @@ function getDbSchema()
// function translateAttributes(attrs, layerName, geometryType)
function translateToOsm(attrs, layerName, geometryType)
{
- return tds61.toOsm(attrs, layerName, geometryType);
+ return tds61.toOsm(attrs, layerName, geometryType);
} // End of Translate Attributes
@@ -72,7 +72,7 @@ function translateToOsm(attrs, layerName, geometryType)
// translateToOgr - takes 'tags' + geometry and returns 'attrs' + tableName
function translateToOgr(tags, elementType, geometryType)
{
- return tds61.toTds(tags, elementType, geometryType)
+ return tds61.toTds(tags, elementType, geometryType);
} // End of translateToOgr