Displaying 20 results from an estimated 1000 matches similar to: "Problem with polygon vertices"
2013 Sep 19
3
How do I ensure that the polygon in spatstat::owin(poly=<polygon>) does not have “negative area”
I am a new user of the R spatstat package and am having problems creating a
polygonal observation window with owin(). Code follows:
library("maps")
library ("sp")`
library("spatstat")
mass.map <- map("state", "massachusetts:main", fill=T) # This returns
a data frame includding x and y components that form a polygon of
massachusetts mainland`
2011 Mar 31
0
Help: creating owin{spatstat} objects from GIS data
Dear R list,
I'm trying to create an object of class "owin" (observation window) in the
package spatstat from GIS mapping data. Here's an example of my problem.
Everything
goes well until the last line of code. I get the error message shown at the
bottom:
library(spatstat)
library(sp)
library(maptools)
con <- url("http://gadm.org/data/rda/CHE_adm1.RData")
class(con)
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
2017 Jun 01
3
[spatstat] Convert shapefile to pixel image
Dear all,
I am currently working with the spatstat package, using windows and pixel images.
First:
My aim is to transform a shapefile (see attached) into a pixel image.
My idea is to start transforming the shapefile into a Spatial Polygon file:
x <- readShapeSpatial("200001441.shp")
y <- as(x, "SpatialPolygons")
z <- as.owin(y)
Given z, I want to identify each
2017 Jun 01
0
[spatstat] Convert shapefile to pixel image
On 02/06/17 01:17, Lluis.Hurtado at uv.es wrote:
> Dear all,
>
> I am currently working with the spatstat package, using windows and pixel images.
>
> First:
>
> My aim is to transform a shapefile (see attached) into a pixel image.
>
> My idea is to start transforming the shapefile into a Spatial Polygon file:
>
> x <-
2007 Apr 14
2
Samba -> WinXP: slow transfers, partial solution
Hello All,
I'm running Samba 3.0.24 as PDC and file server on Gentoo Linux,
AMD64, 2.6.19 kernel, 100MBit/s network, and experience quite slow
file transfers from Samba to WinXP SP2 clients: the speed is varying,
but is about 1-2Mb/s at best.
I spent quite some time investigating the issue, here are the
intermediate results:
1) This happens only when transferring _from_ _Samba_ to
2012 Jan 12
2
Points inside a polygon
I have a list of bounds for a series of polygons. I do understand the
formula to determine whether point i is within polygon X (X[x1] < i[x]
& X[x2] > i[x] & X[y1] < i[y] & X[y2] > i[y]), and I can apply this
throughout the dataset. However, this naive algorithm doesn't scale
very well. The data set contains 10,000 points consisting of (n,e)
pairs where I'm
2010 May 06
1
extracting coordinates from SpatialPolygonsDataFrame using slot functions
In converting some older code:
## builds an OWIN to generate a set of points on a grid within the OWIN object:
bdry <- read.shape( "../../data/boundary.shp" )
outline.verts <- bdry$Shapes[[2]]$verts[1:bdry$Shapes[[2]]$Pstart[2],]
outline.order <- nrow( outline.verts ) : 2
bdry.poly <- vector( 2, mode="list" )
bdry.poly[[1]] <- list(
2014 Aug 29
0
Smart1500lcdt will not connect with usbhid-ups
On Aug 29, 2014, at 2:02 PM, Barry Skrypnyk <barry at skrypnyks.com> wrote:
> See comments below.
>
>> -----Original Message-----
>> From: Charles Lepple [mailto:clepple at gmail.com]
>> Sent: Friday, August 29, 2014 5:35 AM
>> To: barry at skrypnyks.com
>> Cc: nut-upsuser at lists.alioth.debian.org
>> Subject: Re: [Nut-upsuser] Smart1500lcdt will
2006 Jul 06
1
tracing a problem with newhidups
Hi. I'm having trouble with nut-2.0.3 on a linux kernel 2.4.32 machine and a
MGE Evolution 3000. The problem is that I'm getting the following message,
repeatidly, on dmesg:
usbdevfs: usb_submit_urb returned -22
(-22 means -EINVAL)
I traced the problem with newhidups -DDDDDD auto and found out that the -22
error appears in a line "none (-22)" of the output as:
----------
2013 Jan 29
1
points rejected as lying outside the specified window
Hello,
I am using the following code to create ppp files from csv data and map shape files, but I am getting some errors which I have been unable to fix by searching them online:
library(spatstat)
library(maps)
library(maptools)
NYC2<-readShapePoly("nybb.shp") # this is a map of the NYC boroughs without waterways and no census tract divisions (but it does include lines separating
2011 Sep 23
1
spatstat => owin + image
Dear Community
I am at my wits end and seek advice.
My wish is to plot coordinates (x,y in WGS84_UMTS for the ones interested)
of sampling points.
This I can do by the standard spatstat prodcedure via owin. I then try to
add an image, which is
a map/satellite photo in the background.
Firstly
Problem: With the current code, I can not get the edges of the image to
match the boarders of the plot
2014 Sep 04
2
Smart1500lcdt will not connect with usbhid-ups
I talked to Tripp Lite Technical support.
Their policy is that they only support Fedora and SUSE. There is no one
there that could help with Ubuntu or NUT issues. The only answer they could
give me was to port the rpm files to Ubuntu and use them. This is way
beyond my experience level.
I will go to the local electronics store and buy a cheap USB 2 hub to see if
that works. I will post the
2009 Oct 19
1
Spatstat: xy binary data into mask type to use in owin(mask=)
Dear users,
I am trying to export polygons from Arcmap into Spatstat to run some
simulations using functions available in Spatstat package.
One particular area to be exported is formed by a number of polygons
defining the external boundaries of the area (as a groups of islands) and a
number of polygons inside the previous ones, as ?holes? not to be
considered as part of the area.
I have
2014 Sep 05
0
Smart1500lcdt will not connect with usbhid-ups KSTAR BM3150 1500VA "Line Interactive" High Frequency UPS
Barry,
I have had success with NUT on Debian and an EATON 5E2000IUSB-AU 5E
2000VA/1200W UPS With 3 x OUTLETS which I believe is good value.
I would believe the the EATON ?5E 1500VA/900W UPS With 3 x OUTLETS
would work just as well.
The 1500VA also uses the same batteries as the 2000VA so I would
believe it would run its raited load longer than 2000VA. My eight
drive RAID driver uses less that
2017 Sep 13
0
[FORGED] [R-sig-Geo] circular spatial polygon
On 13/09/17 13:24, K?tia Emidio wrote:
> Dear Rolf,
>
> Thanks for your help!
>
> What I need is a spatial window with shape equal to the figure attached.
> This figure I made using ArcGis, but it is important to me make it in R.
> After having this figure I will make some analysis using spatstat among
> others. The points within figure are trees...
(1) I believe that
2012 Mar 16
1
Spatstat - coordinates in observation window
Dear R users,
I wish to run spatial point pattern analysis (e.g. pair correlation function, mark correlation function) for which I need to create an observation window (window=owin) from which the spatial analysis is generated. The command I used to create this observation window as follows:
X1<- ppp(x, y, window=owin(c(80.58,144.96),c(101.06,165.13)),
2010 Jun 11
2
5.5 & gspca
Irritating quirkyness: we have a bunch of videocams. To use, we use gspca.
Usually, on an upgrade, I just go into the gspca directory (which appears,
from their website, to have not been updated since '07), make clean, make,
make install.
Having gone up to 5.5, did the same. What's happening now is that it
works, delivers the mpgs... but dumps errors in the logs:
<snip>
kernel:
2010 Nov 19
1
syslog flooding
Greetings;
Nut pull & build from about two weeks ago, 2.4.3 I believe. Belkin UPS.
I have everything working but a proper shutdown of upsd when I reboot,
it hangs there and needs the hdwe reset button to reset it. That may be
related to my finding more than 1 K##upsd and more than one K##upsmon, in
/etc/rc5.d and which I have now nuked.
However, while its working well enough to monitor,
2010 Oct 19
1
Doubt on using lattice
Hi all,
I suppose this is a very simple question, but as I've lost already a bit of
time with it, without being able to get what I wanted, I'm addressing the
question to the group in the hope someone can help me.
I pretend to plot the richness of herbaceous species (RichHN) as a function
of time since remnant isolation (Isol) conditioned to the area of the
remnant (fArea - this is a