okfn / timemapper

Create and share elegant timelines and timemaps fast
http://timemapper.okfnlabs.org/
MIT License
274 stars 60 forks source link

JSON support #60

Closed 4tikhonov closed 10 years ago

4tikhonov commented 10 years ago

It will be quite useful if the same json data file as generated for Timeline JS (with some extra geo fields) will be accepted as input file for timemapper. Please consider to implement this feature.

rufuspollock commented 10 years ago

How would JSON be provided - would you want to provide it or would it be on a remote server (and would that server support CORS)?

4tikhonov commented 10 years ago

I would like to provide JSON by myself but probably for other people it will be remote server as well.

rufuspollock commented 10 years ago

Is the server CORS accessible or not (viz: can client-side Javascript access it)?

Also why the preference for JSON over e.g. CSV or google docs? Are you generating the JSON from an app or are you hand-editing it?

4tikhonov commented 10 years ago

Yes, it's accessible from outside. I'm generating JSON from different applications but can easily change it to CVS or something indeed.

rufuspollock commented 10 years ago

@4tikhonov ok so this is really very simple thing to do. But I also have a question: do you just want a JS lib you could embed in your own system or do you want the hosted timemapper.okfnlabs.org to use your data? I ask because it wouldn't be that hard to extract the core timemapper js lib and make it usable for others ...

rufuspollock commented 10 years ago

@4tikhonov as I said this is pretty easy to do - prioritization will depend on how much you need it :-)

4tikhonov commented 10 years ago

I'm sorry, I was quite busy with development of other functionality for this visualization tool http://node-195.dev.socialhistoryservices.org/strikes/ . I'll check timemapper again next week for our timeline.

rufuspollock commented 10 years ago

@4tikhonov any thoughts here - let me know how this is going

rufuspollock commented 10 years ago

DUPLICATE (now) of #107