@julien.cousineau/ocremap

1.0.3 • Public • Published

ocremap

GIS server

Api calls

POST https://www.ocremap.ca/login {username, password} POST https://www.ocremap.ca/upload {form} POST https://www.ocremap.ca/query {database,method,data} GET https://www.ocremap.ca/geojson/*.geojson

Installation

npm install

Environment File

STORAGEPATH= ACCESSKEYID= SECRETACCESSKEY= REGION= CLIENTDOMAIN= USERPOOLID= CLIENTID= USERNAME= PASSWORD=

TODO

  • Examples

  • Protected files are true/false. Change to [null,users=[],groups=[]]

  • Groups = OCRE

  • Create group dynomoDB Table; (id,name,users)

  • Upload - zip/shapefile - use GDAL to transform

  • Upload - mbtiles

  • Delete Source / check createdBy

  • Change schema, protected values (createdBy)

  • Test, get with auth and not auth

create transform in Model - create funcions(convert, transform) post data/transform {database,method(convert,project,mbtiles,etc),obj} input, process attributes, output create new item in data table

Test child worker / Socket https://stackoverflow.com/questions/15509231/unit-testing-node-js-and-websockets-socket-io use GDAL

  • Transform - Shapefile to Geojson
  • Trasnform - Projection - Post orignalProf DesProj GDAL

use Tippecanoe

  • Create mbtiles from geojson

This might be issue with Memory Storage- Hold on to this one.

GUI table / Analysis Btn change tab maybe

Package Sidebar

Install

npm i @julien.cousineau/ocremap

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

419 kB

Total Files

132

Last publish

Collaborators

  • julien.cousineau