[R-sig-Geo] transform an image to a shapefile
Julian Burgos
julian at hafro.is
Fri Oct 12 16:10:19 CEST 2012
Julia, what do you mean with "shapefile"? Shapefiles are for vectorial
data (points, lines, polygons). Your data appears to be a raster. What
exactly do you want to do?
On 10/12/2012 11:01 AM, Julia Chacon Labella wrote:
> Hello to everybody,
>
> I have an image with the structure that is showed below, and I need to
> convert it to a shapefile, any idea?
>
> str(image)
>
> List of 10
> $ v : num [1:201, 1:240] NA NA NA NA NA NA NA NA NA NA ...
> $ dim : int [1:2] 201 240
> $ xrange: num [1:2] -0.0114 11.8824
> $ yrange: num [1:2] -0.0094 9.9346
> $ xstep : num 0.0496
> $ ystep : num 0.0495
> $ xcol : num [1:240] 0.0134 0.0629 0.1125 0.1621 0.2116 ...
> $ yrow : num [1:201] 0.0153 0.0648 0.1143 0.1637 0.2132 ...
> $ type : chr "real"
> $ units :List of 3
> ..$ singular : chr "unit"
> ..$ plural : chr "units"
> ..$ multiplier: num 1
> ..- attr(*, "class")= chr "units"
> - attr(*, "class")= chr "im"
>
> Thank you very much for your attention!!
>
> Julia
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
>
--
Julian Mariano Burgos, PhD
Hafrannsóknastofnunin/Marine Research Institute
Skúlagata 4, 121 Reykjavík, Iceland
Sími/Telephone : +354-5752037
Bréfsími/Telefax: +354-5752001
Netfang/Email: julian at hafro.is
More information about the R-sig-Geo
mailing list