-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.54..v0.2.55 changeset TDSv40.js
Garret Voltz edited this page Aug 14, 2020
·
1 revision
diff --git a/translations/TDSv40.js b/translations/TDSv40.js
index 68b6ffc..06c2277 100644
--- a/translations/TDSv40.js
+++ b/translations/TDSv40.js
@@ -38,22 +38,22 @@ hoot.require('fcode_common');
function initialize()
{
- // Set the schema type for the export
- hoot.Settings.set({"osm.map.writer.schema":"TDSv40"});
+ // Set the schema type for the export
+ hoot.Settings.set({'osm.map.writer.schema':'TDSv40'});
}
// 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 tds40.getDbSchema();
+ return tds40.getDbSchema();
}
@@ -62,7 +62,7 @@ function getDbSchema()
// function translateAttributes(attrs, layerName, geometryType)
function translateToOsm(attrs, layerName, geometryType)
{
- return tds40.toOsm(attrs, layerName, geometryType);
+ return tds40.toOsm(attrs, layerName, geometryType);
} // End of Translate Attributes
@@ -71,7 +71,7 @@ function translateToOsm(attrs, layerName, geometryType)
// translateToOgr - takes 'tags' + geometry and returns 'attrs' + tableName
function translateToOgr(tags, elementType, geometryType)
{
- return tds40.toTds(tags, elementType, geometryType)
+ return tds40.toTds(tags, elementType, geometryType);
} // End of translateToOgr