Browse Source

removed redundant for pelias-labels

pull/680/head
Stephen Hess 8 years ago
parent
commit
942a8ff0a3
  1. 10
      routes/v1.js

10
routes/v1.js

@ -88,7 +88,7 @@ function addRoutes(app, peliasConfig) {
postProc.renamePlacenames(),
postProc.parseBoundingBox(),
postProc.normalizeParentIds(),
postProc.assignLabels(require('pelias-labels')),
postProc.assignLabels(),
postProc.geocodeJSON(peliasConfig, base),
postProc.sendJSON
]),
@ -104,7 +104,7 @@ function addRoutes(app, peliasConfig) {
postProc.parseBoundingBox(),
postProc.normalizeParentIds(),
postProc.geocodeJSON(peliasConfig, base),
postProc.assignLabels(require('pelias-labels')),
postProc.assignLabels(),
postProc.sendJSON
]),
reverse: createRouter([
@ -122,7 +122,7 @@ function addRoutes(app, peliasConfig) {
postProc.parseBoundingBox(),
postProc.normalizeParentIds(),
postProc.geocodeJSON(peliasConfig, base),
postProc.assignLabels(require('pelias-labels')),
postProc.assignLabels(),
postProc.sendJSON
]),
nearby: createRouter([
@ -140,7 +140,7 @@ function addRoutes(app, peliasConfig) {
postProc.parseBoundingBox(),
postProc.normalizeParentIds(),
postProc.geocodeJSON(peliasConfig, base),
postProc.assignLabels(require('pelias-labels')),
postProc.assignLabels(),
postProc.sendJSON
]),
place: createRouter([
@ -152,7 +152,7 @@ function addRoutes(app, peliasConfig) {
postProc.parseBoundingBox(),
postProc.normalizeParentIds(),
postProc.geocodeJSON(peliasConfig, base),
postProc.assignLabels(require('pelias-labels')),
postProc.assignLabels(),
postProc.sendJSON
]),
status: createRouter([

Loading…
Cancel
Save