RandomFractals / geo-data-viewer

Geo Data Analytics tool for VSCode IDE with kepler.gl support to generate and view maps πŸ—ΊοΈ without any Python 🐍, IPyWidgets βš™οΈ, pandas 🐼, Jupyter notebooks πŸ“š, or ReactJS βš›οΈ app code.
https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.geo-data-viewer
Apache License 2.0
408 stars 44 forks source link

View multiple data files from remote host #105

Closed carlfischerjba closed 3 years ago

carlfischerjba commented 4 years ago

Is there a way to view multiple data files from a remote host on the same map?

I have multiple geodata files in my project which is open in VSCode using the Remote SSH extension. I would like to drag and drop these shapefiles, csv files and rasters onto a map like I would in QGIS but in VSCode.

Currently, if I open a shapefile from the remote workspace via VSCode's file explorer, I get a button to "View Map" which is great but I can't see a way to add another data file to the same map. Dragging from the explorer onto the map only opens the file in a new tab and clicking "Add Data" only lets me browse local data (on my workstation, not on the remote server). There is an "Open Geo Data File" top left of the map tab which lets me type the path to a remote data file but it opens in a new tab.

RandomFractals commented 3 years ago

@carlfischerjba GeoDataViewer doesn't have any remote SSH extension integration, and I don't plan to add it.

It's designed to work with local geo data files and some remote data URLs to initialize a map.

If you can see a data file in the built-in vscode file explorer, you should be able to add it to the map as another layer.

For example, I just tried creating a map from usa-state-capitals.csv (large blue dots) and then loaded usa-airports.csv data via kepler.gl + Add Data dialog (orange dots on the map):

image