1,334 reputation
926
bio website
location Sheffield, United Kingdom
age
visits member for 2 years, 6 months
seen 17 hours ago

It's time to understand the world.


May
13
accepted How to create an attractive choropleth map in R?
Apr
24
comment What is the most user friendly OSM route planning API?
No I mean is easy to create a client for R. By which I mean: 1) has an intuitive syntax, 2) a wide range of functionality, 3) good performance. Sorry for not being specific, I guess it's simply quite a broad question...
Apr
23
comment What is the most user friendly OSM route planning API?
@Karussell From a developer perspective. I've seen that link before but I'm asking for something different: up-to-date insight from people with recent knowledge of routing APIs about which ones are most user friendly from a user perspective.
Apr
22
asked What is the most user friendly OSM route planning API?
Mar
21
accepted Overlaying lines and aggregating their values for overlapping segments
Mar
21
comment Overlaying lines and aggregating their values for overlapping segments
Thanks for the advice. Any example code would also be very useful.
Mar
20
revised Overlaying lines and aggregating their values for overlapping segments
Fix plot command
Mar
20
revised Overlaying lines and aggregating their values for overlapping segments
added 12 characters in body
Mar
20
comment Overlaying lines and aggregating their values for overlapping segments
Yes I think that's a fair summary of the problem. Any example code? plot(gIntersection(r[1, ], r[2, ])) shows it's pulling out the joint geometry - major step forward. But still cannot see how to generalise the solution. My approach would be to build a double or triple nested for loop that starts at gIntersection(r[1, ], r[2, ]) and ends and gIntersection(r[4, ], r[5, ]) at sums at each stage until there are no more overlaps. Sound like a reasonable approach? If so I'll try it. @Spacedman
Mar
20
comment Overlaying lines and aggregating their values for overlapping segments
Yes that's right. Equally r <- readOGR("l.geojson", layer = "OGRGeoJSON") works - just playing with new packages - no idea if they're any different in terms of performance - geojson_read is shorter is only difference I see.
Mar
20
asked Overlaying lines and aggregating their values for overlapping segments
Feb
21
comment Route analysis in R based on the OSM transport network: possible?
I would say calling online route service apis from within R is the main innovation I've learned this year - one way described here: journal.r-project.org/archive/2013-1/kahle-wickham.pdf routino is also good, not used it though
Dec
14
comment Raster to polygon using R
Please provide a reproducible example of this problem, then we can understand what's going on (i.e. provide us with the .tif file you're trying to convert)
Dec
11
comment Clip Spatial object to bounding box in R
Note the line library(raster) in my tutorial:robinlovelace.net/r/2014/07/29/clipping-with-r.html let us know how you get on! Cheers.
Nov
27
revised Why can't gdal save CRS information to GeoJSON?
Add bug report link
Nov
27
asked Why can't gdal save CRS information to GeoJSON?
Nov
19
comment How to prevent cross-world lines in ggplot world map?
@jazzurro yes that's definitely the kind of thing I'm after.
Nov
19
comment How to prevent cross-world lines in ggplot world map?
@jazzurro I've already asked him f2f - hence asking the big wide world! Seems there's no easy solution ...
Nov
18
comment How to prevent cross-world lines in ggplot world map?
Why focus on such petty details? I've added the code to the question for your benefit though! Does it work for you now? Thanks.
Nov
18
revised How to prevent cross-world lines in ggplot world map?
added example 2