jupyterlab_geojs
jupyterlab_geojs copied to clipboard
Create point feature from csv file (local, web, girder, content manager,...)
Example API (but needs more discussion and some coordination with GeoJS as well):
from jupyterlab_geojs import fileReader
layer = scene.createLayer()
feature = layer.createFeature('point', filename="whatever.csv")
# Aashish would set data="whatever.csv"...
feature.position=lambda x: {'x': data[5], 'y':data["Lat"])
feature.style.radius = lamba ...
feature.style.color = lambda...