opensciencemap / vtm

a vector-tile map library written in java - running on android, desktop and within the browser
GNU Lesser General Public License v3.0
238 stars 176 forks source link

Have you looked into implementing an indoor layer? #40

Open baldur opened 10 years ago

baldur commented 10 years ago

There are some proposed tagging schemas out there and many buildings are already stored in osm see: http://wiki.openstreetmap.org/wiki/IndoorOSM

We are considering looking into implementing something for this and I just wanted to see if you had given it some thought or if it was already underway.

Awesome project by the way!!!

hjanetzek commented 10 years ago

Indoor layers would be a great addition! I had a look at it while experimenting with S3DB buildings but nothing implemented so far. As one should be able to highlight specific features dynamically I think the jts geometry layer that is currently in the making might serve as a base. I've put a very rough sketch in vtm-jeo repository, indoor_sketch branch (vtm-jeo is what I gave to another student as a start for writing the jts layer).

So basic rendering could be there soon. To cache objects sqlite might be worth looking at - not sure if android has rtree enabled but a simple tile index might suffice. A bit more tricky will probably to implement the object picking.. There is probably a lot more to do than I can't think of atm. Just go ahead and let me know when you are in trouble with OpenGL or some quirks in the library

the osmindoor.json is made with overpass-api: http://overpass-turbo.eu/s/2uq screenshot_2014-02-12-05-07-41 .

bhack commented 10 years ago

:+1:

paolodirollo commented 10 years ago

:+1: