3

We have a legacy tile server with tiles georeferenced to EPSG:4326 accessed as follows through openlayers:-

var OLDSERVICE =    new ol.layer.Tile({
                    title: 'OLD SERVICE',
                    type: 'base',
                    source: new ol.source.XYZ({
                                url: 'http://OLD_URL/maps/api/nls/{z}/{x}/{y}.jpg',
                                maxZoom: 15,
                                tilePixelRatio: 1})
                    });

The current base map is in EPSG:4326

We want to reproject these tiles to work on a base map with projection EPSG:27700

How would we do this?

I don't want to warp the tiles on the fly, would prefer to reprocess them for 27000. I am not very familiar with XYZ tile services as most of our stuff is done via a WMS service.

1

If you can't configure tile server (no access for example) you can transform tiles by Mapproxy http://mapproxy.org/docs/1.8.0/configuration_examples.html#reprojecting-tiles

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.