Comments (4)
@josie-hughes can you add the code to create cMap? And when you say failing to connect landings to roads does that mean the results have new roads but they don't go to the landings or there are no new roads created? Thanks!
from roads.
See scripts/recreateExistingNetworkExample.R
from roads.
Solutions:
- set cost low but not 0. 0 is assumed to be existing roads
- use landing pts instead of raster
TO DO: if this method for constructing network from road raster works for large landscapes, consider replacing existing rasterToLineSegments function
from roads.
I implemented this in a function but it is still not perfect. Although it is better than the existing rasterToLineSegments. The problem is if there is a clump of raster cells at the intersection of two roads you get a messed up line since the cost is the same in all directions.
from roads.
Related Issues (20)
- Output updated cost with new roads having cost = 0? HOT 1
- Do we need calcCost function? HOT 1
- `devtools::check(remote = TRUE, manual = TRUE)` HOT 1
- `rhub::check_for_cran()`
- Add fast distance to roads HOT 1
- add faster iterative moving window method for obtaining distance to roads. HOT 6
- licensing & copyright details HOT 10
- Transition to terra HOT 5
- Cost not dynamically updated in LCP HOT 4
- add pfocal to Suggests when on CRAN again HOT 4
- Remove dependency on SpaDES.tools HOT 1
- Release roads 1.1 HOT 2
- deal with geometry type GEOMETRY
- NAs in cost raster HOT 1
- error with raster-dev HOT 8
- Tiling option for doing multiple areas HOT 1
- complete change to weights instead of costs HOT 1
- Release roads 1.2.0
- `getLandingsFromTarget` and `buildSimList` use different methods for clumped rasters HOT 1
- Check expected RAM needed vs available HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roads.