Skip to content

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

@johnkit

Description

@johnkit

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions