Skip to content

Instantly share code, notes, and snippets.

View UnityGISTech's full-sized avatar

GISTech UnityGISTech

View GitHub Profile
@UnityGISTech
UnityGISTech / ENC57Parse_Example.cs
Last active May 31, 2025 14:07
First Script used to Parse Data, the second for generating terrain with building, roads, and Geopoints
using UnityEngine;
using System.IO;
using GISTech.GISTerrainLoader;
using System.Collections;
using UnityEngine.UI;
using Unity.VisualScripting;
public class ENC57Parse_Example : MonoBehaviour
{
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GISTerrainLoaderParseVectorDataBase : MonoBehaviour
{
private GISTerrainLoaderVectorPolygone vectorObject;
private void Start()
@UnityGISTech
UnityGISTech / CustomEPSG.cs
Created January 26, 2024 10:29
Customize DEM EPSG Code
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GISTech.GISTerrainLoader;
/// <summary>
/// Customize DEM EPSG Code
/// </summary>
public class CustomEPSG : MonoBehaviour
{
@UnityGISTech
UnityGISTech / SelectTextureLayer.cs
Created January 26, 2024 09:08
Use the MultiTexture option for a terrain that has many raster data Ex: (Imagery,Topo, Terrain ... etc)
using GISTech.GISTerrainLoader;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// GIS Terrain Loader Pro
/// This tutorial shows how to use the MultiTexture option for a terrain that has many raster data Ex: (Imagery,Topo, Terrain ... etc)
/// </summary>
@UnityGISTech
UnityGISTech / ChangeRuntimeProjection.cs
Created January 25, 2024 21:03
Change the coordinates system + Format for WGS84 EPSG = 4326 at runtime
using System.Collections;
using UnityEngine;
using GISTech.GISTerrainLoader;
using UnityEngine.UI;
using System;
/// <summary>
/// GIS Terrain Loader Pro
/// This Script Show how to Change the coordinates system + Format for WGS84 EPSG = 4326 at runtime
/// </summary>
@UnityGISTech
UnityGISTech / GenerateTerrainFromTIFF.cs
Last active January 19, 2024 18:36
Generate a Simple terrain using Runtime GIS Terrain Loader Pro
/// GIS Terrain Loader Pro Tutorial ///
using System.Collections;
using UnityEngine;
using GISTech.GISTerrainLoader;
public class GenerateTerrainFromTIFF : MonoBehaviour
{
public string TerrainFilePath;
@UnityGISTech
UnityGISTech / SimpleTerrainStreaming.cs
Last active June 9, 2022 13:29
SimpleTerrainStreaming
/* Unity GIS Tech 2020-2022 */
using UnityEngine;
using UnityEngine.UI;
using System.IO;
using GISTech.TerrainStreaming;
public class SimpleTerrainStreaming : MonoBehaviour
{
@UnityGISTech
UnityGISTech / LoadShapeFileData.cs
Last active December 20, 2021 13:12
LoadShapeFileData.cs
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using GISTech.GISTerrainLoader;
public class LoadShapeFileData : MonoBehaviour
{
public string FilePath = "/VectorFile/ShapeFile/Areas/Areas.shp";
@UnityGISTech
UnityGISTech / TiffMultiBandsLoader.cs
Last active October 21, 2021 15:42
Read Band-Data From Tiff Files
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GISTech.GISTerrainLoader;
public class TiffMultiBandsLoader : MonoBehaviour
{
string MultibandTiffPath = @"E:\Terrains\GeoReferenced_DEM_Files\Example_TIFF\Example_Tiff_MultiBands\MultiBands_Tiff.tif";
DVector2 LatLonPosition = new DVector2(-119.9581587375, 38.9406188940);