@watergis/postgis2inp
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

postgis2inp

GitHub

This module is to create EPANET INP file directory from PostGIS

Installation

npm install @watergis/postgis2inp

Usage

const {postgis2inp} = require('@watergis/postgis2inp');

const config = require('./config');
const pg2inp = new postgis2inp(config);
const file = await pg2inp.generate() //return exported inp file path

This module depends on the following two packages.

You must configure SQLs for your PostGIS database, the sample of config.js is under test directory. Please have a look of it.

Build

npm run build

Test

npm test

Readme

Keywords

none

Package Sidebar

Install

npm i @watergis/postgis2inp

Weekly Downloads

0

Version

0.1.4

License

MIT

Unpacked Size

11.9 kB

Total Files

19

Last publish

Collaborators

  • j_igarashi