Skip to content

Pointr Cloud API Bypass Real Data Generating Mbtiler Process

This document describes the process of converting Mbtiles files and using dummy data when necessary for security reasons.

Purpose

It aims to convert files to MBTile format using a converter. For security purposes, the application checks a parameter in the appsettings file and, if set to true, uses fake data instead of real files.

Configuration

The parameter is defined in the appsettings.json file:

{
  "Parameters": {
    "UseDummyDataForMbtiles": true
  }
}
  • UseDummyDataForMbtiles: If set to true, the application will use dummy data instead of the actual GeoJSON files. If set to false, it will process the real files.

The MBTile process remains exactly the same. However, since the MBTiles are created using dummy data, the visibility of other sites is prevented, and due to the smaller data size, the MBTile process quickly transitions to the preview state.

If the parameter value is not given, the default value is false, and the working process remains exactly the same.


Last update: October 17, 2024
Back to top