0.0.5 • Published 8 years ago

layers-conf-gen v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
8 years ago

layers-conf-gen

The content of the app https://stadtplan.bielefeld.de/ based on the layers_conf.yaml. This tool allows you to generate the content for the layers_conf.yaml for a Web Map Service (WMS).

Installation

01 NodeJS and NPM

Windows: Use the installer from https://nodejs.org/

Ubuntu / Debian:

sudo apt-get install nodejs npm

02 layers-conf-gen

Use terminal:

npm install -g layers-conf-gen

Get started

Command line:

Options:
    -h, --help            output usage information
    -V, --version         output the version number
    -p, --port [type]     Port of webserver. Default is 80.
    -h, --host [type]     If the hostname is omitted, the server will accept
                          connections on the unspecified IPv6 address (::) when IPv6 is
                          available, or the unspecified IPv4 address (0.0.0.0) otherwise.
    -b, --backlog [type]  Maximum length of the queue of pending connection. Default is 511.

With default options:

layers-conf-gen

With custom options:

layers-conf-gen -p 8080 -h "localhost" -b 512

Node.js:

require('layers-conf-gen').startServer(80, () => {
  console.log('App listening on port 80!');
});

// or

require('layers-conf-gen').startServer(8080, "localhost", 512, () => {
  console.log('App listening on port 8080!');
});

License

MIT

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago