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

#226 2014-01-25 21:53:22

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

Re: Real time 3D map using WebGL

Ok, great.

Sometimes walls are (partly) at an angle. Are there tags to handle this?

Offline

#227 2014-03-28 20:46:59

LLlypuk82
Member
Registered: 2012-12-23
Posts: 2,512
Website

Re: Real time 3D map using WebGL

Hi. Is the rendering of multipolygons still support?
P.S. I mean segmented multipolygons which consists of many different parts (ways).

Last edited by LLlypuk82 (2014-03-28 21:09:48)

Offline

#228 2014-03-30 13:41:02

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

Offline

#229 2014-04-04 03:16:21

LLlypuk82
Member
Registered: 2012-12-23
Posts: 2,512
Website

Re: Real time 3D map using WebGL

cmif4 Thanks for the answer. I have problem with this area
All buildings (even simple parallelepiped) is not rendered.

Offline

#230 2014-04-04 10:06:26

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

Re: Real time 3D map using WebGL

Something there crash our building server, we're working on a solution, please do not try to fix the area on OSM side we're using it as a test case.

Offline

#231 2014-04-04 19:54:29

LLlypuk82
Member
Registered: 2012-12-23
Posts: 2,512
Website

Re: Real time 3D map using WebGL

Now it's alright. Thank you very much for fast reaction and solution! smile

Offline

#232 2014-04-29 07:55:05

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

Re: Real time 3D map using WebGL

Hi cmif4,
what´s about rendering of changes? Do you have technical problems?
I try to teach some young people in this city
http://demo.map.f4-group.com/#lat=51.22 … goto_f4map
how to make 3d models, but when we wait longer than 1 day for rendering, they re not especially enthusiastic... hmm

Best regards,
Marek

Offline

#233 2014-04-29 08:54:28

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

Re: Real time 3D map using WebGL

hello !

We've been having problems with osm synchronisation since last week and are actively working on it.

Sorry for any inconvenience !

Offline

#234 2014-04-29 13:18:53

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

Re: Real time 3D map using WebGL

Could yuo inform us, when the problem is fixed?

Offline

#235 2014-04-29 13:22:13

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

Re: Real time 3D map using WebGL

For now the server is 5 days late on OSM synchronization, we'll keep you informed here when we'll found a solution.

Offline

#236 2014-04-29 14:09:18

jgpacker
Member
From: Joinville, SC, Brazil
Registered: 2014-01-18
Posts: 124

Re: Real time 3D map using WebGL

marek kleciak wrote:

but when we wait longer than 1 day for rendering, they re not especially enthusiastic... hmm

Marek,
I haven't tested it yet, but there is a JOSM plugin for 3D rendering: http://wiki.openstreetmap.org/wiki/Kendzi3d
I hope it can help in visualizing the results.

Offline

#237 2014-04-29 14:17:41

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

Re: Real time 3D map using WebGL

jgpacker wrote:

Marek,
I haven't tested it yet, but there is a JOSM plugin for 3D rendering: http://wiki.openstreetmap.org/wiki/Kendzi3d
I hope it can help in visualizing the results.

I'm sure Marek is already using Kendzi3D but he wants to see the result in F4Map for the other features.

Offline

#238 2014-04-29 14:23:29

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

Re: Real time 3D map using WebGL

Dear jgpacker, thank You for the information.
Kendzi has created this tool according to my specifications. We are good friends. wink

And yes: I would be happy to see changes 1 hours after modelling in F4Map.
Dear cmif4, what´s about incremental update?

Offline

#239 2014-04-29 14:29:17

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

Re: Real time 3D map using WebGL

We're already doing incremental updates but our server is heavily charged by some evil processes that stuck the OSM Synchronization we're gathering the alliance forces to get it away from our galaxy as soon as possible.

Offline

#240 2014-04-30 09:06:01

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

Re: Real time 3D map using WebGL

server is starting to catch up, it's still 4 days late, and it should take approximately 4 days to catch up, so it should be in sync sometime during sunday smile

Offline

#241 2014-04-30 10:36:00

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

Re: Real time 3D map using WebGL

Thanks Cactusbone!

Suggestion:
use for building=garage without height=* as default height=3 meter
use for building=greenhouse  without height=* as default height=4.5 meter

Offline

#242 2014-04-30 10:41:52

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

Re: Real time 3D map using WebGL

