New 3D buildings on the map

Talk about random things WiFiDB related, either new things, concepts, or issues to work out in code.
Post Reply
User avatar
ACalcutt
Vistumbler / TechIdiots Admin
Vistumbler / TechIdiots Admin
Posts: 1280
Joined: Sun Oct 21, 2007 6:50 pm
Location: Rutland, MA
Contact:

New 3D buildings on the map

Post by ACalcutt »

This is long in the making. I have been trying to recompile the OpenMapTiles basemap for a while but I finally have the hardware to get it done.

The process I am using to make the map can be seen here ( https://github.com/acalcutt/wdb-map-gen ). With this update the map is now using the openmaptiles 3.12.1 schema, which has had quite a lot of updates from our old map, which used the 3.9.0 schema (https://github.com/openmaptiles/openmaptiles/releases)

One of the major features in the new map is 3d building support. You can see this more when you adjust the viewing angles. I really like how this makes the map look, though it can get a bit complex in busier areas
3d_buildings_side.jpg
3d_buildings_side.jpg (418.12 KiB) Viewed 253 times
3d_buildings_side2.jpg
3d_buildings_side2.jpg (543.51 KiB) Viewed 253 times
When looking from above, the default view, the buildings aren't as noticeable but still add some nice depth to the map (especially combined with POI layer)
3d_buildings_top.jpg
3d_buildings_top.jpg (422.79 KiB) Viewed 253 times
arizonajon
Contributor
Contributor
Posts: 285
Joined: Wed Feb 04, 2015 11:17 pm
Contact:

Re: New 3D buildings on the map

Post by arizonajon »

Pretty cool, Andrew!
It's interesting that in my neighborhood most of the structures aren't rendered, except the local elementary school and a number of homes nearby. My house along with the other 600 or so are all missing. Do you know what the rules are for inclusion?
Cheers and 73 - Jon N7UV
User avatar
ACalcutt
Vistumbler / TechIdiots Admin
Vistumbler / TechIdiots Admin
Posts: 1280
Joined: Sun Oct 21, 2007 6:50 pm
Location: Rutland, MA
Contact:

Re: New 3D buildings on the map

Post by ACalcutt »

All the building data comes from the OpenStreetmap project. I think it just depends on what open data is out there, or what volunteers have added. The OpenMapTiles style I am using says it should include anything labeled an OSM Building ( https://wiki.openstreetmap.org/wiki/Buildings )

Looking at openstreetmap.org it doesn't seem like my map is missing anything they have available, its just that arizona is not done that well yet. Massachusetts has a lot of high quality open gis imagery, so I wonder if that is why the building footprints seem to be so good here.
User avatar
ACalcutt
Vistumbler / TechIdiots Admin
Vistumbler / TechIdiots Admin
Posts: 1280
Joined: Sun Oct 21, 2007 6:50 pm
Location: Rutland, MA
Contact:

Re: New 3D buildings on the map

Post by ACalcutt »

Looks like you can add Building to OpenStreetMap like this https://www.youtube.com/watch?v=E1YJV6I_rhY&t=49s . Once added there, the next time I rebuild the map it should be included.
User avatar
ACalcutt
Vistumbler / TechIdiots Admin
Vistumbler / TechIdiots Admin
Posts: 1280
Joined: Sun Oct 21, 2007 6:50 pm
Location: Rutland, MA
Contact:

Re: New 3D buildings on the map

Post by ACalcutt »

I've also been updating the sprites/icon-fonts for the points of interest with yet another forked project ( https://github.com/acalcutt/icon-fonts )

You can see these sprites around the map when you zoom in closer. They help give more information about what is around, like shopping, hotels, gates, bus stops, government, etc. The original sprites from the base theme I used were pretty basic and i noticed In the web console a lot were missing. I tried not to go overboard adding them, but at the same time it is nice to know what is in the surrounding area when looking at the APs.
sprite@3x.png
sprite@3x.png (198.18 KiB) Viewed 103 times
Attachments
wdb_sprites.png
wdb_sprites.png (289.88 KiB) Viewed 103 times
Post Reply