Hello.

I have problem with configuration one of my services in OL3.

My application runs in projection EPSG:2177 and i`m trying to get one of 
the services in anoter projection (EPSG:2180) - OL3 3.17.1.

Below is the url with correct answer form server:
http://mapy.zabytek.gov.pl/AZP/service.svc/get?VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&LAYERS=Sekcja_arkusza_AZP&;
SRS=EPSG:2180&
BBOX=378933.442960105,483874.514435803,385658.442960105,485130.764435803
&WIDTH=1076&HEIGHT=201&TRANSPARENT=TRUE&FORMAT=image/png&styles=

My object configuration in OL3:

new ol.layer.Image( {title:'Arkusze Archeologicznego Zdjęcia Polski (AZP)',
  visible : false, zIndex : 1010, opacity: 1,
   source :
  new ol.source.ImageWMS({ url : 
'http://mapy.zabytek.gov.pl/AZP/service.svc/get',ratio: 1, 
        params : {'LAYERS' : 'Sekcja_arkusza_AZP',
                                            'SRS':'EPSG:2180',
       VERSION:'1.1.1',
                                             FORMAT: 'image/png' } })
  })


Below is URL generated  from my application:

http://mapy.zabytek.gov.pl/AZP/service.svc/get?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=Sekcja_arkusza_AZP&;
*SRS=EPSG%3A2177*&STYLES=&WIDTH=1053&HEIGHT=176&
BBOX=6432796.159999999%2C5786350.079999999%2C6470535.679999999%2C5792622.079999999

I know the problem is in SRS and BBOX - how can i set parameter of SRS (or 
CRS) as EPSG:2180 and the bbox properties. 

Thanks Michal

-- 
You received this message because you are subscribed to the Google Groups "OL3 
Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ol3-dev+unsubscr...@googlegroups.com.
To post to this group, send email to ol3-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/ol3-dev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ol3-dev/233c7713-2b78-421d-b6ce-d9f218b2bca6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to