Skip to content

IanAWP/MRRCesiumTiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Creating Cesium Terrain Tiles using the MapInfo Raster API

mtn

MapInfo Raster is a relatively new Raster format and API designed to support large, sparse, multiscale rasters. There is currently no GDAL support for MRR, meaning that the existing cesium tile generator cannot generate terrain tiles from input data in this format. This project uses the MRR API to generate cesium terrain tiles for display in Cesiumjs.

For a more detailed writeup and explanation of the code, head to my developer pages.

Usage and Requirements

Right now the project supports single field, single banded MRR input grids in the WGS84 Projection. For legal reasons it is impossible to include the necessary MRR assemblies in this project. You will need a license for MapInfo Pro Advanced, or a demo version to build and run the MRR Tile generator.

Node.js is required to run electron/Cesium

Navigate to the cesium folder and install using.

npm install -d

Google go and the Cesium Terrain Server are also required for tile hosting. Do remember that a layers.json file is required at the root level of the terrain server. I've uploaded one that matches the output format used by the MRR generator.

After setup, run the electron app with

node_modules\.bin\electron .

You will need to provide the tileserver base url, as well as the name of the tileset generated by the MRR tile generator.

Format support

Should work on anything the MRR API can read. Tested on MRR, Tin formats. SRTM data in TIN format can be obtained here

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published