Displaying 5 results from an estimated 5 matches for "readshapepoints".
2008 Mar 11
2
Error opening SHP file (maptools)
I am having difficulty loading a points shapefile (1600 records) I generated from ArcGIS as a PointsSpatialDataFrame using the maptools readShapePoints function.
library(maptools)
surveypts <- readShapePoints(system.file("C:/temp/survey.shp", package="maptools")[1]
Error in getinfo.shape(filen) : Error opening SHP file
I've tried numerous re-exports and renames of the dataset, to no avail. I've also tried placing t...
2012 Jul 20
2
Reading Shapefiles
...m attempting to write what MATLAB does as : [S,A]= shaperead() which
returns an N by 1 geographic array structure S containing geometric
information, and a paralell N by 1 attribute structure array, A containing
feature attribute information.
How can this be done with R code I tried using shp<-readShapePoints() but
this doesnt return the same structure that I am looking for.
Please Help.
Thanks
--
View this message in context: http://r.789695.n4.nabble.com/Reading-Shapefiles-tp4637262.html
Sent from the R help mailing list archive at Nabble.com.
2012 Oct 30
0
lapply and kernelUD (adehabitatHR package): Home Range kernel estimation for a list of individuals
...'m stuck with it...
Any thoughts on what I could be doing wrong will be very appreciated!
See below the code:
FOR ONE ANIMAL NAMED "Gael". IT WORKED PERFECTLY!
># Read a shapefile and convert it into a SpatialPointsDataFrame with its
corresponding CRS
>Gael_WGS84_WorldM <- readShapePoints("900_Gael_WGS84_WorldM",
proj4string=CRS("+proj=merc +lon_0=0 +k=1 +x_0=0 +y_0=0
+ellps=WGS84 +datum=WGS84 +units=m +no_defs"))
># Remove all the columns except the name of the animal to use the kernelUD
function. My data looks like this:
> head(Gael_WGS8...
2005 Sep 16
1
Question:manipulating spatial data using combination of Maptools and Splancs
Hi,
I have a problem that concerns combination of the package Maptools and
Splancs
I have 2 shapefiles that i want to manipulate (one of type point and one
polygon).I import them in R using Maptools but then i can't estimate a
quartic Kernel using Splancs. The package doesn't recognize the shapes
(invalid points and poly argument).I don't know if this is an easy task but
i have
2009 Oct 28
2
Re ading and Creating Shape Files
Hello R Community,
I have imported a dataset which contain X Y coordinates and would like to
recreate a shape file after some data analysis. What i have done is to
import some taxlot data and join them based on some criteria. I want to
check to see how well the joining went by reviewing the results in GIS.
A couple things. I cant seem to import a shape file correctly using the
maptools