geoq
geoq copied to clipboard
Create config script to cache and proxy images from a geojson feed
Create config script to cache and proxy images from a geojson feed. This is to further the offset load from the source of the images. This relates to #15.
Extra notes that may or may not help:
There is the a proxies.py https://github.com/ngageoint/geoq/blob/master/geoq/core/proxies.py
With respect to issues to cap image pull in -- this proxy was created... here are some notes from the creator....
- Pull in latest updates (I fixed it to use a proxy, as the cross-origin was blocking browser requests to other domains) The process to add a layer is easiest in:
- Go to admin menu
- Select Layers, add layer
- Put in URL, choose the GeoJSON, Save
- Edit Default Map
- Add layer at bottom
A command line library that might help is fabric -- http://www.fabfile.org/ Or Pavement
Orig: https://github.com/jackiekazil/geoq/issues/16
We have some scripts already that do that with KML or KMZ, maybe we can reuse or make those more plug-and-play