Use ggplot2::fortify - there's several other ways but no "native" support.
If fortify doesn't work try spbabel::sptable.
All the best
On Fri, Feb 1, 2019, 05:46 David Winsemius wrote:
>
> On 1/30/19 7:12 AM, javad bayat wrote:
> > Dear all;
> > Back to my previous question, I am trying to add X
Dear all;
Back to my previous question, I am trying to add X and Y coordinates to
every row of the data.
topo =
readOGR("E:/New/Modelling_Water/MIKE/BathyMetry/GIS_Armator/Chitgar_Topo.shp")#Read
shape file of the topo as polylines
plot(topo)
cords = topo@lines[[1]]@Lines[[1]]@coords###Extracting
On 1/30/19 7:12 AM, javad bayat wrote:
> Dear all;
> Back to my previous question, I am trying to add X and Y coordinates
> to every row of the data.
>
> topo =
> readOGR("E:/New/Modelling_Water/MIKE/BathyMetry/GIS_Armator/Chitgar_Topo.shp")#Read
>
> shape file of the topo as polylines
> plot
Dear R users;
I am trying to extract the X and Y coordinates of a polylines along with
Elevation data. I have extracted the Elevations as Z, but I do not know how
to extract the X and Y of these Elevations. Is it possible to extract X and
Y of the Elevation and create a data frame with three variab
4 matches
Mail list logo