Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Tweeted twitter.com/StackGIS/status/689997285665705984
This is OL3, not OL2.
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

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 best go aboutdo 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.

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 best go about 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.

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.

Source Link
user1331131
  • 861
  • 4
  • 17

Reproject and cache a tile service

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 best go about 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.