       else
         res.end()
     
-
+# get measurements for wifi access points with GET /measurement/wifi
 router.get '/wifi', (req, res, next) ->
   points = []
   if req.query.nelat is undefined or req.query.swlat is undefined or req.query.nelng is undefined or req.query.swlng is undefined

          coordinates: [req.body.lat, req.body.lng]
      )
    else
      console.log('Replacing available measurement entry.')
      measurement = measurements[0]
      measurement.signalDBm = req.body.signalDBm

    res.json(points)
  )

# get measurements for signal strength with GET /measurement/signal
router.get '/signal', (req, res, next) ->
  points = []
  if req.query.nelat is undefined or req.query.swlat is undefined or req.query.nelng is undefined or req.query.swlng is undefined
