📜 ⬆️ ⬇️

"Toy" cartography or 3D cards do it yourself

About one and a half years ago, a post about unique maps of the Chinese search engine Baidu was posted on Habré (for those who have not seen, here it is: http://habrahabr.ru/post/115107/ ). I was amazed at how painstaking, detailed and beautifully these maps were made, so one day we, together with a group of comrades, decided to sort out the process of creating Baidu-cards and make our own maps of the whole world that would look just as cool. There are a lot of pictures under the cut, the disclosure of the secret of Baidu-like cards and what we have.




Search for a solution (how did the Chinese do it?)


It is obvious to all that such things are something completely new for cartography. They are beautiful, they are interesting, they can be seen for hours. They are understandable, in the end, because it is probably easier to find a building where you have an appointment if the map contains a detailed copy of it, and not a dull gray rectangle. Similar cards do not only Baidu; Here are a few examples: Edushi ( shanghai.edushi.com ), the city of Kerch ( http://gorodkerch.com/map/ ), even Bing shows non-aerial photography at some zoom levels ( http://binged.it/O3F5Ez )
')
At first glance, it is clear that creating a map of this level of detail requires huge resources. The first thing that comes to mind is the work of millions of specially trained Chinese, who painstakingly draw, by pixel, each building, tree and bench. We started with this (not with the search for an extra million Chinese artists, but with the rendering of buildings using pixel art).

It soon became clear that the creation of even one house required an incredible amount of time and effort. We were more and more convinced that Baidu is a 3d-map, that they are rendered, and not drawn by pixel to pixel by diligent Chinese guys. In fact, the fact that the maps were created in 3d, says a lot: the shading between nearby buildings, the same parts and objects that are located at different angles to the camera. In the end, on the site http://www.o.cn/ (manufacturer of maps for Baidu) we found a page that fully confirmed the conjectures: http://gis.o.cn/en/3d-process.html . So, there was no doubt, Baidu is just very high quality rendered 3d maps.

Our experiments


But even the identification of technology did not solve all the problems - the question was still open as to who and how would fill such cards. Okay, each object doesn’t need to be painted by hand, the same buildings can not be redrawn from scratch, but only re-rendered ... However, where can we get such detailed, beautiful and detailed models of buildings?

Such questions and searches led us to the decision to make the map a collaborative one, that is, to create it together with the users. Just imagine: users draw not lines and rectangles in OpenStreetMap or Wikimapia, but beautiful, almost toy models of real-life houses!

The campus of Stanford University was chosen as the test object. To understand how cool the maps can be made, and to understand the process of their creation, we decided to first model the terrain on our own. During the work on the university map, it was found that getting a Baidu level picture is absolutely real with v-ray:

We can render not only a single view of the city from north to south, but all four types of it, or even more:

Changing the light in the scene, it is easy to get a night view:

3d leaves a lot of room for detail and zadrotstvo - you can draw layouts, lights, bushes, benches, and other tasty things:

So, we modeled Stanford University on trial and proceeded to create a map of San Francisco, deciding to give everyone access to this process. Now the map is assembled as follows: users in the 3d-constructor application (we have chosen Unity 3d) create models of houses, and on the server in the v-ray standalone package are rendered and sent to the general map beautiful pictures.

As a result, the full cycle of the application looks like this:

Conclusion


Now we are preparing a beta version of the application for release in the AppStore, with which users can create a San Francisco map. We have learned how to make pictures of excellent quality, with the smallest detail and precise fit to a geographical location.
At the very beginning, we assumed that it would be very interesting for users to make such cards, but we never tested this assumption in practice. Today, for the first time, we are showing our work to a wide range of people, and therefore we want to ask: would you be interested (yes, personally to you, habraiser) to participate in filling such cards? And we have one more question: how / why specifically would you be interested to use these cards / technology?

We will be glad to any feedback!

You can see our maps here:


ps Anticipating holivars on “fu, a map with only four views is garbage, nothing will ever replace real 3d”: just look at the picture. Here is the same building of the Stanford Church. So it looks on fresh 3d-cards from Apple and on our map. We think the difference is obvious.



pps Yesterday we tried to publish on Habré, but let GAE down the billing and we were out of quota.

Source: https://habr.com/ru/post/147999/


All Articles