Convert map pdf in raster

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Convert map pdf in raster

Pereira
Hello,

Is it possible to convert a map im pdf to a raster?
Another question. I need to obtain a raster of land use and land cover of
Europe. Which site to choose?

Thanks,

Lara

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
[hidden email]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Reply | Threaded
Open this post in threaded view
|

Re: Convert map pdf in raster

Michael Sumner-2
Try

 r <- raster::brick(pdffile)

#(requires rgdal with PDF driver)

raster::plotRGB(r)

Alternatively, try stars::read_stars

HTH

On Wed, Mar 27, 2019, 02:43 Lara Silva <[hidden email]> wrote:

> Hello,
>
> Is it possible to convert a map im pdf to a raster?
> Another question. I need to obtain a raster of land use and land cover of
> Europe. Which site to choose?
>
> Thanks,
>
> Lara
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> [hidden email]
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
--
Dr. Michael Sumner
Software and Database Engineer
Australian Antarctic Division
203 Channel Highway
Kingston Tasmania 7050 Australia

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
[hidden email]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Reply | Threaded
Open this post in threaded view
|

Re: Convert map pdf in raster

Pereira
Thanks a lot!

Michael Sumner <[hidden email]> escreveu no dia terça, 26/03/2019 à(s)
19:43:

> Try
>
>  r <- raster::brick(pdffile)
>
> #(requires rgdal with PDF driver)
>
> raster::plotRGB(r)
>
> Alternatively, try stars::read_stars
>
> HTH
>
> On Wed, Mar 27, 2019, 02:43 Lara Silva <[hidden email]> wrote:
>
>> Hello,
>>
>> Is it possible to convert a map im pdf to a raster?
>> Another question. I need to obtain a raster of land use and land cover of
>> Europe. Which site to choose?
>>
>> Thanks,
>>
>> Lara
>>
>>         [[alternative HTML version deleted]]
>>
>> _______________________________________________
>> R-sig-Geo mailing list
>> [hidden email]
>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>
> --
> Dr. Michael Sumner
> Software and Database Engineer
> Australian Antarctic Division
> 203 Channel Highway
> Kingston Tasmania 7050 Australia
>
>

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
[hidden email]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo