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.
-
Extract shoreline
-
Upload in browser
-
Upload - shapefile zipped check https://github.com/calvinmetcalf/shapefile-js
GUI table / Analysis Btn change tab maybe