Skip to content
Prev 12890 / 29559 Next

[spatstat] problem with a psp Line Segment Pattern when plotting and pointsOnlines performing

Hi,

I Have a problem with a psp object.

I can't plot it, neither perform a pointsOnLines calculation on it.

---
Here is what I obtain with my different operations:
OGR data source with driver: ESRI Shapefile
Source: "voie.shp", layer: "voie"
with 1 features and 14 fields
Feature type: wkbLineString with 2 dimensions
Message d'avis :
In as.psp.SpatialLinesDataFrame(from) : 13 columns of data frame discarded
Erreur dans image.default(c(893999.767449278, 895777.422954333), c(Inf, -Inf
:
'x' and 'y' values must be finite and non-missing

#plot(track) is OK
Erreur dans ppp(x = x, y = y, window = win) :
all coordinate values are NA or NaN
---

Any help would be appreciated.

The related SpatialLinesDataFrame track object is attached to this mail if
you'd like to have a look..

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20110922/f5a904b5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: track.RData
Type: application/octet-stream
Size: 2925 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20110922/f5a904b5/attachment.obj>