Re: [R] Get contour of a map

2011-05-24 Thread Barry Rowlingson
On Mon, May 23, 2011 at 8:00 PM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 11-05-23 5:55 AM, Pierre Bruyer wrote: I think writing that would be hard, but you can fake it.  Find the range of z first to work out the contour levels you want, then put very large values around the outside

Re: [R] Get contour of a map

2011-05-24 Thread David Winsemius
On May 23, 2011, at 5:55 AM, Pierre Bruyer wrote: Hello everybody, I search a function which returns the contour of map with levels like contourLines, but I would like this function return the border of the map too, because the function contourLines cannot consider the corner of the map

Re: [R] Get contour of a map

2011-05-24 Thread Pierre Bruyer
I think it is a very good idea, thank a lot, I will try this! Le 23 mai 2011 à 21:00, Duncan Murdoch a écrit : On 11-05-23 5:55 AM, Pierre Bruyer wrote: Hello everybody, I search a function which returns the contour of map with levels like contourLines, but I would like this function

Re: [R] Get contour of a map

2011-05-24 Thread Pierre Bruyer
I have seen this package and especially the 'perimeter' function, and it has not a 'levels' parameters like a lot of other functions, and this is a big problem for my project. Otherwise I find this package have a better architecture than the other spatial package ^^ Le 24 mai 2011 à 10:52,

Re: [R] Get contour of a map

2011-05-24 Thread Pierre Bruyer
My main problem is to use a spline cubic smooth (I hope this understanding, my english is not perfect ... ), and I would like to smooth the contours of my maps with my own scale of levels (e.G., levels are 1,3,5,10,20,30,40,50,75,...) so it is not easy to find a function which consider this two

Re: [R] Get contour of a map

2011-05-24 Thread Pierre Bruyer
Yes sure! I understand english very well but I am not very good when I wrote, so I try to don't write too nonsense. I have post a precedent topic about that but no one have find a response for the ensemble of the problem. So, I would like to create a raster for a map in R. I have a dataset with

[R] Get contour of a map

2011-05-23 Thread Pierre Bruyer
Hello everybody, I search a function which returns the contour of map with levels like contourLines, but I would like this function return the border of the map too, because the function contourLines cannot consider the corner of the map and it is not adapted to fill polygon after that.

Re: [R] Get contour of a map

2011-05-23 Thread Duncan Murdoch
On 11-05-23 5:55 AM, Pierre Bruyer wrote: Hello everybody, I search a function which returns the contour of map with levels like contourLines, but I would like this function return the border of the map too, because the function contourLines cannot consider the corner of the map and it is