HughCraig / TLCMapViews

0 stars 0 forks source link

Deep time fails on timeline #18

Open BillPascoe opened 2 years ago

BillPascoe commented 2 years ago

The timeline cannot handle deep time (eg: 10,000BC expressed as -10000). See: https://views.tlcmap.org/timeline.html?load=https://ghap.tlcmap.org/publicdatasets/210/json?sort=start As the timeline says 1970 I'm guessing maybe the ArcGIS JS API can't handle dates before 1970. Confirm if that is why. Can we make ArcGIS jsapi do this, or do we need to use something different, like Cesium? This is very important need, but it will make things very difficult if we need to switch some things to a different system.

BillPascoe commented 1 year ago

Bill to review and check issues with deep time.

IanMcCrabb commented 1 year ago

@MufengNiu maybe just investigate...

MufengNiu commented 1 year ago

@BillPascoe . The current MapView does support date before 1970. (https://test-views.tlcmap.org/v2/timeline.html?load=https%3A%2F%2Ftest-ghap.tlcmap.org%2Flayers%2F801%2Fjson%3Fsort%3Dstart). However, it is expected a Gregorian date that's why BC/BCE data would fail.

BillPascoe commented 1 year ago

I will need to think harder about how to handle early and BC dates. Don't let this hold up deployment.