collapse

M4OPS

For our prototype mapping system try the Demo at mapping4ops.org/M4OPS.

You can also view a demo and discussion about M4OPS on YouTube.

* Forum Staff

PeterC admin PeterC
Administrator
admin webmasterOPS
Administrator

Author Topic: To create a new OPS on M4OPS  (Read 644 times)

PeterC

  • Administrator
  • Member
  • *****
  • Posts: 478
  • Passionate about my one-place study
    • View Profile
    • Holywell-cum-Needingworth History
To create a new OPS on M4OPS
« on: 15 November 2016, 12:24:27 »
To create a new OPS
  • If relevant, process a new version of the Studies spreadsheet
  • Determine from the person responsible for the OPS and/or the Studies spreadsheet:
       
    • OPSName - mixed case
    • ContactEmail - to receive any enquiries
    • Website - including https etc
    • SOPSpage - for the study on the SOPS website
    • SOPSName - the name for the OPS in the Studies spreadsheet - for matching up
    • OPSDescription - html (can include links etc) displayed in the modal box - by default we use a link to Wikipedia
  • Decide on:
       
    • OPSCode - usually 3 upper case letters
    • Area - eg AUS, ENG, WAL or SCO
  • Go to Google Maps and find the OPS location, then copy the coordinates from the URL - just after the @
  • In M4OPS use the Goto button to go to the coordinates just obtained, and determine (using the lon;lat csv option in M4OPS):
       
    • Lon;Lat for central point
    • Zoom
    • Rotation - usually blank (or 0)
    • minx; miny - lon;lat csv for the bottom left corner
    • maxx; maxy - lon;lat csv for the top right corner
  • Decide on (usually just use defaults):
       
    • nFeatureLayers - usually 2, can be 1 or 3
    • password - for uploading and compiling (initial value)
    • minYearBound - leave blank for now
    • minYear - leave blank for now
    • maxYear - leave blank for now
  • Enter the relevant details into the list at \Mapping\Users\M4OPS users.doc
  • Copy the full Blank folder in \Mapping\Software\M4OPS\OPS into the relevant Area folder (eg \ENG England), thereby creating the folder for the new OPS
  • (Note that there is no need to set up the Backups folder as this is done automatically by savefiles.php)
  • Rename this copied folder the relevant '(OPSCode) (OPSName)'
  • In the FLG subfolder of this folder, edit the OPS.csv file with the above data (the Comments therein will help)
  • In the same folder, edit the Exclusions.csv file as appropriate, or delete it completely (note that you only need to exclude layers if they are included in the Area's layers)
  • In the same folder, check and edit as necessary the LayerDefs_Feature.csv and LayerDefs_Other.csv files (do not assume OK)
  • Don't FTP the whole folder, but use FTP to create the folder for the new OPS in /ShowMapsDev/OPS/(Area) - with the name '(OPSCode) (OPSName)'
  • FTP the FLG, Images, and SavedFiles folders, as well as the Ops.json file
  • (or, if you have FTP'd the whole folder, delete the other sub-folders)
  • Clear the browser cache
  • Reload ShowMapsDev/M4OPS
  • Switch the OPS to the new one, and ignore the error
  • Click on Compile, blank out the password (its initial value), and say yes to compiling everything
  • Open mapping4ops.org/ShowMapsDev/CompileStudies.php?BRs&Test to precompile the studies.json file and check the new OPS is not now in the "Location not set from Studies.csv" list
  • Again clear the browser cache, and reload M4OPS Dev
  • Check if the basics all seem to work OK
  • The Blank LayerDefs_Other.csv file has both 1m and 2m Lidars for both DTM and DSM - check which are best for the OPS and delete the others from LayerDefs_Other.csv
  • Consider adding other layers, such as at:
  • Upload the revised LayerDefs_Other.csv and recompile
  • FTP the resulting OPS.json from the /ShowMapsDev/OPS folder on the server back to the \Mapping\Software\M4OPS\OPS folder on the laptop and overwrite the dummy one
  • Repeat the FTP, Compile, Check processes using ShowMaps instead of ShowMapsDev
  • Let the person responsible for the OPS know, referring them to When your One-Place Study has first been set up on M4OPS
« Last Edit: 9 April 2018, 05:20:28 by PeterC »

 

mapping4ops.org is a Society for One-Place Studies project supported by Grassroots Giving from Skipton Building Society
Glossary | BBCodes | Feedback