|
|
@ -41,7 +41,7 @@ module.exports.tests.sanitize_layers = function(test, common) { |
|
|
|
|
|
|
|
|
|
|
|
sanitizer.sanitize(raw, clean); |
|
|
|
sanitizer.sanitize(raw, clean); |
|
|
|
|
|
|
|
|
|
|
|
var admin_layers = [ 'continent', 'country', 'dependency', 'macroregion', |
|
|
|
var admin_layers = [ 'continent', 'empire', 'country', 'dependency', 'macroregion', |
|
|
|
'region', 'locality', 'localadmin', 'macrocounty', 'county', 'macrohood', |
|
|
|
'region', 'locality', 'localadmin', 'macrocounty', 'county', 'macrohood', |
|
|
|
'borough', 'neighbourhood', 'microhood', 'disputed', 'postalcode', 'ocean', |
|
|
|
'borough', 'neighbourhood', 'microhood', 'disputed', 'postalcode', 'ocean', |
|
|
|
'marinearea' ]; |
|
|
|
'marinearea' ]; |
|
|
@ -77,7 +77,7 @@ module.exports.tests.sanitize_layers = function(test, common) { |
|
|
|
|
|
|
|
|
|
|
|
sanitizer.sanitize(raw, clean); |
|
|
|
sanitizer.sanitize(raw, clean); |
|
|
|
|
|
|
|
|
|
|
|
var expected_layers = [ 'continent', 'country', 'dependency', |
|
|
|
var expected_layers = [ 'continent', 'empire', 'country', 'dependency', |
|
|
|
'macroregion', 'region', 'locality', 'localadmin', 'macrocounty', 'county', |
|
|
|
'macroregion', 'region', 'locality', 'localadmin', 'macrocounty', 'county', |
|
|
|
'macrohood', 'borough', 'neighbourhood', 'microhood', 'disputed', 'postalcode', |
|
|
|
'macrohood', 'borough', 'neighbourhood', 'microhood', 'disputed', 'postalcode', |
|
|
|
'ocean', 'marinearea']; |
|
|
|
'ocean', 'marinearea']; |
|
|
@ -114,7 +114,7 @@ module.exports.tests.sanitize_layers = function(test, common) { |
|
|
|
|
|
|
|
|
|
|
|
sanitizer.sanitize(raw, clean); |
|
|
|
sanitizer.sanitize(raw, clean); |
|
|
|
|
|
|
|
|
|
|
|
var coarse_layers = [ 'continent', |
|
|
|
var coarse_layers = [ 'continent', 'empire', |
|
|
|
'country', 'dependency', 'macroregion', 'region', 'locality', 'localadmin', |
|
|
|
'country', 'dependency', 'macroregion', 'region', 'locality', 'localadmin', |
|
|
|
'macrocounty', 'county', 'macrohood', 'borough', 'neighbourhood', 'microhood', |
|
|
|
'macrocounty', 'county', 'macrohood', 'borough', 'neighbourhood', 'microhood', |
|
|
|
'disputed', 'postalcode', 'ocean', 'marinearea' ]; |
|
|
|
'disputed', 'postalcode', 'ocean', 'marinearea' ]; |
|
|
|