Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 621 Bytes

within.md

File metadata and controls

33 lines (18 loc) · 621 Bytes

Geometries within bbox

Returns GeoJSON data for SharedStreets Geometries within a bounding box.

  • URL

    /geom/within

  • Method:

    GET

  • URL Params

    Required:

    authKey=[SharedStrets API Key]

    bounds=[lng1],[lat1],[lng2],[lat2] a bounding box defined by two corners (e.g. NE and SW) expressed in decimal degrees

  • Data Params

    None

  • Success Response:

    • Code: 200
      Content: {type:"FeatureCollection", features: [...]}

    • Code: 401 UNAUTHORIZED
      Content: { error : "You are unauthorized to make this request." }