Skip to main content
Formatting the code section and adding tags
Source Link
Mokhless
  • 255
  • 1
  • 2
  • 8

How to export spatial datasets in R, such as tornados dataset in GISTools package, as a shapefile with the exact same spatial reference and the exact values?

library(GISTools)

data(tornados)
library(GISTools)

data(tornados)

Desired:

  • "SpatialPolygonsDataFrame" to "shapefile"
  • "(Forced) SpatialPointsDataFrame" to "shapefile"
  • "(Non-Forced) SpatialPointsDataFrame" to "shapefile"
  • "SpatialLinesDataFrame" to "shapefile".

How to export spatial datasets in R, such as tornados dataset in GISTools package, as a shapefile with the exact same spatial reference and the exact values?

library(GISTools)

data(tornados)

Desired:

  • "SpatialPolygonsDataFrame" to "shapefile"
  • "(Forced) SpatialPointsDataFrame" to "shapefile"
  • "(Non-Forced) SpatialPointsDataFrame" to "shapefile"
  • "SpatialLinesDataFrame" to "shapefile".

How to export spatial datasets in R, such as tornados dataset in GISTools package, as a shapefile with the exact same spatial reference and the exact values?

library(GISTools)

data(tornados)

Desired:

  • "SpatialPolygonsDataFrame" to "shapefile"
  • "(Forced) SpatialPointsDataFrame" to "shapefile"
  • "(Non-Forced) SpatialPointsDataFrame" to "shapefile"
  • "SpatialLinesDataFrame" to "shapefile".
Tweeted twitter.com/StackGIS/status/1065349152782131200
Fixed code block, removed redundant text and formatted post
Source Link

How to export spatial datasets in R, such as "tornados"tornados dataset in "GISTools"GISTools package, as a shapefile with the exact same spatial reference and the exact values?

Library(GISTools)

data(tornados)

library(GISTools)

data(tornados)

"SpatialPolygonsDataFrame" to "shapefile"---"SpatialPointsDataFrame" to "shapefile"--- "(Forced) SpatialPointsDataFrame" to "shapefile"--- "(Non-Forced) SpatialPointsDataFrame" to "shapefile"--- "SpatialLinesDataFrame" to "shapefile".Desired:

Thanks.

  • "SpatialPolygonsDataFrame" to "shapefile"
  • "(Forced) SpatialPointsDataFrame" to "shapefile"
  • "(Non-Forced) SpatialPointsDataFrame" to "shapefile"
  • "SpatialLinesDataFrame" to "shapefile".

How to export spatial datasets in R, such as "tornados" dataset in "GISTools" package, as a shapefile with the exact same spatial reference and the exact values?

Library(GISTools)

data(tornados)

"SpatialPolygonsDataFrame" to "shapefile"---"SpatialPointsDataFrame" to "shapefile"--- "(Forced) SpatialPointsDataFrame" to "shapefile"--- "(Non-Forced) SpatialPointsDataFrame" to "shapefile"--- "SpatialLinesDataFrame" to "shapefile".

Thanks.

How to export spatial datasets in R, such as tornados dataset in GISTools package, as a shapefile with the exact same spatial reference and the exact values?

library(GISTools)

data(tornados)

Desired:

  • "SpatialPolygonsDataFrame" to "shapefile"
  • "(Forced) SpatialPointsDataFrame" to "shapefile"
  • "(Non-Forced) SpatialPointsDataFrame" to "shapefile"
  • "SpatialLinesDataFrame" to "shapefile".
deleted 3 characters in body; edited title
Source Link
Mokhless
  • 255
  • 1
  • 2
  • 8

How to export a dataset with "SpatialPolygonsDataFrame" as a shapefile

How can Ito export spatial datasets in R, such as "tornados" dataset in "GISTools" package, as a shapefile with the exact same spatial reference and the exact values?

Library(GISTools)

data(tornados)

"SpatialPolygonsDataFrame" to "shapefile"---"SpatialPointsDataFrame" to "shapefile"--- "(Forced) SpatialPointsDataFrame" to "shapefile"--- "(Non-Forced) SpatialPointsDataFrame" to "shapefile"--- "SpatialLinesDataFrame" to "shapefile".

Thanks.

How export a dataset with "SpatialPolygonsDataFrame" as a shapefile

How can I export spatial datasets in R, such as "tornados" dataset in "GISTools" package, as a shapefile with the exact same spatial reference and the exact values?

Library(GISTools)

data(tornados)

"SpatialPolygonsDataFrame" to "shapefile"---"SpatialPointsDataFrame" to "shapefile"--- "(Forced) SpatialPointsDataFrame" to "shapefile"--- "(Non-Forced) SpatialPointsDataFrame" to "shapefile"--- "SpatialLinesDataFrame" to "shapefile".

Thanks.

How to export a dataset with "SpatialPolygonsDataFrame" as a shapefile

How to export spatial datasets in R, such as "tornados" dataset in "GISTools" package, as a shapefile with the exact same spatial reference and the exact values?

Library(GISTools)

data(tornados)

"SpatialPolygonsDataFrame" to "shapefile"---"SpatialPointsDataFrame" to "shapefile"--- "(Forced) SpatialPointsDataFrame" to "shapefile"--- "(Non-Forced) SpatialPointsDataFrame" to "shapefile"--- "SpatialLinesDataFrame" to "shapefile".

Thanks.

Source Link
Mokhless
  • 255
  • 1
  • 2
  • 8
Loading