cugos / dropchop

:fork_and_knife: browser-based spatial operations
http://dropchop.io
MIT License
252 stars 67 forks source link

view attributes of layers #165

Open mapsam opened 9 years ago

mapsam commented 9 years ago

There should be a way to view/edit the parameters information for each feature of a layer. This can be tabulated data for now!

mapsam commented 9 years ago

WIP on the view-attributes branch!

dropchop-attributetable

alukach commented 9 years ago

Wow, that looks great!

powersa commented 9 years ago

Nice work @mapsam! That looks amazing.

jczaplew commented 9 years ago

You should merge this! It looks awesome!

mapsam commented 9 years ago

Ha, I think we actually have it mostly put together in the attr.dropchop.js file - I just wasn't able to push it far enough to be useful beyond just looking at attributes.

Things that I'd like the view attributes layer to be able to do:

One problem I ran into was when viewing a geojson (i.e. an overpass layer) you see a ton of columns/keys that don't exist throughout each feature, so column order got really screwy. This would have to be addressed by adding a piece that essentially adds NULL to key/values that don't exist.