Displaying 20 results from an estimated 5000 matches similar to: "Shrink file size of pdf graphics"
2011 Jun 11
2
Inspecting C code in an R package
Hello everyone,
Trying to comprehend code of an R package, I encountered the problem that
the interesting part of the
function I'm inspecting is written in C-Code and called by ".C("somename",
....)". Now I can't inspect the C-Code the function is calling since I can't
find it in the folder of the package.
Does someone know, where the corresponding C-Code ist
2012 Jun 20
2
Conditioned Latin Hypercube Sampling within determined distance
Hi all,
I am a begginer in R and I have been trying to use the Conditioned Latin
Hypercube to choose sample points only in areas close to roads due to the
difficult thorough access in the study area. I could use a code to create
the points throughout the area, but I need to create a code to make the R
only comes up with points close to this road. I've been using the packages
2011 Nov 04
2
How to write a shapefile with projection
Hi,
?
I am trying to write a shapefile with projection. I have
my data in a data.frame called try and consists in xy coordinates and a
numerical attribute value z1.
?
Libraries loaded are: sp, rgdal, raster, maptools
?
head(try)
???????? x?????? ??? y??? ? ? ? ? ? ? ??? z1
1 610237.1 ???????? 3375751
???????????? 8.221
2 610236.1 ???????? 3375750
???????????? 8.153
3 610236.1 ????????
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
2006 Nov 30
2
*** caught segfault *** error
Dear R users,
I use R 2.4.0 on an iMac running Mac OS X 10.4.8, with a 2.16GHz
Intel Core 2 Duo and 2GB 667 MHz DDR2 SDRAM.
> sessionInfo()
R version 2.4.0 (2006-10-03)
i386-apple-darwin8.8.1
locale:
es_ES.UTF-8/es_ES.UTF-8/es_ES.UTF-8/C/es_ES.UTF-8/es_ES.UTF-8
attached base packages:
[1] "methods" "stats" "graphics" "grDevices"
2010 Apr 01
3
Using GIS data in R
I have a simple problem: I need to load a ERSI shapefile 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
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
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
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 them back out. Or you can add a bunch of
blank columns in the
2012 Aug 17
1
RGDAL OGRwrite question
I have a quick question: It appears that in rgdal v0.7-12 (R version
2.15.1, OSX 10.6.8) writeOGR will not write a shapefile the the
current directory. Is this correct? An earlier version of rgdal must
have allowed this because I have a older script that used to work, but
doesn't now.
So, as an example, here is what I get today:
> shape = readOGR('.',
2012 Apr 01
4
map and shapefile help
Hi,
I want to use map("state") and have the ecoregion shape (please see link)
file projected onto this.
ftp://ftp.epa.gov/wed/ecoregions/cec_na/NA_CEC_Eco_Level3.zip
ftp://ftp.epa.gov/wed/ecoregions/cec_na/NA_CEC_Eco_Level3.zip
Could someone please show me how; I have never messed with this sort of
thing.
Thanks.
--
View this message in context:
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 combining it to another ?
Thanks !
2012 Aug 09
2
[LLVMdev] The use-define chain in LLVM
Thanks for your response!
But I want to determine wheter the specific variable's value has been
changed between
two usages of variable, and wheter the parameter's value is changed in
a function. Like the
reaching definition analysis, and ud chains.
2012/8/9 ��f�� (Wei-Ren Chen) <chenwj at iis.sinica.edu.tw>:
> On Thu, Aug 09, 2012 at 11:16:15AM +0800, Jianfei Hu wrote:
>>
2011 Apr 03
1
another question on shapefiles and geom_point in ggplot2
Manuel:
I changed your variable names from x to 'long' and y to 'lat' on the
riqueza_out.csv file.
The code below should do what you want. Also, since the legend title is kind of
long, I broke it
down into three lines so you can see more plot area. I am cc'ing the other
groups so more people
use it if needed.
library(rgdal)
library(ggplot2)
library(sp)
library(maptools)
2006 Nov 28
2
Aligning aerial photographs and maps
I have read in Paul Murrell's book R Graphics about how to use a bitmap
as background for a plot (page 107). Also, I routinely use function
read.shape() in package maptools to read maps in shapefile format. Now,
I would like to overlay an aerial photograph in .jpg format and a map. I
think I could do the alignment manually for each case, but wonder if
there is a better, automated way. I notice
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
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]]
2006 Mar 21
3
transform shapefiles in UTM to lat/long
Dear all:
I have a shapefile 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
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
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