Landscape Change Project: Adding new fields

On May 12, 2005, at 11:29 AM, paul bierman wrote:

Anyhow, we are starting in on image uploading and data collection > soon for the summer and there will be three students working. Any  chance that you could help us add a few fields for both the  historic and modern images? It would be great if the students  could upload these data now rather than out having to go back and  do it later

Adding fields to database tables is easy.

Fields and Dublin Core approximates

  •  photographer => contributer.photographer > is already there — just doesn’t appear on all the forms
  •  scan date => date.created
  •  scan equipment => format.creation
  •  archive image quality => format.extent
  •  original title => title.alternative
  • image collector => contributer.collector ?
  • originating archive identifier => identifier.citation
  • image creator or publisher => publisher
  • special collection identifier = identifier.other

Fixing the scripts is the ugly part. The variations on workflow (Public Submission; Management Submission; Single Historic, Single reshoot, or both; Submission approval; Archive edit) and script locations, names, and functions is more than mildly confusing.

from http://www.uvm.edu/perkins/landscape/LS_Manage0.html (Landscape Change Program Management Procedures) we can go to

  • "Submit Historic Pair" http://www.uvm.edu/perkins/landscape/submitting/LS_Submit4.php (which calls LS_PROCESSX5.php to process the submission)
  •  "submit reshoot" http://www.uvm.edu/perkins/landscape/submitting/LS_SingleSubmit.php (which calls LS_PROCESSX5_Single.php)

from http://www.uvm.edu/perkins/landscape/submitting/ submit_options.htm (Public Submit a photo pages) we can go to both of those, and

  • "submit single historic" http://www.uvm.edu/perkins/landscape/submitting/ LS_Submit_Singl_Hist_photo.php (which calls LS_PROCESSX5.php)

from http://www.uvm.edu/perkins/landscape/LS_Manage0.html (Landscape Change Program Management Procedures) we can also go to

  • TEMPORARY FILES (LIST, VIEW, MODIFY, PROCESS, or DELETE) https://www.uvm.edu/perkins/landscape/WORKING_FOLDER/LS_Manage1.php

which takes us to

  • SUBMISSION REVIEW (Temp files) https://www.uvm.edu/perkins/landscape/WORKING_FOLDER/ LS_CheckTransfer.php (which calls LS_PROCESS3.php)
  • ARCHIVE FILES (LIST, VIEW, MODIFY, or DELETE) https://www.uvm.edu/perkins/landscape/WORKING_FOLDER/LS_Manage3.php

 which takes us to

  • SUBMISSION REVIEW (archive files) https://www.uvm.edu/perkins/landscape/WORKING_FOLDER/ LS_ArchiveDisplay.php (which calls LS_PROCESS4.php)

And if you click the "Add Another File" button here

  • SINGLE SUBMIT FORM FOR EXISTING SET: Admin Versions https://www.uvm.edu/perkins/landscape/WORKING_FOLDER/ LS_SingleSubmit.php (different from /submitting/LS_SingleSubmit.php ?)

which calls LS_ProcessSingle.php

So, by my count, the following scripts need to be edited to account for additional input information

  • http://www.uvm.edu/perkins/landscape/submitting/LS_Submit4.php
  • http://www.uvm.edu/perkins/landscape/submitting/LS_SingleSubmit.php
  • http://www.uvm.edu/perkins/landscape/submitting/ LS_Submit_Singl_Hist_photo.php
  • http://www.uvm.edu/perkins/landscape/submitting/LS_PROCESSX5.php
  • http://www.uvm.edu/perkins/landscape/submitting/ LS_PROCESSX5_Single.php
  • https://www.uvm.edu/perkins/landscape/WORKING_FOLDER/ LS_CheckTransfer.php
  • https://www.uvm.edu/perkins/landscape/WORKING_FOLDER/ LS_PROCESS3.php
  • https://www.uvm.edu/perkins/landscape/WORKING_FOLDER/ LS_ArchiveDisplay.php
  • https://www.uvm.edu/perkins/landscape/WORKING_FOLDER/ LS_PROCESS4.php
  • https://www.uvm.edu/perkins/landscape/WORKING_FOLDER/ LS_SingleSubmit.php
  • https://www.uvm.edu/perkins/landscape/WORKING_FOLDER/ LS_ProcessSingle.php

It took me better than an hour just to figure this out. It could be another 16-24 man hours to make it all work. So, I could do it — but it will cost you. I just don’t know what.

About Wesley Wright

Born on a mountain top near New York City, Craziest state in the land of the pretty. Raised in the woods so's he knew every tree, Killed him a bear when he was only three.
This entry was posted in Landscape Change, Projects, Scripts - Programming. Bookmark the permalink.

Leave a Reply