Talk:Glosm

From OpenStreetMap Wiki
Jump to navigation Jump to search

Feature Requests

I'd really love to see "building:roof:color" and "building:facade:color" to be added. I took a look at the code to add it myself but I could find a proper way. Egore911 23:24, 20 February 2011 (UTC)

That requires adding a color array in addition to vertex one, but to be done effectively, indexed primitives need to be implemented first. This is planned --AMDmi3 08:45, 21 February 2011 (UTC)
Hi, I'm not the author but all 3d staff currently talking at 3D Development on fine tuning the tags and adding more details. So the tags might change--!i! This user is member of the wiki team of OSM 07:29, 21 February 2011 (UTC)

Right now glosm is only capable of rendering roof tops for houses with exactly 4 corners. It would be great if glosm would be able to render the roof for houses with more than 4 verices as well. See belows for an example image showing the problem (and a possible solution for rendering). --Egore911 12:09, 21 March 2011 (UTC)

Roof rendering.svg
That is obviously planned, but not with high priority --AMDmi3 14:55, 23 March 2011 (UTC)

For mobile devices

Hi there, I'm a fan of OpenPandora handheld, that offers an OpenGL ES 3d chipset but unfortunatly only 256 MB Ram. Might it be possible to use Glosm in nearly realtime? --!i! This user is member of the wiki team of OSM 14:00, 6 February 2011 (UTC)

Yes! It already runs on Nokia N900 (Maemo) (the changes needed for this are in glesviewer branch on GitHub), and it renders 3x2km urban area at 50FPS on my device. This still requires some work to be useable: geometry tiling should be finished (it won't be able to render whole city due to both performance and memory, and working with large dumps is inconvenient in general, so data should be operated in small tiles of approx z15 size). When that's done it'll be pretty easy to make a simple working 3D navigation app: my plans are to use one of servers donated by Rambler to setup on-the-fly geometry tile generation and to enhance glosm-viewer with support for tile downloading, touchscreen-friendly navigation mode and probably minimal gps support. --AMDmi3 04:19, 12 February 2011 (UTC)
Wow that sounds realy great :) On my usecases it would be perfect if it supports local storage, too. So if you are mostly in one city you load it once and thats it :) Oh you might ask the folks of OSM-3D if you could access/support their servers.
Local storage is absolutely implied, along with ways to preload it with desired area and update afterwards. --AMDmi3 14:26, 12 February 2011 (UTC)
BTW you know the 3D Development discussion, already? Would be interesting to get your point of view for the ideas --!i! This user is member of the wiki team of OSM 07:46, 12 February 2011 (UTC)
Well I don't really plan to support external models at this stage, however I'm concerned with current way of taggind multilevel buildings which is not really friendly to countries which start level numbering from one instead of zero. See first comment on User_talk:Jongleur/MultiLevel_Building_Shapes. Should that be copied onto Talk:3D_Development or maybe into separate proposal? --AMDmi3 14:26, 12 February 2011 (UTC)
Hopefully we can join all together and buildup one single proposal/definition. You mark a good point, by the way. Cause your work seem to run well I would be glad to see your voice on this discussion :) --!i! This user is member of the wiki team of OSM 18:25, 12 February 2011 (UTC)

Complex level models

Hi, at your page, you show up a tower with multiple levels [1]. Can you tell me how is it done/link to a scheme please? --!i! This user is member of the wiki team of OSM 08:58, 21 February 2011 (UTC)

It's Ostankino tower in Moscow: http://osm.org/go/0t2erbu2g-- Not sure if this scheme is documented - afaik, it was done with "building=yes" parts first, then was changed to non-standard replacement "building:part=yes" to not appear as multiple buildings while being a single one (which bugged some users). Actually, glosm has a specific hack to render it properly, and I'd not recommend using it as an example of how things should/may be mapped. I personally think that such multipart buildings *must* be done with relation, and I've made a draft proposal for it, though is needs some more work. --AMDmi3 11:43, 21 February 2011 (UTC)