3D data Styles#

General#

3D Data Styles are applied to vector layers that need to be created in advance by selecting the appropriate type of NextGIS Web resource (Fig. 676.) and uploading objects into it in the ESRI Shapefile, GeoJSON, GeoPackage, GeoJSON, GML, KML, CSV or XLSX format (Fig. 677.).

../../_images/ngw3D_select_vect_layer_en.png

Fig. 676. Creating a Vector Layer resource#

../../_images/ngw3D_upload_vect_data_en.png

Fig. 677. Uploading Vector layer data#

Vector layer styling is carried out using the 3D style resource (Fig. 678.) which is a child of the vector layer resource.

../../_images/ngw3D_select_3D_style_en.png

Fig. 678. 3D style resource#

At the first stage of creating a 3D style you must specify its name (Fig. 679.).

../../_images/ngw3D_name_3D_style_en.png

Fig. 679. 3D style resource name#

Permissions, description and metadata are optional settings. The main parameters are set on the 3D style tab.

There are three types of styling for 3D data:

  • 3D style

  • POI

  • Model

3D Style#

3D style - a display of the layer is similar to a 2D web map.

The following options for styling geometric primitives are available:

  • Stroke color

  • Stroke width

  • Fill color

  • Height

You can set constant values or select fields from the vector layer attributes table (Fig. 680.).

../../_images/ngw3D_settings_3D_style_en.png

Fig. 680. 3D style settings#

POI#

POI - a style selection from preset icons.

Adjustable parameters (Fig. 681.):

  • POI Colour

  • Priority

  • Inverse

  • Limit the number of points that will be rendered on the client with the prioritization

../../_images/ngw3D_poi_3D_style_en.png

Fig. 681. POI 3D Style settings#

3D Model#

3D Model - styling a vector layer loaded 3D model.

Configurable parameters:

  • 3D model ID - value / field of the layer attributes table, which contains the ID of the 3D model in NextGIS Web (Fig. 682.)

  • Scale - value/field of the layer attribute table, which contains the scale of the model display

  • Rotate, degrees - value/field of the attribute table of the layer, which contains the rotation angle of the model in degrees (Fig. 683.)

../../_images/ngw3D_id_3D_model_en.png

Fig. 682. Resource identifier (id = 116) 3D model#

../../_images/ngw3D_grad_3D_model_en.png

Fig. 683. 3D Model Style Settings#