Satallite image performance

6/12/2012 5:22:50 PM
Total Posts 14

Satallite image performance

I create web application with data WGS84 , and i load raster map ( more 1 GB ) as jpeg format.

  when run the application the speed on page it's very slow .


my question : how can loaded any raster map in web application quickly ?


Thanks .

6/12/2012 11:37:32 PM
Total Posts 50

Re: Satallite image performance



I have same problem too.  I tried to use Tilemaplayer and also Addlayer(), the situation was the same, very long to load webmap. eventhough I increased the spec of server computer.

I tried another solution but it is ok now. You can try to use WMSservice mode to load Satellite Image more than 1 GB. and for me it was good solution.



6/13/2012 1:00:58 AM
Total Posts 14

Re: Satallite image performance

thanks arpt_s for your answer  , can you give more info about this solution.......


Best Regards

6/13/2012 2:48:02 AM
Total Posts 50

Re: Satallite image performance

Hi Najeb,

you can see and follow sample aspmap Wmsservice.



6/13/2012 8:51:15 AM
Total Posts 323

Re: Satallite image performance

If a 1 GB jpeg image is loaded on each request, the processing will be relatively slow (decoding takes time).

You have to use the ECW or JPEG2000 format for large images.

6/13/2012 10:17:34 AM
Total Posts 14

Re: Satallite image performance

i try to use JPEG2000 but the performance still very slow ...,,,

how i can manage this ...this is big problem ...

i don't have ability to deploy my Satellite image as WMS service ...


how i can control that ...

this is very important point ...i hope to give me your suggestion about this issue ...

Best Regards

6/13/2012 11:46:07 AM
Total Posts 50

Re: Satallite image performance

Hi najed,

see wmsservice sample, and try to add part like this in wmsservice.ashx *(use your own data) :

Protected Sub AddMapLayers(ByVal map As AspMap.Web.Map)
Dim LayerFolder As String = HttpContext.Current.Server.MapPath("MAPS/ATB/ASSET/MI/")
Dim LayerFolderBased As String = HttpContext.Current.Server.MapPath("MAPS/ATB/Based/MI/")
Dim layerImageFolder2010 As String = HttpContext.Current.Server.MapPath("MAPS/Images/2010/")

map.AddLayer(layerImageFolder2010 & "QB_2010_LL.ecw")
map.AddLayer(LayerFolder & "DMZ.Tab")
map.AddLayer(LayerFolder & "DAM.Tab")
map.AddLayer(LayerFolder & "PL_Boundary.Tab")
map.AddLayer(LayerFolder & "Route Area.Tab")
map.AddLayer(LayerFolder & "Pipeline.Tab")
map.AddLayer(LayerFolderBased & "POI.Tab")
map.AddLayer(LayerFolderBased & "POI_Junction.Tab")

End sub

Then you can addlayer in default.aspx like this :


Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
' add the WmsService.ashx HTTP handler as a Web Map Service
Dim wms As WmsLayer = New WmsLayer("wmsService.ashx", New AspMap.Rectangle(103.881597, 1.21427, 104.177737, 0.966681))
wms.BackColor = Color.White

' add the WMS layer to the map
Dim wmsLayer As AspMap.Layer = map.AddLayer(wms)

' set the map units
map.MapUnit = AspMap.MeasureUnit.Degree

' initialize the ScaleBar
map.ScaleBar.Visible = True
map.ScaleBar.BarUnit = UnitSystem.Metric
map.ScaleBar.KilometersString = "km"
map.ScaleBar.MilesString = "Miles"
map.ScaleBar.FeetString = "Feet"
map.ScaleBar.MetersString = "meter"

' initialize the ZoomLevels collection

' make the map image transparent to display background WMS layers
map.ImageOpacity = 0
map.BackColor = Color.White
map.ZoomLevel = 4
map.ImageFormat = ImageFormat.Gif


End Sub



6/13/2012 11:47:09 AM
Total Posts 50

Re: Satallite image performance

Don't forget to convert your image JP2000 to ECW format. this better size

6/13/2012 11:52:57 AM
Total Posts 50

Re: Satallite image performance

I already tried to compare the different between Tilemaplayer or ussual format(map.addlayer) with my customer data total 150.000 points and Image satellite 1 GB.  I have the same problem on speed loading on web.

We better create Wmsservices web map server method to increase loading speed on web.

I hope this will helpfull for you.

Sorry, Support : if I was wrong with this method. can you correct me?

6/13/2012 12:36:44 PM
Total Posts 14

Re: Satallite image performance

thanks  arpat_s for your feedback and your clarification, i have image  JP2000  how i can convert it to ECW , and what the tools will be used to WMS Service , i don't have in the site internet access , how i can do this (WMS) offline that means the satellite image is in my storage system ...

i need to protect my satellite image ...


Thank you very much for cooperation