You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#376 2015-07-28 10:55:34

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,439

Re: Real time 3D map using WebGL

Offline

#377 2015-08-05 11:02:01

Jakka
Member
Registered: 2014-10-17
Posts: 81

Re: Real time 3D map using WebGL

Is there a update of this list ?
Especially there where we can make the difference ;-


cmif4 wrote:

buildings and roof color
roofs shapes (flat, pyramidal, hipped, gabled, pitched, dome, onion, mansard)
barriers (wall, fence and hedge)


forest, tree, tree_row
artwork (sculpture and statues)
chimney and nuclear water cooling
wind generators
fountains
cemeteries
lighthouses
power lines, poles and towers
...

Online

#378 2015-08-06 10:22:20

Cactusbone
Member
Registered: 2013-06-11
Posts: 111

Re: Real time 3D map using WebGL

@marek wow that's unexpected !! Looking into it now smile

@Jakka I'm not sure what you want... http://wiki.f4map.com/wiki/3D_Render should be approximately up to date for what's handled in f4map

Last edited by Cactusbone (2015-08-06 10:23:08)

Offline

#379 2015-08-06 20:06:49

Jakka
Member
Registered: 2014-10-17
Posts: 81

Re: Real time 3D map using WebGL

I was looking for example factory, gate lorry gates, doors, windows, to give my building more details.  And how to do it easy wink

Some buildings....

http://demo.f4map.com/#lat=50.7763070&l … phi=-89.84

http://demo.f4map.com/#lat=50.7751027&l … phi=48.991

How to lower the ground level with -1.5 m only where the lorry drive backwards again the gates?

thx

Online

#380 2015-08-07 08:37:20

shrddr
Member
Registered: 2015-04-10
Posts: 72

Re: Real time 3D map using WebGL

i'm pretty sure you can't alter the ground level in any way

Offline

#381 2015-08-11 11:00:54

Cactusbone
Member
Registered: 2013-06-11
Posts: 111

Re: Real time 3D map using WebGL

Offline

#382 2015-08-12 10:34:00

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,439

Re: Real time 3D map using WebGL

Something is going wrong. All roof shapes are flat...

Offline

#383 2015-08-13 10:15:23

Cactusbone
Member
Registered: 2013-06-11
Posts: 111

Re: Real time 3D map using WebGL

we were having a problem yesterday. it should have been fixed around 12:30 CEST smile

Offline

#384 2015-08-13 11:22:16

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,439

Re: Real time 3D map using WebGL

OK, it works now. smile
Implement area:highway in your model. See: http://osmapa.pl/w/area/?lat=52.10564&l … m=19&ol=BP
Specification:
http://wiki.openstreetmap.org/wiki/Prop … treet_area

Daily comes now about 1000 new areas...

Offline

#385 2015-08-28 10:10:58

shrddr
Member
Registered: 2015-04-10
Posts: 72

Re: Real time 3D map using WebGL

About that problem:

shrddr wrote:

Some dome roof buildingpart weirdness

levels=18, min_level=2 -> 2 levels shorter then it should be
levels=16, min_level=4 -> 4 levels shorter then it should be

levels=13, min_level=10 -> no walls + a roof at level 3
levels=11, min_level=8 -> no walls + a roof at level 3
levels=9, min_level=5 -> no walls + a roof at level 4

However, if you change roof shape to pyramidal on these parts, everything works as expected.

img1 img2 url

- still no fix?

Last edited by shrddr (2015-08-28 10:11:27)

Offline

#386 2015-08-31 09:47:40

Cactusbone
Member
Registered: 2013-06-11
Posts: 111

Re: Real time 3D map using WebGL

sorry we had no time to look into it hmm I'll try doing it during this week

[EDIT] looks like a bug with dome roof without roof:height or roof:levels . basically for roof, we try to calculate the diameter of the base building to draw a nice rounded roof.
Adding height should fix it for now. we're trying to fix it anyway. FYI, for pyramidal we apply a default 4m height.

Last edited by Cactusbone (2015-08-31 10:25:28)

Offline

#387 2015-09-01 08:18:03

shrddr
Member
Registered: 2015-04-10
Posts: 72

Re: Real time 3D map using WebGL

Might be a similar problem here: glitched rendering of gabled roof. Changing to pyramidal fixes it.
http://www.openstreetmap.org/way/367824450
http://demo.f4map.com/#lat=53.9474171&l … .phi=35.81

Offline

#388 2015-09-01 09:04:32

shrddr
Member
Registered: 2015-04-10
Posts: 72

Re: Real time 3D map using WebGL

Also, can we force a refresh for a specific building? Waiting until the next day after every little change is really frustrating.

Offline

#389 2015-09-01 10:32:27

Cactusbone
Member
Registered: 2013-06-11
Posts: 111

Re: Real time 3D map using WebGL

should be fixed now ! thanks for the report (with nice and useful details, it really helped debug).

caching is done per "tile" so you can't force a specific building hmm it's 12h of cache right now.
I understand it can be really frustrating. I'll try to think of something.

Offline

#390 2015-09-02 08:24:07

shrddr
Member
Registered: 2015-04-10
Posts: 72

Re: Real time 3D map using WebGL

Might be a similar problem here: glitched rendering of gabled roof. Changing to pyramidal fixes it.
http://www.openstreetmap.org/way/367824450
http://demo.f4map.com/#lat=53.9474171&l … .phi=35.81

Doesn't work even though I explicitly specified roof:height
K3M3QqM.png

Offline

#391 2015-09-02 09:48:53

Cactusbone
Member
Registered: 2013-06-11
Posts: 111

Re: Real time 3D map using WebGL

@shrddr
roof:height would only have fixed dome hmm
we'll look into it.

Last edited by Cactusbone (2015-09-02 16:15:43)

Offline

#392 2015-09-02 14:27:59

kocio
Administrator
From: Warszawa
Registered: 2013-09-04
Posts: 3,567
Website

Re: Real time 3D map using WebGL

I have found some problems with 3D objects in Warsaw on F4, but it doesn't seem to me to be a data issue (at least Kendzi3D shows them properly):
1. http://www.openstreetmap.org/relation/3217013 -> http://demo.f4map.com/#lat=52.2424786&l … 54&zoom=19
2. http://www.openstreetmap.org/way/34614532 -> http://demo.f4map.com/#lat=52.2491393&l … phi=94.252

Offline

#393 2015-09-02 16:15:27

Cactusbone
Member
Registered: 2013-06-11
Posts: 111

Re: Real time 3D map using WebGL

@kocio
Metropolitan : be careful, relation#75539 is also marked as building
way 238660071 is marked as building with a height = 0.1. I think this is to avoid volume rendering. for f4map you can use building:part=no for that. height on the building should always be the real height of the building
That being said, I don't know what's causing the bug, we'll look into it too

For the library, there are no parts starting from the ground. It seems like you're trying to use the outline for rendering this time. You must use a part for that too, and set the correct height on the outline (which is not rendered at all since it's fully covered by parts)

Last edited by Cactusbone (2015-09-02 16:17:13)

Offline

#394 2015-09-02 20:00:32

kocio
Administrator
From: Warszawa
Registered: 2013-09-04
Posts: 3,567
Website

Re: Real time 3D map using WebGL

Thanks! I will pass the message to the people dealing with those 3D objects.

***

I have also more general 3D-related problem. I try to render fountains on osm-carto, but it seems that current definition (amenity=foutain) does not cover such things as nozzles and other objects being a part of fountain (for example lights and the artworks). For example in this fountain:

http://www.openstreetmap.org/way/79738429

the name shows that "fountain" is this whole structure, but it's tagged just as a water and individual nozzles are tagged as amenity=fountain. My current tagging idea goes like this:

https://github.com/gravitystorm/openstr … -137197243

but maybe looking from 3D perspective you have more ideas to try?

Offline

#395 2015-09-03 16:27:04

Cactusbone
Member
Registered: 2013-06-11
Posts: 111

Re: Real time 3D map using WebGL

@shrddr ok we fixed it. thanks again for the report ! smile

Offline

#396 2015-09-05 21:26:18

xmd5a
Member
Registered: 2013-01-02
Posts: 879
Website

Re: Real time 3D map using WebGL

Something changed some time ago and now most buildings in Moscow, Red square (and Kremlin) are gone
http://demo.f4map.com/#lat=55.7521494&l … eta=43.236
http://www.openstreetmap.org/#map=18/55.75264/37.62351
They are tagged as relation type=multipolygon+building=yes + type=multipolygon + building:part=yes

Offline

#397 2015-09-07 11:03:05

Cactusbone
Member
Registered: 2013-06-11
Posts: 111

Re: Real time 3D map using WebGL

It seems there's a problem with elevations activated. try without them smile

EDIT : fixed with elevations! thanks for the feedback smile

Last edited by Cactusbone (2015-09-09 14:38:11)

Offline

#398 2015-10-17 13:55:38

_PurpleAlien_
New Member
Registered: 2015-10-17
Posts: 1

Re: Real time 3D map using WebGL

@Cactusbone

Apologies for hijacking this thread, but I've been trying to get in touch with f4map.com since we'd like to know what the licensing options are to integrate the map into a custom, commercial application for GPS tracking - to no avail. Is there anything you can do to get me in touch with the right people?

You can email me: johan (dot) dams (at) wrdsystems.co.uk

Offline

#399 2016-05-31 09:56:20

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,439

Re: Real time 3D map using WebGL

Dear F4 team,
I go crazy because of differences of the interpretation of 3D tagging between you and Kendzi3D which is the only one existing tool which shows in real time what happens during 3D attributation of tags.

An good example could be this: http://demo.f4map.com/#lat=27.7151026&l … phi=-14.61

https://www.openstreetmap.org/way/201223707

I would suggest a meeting to clarify the differences.
I have also suggestions regarding bottom parts of building:part elements.
I started to describe this here:

http://wiki.openstreetmap.org/wiki/Roof_position

Offline

#400 2016-05-31 10:30:22

Cactusbone
Member
Registered: 2013-06-11
Posts: 111

Re: Real time 3D map using WebGL

Difference is impressive indeed... We'll try to find what's wrong.

building:roof handling seems different, when we see building:roof, only the roof part is rendered, not the building below it. this enables to have a floating roof, which seems to be what you want here smile

Central part : It looks like we're inheriting roof:shape from the building to the parts.
Either make the bottom dome a building:part, or specify roof:shape for every part.

I don't know what properties kendzi inherit from building.

Interesting roof proposal smile I like how it enables to make arches, but it's not straightforward to think of the roof as beneath the building. and you need another part to have a normal roof above.

Last edited by Cactusbone (2016-05-31 11:11:36)

Offline

Board footer

Powered by FluxBB