[Gfoss] QGIS TileLayer Plugin e Mapbox

aborruso aborruso a tin.it
Mar 5 Maggio 2015 22:21:12 CEST


Ciao Luca,


Luca Moiana wrote
> seguendo questa
> guida:https://www.mapbox.com/guides/georeferencing-imagery/
> Sto cercando di caricare, con TileLayer plugin, un progetto MapBox come
> mappa di sfondo, senza riuscirci.Ho provato: OSX QGIS 2.8, Win7 QGIS 2.01
> portable

non risponderò esattamente alla tua domanda, ma magari quanto ti scrivo ti
sarà utile. 

Se vuoi usare una base mapbox come sfondo in QGIS, puoi usare i gdal
minidriver. Apri un notepad e scrivici dentro qualcosa di simile:
<GDAL_WMS>
    <Service name="TMS">       
<ServerUrl>http://api.tiles.mapbox.com/v4/nomeutente.ilc3l20e/${z}/${x}/${y}.png?access_token=machebeltoken</ServerUrl>
    </Service>
    <DataWindow>
        <UpperLeftX>-20037508.34</UpperLeftX>
        <UpperLeftY>20037508.34</UpperLeftY>
        <LowerRightX>20037508.34</LowerRightX>
        <LowerRightY>-20037508.34</LowerRightY>
        <TileLevel>18</TileLevel>
        <TileCountX>1</TileCountX>
        <TileCountY>1</TileCountY>
        <YOrigin>top</YOrigin>
    </DataWindow>
    <Projection>EPSG:3857</Projection>
    <BlockSizeX>256</BlockSizeX>
    <BlockSizeY>256</BlockSizeY>
    <BandsCount>3</BandsCount>
    <Cache />
</GDAL_WMS>

Salva con nome (mapbox.wms) e fai il drag & drop di questo file su QGIS.
Avrai come sfondo il tuo layer mapbox.

Saluti



-----
Andrea Borruso

----------------------------------------------------
email: aborruso at tin.it
website: http://blog.spaziogis.it
feed: http://feeds2.feedburner.com/Tanto
38° 7' 48" N, 13° 21' 9" E
----------------------------------------------------
--
View this message in context: http://gfoss-geographic-free-and-open-source-software-italian-mailing.3056002.n2.nabble.com/QGIS-TileLayer-Plugin-e-Mapbox-tp7592451p7592467.html
Sent from the Gfoss -- Geographic Free and Open Source Software - Italian mailing list mailing list archive at Nabble.com.


Maggiori informazioni sulla lista Gfoss