-
Notifications
You must be signed in to change notification settings - Fork 99
3D_shapefile_loading
Julius Bañgate edited this page Apr 17, 2023
·
3 revisions
Path: Library models/Data/Data Importation/models/3D shapefile Loading.gaml
/**
* Name: 3D shapefile loading
* Author:
* Description: Model which shows how to create a shape using a 3D Shapefile after this one has been loaded.
* Tags: 3d, shapefile, load_file
*/
model shapefile_loading
global {
//file variable that will store the shape file : the "true" argument allows to specify that we want to take into account the 3D dimension of the data
file shape_file_gis_3d_objects <- shape_file('../includes/Mobilier.shp', true);
geometry shape <- envelope(shape_file_gis_3d_objects);
init {
create gis_3d_object from: shape_file_gis_3d_objects with:[location::location];
}
}
species gis_3d_object {
aspect base {
draw shape color: #gray border: #darkgray width: 4;
}
}
experiment display_shape type: gui {
output {
display city_display type: 3d axes:false background: #black{
species gis_3d_object aspect: base;
}
}
}
- Installation and Launching
- Workspace, Projects and Models
- Editing Models
- Running Experiments
- Running Headless
- Preferences
- Troubleshooting
- Introduction
- Manipulate basic Species
- Global Species
- Defining Advanced Species
- Defining GUI Experiment
- Exploring Models
- Optimizing Model Section
- Multi-Paradigm Modeling
- Manipulate OSM Data
- Diffusion
- Using Database
- Using FIPA ACL
- Using BDI with BEN
- Using Driving Skill
- Manipulate dates
- Manipulate lights
- Using comodel
- Save and restore Simulations
- Using network
- Headless mode
- Using Headless
- Writing Unit Tests
- Ensure model's reproducibility
- Going further with extensions
- Built-in Species
- Built-in Skills
- Built-in Architecture
- Statements
- Data Type
- File Type
- Expressions
- Exhaustive list of GAMA Keywords
- Installing the GIT version
- Developing Extensions
- Introduction to GAMA Java API
- Using GAMA flags
- Creating a release of GAMA
- Documentation generation