diff --git a/src/netimport/NIFrame.cpp b/src/netimport/NIFrame.cpp index c8e5c7426717..0c9a43f09d1b 100644 --- a/src/netimport/NIFrame.cpp +++ b/src/netimport/NIFrame.cpp @@ -461,6 +461,10 @@ NIFrame::checkOptions(OptionsCont& oc) { if (oc.getBool("osm.crossings") && !oc.getBool("osm.sidewalks")) { WRITE_WARNING(TL("It is recommend to use option osm.crossings with osm.sidewalks")); } + if (oc.isSet("shapefile-prefix") && !oc.isDefault("shapefile.name")) { + oc.setDefault("output.street-names", "true"); + } + return ok; }