I am using Cesium, and I would like to make a 3d city representation.

I would like to retrieve a .json of the current location I am from OpenStreetMap. I have the position and the altitude of where I am.

The problem is that I do not understand/can't find from which url source I can retrieve buildings ID and their relative height for a defined tileset position in openstreetmap

I found a lot of exemple on internet and lib that do this, but I need to do it from source, and I do not quite know how.

Basically, how does for exemple this : https://osmbuildings.org/ get the data from

asked 11 Apr, 10:03

Popolee's gravatar image

Popolee
11113
accept rate: 0%

edited 11 Apr, 10:25


Generally speaking, openstreetmap.org itself only provides raw data. This is done as bulk downloads of the entire planet and as very small on demand extracts for editing purposes. There is some capacity for larger extracts on openstreetmap.org, but availability is dependant on server load. Regularly updated extracts for countries/cities are available via other sites. I believe, bbbike.org's service supports geojson, if that is what you require.

Unfortunately, for the larger part of your question I can't offer much help. OpenStreetMap has it's own data format that stores what 3D information it has as tags on the relevant objects. The most common scheme for this seems to be Simple 3D Buildings.

permanent link

answered 13 Apr, 14:52

InsertUser's gravatar image

InsertUser
3.2k12559
accept rate: 20%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×233
×214
×113
×31

question asked: 11 Apr, 10:03

question was seen: 353 times

last updated: 13 Apr, 14:52

powered by OSQA