kekscom / osmbuildings

OSM Buildings Classic 2.5D
http://osmbuildings.org
BSD 2-Clause "Simplified" License
505 stars 140 forks source link

Some examples of how to get hights from wms server #78

Closed am2222 closed 9 years ago

am2222 commented 9 years ago

Hi, I am intrested to find out that if it is possible to get building hight and roof shapes from a wms server such as geoserver and use those data in osmbuildings.Is this even possible? how can I learn more about it? Thank you so much

kekscom commented 9 years ago

Hi, You'll probably need a WFS source. Even then, height and roof shape might not be present in the data. Once your data is clarified, its likely a transformation like from GML to GeoJSON. At that point, I can help with further assistance.

am2222 commented 9 years ago

Thank you for your answer,I have worked with WFS services but have not try transforming from tham to GeoJSON, the only way is transforming to GEOJSON and then using this javascript liberary?right?

kekscom commented 9 years ago

Any kind of JSON will be consumed and the final internal structure is kind of GeoJSON. That's why a direct conversion to GeoJSON would make a lot of sense. Though it might not be trivial.

am2222 commented 9 years ago

Thank you for your great help