Skip to content
/ c-through Public

A prototype for interactive 3D urban planning analysis on the web based on the ArcGIS Javascript API 4.3.

License

Notifications You must be signed in to change notification settings

Esri/c-through

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c-through

screenshot

C-Through is a prototype for interactive 3D urban planning analysis on the web based on the ArcGIS JS API 4.13. The application visualizes and analysis 3D features according to user preferences and makes it possible to select and filter specific buildings, floors and units by attributes for further investigation. Charts and statistics are available according to selection and filtering. The application was implemented in the scope of an internship at Esri R&D Zurich and initially featured data from three locations: Zurich, Vancouver and Dubai. Those datasets are not publicly available.

View it live

The following demo application shows imaginary buildings and usage data. Its purpose is to give access to the code base and to show how the application was implemented with the ArcGIS JS API. To learn more about the background and data processing as well as details and challenges about the implementation, review the following resources:

Instructions

  1. Fork and then clone the repo.
  2. Run and try the sample.

The application is designed in a way that it can also be used for other locations or datasets. The following steps need to be done in order to use the application with your own data:

  1. Create a multipatch dataset that contains the following attributes for each feature:
  • building id (int)
  • floor level (int)
  • usage type (string)
  • area (float)
  1. Publish the dataset on either ArcGIS Portal or ArcGIS Online: Scene Layer publishing tutorial for ArcGIS Online (beta)

  2. Create a webscene and load the scene layer that you have published in step 2

  3. Change the following properties of the settings_demo object in the app.js file of the application:

  • url-property: change to your Portal URL (or ArcGIS Online)
  • webscene-property: fill in the portal item ID of the webscene
  • usagename-property: change to attribute name containing usage type
  • floorname / OIDname / buildingIDname / areaname: respectively
  1. Before deploying the application in production, make sure you are in possession of all required licenses.

Resources

The following APIs have been used to create this application:

Disclaimer

This demo version of c-through is not maintained. There is no support available for deployment or development of the application.

Contributing

Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.

Licensing

Copyright 2017 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's license.txt file.