Forum QGIS
QGIS i serwer ARS Geoportalu - Wersja do druku

+- Forum QGIS (http://forum.quantum-gis.pl)
+-- Dział: Desktop GIS (http://forum.quantum-gis.pl/forum-4.html)
+--- Dział: QGIS (http://forum.quantum-gis.pl/forum-5.html)
+--- Wątek: QGIS i serwer ARS Geoportalu (/thread-859.html)



QGIS i serwer ARS Geoportalu - zelnik - 25-01-2013

Witajcie, mam problem z korzystaniem na QGIS (1.7, 1.8) z niektórych map z serwera: http://ars.geoportal.gov.pl.
Nie działa wzorowany na stronie http://terraobserver.blogspot.com/2009/07/pobieranie-map-z-serwerow-ars.html xml do wyświetlania ortofotomapy:
Kod:
<GDAL_WMS>
    <Service name="TMS">
        <ServerUrl>http://ars.geoportal.gov.pl/ARS/getTile.aspx?service=ORTOFOTO&amp;cs=EPSG2180&amp;fileIDX=L${z}X${x}Y${y}.jpg</ServerUrl>
    </Service>
    <DataWindow>
        <UpperLeftX>0</UpperLeftX>
        <UpperLeftY>819200</UpperLeftY>
        <LowerRightX>1228800</LowerRightX>
        <LowerRightY>0</LowerRightY>
        <TileLevel>6</TileLevel>
        <TileCountX>192</TileCountX>
        <TileCountY>128</TileCountY>
        <YOrigin>bottom</YOrigin>
    </DataWindow>
    <Projection>EPSG:2180</Projection>
    <BlockSizeX>256</BlockSizeX>
    <BlockSizeY>256</BlockSizeY>
    <BandsCount>3</BandsCount>
    <Cache>
        <Extension>.jpg</Extension>
    </Cache>
</GDAL_WMS>

jednocześnie plik do topografa wszystko ładnie ściąga:
Kod:
<GDAL_WMS>
    <Service name="TMS">
        <ServerUrl>http://ars.geoportal.gov.pl/ARS/getTile.aspx?service=RASTER_TOPO&amp;cs=EPSG2180&amp;fileIDX=L${z}X${x}Y${y}.jpg</ServerUrl>
    </Service>
    <DataWindow>
        <UpperLeftX>0</UpperLeftX>
        <UpperLeftY>819200</UpperLeftY>
        <LowerRightX>1228800</LowerRightX>
        <LowerRightY>0</LowerRightY>
        <TileLevel>11</TileLevel>
        <TileCountX>3</TileCountX>
        <TileCountY>2</TileCountY>
        <YOrigin>bottom</YOrigin>
    </DataWindow>
    <Projection>EPSG:2180</Projection>
    <BlockSizeX>256</BlockSizeX>
    <BlockSizeY>256</BlockSizeY>
    <BandsCount>3</BandsCount>
    <Cache>
        <Extension>.jpg</Extension>
    </Cache>
</GDAL_WMS>

Na forum Geoportalu link dowiedziałem się, że xml do ortofotomapy poprawnie działa w FWTools, więc pytanie czy da się coś zrobić na QGIS aby też działało? Shy