mapbox / tilelive-omnivore

Implements the tilelive api for a variety of data sources
ISC License
8 stars 11 forks source link

Layer name override #29

Closed rclark closed 8 years ago

rclark commented 8 years ago

Allows the caller to override the output layer names in vector tiles by passing layerName query parameter to the URI.

var uri = 'omnivore:///path/to/file.geojson?layerName=named';
new Omnivore(uri, function(err, src) { ... });

cc @BergWerkGIS I implemented eslint, adjusted coverage tools and fixed a few linting issues bringing the code more up-to-date with our current practices. Is this going to conflict with your work in #27?

fixes #28