Good morning, community. I am in the process of creating a GIS portal that allows the visualization and selection of information from a timeline. I am aware of this plugin https://github.com/nasa/edsc-timeline/tree/main and that it can be used in different projects. I tried to install it locally to analyze its operation following the steps in the README.md file, however I received error messages like the ones attached. I would like to know if it requires previously downloading or updating any file or program. Thank you.
Attachments. Error message when trying first codeline: npm install @edsc/timeline
EDSC - Timeline plugin
EDSC - Timeline plugin
- Attachments
-
- error2.png (117.33 KiB) Not viewed yet
-
- error1.png (125.49 KiB) Not viewed yet
Filters:
Re: EDSC - Timeline plugin
Hi @stiven67,
Unfortunately the error messages you're receiving are specific to your development environment, it seems it's looking for Visual Studio, which is never referenced or required in any javascript packages we produce. I'd recommend looking into setting up a Node.js environment on Windows, a quick Google turns up this promising articles from Microsoft: https://learn.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows
Unfortunately the error messages you're receiving are specific to your development environment, it seems it's looking for Visual Studio, which is never referenced or required in any javascript packages we produce. I'd recommend looking into setting up a Node.js environment on Windows, a quick Google turns up this promising articles from Microsoft: https://learn.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows
Last edited by rabbott on Tue Dec 12, 2023 3:42 pm America/New_York, edited 1 time in total.
Re: EDSC - Timeline plugin
Hi, after a review it seems that it worked when using the command '>npm install node-sass@latest --legacy-peer-deps' when installing the latest version of the package mentioned in the first error line. Then with the command '>npm i -force @edsc/timeline' I forced the installation and I was able to use the '>npm start' command to view the example file locally, it allowed me to change the date ranges for instance. I wanted to know, in EDSC the timeline allows you to select the date range by filtering results. Could this plugin work as a widget within Arcgis Experience Builder? and Also, within the edsc app the plugin works together with the search results panel allowing you to select the collection of interest, then selecting the dates on the timeline and filtering the search results panel again. For this purpose, the ideal would be to use the web application in its entirety or is this search results panel component available for free use as well?
Finally, the array data set that I want to display on the timeline is the shapefiles date column and for it to change depending on the data collection that is selected. In what folder could this information be imported for use?
thank you.
Finally, the array data set that I want to display on the timeline is the shapefiles date column and for it to change depending on the data collection that is selected. In what folder could this information be imported for use?
thank you.
- Attachments
-
- Search Results panel I want to work along with the timeline
- PaneldeResultados.png (322.53 KiB) Not viewed yet
-
- Timeline example working locally
- ejemploTimeLine.png (22.85 KiB) Not viewed yet