[purchase_link id=”22″ text=”购买” style=”button” color=”blue”]
国内的朋友可能对Mapbox有点陌生。 Mapbox是一家美国独角兽公司。在今年三月旧金山的游戏开发者大会上，Mapbox全新发布了Mapbox Unity SDK，这使得Mapbox的地图、导航和定位功能可以在Unity游戏引擎中轻松实现。除了游戏，Mapbox也是VR、AR和模拟类的极其可靠的地理位置平台。我们的主要服务对象包括：类似Pokemon-Go的地理位置游戏，模拟游戏，地理类排行榜，地理类聊天以及位置相关广告用户。
在发布MapboxUnity SDK之前，我们支持了一批独立游戏如《Map of the Dead》，还有美国艺电公司的《战地4》等在排行榜前几位的游戏。现在，有超过1500位游戏开发者用Mapbox Unity开发游戏，并且有一大批合作伙伴有兴趣使用。
Mapbox Unity SDK在最初版的时候就面向C#游戏开发者，便于整合Mapbox的地图、定位和路径在Unity驱动的应用。
– 用Geocoding API标注搜索资产
– 用Direction API规划从A点到B点
除了MapboxUnity SDK，Mapbox是一家美国著名的地图引擎公司，以漂亮流畅的地图著称。超过6000多家知名平台使用Mapbox，如Pinterest, Snapchat, CNN,Airbnb, 国家地理杂志，万事达卡，Tableau,IBM, The Weather Channel等，有数十万开发者使用Mapbox开发。
– 用Mapbox Unity SDK开发的游戏
现场演示如何使用Mapbox Unity SDK
cityengine2016.1版本，cityengine2017年第二个新案例ESRI官方发布啦，这个案例说的什么鬼，或许能让你联想到arcgis pro 1.4的某些影子。
In the last couple of years Story Maps have become quite popular with ArcGIS Desktop / Online users. They provide a quick and efficient way to deliver important information or a message in a form of an easily-configurable web application that uses geographic data and can be enriched by adding various types of media content. There are thousands of story maps that you can access through ArcGIS online and it’s very easy to create your own.
One of my areas of expertise is 3D GIS and from time to time people ask me whether it’s possible to display 3D information in a Story Map. Well, the answer is yes. This functionality has been available for more than a year and I believe it’s time to write a blog about the workflow that will make your story maps 3D –enabled.
In this blog I will demonstrate how to use CityEngine 3D scenes to publish your 3D data to ArcGIS Online and create an interactive Story Map that uses 3D web scenes.
For the purpose of this demo, I used one of the CityEngine Examples provided by Esri Inc. on their CityEngine Gallery web page, available here:>>
The example that I’m using is called Redlands Redevelopment 2016; it can be downloaded as a package that includes the CityEngine project, CGA rule files, data and documentation.
To follow the below steps, you will need CityEngine 2016 and an active ArcGIS Online organizational subscription.
To illustrate the capabilities of the CityEngine and ArcGIS software that can help you to publish your 3D data on the web and use it in an interactive Story Map web application, I will consider the following scenario.
Let’s assume that the Council is planning to re-develop a portion of the downtown area in Redlands and they’re currently evaluating several proposals that include a residential complex, a business / Technology Park and a shopping center with a multi-level car park. The task is to create 3D models that represent each proposed project and provide the general public with a simple tool to access this information before the final decision can be discussed and made.
I used the data and the CityEngine rules from the original Redlands Example to create a simple model of the central part of the City of Redlands and digitized the boundary of the fictitious proposed development:
In this blog I will avoid talking about the details of how the proposed development area was subdivided into individual footprints and then the CGA rules were applied to them to generate models of buildings, parks and open areas.? If you’d like to repeat the steps mentioned below, you can download a simplified version of the CityEngine project which I created for this demo. It’s available here: ?>>
I used the CGA rules from the Redlands redevelopment CityEngine project supplied by Esri Inc. to create 3 separate CityEngine scenes, each representing a particular scenario of the proposed development. ?Each 3D scene will be published to ArcGIS Online and used in the future Story Map as a separate tab / view.
So, my re-development scenario models are:
- A residential complex
2. A business / technology park (offices)
3. A new shopping center
The first step in the process of publishing your 3D Scenes from CityEngine is to select all features and models within a scene and use the File > Export Models command to export the scene as an Esri Scene Layer Package.
Please note that it’s recommended that your CityEngine Scenes are using the WebMercator (WGS1984) projection, as shown below. This will help to avoid some common issues with aligning your 3D data in the web scene viewer in ArcGIS Online.
When exporting models to an Esri Scene layer Package you can choose between creating a local scene and a global scene. The geographic extent of the dataset is relatively small, so in this particular case we can use the Local Scene setting.
This process needs to be repeated for the two other scenes representing scenarios 2 and 3. Once the export has been completed, you should have the following Scene layer packages:
The next step is uploading the scene layer packages to ArcGIS Online. Navigate towww.arcgis.com, sign in to you ArcGIS Online for Organisations account and use the Add Item button (under MyContent) to load the scene packages.
You can also load the scene layer packages using the File > Share As command in CityEngine.
Once loaded, the scene layer packages will automatically be published as hosted scene layers.
You can then open them in the Scene Viewer
Then save each as a separate web scene
These web scenes will be referenced by the Story Map that will be created in the next step.
Now that the 3D scenes have been published, we can create a Story Map that will use them. Scenes can be viewed as a part of a Story Map in a browser that supports WebGL. The full list of system requirements is available here: >>
Users can create Story Maps using the downloadable examples or online template. Currently, there are several Story Map templates that support the addition of the 3D web scenes, including the Story Map Journal, Story Map Cascade and Story Map Series.? The full list of the available Story Map templates is available here: ?>>
In this example, I will use the Story Map Journal template. Creating Story Maps using the interactive workflow on the website is easy – you need to start the wizard, enter the title and define the content of the main stage and the side panel. At each step the Map Journal Builder application will guide you by providing tips and instructions.
To add a Web Scene to your story map, in the Step 1 : Main Stage content, set the type of content to Web page
I spend a lot of time browsing GeoNet, looking for help and seeing where I can help. I thought what might be missing was a place to share some completed work – showcasing how we are using CityEngine and to gather comments and critique by the group. So I thought I’d start one….. feel free to post thoughts, comments, suggestions etc. or shared your own CityEngine work.
I’ve recently completed a project for a client – a redevelopment concept for a prominent 80-acre site occupied by an aging and outdated strip commercial site. I think the process I used was somewhat unique. The site plan was roughly sketched out with pen and paper, moving the primary building closer to the street, while reducing parking in favor of additional outlot commercial buildings. Opportunities for taller mixed-use buildings on the west side of the site were also suggested. The sketch plan was drawn out in SketchUp, and a simple 2D plan was color coded. I exported it as a KML and imported it into CityEngine. In CityEngine I simply applied my rules onto the color coded shapes created in SketchUp.
1. Aerial of the site – 80-acres at a prominent intersection of a regional corridor
2. SketchUp model imported into CityEngine as?KML/KMZ
3. Color coding/rule explanation
4. Rules applied and linework on
5.?Final CityEngine Exports