SpyREST

Supported by Mashape

Home » api.openstreetmap.org Versions » Default Resources » notes » GET /api/0.6/notes.json

GET /api/0.6/notes.json

Description

Query Parameters

Name Type Example Values Description
bbox String -0.65094,51.312159,0.374908,51.669148 Coordugs from

Response Fields

Name Type Description
type String
features Array
features[].type String
features[].geometry.type String
features[].geometry.coordinates Array
features[].geometry.coordinates[] Float
features[].properties.id Integer
features[].properties.url String
features[].properties.comment_url String
features[].properties.close_url String
features[].properties.date_created String
features[].properties.status String
features[].properties.comments Array
features[].properties.comments[].date String
features[].properties.comments[].uid Integer
features[].properties.comments[].user String
features[].properties.comments[].user_url String
features[].properties.comments[].action String
features[].properties.comments[].text String
features[].properties.comments[].html String
Write
Preview

Examples

Shows the Notes on Maps bou...

Shows the Notes on Maps bounded by a region

Recorded at

2015-07-23 06:00:04 UTC

Try with cURL

Request URL

GET /api/0.6/notes.json?bbox=-0.65094,51.312159,0.374908,51.669148      

Query Parameters

bbox: -0.65094,51.312159,0.374908,51.669148
      

Request Headers

proxy-connection: Keep-Alive
accept: */*
user-agent: curl/7.37.1
      

Response Headers

connection: close
content-type: application/json; charset=utf-8
transfer-encoding: chunked
status: 200 OK
etag: W/"2a9a51af90b48b0a92888fdd5e88adf6"
x-powered-by: Phusion Passenger 5.0.14
x-content-type-options: nosniff
x-runtime: 1.329365
x-frame-options: SAMEORIGIN
x-request-id: VbCC5H8AAQEAAEAzQIAAAAAh
content-language: en
x-xss-protection: 1; mode=block
vary: Accept-Language,Origin
cache-control: max-age=0, private, must-revalidate
server: Apache/2.4.7 (Ubuntu)
date: Thu, 23 Jul 2015 06:00:04 GMT
      

Response Body

Shortened for readability

{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          -0.181784,
          51.5212478
        ]
      },
      "properties": {
        "id": 374869,
        "url": "http://api.openstreetmap.org/api/0.6/notes/374869.json",
        "comment_url": "http://api.openstreetmap.org/api/0.6/notes/374869/comment.json",
        "close_url": "http://api.openstreetmap.org/api/0.6/notes/374869/close.json",
        "date_created": "2015-06-05 07:16:54 UTC",
        "status": "open",
        "comments": [
          {
            "date": "2015-06-05 07:16:54 UTC",
            "uid": 2962232,
            "user": "midnight cowboy",
            "user_url": "http://www.openstreetmap.org/user/midnight%20cowboy",
            "action": "opened",
            "text": "'Little Venice' - is correctly called Browning's Pool - shouldn't it be coloured blue and there is an island nearest to the Blomfield Road side.",
            "html": "<p>'Little Venice' - is correctly called Browning's Pool - shouldn't it be coloured blue and there is an island nearest to the Blomfield Road side.</p>"
          },
          {
            "date": "2015-06-21 13:32:06 UTC",
            "uid": 113518,
            "user": "hadw",
            "user_url": "http://www.openstreetmap.org/user/hadw",
            "action": "commented",
            "text": "The Little Venice label is for the locality, not for the the water.  It shouldn't be blue.  There is currently no name for the water.\n\nCould you point out where on the ground the Browning Pool name is signposted.  We can't use another map as a source for this, and if it is local knowledge, it needs to be added  by the person with that knowledge.\n\nThe island is there, but not rendering, presumably because it has been mapped at the same  layer as the water.  That's arguably a rendering fault, but it is probably best to be explicit here.\n\nMapping it at layer 1 would possibly imply it is floating, so I think the correct approach is to move the water to a relation.\n\nActually, the problem may be that natural=wood is not recognized by the renderer, or that place implies a name only rendering.",
            "html": "<p>The Little Venice label is for the locality, not for the the water.  It shouldn't be blue.  There is currently no name for the water.</p>\n\n<p>Could you point out where on the ground the Browning Pool name is signposted.  We can't use another map as a source for this, and if it is local knowledge, it needs to be added  by the person with that knowledge.</p>\n\n<p>The island is there, but not rendering, presumably because it has been mapped at the same  layer as the water.  That's arguably a rendering fault, but it is probably best to be explicit here.</p>\n\n<p>Mapping it at layer 1 would possibly imply it is floating, so I think the correct approach is to move the water to a relation.</p>\n\n<p>Actually, the problem may be that natural=wood is not recognized by the renderer, or that place implies a name only rendering.</p>"
          }
        ]
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          -0.1702532,
          51.5204217
        ]
      },
      "properties": {
        "id": 399480,
        "url": "http://api.openstreetmap.org/api/0.6/notes/399480.json",
        "reopen_url": "http://api.openstreetmap.org/api/0.6/notes/399480/reopen.json",
        "date_created": "2015-07-19 15:03:22 UTC",
        "status": "closed",
        "closed_at": "2015-07-22 20:50:51 UTC",
        "comments": [
          {
            "date": "2015-07-19 15:03:22 UTC",
            "uid": 2822392,
            "user": "domdomegg",
            "user_url": "http://www.openstreetmap.org/user/domdomegg",
            "action": "opened",
            "text": "What would be the best way to do this? Currently both the platform underground and the outside building are tagged with the station, appearing and a duplicate. I thought that it should be the outside building as that it what would be most useful for navigation systems, as the previous one takes only to a nearby street. However, I think there should be some mark where the line does stop at the station.",
            "html": "<p>What would be the best way to do this? Currently both the platform underground and the outside building are tagged with the station, appearing and a duplicate. I thought that it should be the outside building as that it what would be most useful for navigation systems, as the previous one takes only to a nearby street. However, I think there should be some mark where the line does stop at the station.</p>"
          },
          {
            "date": "2015-07-22 20:50:51 UTC",
            "uid": 2822392,
            "user": "domdomegg",
            "user_url": "http://www.openstreetmap.org/user/domdomegg",
            "action": "closed",
            "text": "Copied approach from other stops on bakerloo line, attach it to station building",
            "html": "<p>Copied approach from other stops on bakerloo line, attach it to station building</p>"
          }
        ]
      }
    }
  ]
}