This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Installing NodeJS | |
http://blog.izs.me/post/87525128203/how-to-install-node-js-and-npm-on-ubuntu-14-04 | |
sudo add-apt-repository ppa:chris-lea/node.js | |
sudo apt-get update | |
sudo apt-get install nodejs | |
Install Unzip | |
sudo apt-get install unzip | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install node 4.2.1 | |
Use HTML and main.js from electron getting started guide | |
Configure package.json to include: | |
"dependencies": { | |
"gdal": "naturalatlas/node-gdal#win-node-4.2.1" | |
} | |
Then install electron rebuild which recompiles native node modules. | |
npm install --save-dev electron-rebuild |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--SQL to create POI Classifications Table | |
DROP TABLE IF EXISTS poi.classifications; | |
COMMIT; | |
CREATE TABLE IF NOT EXISTS poi.classifications( | |
CLASSIFCATION_CODE VARCHAR(8) NOT NULL PRIMARY KEY | |
,GROUP_ID VARCHAR(2) NOT NULL | |
,GROUP_DESCRIPTION VARCHAR(34) NOT NULL | |
,CATEGORY_ID VARCHAR(2) NOT NULL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Code snipped to use recursive-readdir to provide a list of required file types. | |
var path = require('path'); | |
var recursive = require('recursive-readdir'); | |
function ignoreFunc(file, stats) { | |
// `file` is the absolute path to the file and we can use extname to look at the file extension | |
return stats.isFile() && path.extname(file) != ".zip"; | |
} | |
// Ignore files using the ignroeFunc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following is a set of useful PostGIS queries and functions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swagger: '2.0' | |
info: | |
version: 1.0.0 | |
title: Building Geospatial APIs | |
description: Getting started with OpenAPI Specification | |
schemes: | |
- http | |
- https | |
paths: | |
/message: |
OlderNewer