<div dir="ltr"><div>Hi All,</div><div><br></div><div>My colleagues and I discovered that an exception is produced if you add a remote layer (via the Remote Services feature) to a map, then try to download the map by going to:</div><div><br></div><div>Download Map -> Download Data Layers -> Start downloading this map</div><div><br></div><div>We modified GeoNode to skip over Remote Services layers like this:</div><div><br></div><div><a href="https://github.com/ua-snap/geonode/commit/c23d8d19b65328901145a5d74e12f98f4aa0e537">https://github.com/ua-snap/geonode/commit/c23d8d19b65328901145a5d74e12f98f4aa0e537</a></div><div><br></div><div>Is this a reasonable fix? And if so, should I submit this as a PR to your project?</div><div><br></div><div>Some context: I had tried making a map with a Shapefile layer, a GeoTIFF layer, and a Remote Services layer. The j_layer["service"] value for each shows up as:</div><div><br></div><div>Shapefile: WFS</div><div>GeoTIFF: WCS</div><div>Remote Services: None</div><div><br></div><div>Which is why I'm performing this check:</div><div><br></div><div>if j_layer["service"] is None</div><div><br></div><div>Or would it be better to do something like this?</div><div><br></div><div>if j_layer["service"] is not "WFS" and j_layer["service"] is not "WCS"</div><div><br></div><div>Thanks,</div><div>Craig</div></div>