Created
October 13, 2014 18:16
-
-
Save kapouer/566615bbb9929e99d765 to your computer and use it in GitHub Desktop.
ogr2ogr no error but error
This file contains hidden or 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
var ogr2ogr = require('../') | |
var sampleNogeom = __dirname+'/samples/sample-nogeom.csv' | |
// createdb|dropdb nogeomtest | |
ogr2ogr(sampleNogeom) | |
.format("PostgreSQL") | |
.project("EPSG:4326") | |
.destination('PG:dbname=nogeomtest') | |
.exec(function(err, data) { | |
console.error("missing error", err); | |
// check that indeed, no table was created/populated in database nogeomtest | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment