Tag Info

New answers tagged

1

Here's one approach: Using OSM data from Geofabrik you will have the administrative boundaries and all the roads. Simply load the data into PostGIS (there are plenty of tutorial of how to do that - other spatially enabled databases are available) and then select all roads that intersect the appropriate level of admin boundary. The count of the selection ...


0

I posted this question on the R-sig-Geo listserv and received a helpful answer from Adrian Baddeley, one of the spatstats authors. I will post my interpretation of his response here for posterity. Adrian notes that the function spatstat::pixellate.psp() is a better match to my task. This function converts a line segment pattern (or SpatialLines object ...



Top 50 recent answers are included