simon-brooke / geocsv

A wee tool to project data from a CSV file onto a map
0 stars 0 forks source link

Import other formats #7

Open simon-brooke opened 4 years ago

simon-brooke commented 4 years ago

Currently geocsv only reads data in CSV format, because that was the original requirement. But the client side actually reads data in JSON format, so the CSV is currently converted to JSON server side.

A format parameter could be read from the URL with values

  1. csv - this would remain the default;
  2. edn;
  3. json
  4. possibly others

This would mean that json could be passed straight through to the client, and edn could be transformed to json, which is trivial. It would make linking up feeds from other sources even easier.