Skip to content

Commit 80bb205

Browse files
committed
Merge pull request #50 from codeforamerica/remove-postgis
Remove PostGIS source, dependencies, tests, and mentions from core.
2 parents 47a3a74 + 440c7de commit 80bb205

File tree

5 files changed

+1
-238
lines changed

5 files changed

+1
-238
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Nodetiles-Core
22
=============
33
Nodetiles-core is a javascript library for rendering map tiles suitable for slippy-maps and static images. Features include:
44

5-
- **Flexible Data-connectors**: We offer GeoJson and PostGIS connectors out-of-the-box, but it's easy to build your own.
5+
- **Flexible Data-connectors**: We offer GeoJson and Shapefile connectors out-of-the-box, but it's easy to build your own.
66
- **Map Projections**: Transform data between more [3,900+](https://github.com/yuletide/node-proj4js-defs/blob/master/epsg.js) EPSG projections using Proj4.js
77
- **CartoCSS Support**: We support many (if not most) stylesheet features of [CartCSS](http://mapbox.com/tilemill/docs/manual/carto/) making it trivial to import your map styles from tools like Tilemill
88
- **Slippy-map URL helpers**: Easily serve map tiles, UTFGrids, and Tile.json. Check out [nodetiles-init](https://github.com/codeforamerica/nodetiles-init) for a simple scaffold.

datasources/PostGIS.js

Lines changed: 0 additions & 122 deletions
This file was deleted.

index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
var Map = require(__dirname + '/lib/Map'),
22
GeoJson = require(__dirname + '/datasources/GeoJson'),
3-
PostGIS = require(__dirname + '/datasources/PostGIS'),
43
Shp = require(__dirname + '/datasources/Shp'),
54
projector = require(__dirname + '/lib/projector'),
65
routes = require(__dirname + '/lib/routes'),
@@ -16,7 +15,6 @@ module.exports = {
1615
*/
1716
datasources: {
1817
GeoJson: GeoJson,
19-
PostGIS: PostGIS,
2018
Shp: Shp
2119
},
2220
/**

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
"canvas": "~1.0",
3333
"proj4js":"~0.3.0",
3434
"proj4js-defs":">=0.0.1",
35-
"pg":"~1.0",
3635
"carto":"~0.9.3",
3736
"shp":"https://github.com/yuletide/node-shp/tarball/master"
3837
},

test/postgis.spec.js

Lines changed: 0 additions & 112 deletions
This file was deleted.

0 commit comments

Comments
 (0)