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

Feature request: spatial form widget #91

Open
florianm opened this issue Dec 10, 2014 · 0 comments
Open

Feature request: spatial form widget #91

florianm opened this issue Dec 10, 2014 · 0 comments

Comments

@florianm
Copy link

Cross post from ckanext-scheming.

Our CKAN users love the dataset extent map to bits, but regularly despair on providing valid GeoJSON geometries. Drawing polygons on a Leaflet map, or uploading a GeoJSON file is basically where it ends for them.

It would be ideal if the "spatial" field would allow the user to either

  • paste a valid geojson geometry as usual, or
  • let users select geometries from a list of custom geometries (e.g. administrative boundaries like marine parks), or
  • draw a polygon on a leaflet map, writing back the geojson geometry of the convex hull (if several polygons are drawn) or
  • upload a geojson file with the bounding polygon (or a bunch of features), then calculate the convex hull post-upload.

If we can edit "spatial" inline, it would be most logical to display the Dataset extent map also inline, replacing the unreadable WKT - that's easy enough, see my poc.

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