Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
johnkit opened this issue Jul 13, 2018 · 0 comments

Comments

@johnkit
Copy link
Collaborator

johnkit commented Jul 13, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant