Skip to content

Line rasterization to align the other raster #170

Answered by snowman2
guopeng-jiang asked this question in Q&A
Discussion options

You must be logged in to vote

Does this work:

roads_data = make_geocube(
    vector_data=roads,
    measurements=['lane_count'],
    like=masked_dem,
    fill=0
)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@guopeng-jiang
Comment options

Answer selected by snowman2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants