88 reputation
15
bio website
location Bristol, United Kingdom
age
visits member for 2 years, 6 months
seen Nov 17 '12 at 9:01

PhD Student


Jan
10
awarded  Popular Question
Oct
18
awarded  Notable Question
Jan
26
awarded  Popular Question
Nov
17
awarded  Scholar
Nov
17
accepted Importing data from excel and maintaining the time format
Jun
13
comment Importing data from excel and maintaining the time format
I have never had this issue before when importing excel files with a time column. I can't understand why it would have worked previously or what the format was which allowed the time column to remain unchanged.
Jun
13
comment Importing data from excel and maintaining the time format
Just joining the excel sheet to the shapefile allows me to view the time for each point yet there must be a way of formatting the excel column which allows Arc to read the column as a time?
Jun
13
asked Importing data with empty cells without GIS replacing the empty cell with 0
Jun
13
asked Importing data from excel and maintaining the time format
Feb
20
comment Identification of consecutive points within a specified buffer
I ran the original code with point files of 2000 entries which took a couple of hours each, as you say there were far too many unused point to point locations extending the processing time. The edit above looks like a neat solution and I will try this on the same data and see how much faster it is. Thanks for the effort with producing and editing the function.
Feb
17
awarded  Commentator
Feb
17
comment Identification of consecutive points within a specified buffer
Thats great, it's running now. I just loaded my data in as xy for simplicity to check it works. It takes a little time to run as you mentioned but seems to have done it all correctly. I will manually double check a few with my GIS map but it looks good so far. Thanks for helping me work this out, very keen to learn in both GIS and R and i'm on the steep learning curve.
Feb
17
comment Identification of consecutive points within a specified buffer
n is from your sample data. What would I need to replace it with, the total number of data points within xy?
Feb
17
comment Identification of consecutive points within a specified buffer
I was trying to work out which bracket was extra. Now its not finding "n" and I can't work out where n comes from either
Feb
17
comment Identification of consecutive points within a specified buffer
This looks like the perfect solution. However the code doesn't run from "z <- sapply(1:n), function(u){forward(u,xy,radius)})" as it says: "unexpected ',' in "z <- sapply(1:n)," If I remove the comma it then says: Error: unexpected 'function' in "z <- sapply(1:n) function" Any ideas why this might be so?
Feb
17
comment Identification of consecutive points within a specified buffer
I am not sure what the code above does and how it answers my query. I appreciate the help but this is all quite new to me having never used Python or model builder. Do I change the ID field for each process listed to the ID in the dataset?
Feb
17
comment Identification of consecutive points within a specified buffer
There is a sliding window function within AdehabitatLT "sliwinltr" but I don't know how to use it in this instance. I don't even know if it can be used in this way.
Feb
17
comment Identification of consecutive points within a specified buffer
Sylvester - I think I understand the process but I am at a loss to know which tool(s) I really need to start with. Distance? Buffer? Near? I don't even know if there is a correct tool for this problem which will do what has been mentioned above. I am keen to learn but am very much at the beginning.
Feb
17
comment Identification of consecutive points within a specified buffer
If that makes it easier then definitely. I am also processing the data using AdehabitatLT in R which calculates distance and bearings etc. I understand the process suggested by Sylvester below but I am struggling to know where to start as I'm not really sure which tools I need to use.
Feb
17
comment Identification of consecutive points within a specified buffer
Sorry about the account change. I posted the original question as a new user but then I couldn't get back into that account as I didn't have a password etc. Therefore I created another account JTB which i will use from now on (hopefully). I will start the model builder as suggested by Sylvester, but having never used it before it may take me a little time to get used to it and to work out what tools etc to use. I will come back with progress and questions. Thanks