<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">We have a django script (in python) that writes out the map file based on what the web user requested.  We end up with a mapfile for almost every request but they are small and hard drives are cheap so it's been ok.<div><br></div><div>--</div><div>John Abraham<br><div><br><div><div>On May 29, 2012, at 10:53 PM, Jessica Clarke wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta name="GENERATOR" content="MSHTML 8.00.6001.18702">
<div style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<div>Hi all, </div>
<div>I'm just playing around with some ideas at the moment, so I'm not sure if this will make sense...</div>
<div> </div>
<div>Is it possible to use a python script to add a layer to an existing mapfile?</div>
<div> </div>
<div>I have an appliaction that sends a request to mapserver for a map, but I want to be able to add a related shape to the map if the user asks for it. </div>
<div> </div>
<div>I'm trying to avoid re-writing all the mapfiles to allow for this (there are 30ish)...</div>
<div> </div>
<div>Any help or direction would be appreciated,  </div>
<div>Jess</div>
<div> </div>
<div> </div>
<div> </div>
<div>Jessica Clarke </div>
<div>GIS Infrastructure Officer</div>
<div><br>Forestry Tasmania<br></div>
<div>79 Melville Street</div>
<div>Hobart Tas 7000</div>
<div>(03) 6235 8197</div>
<div> </div>
<div>Growing tomorrow's high conservation value forests ‑ Check this out:<br><a href="http://www.youtube.com/watch?v=wP6XCailI%E2%80%91A">http://www.youtube.com/watch?v=wP6XCailI‑A</a> </div><br><p>
      <font face="Arial" size="1">--------------------------------------------------------------------------------------------------------------------------------------------- 
      </font><br>
    </p><p>
      <font face="Arial" size="1">This transmission is intended solely for the 
      person or organisation to whom it is addressed. </font>
    </p><p>
      <font face="Arial" size="1">It is confidential and may contain legally 
      privileged information. </font>
    </p><p>
      <font face="Arial" size="1">If you have received this transmission in 
      error, you may not use, copy or distribute it. </font>
    </p><p>
      <font face="Arial" size="1">Please advise us by return e-mail or by 
      phoning 61 3 6235 8333 and immediately delete the transmission in its 
      entirety. </font>
    </p><p>
      <font face="Arial" size="1">We will meet your reasonable expenses of 
      notifying us. </font>
    </p><p>
      <font face="Arial" size="1">Despite our use of anti-virus software, 
      Forestry Tasmania cannot guarantee that this transmission is virus-free. </font>
    </p><p>
      <font face="Arial" size="1">-------------------------------------------------------------------------------------------------------------------------------------------- 
      </font>
    </p>
  </div>
_______________________________________________<br>mapserver-users mailing list<br><a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/mapserver-users<br></blockquote></div><br></div></div></body></html>