Closed GretaCB closed 8 years ago
Tested locally and XML results look :+1: ! Also did a quick test through tilelive-bridge
Thinking updating the Readme is a great next step (for example: bin/mapnik-omnivore
usage log and usage example for new Omnivore(uri...)
)
Just noting for myself for later when I forget :smile: :
uri
for multi-file will be a comma separated stringvar uri = 'omnivore:///Users/data/geojson/DC_polygon.geo.json,/Users/data/geojson/places.geo.json'
new Omnivore(uri, function(err....)};
tilelive-omnivore
will then handle these within an array:[ { filename: 'DC_polygon.geo',
...
json: { vector_layers: [Object] },
layers: [ 'DC_polygon.geo' ],
filepath: '/Users/data/geojson/DC_polygon.geo.json' },
{ filename: 'places.geo',
...
json: { vector_layers: [Object] },
layers: [ 'places.geo' ],
filepath: '/Users/data/geojson/places.geo.json' } ]
Per https://github.com/mapbox/tilelive-omnivore/issues/26
cc @BergWerkGIS @rclark