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.***

#51 2013-06-23 12:43:13

Сергій Дубик
Member
From: Тернопіль-Львів
Registered: 2013-01-24
Posts: 66
Website

Re: Real time 3D map using WebGL

How to convert OSM lat long to F4 Map lat lon?
I try to add F4 Map link to http://wiki.openstreetmap.org/wiki/Template:Uk:Place ...

Offline

#52 2013-06-24 09:28:04

cmif4
Member
From: Paris
Registered: 2013-06-10
Posts: 121
Website

Re: Real time 3D map using WebGL

j3d wrote:

Buildings look very good now! One more wish, could you please pick a less saturated brown? smile

In fact we got a fallback table with color when it's indicated with 'words' (i.e: black, red, yellow...) but if it's a #ffffff hex color we don't change it.

Сергій Дубик wrote:

How to convert OSM lat long to F4 Map lat lon?
I try to add F4 Map link to http://wiki.openstreetmap.org/wiki/Template:Uk:Place ...

OSM is based on EPSG:4326, we're using ESPG:900913 (you may have a look here for conversion: https://gist.github.com/springmeyer/871897)

dkiselev wrote:

Hi, are you planning to add bridges http://wiki.openstreetmap.org/wiki/Bridge (man_made=bridge or relation) and 3d terrain?

We're not planning to add 3d terrain (even if we got a working solution for that) because it strongly complexifies building placement and camera movements and we don't want to add performance bottleneck. Adding bridges is linked to having a 3d terrain, without that it's not very usefull.

Offline

#53 2013-06-24 15:27:34

Jazzzz
Member
Registered: 2013-06-11
Posts: 5

Re: Real time 3D map using WebGL

Сергій Дубик wrote:

How to convert OSM lat long to F4 Map lat lon?
I try to add F4 Map link to http://wiki.openstreetmap.org/wiki/Template:Uk:Place ...

F4 Map now uses geodetic coordinates in URL, and I fixed the template.

Offline

#54 2013-06-25 13:44:30

Сергій Дубик
Member
From: Тернопіль-Львів
Registered: 2013-01-24
Posts: 66
Website

Re: Real time 3D map using WebGL

Jazzzz wrote:
Сергій Дубик wrote:

How to convert OSM lat long to F4 Map lat lon?
I try to add F4 Map link to http://wiki.openstreetmap.org/wiki/Template:Uk:Place ...

F4 Map now uses geodetic coordinates in URL, and I fixed the template.

Thank you very much! cool

Offline

#55 2013-08-01 09:28:47

animaux
Member
From: Weimar
Registered: 2013-08-01
Posts: 1
Website

Re: Real time 3D map using WebGL

Hi there you mysterious F4-folks wink very nice work you have done, it’s a pleasure to look at OSM this way!

I was wondering how your Flat-Map tiles are created? I couldn’t find any information. How did you achieve the pseudo-3d-style?

Thanks for some info!

Alex


Weimar aus der Vergangenheit in die Zukunft geholt, oder anders herum: http://zeitsprung.animaux.de

Offline

#56 2013-08-06 22:17:15

AndreR
Member
Registered: 2008-05-26
Posts: 19

Re: Real time 3D map using WebGL

cmif4 wrote:
dkiselev wrote:

Hi, are you planning to add bridges http://wiki.openstreetmap.org/wiki/Bridge (man_made=bridge or relation) and 3d terrain?

We're not planning to add 3d terrain (even if we got a working solution for that) because it strongly complexifies building placement and camera movements and we don't want to add performance bottleneck. Adding bridges is linked to having a 3d terrain, without that it's not very usefull.

If you already have a working solution, wouldn't it be nice to make it optional for stronger machines? From my point of view, this would be extremely cool!

Offline

#57 2013-08-08 19:09:16

!i!
Member
Registered: 2009-11-28
Posts: 3,313
Website

Re: Real time 3D map using WebGL

Hi, I noticed some issues:

1. Artifacts
See [1] and on O2W. I know such issues, it appeared times before when I missed some nodes that are shared by various building parts but usually this would affect O2W, too.

2. S3D interpretation
This green building looks very different on f4. I guess there are still some problems with defaults or interpretation of S3DB. IMHO this should be a higher priority (incl. all supported types of roofs etc.) if you want to make your map looking right.

3. Mixing weather data
I'm not a lawyer and don't know how our copyleft affects your final product and all data included. But I recommend to use www.openweathermap.org with the same ODbL to avoid any conflicts with your commercial weather map provider.

