Skip to content

Error with buildning routable transport network #325

@manneolfv

Description

@manneolfv

Hello,

I am trying to build a network in r5r. I've used this guide https://ipeagit.github.io/r5r/articles/r5r.html. I've checked if I have the correct Java version
rJava::.jcall("java.lang.System", "S", "getProperty", "java.version") [1] "11.0.18"
In my data_path I have one osm (Sweden) in pbf format. I also have a some gtfs feeds and two csv files with points.

> list.files(data_path) [1] "blekinge.zip" "halland.zip" "jlt.zip" "klt.zip" "krono.zip" [6] "sj.zip" "skane.zip" "sweden-latest.osm.pbf" "sweden-latest.osm.pbf.mapdb" "sweden-latest.osm.pbf.mapdb.p" [11] "test_res.csv" "test_res2.csv"

When I use the following code

r5r_core <- setup_r5(data_path = data_path)

I get this error message:
"Error in setup_r5(data_path = data_path) : java.lang.NullPointerException"

I've downloaded my map from geofabrik. Is it something with my GTFS feeds? I have feeds from several regions and need to include them all.

Thanks in advance

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions