Florian Mayer

Results 51 comments of Florian Mayer

Cheesy mockup. https://github.com/florianm/ckanext-scheming/blob/master/ckanext/scheming/templates/scheming/form_snippets/spatial.html 1) I have it - paste geojson ![image](https://cloud.githubusercontent.com/assets/762815/5391430/97964110-8155-11e4-8384-ef0e52e683d5.png) 2) I know it - draw polygon (needs leaflet plugin, js, css, and save method) ![image](https://cloud.githubusercontent.com/assets/762815/5391440/b3c52982-8155-11e4-8ded-ead7dacc647b.png) 3) I know...

Ok, I've moved the mapping magic to a [macro](https://github.com/florianm/ckanext-scheming/blob/master/ckanext/scheming/templates/scheming/macros/form_spatial.html) - which plugin would be the best place for my macro? ckanext-spatial? New plugin? A simpler form: ![image](https://cloud.githubusercontent.com/assets/762815/5408198/316b2e12-8210-11e4-944d-5b514419659f.png) Next steps: -...

@wardi you are right, `h` is available in templates, just not in macros. Also, variables won't resolve to values in macros (or I'm doing something wrong). So if it would...

Cross post! Here's a screencast of the spatial widget in action. https://vimeo.com/116324887

I agree, I feel this is more a ckanext-scheming feature than a ckanext-spatial one, as it provides a custom widget for a custom field. However, the widget depends on features...

Hi all, could I ask you all, especially the ckanext-spatial and -scheming crew for advice. My CKAN users love georeferencing their datasets, but, being environmental scientists with sometimes limited GIS...

@MandanaMoshref thanks for the follow-up! This PR is pretty old and I ran out of bandwidth to bring it to a clean state. We've been using my fork in production...

Strangely, `display_field: false` just works - although I can't find where that happens, at least there's nothing acting upon `display_field` or manipulating exclude fields in ckan or scheming as far...

Found why it works on my end - I'm still using my much too clever [additional info display snippet](https://github.com/florianm/ckanext-scheming/blob/master/ckanext/scheming/templates/scheming/package/snippets/additional_info.html) with special treatment for author and maintainer fields.

@wardi sorry I got sidetracked - I will add the check to this PR today. Edit: soon.