4. Scrup as performance killer
Yes, the little plants look very nice, but they just kill my desktop and you see how they need still generated line by line. IMHO this slowdown is to radical.

Currently your map update seems to be paused. When will there be any updates?


privater Account von KVLA-HRO-Mei

Offline

#58 2013-08-12 11:04:00

cmif4
Member
From: Paris
Registered: 2013-06-10
Posts: 121
Website

Re: Real time 3D map using WebGL

animaux wrote:

I was wondering how your Flat-Map tiles are created? I couldn’t find any information. How did you achieve the pseudo-3d-style?

Our tiles are created using TileMill and Mapnick we mostly use flat colors and textures for grass, sand... (using the polygon-pattern-file style)

AndreR wrote:

If you already have a working solution, wouldn't it be nice to make it optional for stronger machines? From my point of view, this would be extremely cool!

We don't want to release performance killer features too early to keep an overall satisfying result for most users.

!i! wrote:

1. Artifacts
See [1] and on O2W. I know such issues, it appeared times before when I missed some nodes that are shared by various building parts but usually this would affect O2W, too.

This sometimes occurs when several nodes or ways sharing the same position are not merged in osm.

!i! wrote:

2. S3D interpretation
This green building looks very different on f4. I guess there are still some problems with defaults or interpretation of S3DB. IMHO this should be a higher priority (incl. all supported types of roofs etc.) if you want to make your map looking right.

This comes from our interpretation of building:levels + roof:levels, i'm currently working on a fix for this issue.

