Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Mapscape/mapget-datasource-spatialite

Repository files navigation

mapget-datasource-spatialite

build status

This project represents a datasource for Mapget that allows viewing Spatialite databases in web browser with Erdblick

Usage:

  -h [ --help ]         produce help message
  -m [ --map ] arg      path to a spatialite database to use
  -p [ --port ] arg     http server port
  -c [ --config ] arg   path to a datasource config in json format (will 
                        retrieve the info from the db if not provided)
  --attributes          enable features attributes (enabled by default)
  --no-attributes       disable features attributes 
  -v [ --verbose ]      enable debug logs

Config file is optional, the format is described in config_description.yaml file. Command line arguments --map, --port, --(no-)attributes override values from the config.

With Mapget and Erdblick it can be used like this:

mapget-datasource-spatialite -m /path/to/spatialite-db -c /path/to/config/json -p <datasource_port>
mapget serve -w /path/to/built/erdblick -d 127.0.0.1:<datasource_port> -p <erdblick_port>

Erdblick will be available at 127.0.0.1:<erdblick_port>

Build

Prerequisites:

  • C++20 compatible compiler
  • conan >= 2.0
  • cmake >= 3.25

How to build:

conan install . -s build_type=Release --build=missing
cmake --preset conan-release
cmake --build --preset conan-release

About

Spatialite datasource for mapget/ErdBlick

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published