geoq icon indicating copy to clipboard operation
geoq copied to clipboard

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

Open jackiekazil opened this issue 10 years ago • 1 comments

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

jackiekazil avatar May 02 '14 16:05 jackiekazil

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

jaycrossler avatar May 02 '14 16:05 jaycrossler