hi there,
while i find this module very exciting, the first thing that i'm missing is documentation on the "big view" . i understand that this module has a specific purpose - providing data from views as geojson. but i think, we could come up with one or different examples on how to use it in order to implement a nice mapping solution.
so, with your input, i believe i could do some work the next weeks on testing the module, implementing use cases and documenting such.
how about taking some questions:
- which existing sites that you know use views_geojson, yet?
- how to best store the data being used, geofield?
- which techniques do you use to visualize the geojson on a map?
disclaimer:
i'm currently investigating different mapping techniques with drupal, including openlayers, leaflet, mapping ...
last year, i worked a lot with openlayers to create austrofeedr: http://www.austrofeedr.at
recently, i did some patches for the leaflet module and plan to look more deeply into mapping
http://www.drupal-austria.at/report/mapping-quick-intro-openlayers-leafl...
altogether this might end up as my master thesis and i have compiled some notes so far
http://www.xmind.net/share/_embed/das_jo/interactive-map-visualization-t...
Comments
Comment #1
dasjorelated #1370448: Provide GeoJSON Layers from Views (integrating with views_geojson)
Comment #2
jeffschulerThanks for your interest, dasjo!
My original use for this was on site where I use OL for maps on the front-end, but needed to get all of the locative data out into something to make maps for print, (which ended up being Tilemill.) That's still my primary use of the module, but my hope is that it can become a/the primary data delivery mechanism for the OpenLayers module. I'd expect it could serve Leaflet, Modest Maps, Polymaps similarly, and the Mapping module yet to-be.
Yes, Geofield is my preferred option for storage, but Location and basic Lat/Lon work just as well. There's WKT support, too, though I've only tested it through Geofield.
I'd be glad for your help here in whatever direction you see fit. Yes, #1370448: Provide GeoJSON Layers from Views (integrating with views_geojson) is definitely high priority, and working out the kinks of #1333324: Bounding Box filtering (for OL in particular.) I'd be very interested whether this module works well with Leaflet, too, as I haven't yet tried that route.
Glad to hear your further ideas. Thanks!
Comment #3
dasjoyep, the openlayers integration seems to come in soon. that might be a big opportunity for views_geojson to find a broader audience.
also on my agenda would be trying to have integration with the leaflet module
let's keep in touch, especially looking forward to a potential BoF in denver...
Comment #4
jeffschulerHey @dasjo, now that #1370448: Provide GeoJSON Layers from Views (integrating with views_geojson) and #1333324: Bounding Box filtering are in, what do you think about this? Your help in documenting use cases would be greatly appreciated. :)
Where would these go? On the project page, in the README, in d.o. docs?
BTW, I opened up a new issue for #1516906: Leaflet integration.
Comment #5
jeffschulerMaybe we should work on getting Views GeoJSON into OpenLayers Locator?
Comment #6
jeffschulerOne thing that could be better documented, (and fairly easily,) is why use this module.
Part of the purpose (the why) is to get rid of the clunky OpenLayers Data Overlay paradigm. We could also document how to re-make OpenLayers Data Overlay views as Views GeoJSON views... or better yet, create a utility, (a sub-module, probably,) to convert them.
Comment #7
dasjoalso, i like Views GeoJSON for making the initial site request smaller while loading the points using Ajax.
it's also worth noting, that by default openlayers data overlays output all points in the html header which might slow the page load dramatically. there is a workaround, though: #1315866: How to move javascript to the end of the HTML output
Comment #8
dasjotagging for barcelona mapping sprint
Comment #9
florisg CreditAttribution: florisg commentedUse case of Druplicon blog activity
Documentation page: http://drupal.org/node/1637324
This issue is closed.
Comment #10
dasjosetting to needs review first :)
Comment #11
jeffschulerThanks @idevit and @batigolix! And thanks again @dasjo for organizing the sprint.
This is a great start. I've added a link to the use case from the project page, (under Usage,) and made a few revisions.
The ending could use some more attention. I'm going to leave this issue open in case we can get some more eyes on this, and until we can get it into a fairly complete and polished form.
Thanks a lot for you work!
Comment #12
ressa CreditAttribution: ressa commentedI am using the GeoJSON module to limit the number of points on the map using Bounding Box, and it just works, which I think is just Fantastic. Thank you very much!
The documentation is getting better, I think adding step number 6 to the README.txt would help along a little as well. Point 1 to 5 is already included:
Comment #13
jeffschuler@ressa: good idea.
I committed this addition:
Thanks!
Comment #14.0
(not verified) CreditAttribution: commentedup