OpenStreetMap logo OpenStreetMap

hesidoryn's Diary

Recent diary entries

GSoC - week 3

Posted by hesidoryn on 4 June 2018 in English.

Hello, Community!

Last week I implemented history call to retrieve all old versions of an element, version call to retrieve a specific version of the element and added possibility to specify version number for element in multi fetch call, i.e.:

  • GET /api/0.6/[node way relation]/#id/history
  • GET /api/0.6/[node way relation]/#id/#version
  • GET /api/0.6/[nodes ways relations]?#parameters (added optional version number)

Request examples:

Unfortunately, current and history tables contains the same data, so currently it’s not possible to get all element’s history or some old version of element.

Next week I will implement relations for element and ways for node calls. So I will finish all read-only elements calls.

Hello, Community!

I’m trying to implement Openstreetmap API using Go language.

I started to implement single element, multi element and full element fetch calls, i.e.:

  • GET /api/0.6/[node way relation]/#id
  • GET /api/0.6/[nodes ways relations]?#parameters
  • GET /api/0.6/[way relation]/#id/full

To test that API works fine I used test suite. All routes are passed these tests. You can find detailed test reports here.

API demo is located here. Request examples:

Database contains data only in bbox=27.61649608612061,53.85379229563698,27.671985626220707,53.886459293813054 and data can be out of date.

Location: Нізкі Рынак, Tsentralny District, Minsk, 220030, Belarus