jupyterlab_geojs icon indicating copy to clipboard operation
jupyterlab_geojs copied to clipboard

Create point feature from csv file (local, web, girder, content manager,...)

Open johnkit opened this issue 7 years ago • 0 comments

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...

johnkit avatar Jul 13 '18 18:07 johnkit