Permalink 04:55:20 pm, by mholmes, 32 words, 4 views   English (CA)
Categories: Activity log, Academic; Mins. worked: 90

VPN & English 500

Got the list of students and poems from AC and built the teaching package. I optimize it a bit every time I do it. Will test the download in the lab tomorrow.


Permalink 03:49:02 pm, by mholmes, 141 words, 3 views   English (CA)
Categories: Activity log; Mins. worked: 180

TCCD: Last minute merges and builds; workstudy interviews

Asked to build the site urgently for a presentation, I discovered that there were a lot of problems with the HTML pages; apparently the person editing them isn't using a validating editor, and I had to make a bunch of changes before I was able to get it to build. I also discovered that a bunch of bootstrap code was still included, although the word was that it wouldn't be, and lots of images have been added, so I had to tweak the build script to get it to run. Was able to do it eventually, but this process is far from ideal; we need to lay out some ground rules for freezes and release dates, as well as making sure that everyone editing the code understands how to validate a page.

Interspersed with this, attended two workstudy interviews with PB.


Permalink 05:27:13 pm, by mholmes, 157 words, 8 views   English (CA)
Categories: Activity log; Mins. worked: 180

TCCD: Branching woes

I had missed the fact that FF spun off a separate branch to develop his CSS, and hasn't been keeping it up to date with the master branch; DH now wants those changes merged into the master branch, but of course they're incompatible because I've reworked a lot of stuff for the language-splitting. I made a start, merging the CSS changes to html.css, only to discover that the evil JQuery had been invoked simply in order to hide and show some divs by clicking on an SVG map. Rewrote the JavaScript, which turned out to be no longer without JQuery than it was with, so that's sorted. However, the new site design is also dependent on a Bootstrap CSS file which is pretty horrendous -- minified and invalid, so really difficult to work with. I don't know where we go from here, but we don't want a massive Bootstrap file most of which we don't need...


Permalink 01:31:32 pm, by mholmes, 74 words, 9 views   English (CA)
Categories: Activity log; Mins. worked: 240

TCCD: Split languages implemented

I've completed the transformation which splits the HTML into two language sets, covering all the requirements previously listed. This was quite complicated because I wanted to retain only one set of resources (js, css etc.), so all those links had to be rewritten. In the process, I've also fixed a couple of bugs in the map, so that the direct linking to places and to postal codes via the query string is now functional.


Permalink 05:29:56 pm, by mholmes, 71 words, 5 views   English (CA)
Categories: Activity log; Mins. worked: 180

TCCD: Plan for split languages

I've implemented about half of the language-splitting functionality, so far without major problems. What remains to be done is to tidy up the handling of the map page, because it has embedded JavaScript which is getting processed wrongly. Other tweaks needed are the trimming of the document index pages so that they only contain links to the right documents. Then the original html pages have to be removed from the tree.

Permalink 01:16:38 pm, by Greg, 152 words, 6 views   English (CA)
Categories: Academic; Mins. worked: 0

BreezeMap: extra layers

I've found a few good resources for map tiles.
The CRD takes aerial photos every two years and makes them available as WMS layers. Add 2015 to an OL4 map:

        layerCRD = new ol.layer.Tile({
          //extent: extent,
          source: new ol.source.TileWMS({
            url: 'https://mapservices.crd.bc.ca/arcgis/services/Ortho2015/MapServer/WMSserver',
            //crossOrigin: 'anonymous',
            params: {
              'LAYERS': '5',
              'FORMAT': 'image/png',
              'SRS': 'EPSG:3857'
            serverType: 'mapserver'

The BC Government also provides aerial/satelite tiles

layerBCWMS = new ol.layer.Tile({
          //extent: extent,
          source: new ol.source.TileWMS({
            url: 'https://openmaps.gov.bc.ca/lzt/ows/',
            crossOrigin: 'anonymous',
            params: {
              'LAYERS': '140',
              'FORMAT': 'image/png',
              'SRS': 'EPSG:3857'
            serverType: 'mapserver'

and map tiles, too

layerBC = new ol.layer.Tile({
          source: new ol.source.XYZ({
            url: 'http://maps.gov.bc.ca/arcgis/rest/services/province/web_mercator_cache/MapServer/tile/{z}/{y}/{x}',
            numZoomLevels: 18,
            maxZoom: 17

Licensing is (as of October 2017) quite liberal.


Permalink 02:44:33 pm, by mholmes, 24 words, 9 views   English (CA)
Categories: Activity log; Mins. worked: 45

BreezeMap: added support for images in desc

This is required for the conference map, and useful overall. Need to restrict the content model of placeName to prevent their use there, though.


Permalink 02:49:02 pm, by mholmes, 8 words, 6 views   English (CA)
Categories: Activity log; Mins. worked: 120

BreezeMap: implemented popup descriptions for categories

Useful feature required by GN's project, now implemented.


Permalink 11:44:16 am, by sarneil, 145 words, 6 views   English (CA)
Categories: Activity log; Mins. worked: 240

breezemap for servitengasse

Downloaded and installed homebrew.
Used brew to install ant on my Mac.
Downloaded BreezeMap from github.

in build.xml set <target name="teiToGeoJSON"><arg value="-s:${proj.dir}/xml/servitengasse.xml"/> to point to my xml file

in index.html set value for var mapCentre, and for maxZoom, numZoomLevels and zoom in view object, and for numZoomLevels and maxZoom in layerXYZ object, also tried two different tilesets in the layerXYZ object (OSM default and plain grey-scale from cartodb

to start up simple http server
cd to directory (e.g. cd /Users/sarneil/Documents/Projects/gerslav/servitengasse/BreezeMap-master)
python -m SimpleHTTPServer 8000 .

to kill server session
ctrl-c in terminal window running session

to build geojson from xml data file
cd to utilities folder in the breezemap instance for the project (e.g. cd /Users/sarneil/Documents/Projects/gerslav/servitengasse/BreezeMap-master/utilities)
ant -lib .


Permalink 05:07:49 pm, by mholmes, 19 words, 9 views   English (CA)
Categories: Activity log; Mins. worked: 60

Keats: New workstudy started

Set up svn repo, and introduced VB to the project; he's now working on CSS for the home page.

:: Next Page >>


This blog is for work done for academic departments which does not fall under other categories.


XML Feeds