05/10/17

Permalink 01:16:38 pm, by Greg, 152 words, 10 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:

//CRD
        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.

04/10/17

Permalink 02:44:33 pm, by mholmes, 24 words, 14 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.

29/09/17

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

BreezeMap: implemented popup descriptions for categories

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

28/09/17

Permalink 11:44:16 am, by sarneil, 145 words, 9 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 .

21/09/17

Permalink 05:07:49 pm, by mholmes, 19 words, 10 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.

19/09/17

Permalink 03:52:54 pm, by mholmes, 36 words, 6 views   English (CA)
Categories: Activity log; Mins. worked: 30

GRS: Latin project under way again

AM and PM came by for the latter to get the former started on the next phase of the Latin site project. Copied all the requisite files over for them, and got everything installed and running.

13/09/17

Permalink 02:15:55 pm, by mholmes, 23 words, 9 views   English (CA)
Categories: Activity log; Mins. worked: 20

TCCD: Added treaty location placemark

We have three location types, and I had only allowed for two. Created a third, which involved a little reconfiguration of the JSON.

12/09/17

Permalink 04:45:22 pm, by mholmes, 14 words, 15 views   English (CA)
Categories: Academic; Mins. worked: 45

Interview for KB's Keats project

With KB, interviewed VB for the former's workstudy position; green sheet not yet available.

11/09/17

Permalink 04:45:17 pm, by mholmes, 58 words, 17 views   English (CA)
Categories: Activity log; Mins. worked: 60

TCCD: work on map placemarkers

Implemented distinct placemarkers for the federal and non-federal ridings in preparation for the designer's input on how they should look. One obvious problem emerged: fed and non-fed ridings with the same coordinates. I've worked around it for the moment by offsetting one slightly to the left and one slightly to the right, pending input from DH and FF.

30/08/17

Permalink 04:18:10 pm, by mholmes, 28 words, 16 views   English (CA)
Categories: Activity log; Mins. worked: 30

TCCD: OCRed more AB_SK pages

Some of the ones done before turned out to be too low-res; new ones were uploaded and I've now OCRed them and added the results to the repo.

<< Previous Page :: Next Page >>

Depts

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

Reports

XML Feeds