Ember addon for converting Excel spreadsheets to GeoJSON for use in the ATLMaps platform.
In your package.json
add:
"ember-cli-excel2geojson": "git://github.com/jayvarner/ember-cli-excel2geojson.git#develop"
Replace develop
with which ever branch you want to use.
Run:
yarn installation
ember g excel2geojson
When used as a block, a simple file input filed will be rendered. After an excel file is uploaded, it will appear in an ember-light-table. Below the table will be a list of select fields for the control attributes.
Field | Type | Note |
---|---|---|
Title | String | |
Lat | Float | |
Lng | Float | |
Description | Long text (string) | |
Images | Array | Currently only handles a comma separated + space list of image links that start with http . |
Video | String | Currently only handles links to YouTube. |
Audio | String | Not actually implemented. |
Filter | String | A key to use for filtering. Sorry, this is a complicated work in progress. |
{{#parse-spreadsheet}}
{{!-- Stuff you want to do --}}
{{/parse-spreadsheet}}
git clone <repository-url>
this repositorycd ember-cli-excel2geojson
npm install
ember serve
- Visit your app at http://localhost:4200.
npm test
(Runsember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit https://ember-cli.com/.