Created: January 25, 2024 Updated: Jun 20, 2024
Supported Platforms :
Windows,Mac, Linux, Android, IOS, WebGL.
Supported Dataset for Android, IOS, WebGL:
DEM : *.Tiff, *.Png
Raster: Full Support
Vector : *.Osm, *.Shp
Support for other files is available upon request
Note : If your DEM is not projected in 'Geographic WGS84 EPSG: 4326' then we will need Dotspatial Lib. In this case, follow these steps:
01 : Remove DotSpatial Folder content (netcore-proj.dll).
02: Import 'Resources/Libs/DotNetSpatial_Android.unitypackage
To Configure GIS Data for Android, IOS and WebGL platforms follow these steps:
01 : Create StreamingAsset Folder (if not exist).
02 : Create New Folder inside the StreamingAsset then rename it to “GIS Terrains” (if not exist).
03 : Add your GIS Data Folder into 'GIS Terrains' Folder.
04 : Click on “Tools/GIS Tech / GIS Terrain Loader/ Platforms Config
05 : Click on 'Select File' button and select the DEM file.
06 : Click on 'Generate Platform Config' button.
07 : A new file will appear next to the DEM File named 'GISFolder_Data'.
08: Eg : Execute the 'GenerateTerrainFromTIFF.cs' script.
If you've got any issues when you build the app, ensure that you set the same parameters for 'Project Settings' as shown in the picture below.
If you face a problem in Android or WebGL Platform on GISTerrainLoaderWaterShader, replace 'LIGHT_ATTENUATION' from line 238 by 'UNITY_LIGHT_ATTENUATION'.