Andrea Gilardi

Results 77 issues of Andrea Gilardi

**Describe the bug** Hi! I just found this relatively obscure bug that occurs when we convert an `igraph` object with spatially-explicit edges (i.e. an edge attribute that corresponds to a...

**Is your feature request related to a problem? Please describe.** The generic `print()` states the following > print prints its argument and returns it invisibly (via invisible). It is a...

**Describe the bug** I think the error when running edge_length with active nodes could be more explicit. For example, we could copy the same workflow as in tidygraph. **Reproducible example**...

**Is your feature request related to a problem? Please describe.** I think `st_coordinates` may adopt the same shortcut as `st_geometry` or `st_as_sf`, i.e. ``` r library(sf) #> Linking to GEOS...

**Is your feature request related to a problem? Please describe.** Hi! I was skimming through the [GEOS docs](https://libgeos.org/doxygen/geos__c_8h.html) and I noticed a few functions that may be useful for this...

feature :gift:

**Is your feature request related to a problem? Please describe.** The rounding of coordinates may create obscure and difficult-to-detect problems, as described in https://github.com/luukvdmeer/sfnetworks/discussions/211#discussioncomment-3003516 **Describe the solution you'd like** I...

feature :gift:

**Describe the bug** While working on https://github.com/luukvdmeer/sfnetworks/discussions/211 I noticed that `to_spatial_subdivision` morpher behaves weirdly when there are identical internal points for a given LINESTRING. **Reproducible example** ``` r # packages...

to_spatial_subdivision

**Is your feature request related to a problem? Please describe.** Define an `st_precision()` method for `sfnetwork` objects following the same ideas as in `st_crs()` and `st_agr()`: ``` r library(sf) #>...

Showcase of the new spatial morpher: ``` r # packages library(sf) library(tidygraph) library(spatstat) library(sfnetworks) # simulated data my_sfc

**Describe the bug** There is a bug in `create_nodes_from_edges()` when the input coordinates are really really really close but not exactly "identical" (I'm not even sure how to define "identical"...

improvement :rocket:
internal :wrench: