Investigation into the use of geotiffs on the map
Posted by mholmes on 01 Dec 2017 in Activity log
JSR raised the possibility of using the cadastrals on top of the title maps. I've looked at the GeoTiffs created by AC, and determined that I can use gdalwarped like this:
gdalwarp input.tif output.WGS84.tif -t_srs "+proj=longlat +ellps=WGS84"
to create a version in degrees in WGS84; then I can use:
gdalinfo output.WGS84.tif
to see the resulting coordinates. I think we can then use convert to get PNGs and use ol.source.StaticImage to put the results on the map, but I haven't actually succeeded in making that work yet; still wrestling with it.