Skip to content

Instantly share code, notes, and snippets.

@mattfullerton
Created February 19, 2015 13:27
Show Gist options
  • Save mattfullerton/3d918a74b946ea14b00c to your computer and use it in GitHub Desktop.
Save mattfullerton/3d918a74b946ea14b00c to your computer and use it in GitHub Desktop.
anprlocations

README is empty

id geojson
MENOSS {type:LineString,coordinates:[[48.1615238,11.511795],[48.1207981,11.5028185]]}
MENPET {type:LineString,coordinates:[[48.1615238,11.511795],[48.1755005,11.5618582]]}
MENTRE {type:LineString,coordinates:[[48.1615238,11.511795],[48.1180993,11.5174368]]}
{
"name": "anprlocations",
"state": "active",
"created": "2015-02-19T13:27:20.929Z",
"sources": [
{}
],
"profiles": {
"dataexplorer": "0.9"
},
"scripts": [
{
"id": "main.js",
"path": "main.js"
}
],
"views": [
{
"id": "grid",
"label": "Grid",
"type": "SlickGrid",
"state": {
"gridOptions": {
"editable": true,
"enabledAddRow": true,
"enabledDelRow": true,
"enableReOrderRow": true,
"autoEdit": false,
"enableCellNavigation": true
}
}
},
{
"id": "graph",
"label": "Graph",
"type": "Graph"
},
{
"id": "map",
"label": "Map",
"type": "Map"
}
],
"id": "dataexplorer-464716",
"resources": [
{
"backend": "csv",
"id": "anprlocations",
"filename": "anprlocations.csv",
"delimiter": ";",
"path": "current.csv",
"schema": {
"fields": [
{
"id": "id",
"label": "id",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "geojson",
"label": "geojson",
"type": "string",
"format": null,
"is_derived": false
}
]
}
},
{
"backend": "csv",
"id": "anprlocations-original",
"filename": "anprlocations.csv",
"delimiter": ";",
"path": "original.csv",
"schema": {
"fields": [
{
"id": "id",
"label": "id",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "geojson",
"label": "geojson",
"type": "string",
"format": null,
"is_derived": false
}
]
}
}
]
}
loadDataset("current", function (error, dataset) {
// error will be null unless there is an error
// dataset is a Recline memory store (http://reclinejs.com//docs/src/backend.memory.html).
console.log(dataset);
});
MENOSS {type:LineString,coordinates:[[48.1615238,11.511795],[48.1207981,11.5028185]]}
MENPET {type:LineString,coordinates:[[48.1615238,11.511795],[48.1755005,11.5618582]]}
MENTRE {type:LineString,coordinates:[[48.1615238,11.511795],[48.1180993,11.5174368]]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment