<div dir="ltr">Hi, I'm working on an application that uses GeoNode to manage geospatial information, and I need to set up a routine that replaces layer content on a daily basis.<div><br></div><div>I can use the manage.py utility to update the underlying data source, apparently with no problems.  I forked & made a small change to the layers/management/commands/importlayers.py & layers/utils.py script to allow an explicit layer --name to be provided so we have a constant slug to use for updating the layer (otherwise, we get new layers for every changed title):</div><div><br></div><div><a href="https://github.com/ua-snap/geonode/pull/7/files">https://github.com/ua-snap/geonode/pull/7/files</a><br></div><div><br></div><div>(I'll work that into a candidate PR once I have all the functionality I want working).</div><div><br></div><div>I'd also like to be able to change the layer's title (both in the catalog of layers as well as on any layers being used in maps) and publishing date to reflect the changing date of the data.  From what I can tell, the code isn't updating the title at all, and I'm not clear if this is expected behavior (when updating an existing layer & overwrite = true, the title isn't updated) or if perhaps I've unwittingly broken something.</div><div><br></div><div>Related, I'm unclear as to how to change the title of a mapLayer.  Doesn't look like the API currently supports this, or that there are any existing management tools to do it.  I know the mapLayer takes its title from the title of the Layer upon creation, but subsequent updating seems to be done via GeoExplorer.  Any suggestions on how I may want to approach this?</div><div><br></div><div>Thanks!</div><div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><b>Bruce Crevensten</b></div><div><b><br></b></div><div><b>Senior Software Engineer<br></b></div><div><div>(SNAP) Scenarios Network for Alaska & Arctic Planning<br></div></div><div><div><a href="http://www.snap.uaf.edu/" target="_blank">www.snap.uaf.edu</a></div>

</div></div></div>
</div></div>