unige-geohealth / accessmod

accessmod 5 : anisotropic accessibility analysis.
GNU Lesser General Public License v3.0
42 stars 14 forks source link

Unable to use multiple modes of transport in single analysis #179

Closed mmschmitz closed 5 years ago

mmschmitz commented 7 years ago

Situation: I'm running analyses which have mixed modes of transport (e.g., bicycling/walking, motorized/walking). Right now, I've been specifying both forms of transport in my scenario tables.

Current Behavior

The model is rendered inoperable, with the following error: image004 png_bicycling

Expected Behavior

I would expect the model to run, without any errors. There would be two forms of transport used in the model - some areas (i..e., roads) would have the bicycling/motorized changes in speed applied to them, while some areas (e.g., grasslands) would have a walking change in speed applied to them.

Possible Solution

One thing I have been experimenting with is just including the bicycling/motorized terms, without including the walking terms, in the scenario table. As walking is the AccessMod default, that would be automatically included in areas where the transport type is listed as "NONE".

Steps to Reproduce

In any scenario table, you can put a mix of terms - "BICYCLING" and "WALKING", or "MOTORIZED" and "WALKING" - depending on the land cover used.

fxi commented 7 years ago

Thanks for reporting.

Could you please give us the version of AccessMod you are using ? Latest is 5.1.8.

mmschmitz commented 7 years ago

Yes, that's the version I've been using.

Right now, am attempting the solution that I previously mentioned. Will see if this works.

mmschmitz commented 7 years ago

As an update - I ran the scenario shown below, and it didn't crash.

image

That said, it could be useful to either update the user manual to suggest people to do BICYCLING/NONE instead of BICYCLING/WALKING.

chriskim23 commented 6 years ago

I am also having this problem except the "fix" of using "none" for the second mode of transport is not working for me. Only an all walking scenario is running for the accessibility module. Any other suggestions?

nicolasray commented 6 years ago

@mmschmitz, @chriskim23 : is it still happening with your data and the latest version of AccessMod? If so, can you share your data sets with us so that we can check where is the issue? I can't reproduce this bug on my side, Thanks!

nicolasray commented 5 years ago

This seems to have been solved in the recent version of AccessMod. Please re-open the issue if a similar problem occurs.