We're already using mapping tables for height generation :

50 -> 75 meters for ['tower', 'skyscraper']
10 -> 20 meters for ['apartments', 'dormitory', 'hospital', 'hotel', 'commercial', 'industrial', 'warehouse', 'church', 'cathedral', 'civic', 'public', 'barn', 'hangar']
3 -> 4 meters for ['roof', 'canopy', 'cabin', 'shed', 'hut', 'garage', 'garages']
7 -> 10 meters for other values

Greenhouse automatically uses glass material on both walls and roofs

Offline

#243 2014-04-30 10:59:24

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

Re: Real time 3D map using WebGL

I know wink

I did it already 2008 for 3D model of Hamburg: http://www.hamburg.de/contentblob/40733 … modell.pdf
I introduced the term "Level of detail". In LOD 1 is the representation of buildings only by use of building outline and estimated height depend on use.
I defined also the table with heights for different building uses based on realistic values for heght.


OSM definition allows very detailed and more realistic height estimation.  I give you simply my experience.

Btw:
Realistic LOD 2 from Hamburg - http://www.maxon.net/uploads/pics/02_02.jpg

Offline

#244 2014-05-01 19:58:46

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

Re: Real time 3D map using WebGL

It works now. smile

1. Following polygon are not rendered:
http://www.openstreetmap.org/way/278201017
http://www.openstreetmap.org/way/168324687

What´s the reason?

2. This city: http://www.openstreetmap.org/#map=15/51.2200/18.5714 is an experiment area with some young users from the geodesy gymnasium Wielun.
Is it possible to render this area in shorter time periods? Also as a kind of experiment for You.
In the psychological point of view is it difficult to motivate young people during such actions when the results are visible after 24 hours.

Offline

#245 2014-05-02 09:09:26

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

Re: Real time 3D map using WebGL

Hi Marek,

both ways are not valid in JOSM (self intersecting polygons) i fixed them a few minutes ago.

BrokenPolygon.jpg

Offline

#246 2014-05-02 09:42:29

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

Re: Real time 3D map using WebGL

Thanks a lot cmif4! Still the same small mistakes wink

Last edited by marek kleciak (2014-05-02 09:42:44)

Offline

#247 2014-05-03 19:43:19

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

Re: Real time 3D map using WebGL

Offline

#248 2014-05-03 19:54:45

j3d
Member
Registered: 2013-05-07
Posts: 53

Re: Real time 3D map using WebGL

@marek: adding tags just to crash f4map is still kind of tagging for the renderer tongue

Initializing translations with locale en api.js:1
Shader precision:
precision highp float;
precision lowp int;
 api.js:1
Connecting to watcher index.js:1
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
Translations initialized successfully for locale en api.js:1
Connected to watcher index.js:1
[GSFN.Widget.Shell.initialize] loader.js?_=1399143003066:1
[GSFN.Widget.initialize] 5379 -- jquery version: 1.6.4 loader.js?_=1399143003066:1
roof shape not handled skillion  
Object
building:colour: "#c1bfb3"
building:part: "yes"
errors: Array[1]
f4roof: "skillion "
height: "8"
osm_id: "278768335"
parentBuilding: "polygon#278768331"
parentBuildingOsmId: "278768331"
querytype: "polygon"
roof:colour: "#6c8174"
roof:height: "0.5"
roof:shape: "skillion "
way: Object
way_area: 41.1732
z_order: 0
__proto__: Object
 api.js:1
Uncaught TypeError: Cannot read property 'name' of undefined api.js:1
XHR finished loading: GET "http://osmsync.f4map.com/state.json". api.js:1

(above link, using ubuntu 14.04 with chromium)

Last edited by j3d (2014-05-03 19:55:43)

Offline

#249 2014-05-03 20:06:09

j3d
Member
Registered: 2013-05-07
Posts: 53

Re: Real time 3D map using WebGL

@marek: looks like there is a space too much in 'skillion '

btw, bug reports are also welcome for the other webgl map http://opensciencemap.org/s3db/#scale=1 … lon=18.573

Offline

#250 2014-05-03 20:08:28

j3d
Member
Registered: 2013-05-07
Posts: 53

Re: Real time 3D map using WebGL

@cmif: How about using your "Watcher" to catch unhandled exceptions and send them to some CrashLytics server?

Offline

Board footer

Powered by FluxBB