Displaying 20 results from an estimated 234 matches for "shapefiles".
Did you mean:
shapefile
2004 Feb 26
1
writing polygons/segments to shapefiles (.shp) or other A rcGIS compatible file
The main limitation of the shapefiles package that I put together is that it
does not create shapefiles from R objects - rather it only writes shapefiles
that have been read into R and manipulated within the constraints of the
existing file structure. By this I mean that for example you can change the
coordinates of points and write t...
2011 Nov 04
2
How to write a shapefile with projection
...? 3rd Qu.:3375529?? 3rd Qu.:8.180?
?Max.?? :610354??
Max.?? :3375751?? Max.??
:8.756?
?
#write the shapefile
writePointsShape(crest.sp, "I:/LA_levee/Shape/llev_crest_pts6")
?
If I load this shapefile in ArcGIS is has no projection.
I also looked at the write.shapefile command from shapefiles library and again I
get a file without projection. Is there any way to write the projection for the
shapefile in R? Probably I can do something in ArcGIS, but I would like to have
my shapefile from R complete.
?
Thanks,
?
Monica
?
2003 Dec 01
1
Re: using shapefile as owin
My sincerest apologies, as this is a very elementary problem, but I have
searched through archives and FAQs and on the web, and I am at the end of my
own resources.
I need to do analysis of a spatial point process occuring with four
counties, using spatstat. I've had no trouble importing the shapefiles, but
I can't seem to figure out what I need to do in order to use the boundary as
an owin. Why I use the Map2poly command, it appears to work, but not when I
attempt define the window using the shapefile; it also gives me errors when
I try to define a ppp.object. I am using the latest release...
2004 Feb 25
2
writing polygons/segments to shapefiles (.shp) or other ArCGIS compatible file
I am not sure a previous e-mail reached the list (no mail aknowledgement from R-boundle etc.). The question was how to write polygon
or segment coordinates into a shapefile set or any other ArcGIS supported format. The library shapefiles seems to do something but
the documentation is a bit beyond of my mind.... and I cannot get the meaning of the functions write**** and its application to the
case below:
In simple words, is there a somewhere a function taking polygon coordinates (or simple segments) within R to a "ready to re...
2005 Sep 09
2
shapefiles manipulations ??
cheers ,
I need help in shapefile manipulations. I have two shapefiles of my country Cameroon.
The first contain 10 provinces and each province contains a certain number of administratives units. I dont have ESRI Arc view. I want to add a admistrative unit of the center province to the map with 10 province.
Is it possible to to take a peace of shapefile and combinin...
2012 Feb 23
1
using shapefiles in adehabitat/ converting shapefile to spatial pixel data frame
Hello
I wonder if anybody can help,
I am using the package adehabitatHR to estimate the potential distribution of a species using the command "domain"
In the example given in the AdehabitatHS manual a map containing elevation information is loaded (class= spatial pixels data frame) as well as the GPS points of the animals being tracked, these are then plotted on each other and
2006 Nov 30
2
*** caught segfault *** error
...S.UTF-8
attached base packages:
[1] "methods" "stats" "graphics" "grDevices" "utils"
"datasets" "base"
I get an error below whenever I try to plot a map from a shapefile
imported into R; I've tried packages shapefiles and spdep, and two
different shapefiles, and get the error in all 4 combinations.
The shapefile is imported correctly, and I get the error only when I
try to plot the map. I specifically use commands
> library(spdep)
Loading required package: tripack
Loading required package: maptools
Loa...
2011 Apr 03
1
another question on shapefiles and geom_point in ggplot2
...the Interior
US Fish & Wildlife Service
California, USA
http://www.fws.gov/redbluff/rbdd_jsmp.aspx
>
>From: Manuel Spínola <mspinola10@gmail.com>
>To: Felipe Carrillo <mazatlanmexico@yahoo.com>
>Sent: Sat, April 2, 2011 11:22:24 PM
>Subject: Re: another question on shapefiles and geom_point in ggplot2
>
>No problem, thank you very much Felipe.
>
>Best,
>
>Manuel
>
>On 03/04/2011 12:19 a.m., Felipe Carrillo wrote:
>I meant to send you this one..Let me clean up the code a little bit and
>>I will send it to you,,,do you mind if I send it...
2007 Nov 13
3
ESRI Shapefile for EU-25
Hi all,
who knows how to get an ESRI Shapefile for the NUTS-2 Regions of the
enlarged European Union? Particularly I want to draw maps of Germany,
Poland, Czech Republik, Hungary and Austria. I've found Shapefiles for the
US, Russia and other countries elsewhere in the web, but for Europe it
seems really difficult.
With many thanks for any hint
Albrecht
2006 Feb 09
1
Shapefiles
Dear List,
I have examined the sp, maptools, and shapefiles packages (Windows) but
cannot seem to figure out a solution for writing shapefiles for 'curvy
shapes'. The scenario is that I generate a series of polygons, circles, and
ellipses on a plot and would like to convert them to shapefiles. Since the
circles and ellipses are do not return a coo...
2006 Mar 21
3
transform shapefiles in UTM to lat/long
...apefile in UTM coordinate system and I would like to transform it
to Lat/Log coordinates (WSG84). The package PBSmapping contains function
convUL to transform between the two coordinate systems when data is in the
form of a data frame with attributes specifying the coordinate system.
However, when shapefiles are imported using function read.shape (package
maptools), a list instead of a data frame is generated. I could extract all
the polygons in the list and transform them, individually, but I hope there
is an easier way of doing that. Besides, the shapefile i'm trying to
convert has two differen...
2005 Mar 05
2
maptools, filename writing shapefiles
Hi,
I meet a strange trouble writing shapefiles with write.pointShape() from
maptools.
> write.pointShape(mylines[,5:9], file="Sxtplinshp", mycoordspt)
Error in write.pointShape(mylines[, 5:9], file = "Sxtplinshp", mycoordspt) :
shapefile names must conform to the 8.3 format
It seems that the function request...
2010 Apr 01
3
Using GIS data in R
...le of US states
and check whether or not a set of points are within the boundary of
these states. I have the shapefile, I have the coordinates but I'm
having a great deal of difficulty bringing the two together. The
problem is the various GIS packages for R do not play well with each
other. sp, shapefiles, maptools, etc all use different data
structures. Can someone suggest a simple set of commands that will
work together that will:
1) load the shapefile data.
2) Allow me to test whether or not a (lng,lat) coordinate pair are
inside or outside the polygons defined in the shapefile.
Many thanks,
sc...
2012 Apr 18
0
simplify shapefile and save output
I have several large shapefiles that I need to use to draw a map.
I want to simplify the files and then save the output so that I can use them
again.
The methods that I have tried do not allow me to save the simplified output
as a shapefile.
I have tried:
thinnedSpatialPoly in the package maptools, but I understand that you cann...
2013 Feb 14
1
Clip a contour with shapefile while using contourplot
Hi, I have done the interpolation for my data and I was able to create the
contours in multipanel with the help of Pascal. Now, I want to clip the
contour with the shapefile. I want only the portion of contour to be
displayed which falls inside the boundary of the shapefile.
The data mydata.csv can be found on
https://www.dropbox.com/s/khi7nv0160hi68p/mydata.csv
The data for shapefile can be
2003 Jun 09
2
ESRI shapefiles and EMME/2 packages
I just uploaded two packages to CRAN.
shapefiles_0.1.tar.gz - functions to read and write ESRI shapefiles
(including dbfs)
emme2_0.1.tar.gz - functions to read binary data from an EMME/2 databank
data (EMME/2 is a transportation modeling program)
Please let me know if you find any bugs or have some suggestions. Thanks.
Regards,
Benjamin Stable...
2011 Oct 05
2
kriging shapefiles
Hi! Im new to R and I need to interpolate a shapefile using kriging. I've been able to plot/read the shapefile using the package maptools or rgdal. I've searched the internet for sample codes but most of the kriging codes that I've found done in R is done using txtfiles or CSVs. An example could be of great help. Thanks.
[[alternative HTML version deleted]]
2005 Jul 16
1
PBSmapping and shapefiles
Hi,
Is there a way, preferably with R, to read shapefiles and transform
them in a format that I could then use with package PBSmapping?
I have been able to read such files into R with maptools' read.shape
and plot it with plot.Map, but I'd like to bring the data to
PBSmapping and plot from there. I also looked at the package
shapefile, bu...
2011 Oct 04
1
shapefile kriging
I'm new to R and I'm working on point shapefiles. Is there a way that you could interpolate a shapefile via kriging in R using an attribute? All examples on the internet are using txt files and CSVs. Thanks a lot.
[[alternative HTML version deleted]]
2009 Jan 10
1
Bubble plot on shapefile - projection issues?
...n WSG84.? How do I change the projections to make them line up?? I tried mapproj but couldn't get it to work.? Any suggestions would be greatly appreciated.?
?
My code is below.? I have also attached the shapefile and my data.
?
Thanks in advance for your help.
?
Aloha,
?
Tim
?
?
?
?
#Read ESRI shapefiles
library(maptools)
library (PBSmapping)
setwd("E:/Telemetry_research/Kealakekua Bay MPA study/R bubble plot")
hawaii.coast<- read.shape("coast_n83.shp")
?
#Read data and convert to event data
? mydat<-read.table("my.event", header=TRUE)
? my.event<-as.EventData...