ngageoint / geoq

Django web application to collect geospatial features and manage feature collection among groups of users
MIT License
698 stars 131 forks source link

Create config script to cache and proxy images from a geojson feed #36

Open jackiekazil opened 10 years ago

jackiekazil commented 10 years ago

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....

1) 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: 1) Go to admin menu 2) Select Layers, add layer 3) Put in URL, choose the GeoJSON, Save 4) Edit Default Map 5) 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

jaycrossler commented 10 years ago

We have some scripts already that do that with KML or KMZ, maybe we can reuse or make those more plug-and-play