Changes between Initial Version and Version 1 of BluePrint/GIS/Markers

01/10/09 20:39:07 (14 years ago)
Fran Boon



  • BluePrint/GIS/Markers

    v1 v1  
     1Markers get used to display [wiki:BluePrintGISFeatureLayers Features].
     3We have a folder full of samples (in {{{static/img/markers}}}) which then can be supplemented by user uploads.
     5The Database table therefore needs to have all the samples imported into it. The 'uploads' feature of Web2Py only supports having all files in the single 'uploads' folder & needs them to be named in the format:
     7In order to allow good maintenance we want to keep the markers named nicely & in their hierarchy. We want a script to copy these files into the uploads folder with the correct names & insert the records into the database to point at them.[[BR]]
     8Currently this is done for just the single default marker: {{{marker.png}}} (code in {{{models/}}}) [[BR]]
     9NB ID=1 is the default marker
     13etc (recursively)
     16We also want these enhancemnets to the marker/create routine:
     17 * height & width detected automatically
     18  * use [ PIL]?
     19  * jquery used to populate the fields or else populate via hidden fields
     20 * jquery to populate the name field from the filename
     22When choosing Markers, it would be useful to be aware of the original folder hierarchy (look at Sahana2 for example UI for selecting markers)
     25[[wiki:BluePrintGeographicInformationSystems GIS BluePrints]]