In your example the building got conflicting attributes i think it should be simplified (for example i don't understand how roof:shape=flat combined with roof:levels=1 could work).

!i! wrote:

3. Mixing weather data
I'm not a lawyer and don't know how our copyleft affects your final product and all data included. But I recommend to use www.openweathermap.org with the same ODbL to avoid any conflicts with your commercial weather map provider.

I'm not either a lawyer, i'll ask the team opinion on this.

!i! wrote:

4. Scrup as performance killer
Yes, the little plants look very nice, but they just kill my desktop and you see how they need still generated line by line. IMHO this slowdown is to radical.

Scrubs are currently a first version, we're always working on optimization and performance improvement, for now scrubs and forests are performance killer when applied on large areas.

!i! wrote:

Currently your map update seems to be paused. When will there be any updates?

The synchronization server was paused for a week during the annual F4 team holiday, it should be back to normal in a few days.

Last edited by cmif4 (2013-08-12 13:46:52)

Offline

#59 2013-08-13 10:37:27

!i!
Member
Registered: 2009-11-28
Posts: 3,313
Website

Re: Real time 3D map using WebGL

Thanks for feedback. I will try to check the green building again.

Concerning the artifacts, I didn't found any seperated nodes, but call me wrong. Will check this again, too.

Here is another example of obvious S3DB issues:
http://map.f4-group.com/#postProcess.en … i=-112.873
http://maps.osm2world.org/?h=128&view=W … n=12.11015


privater Account von KVLA-HRO-Mei

Offline

#60 2013-08-13 15:48:32

cmif4
Member
From: Paris
Registered: 2013-06-10
Posts: 121
Website

Re: Real time 3D map using WebGL

When we remove the building parts from the outline it creates a hole and we do not handle roof shapes on multipolygons that's why this building looks weird.

Offline

#61 2013-09-13 02:20:35

things-change
Member
Registered: 2011-10-27
Posts: 351

Re: Real time 3D map using WebGL

Hy there,

I just saw this map today for the first time and for me it looks great!

Here some things that i've noticed:

-I think residential roads normally have no road markings and shouldn't have them in this map. Also parking_aisle, of course.

-Why don't you allow bigger zoom?

Some points about buildings/building parts:

-buildings with only the tags: building=yes and roof:shape=mansard (without any height tags) are drawn as single roofs directly on the ground. with the tag roof:shape=half-hipped for example, it is correctly, a building with a roof on it is drawn.

-roof:shape=skillion is in other direction than on kendzis map. I've just seen in wiki that there exists an tag roof:direction. is it used in this map? if, what are the values?

This roofs look strange. But, to be honest I don't know how to tag them right. I tried some things, but nothing worked. Anyone an idea? Here are the buildings in OSM. In housenumber 8 I used building:parts, but this also doesn't work.

Offline

#62 2013-09-13 06:11:31

Felis Pimeja
Member
Registered: 2010-10-27
Posts: 1,035

Re: Real time 3D map using WebGL

I've also wanted to point it:
buildings with one level and roof:shape tags are drawn as roofs on the ground. And another example when 2 level building with the roof is looking the same size as 1 level without roof tags.  It may be better to draw roof above the stories if no height tags assigned.
P.S. Anyway, the render is cool!

Offline

#63 2013-09-13 09:50:29

kendzi
Member
Registered: 2008-08-20
Posts: 250

Re: Real time 3D map using WebGL

Some description about roof tagging:
http://wiki.openstreetmap.org/wiki/Key:building:levels

I think that currently it is not defined what should happen when we choose gabled roof and building tagged only with level tag without roof:level tag.

Offline

#64 2013-09-13 10:48:47

cmif4
Member
From: Paris
Registered: 2013-06-10
Posts: 121
Website

Re: Real time 3D map using WebGL

These issues are now fixed on our internal server, it will be included in next server update.

Offline

#65 2013-09-13 12:22:47

Felis Pimeja
Member
Registered: 2010-10-27
Posts: 1,035

Re: Real time 3D map using WebGL

Great! Thanks. Waiting for update.

Offline

#66 2013-09-13 12:41:06

chris66
Member
From: Germany
Registered: 2009-05-24
Posts: 10,105

Re: Real time 3D map using WebGL

Hi,
any chance to get roof:ridge=yes evaluated?

Chris

PS: I like the new cranes (landuse:construction) smile

Last edited by chris66 (2013-09-13 12:46:45)


Mapper aus dem Münsterland.

Offline

#67 2013-09-13 12:53:40

cmif4
Member
From: Paris
Registered: 2013-06-10
Posts: 121
Website

Re: Real time 3D map using WebGL

chris66 wrote:

Hi,
any chance to get roof:ridge=yes evaluated?

Chris

PS: Like the new cranes (landuse:construction) smile

The ridge proposal has not been approved yet and according to taginfo there are only 294 use of this key around the world so we don't plan to handle it for now.

PS: the cranes handling was my idea, i'm glad you like it ;-)

Offline

#68 2013-09-13 13:09:24

things-change
Member
Registered: 2011-10-27
Posts: 351

Re: Real time 3D map using WebGL

Yeah, that was quick. Waiting for the update smile

How could the direction of roofs been set? Is roof:direction used? Or roof:ridge/edge?

Offline

#69 2013-09-13 13:17:49

cmif4
Member
From: Paris
Registered: 2013-06-10
Posts: 121
Website

Re: Real time 3D map using WebGL

things-change wrote:

How could the direction of roofs been set? Is roof:direction used? Or roof:ridge/edge?

We handle roof:orientation=along|across on base shapes the orientation is computed from the minimal oriented bounding box.
We also handle roof:slope:direction=float (with angle in degree from north) on skillion roofs.

Offline

#70 2013-09-13 13:44:21

things-change
Member
Registered: 2011-10-27
Posts: 351

Re: Real time 3D map using WebGL

Ok, i'll get a look on this tags.

btw, it seems that name of amenities (like shop=supermarket) which are set as a node, not are shown on the map.

Offline

#71 2013-09-13 13:46:39

cmif4
Member
From: Paris
Registered: 2013-06-10
Posts: 121
Website

Re: Real time 3D map using WebGL

if you want more details about how we use osm tags there are some explanations on our wiki page

Offline

#72 2013-09-17 16:43:06

cmif4
Member
From: Paris
Registered: 2013-06-10
Posts: 121
Website

Re: Real time 3D map using WebGL

cmif4 wrote:

We also handle roof:slope:direction=float (with angle in degree from north) on skillion roofs.

You can now use "N" "NE" "E" "SE" "S" "SW" "W" "NW" as roof:slope:direction value.

Offline

#73 2013-09-17 18:39:04

things-change
Member
Registered: 2011-10-27
Posts: 351

Re: Real time 3D map using WebGL

Has a roof tagged with 'N' exactly at 0 degrees it's highest point, or is it orientated an the line mostly in the north? For example, if you have a square roof and the lines are at 10/100/190/280 degrees, how would it look like?

Offline

#74 2013-09-17 18:51:31

chris66
Member
From: Germany
Registered: 2009-05-24
Posts: 10,105

Re: Real time 3D map using WebGL

roof:slope:direction is the direction downward, so if you put a ball in the mid of the roof it will roll to this direction.


Mapper aus dem Münsterland.

Offline

#75 2013-09-17 19:10:56

things-change
Member
Registered: 2011-10-27
Posts: 351

Re: Real time 3D map using WebGL

Hm. Wouldn't it be good to have a tag to orientate the roof to a wall? So that the ball rolls exactly to the middle of one side? wink

Offline

Board footer

Powered by FluxBB