I am setting up a new environment for OpenLayers using a MrSid file on our network as our source for the map. I have an Aerial in MrSID format that I want to use in OpenLayers. I could not find an example on how to set the map layer to use a MrSID file. Basically I am trying to do something like this:
var map = new ol.Map({
layers: [
new ol.layer.Tile({
source: new ol.source.Source({file: 'http://server01/aerial.sid'})
}),
vectorLayer
],
renderer: 'canvas',
target: 'map',
view: new ol.View2D({
center: [0, 0],
zoom: 1
})
});
But it is not working. Any help would be appreciated. Thanks Before Hand.
Update: From the research I have been doing waiting for an answer, this is what I have found so far: OpenLayers does not support MrSID. An application server such as mapserver must be used between the MrSID file and OpenLayers. If this is true, will not this greatly affect the performance of loading the data from mapserver as opposed to finding a way to go directly from OpenLayers to MrSID?