Skip to content

Decrease default car weight to 2 tons#5371

Merged
danpat merged 2 commits intoProject-OSRM:masterfrom
gojuno:weight_2000_pr
Feb 20, 2019
Merged

Decrease default car weight to 2 tons#5371
danpat merged 2 commits intoProject-OSRM:masterfrom
gojuno:weight_2000_pr

Conversation

@Zverik
Copy link
Copy Markdown
Contributor

@Zverik Zverik commented Feb 20, 2019

See issue #5370.

Googling shows that the average car weight is between 1.6 and 2 tons. The default 3.5 exceeds even the official limit for heavy cars in USA and Canada, which is 6000 lbs (2.7 tons). With most customer cars weighting under 1.5 tons, I consider 2 tons a good default.

Among other things, this would allow northbound passage through Brooklyn Bridge in New York, which is limited to 2.7 tons. People have not noticed this regression in OSRM 5.19, since most instances run on older versions: e.g. 5.14 for the FOSSGIS server.

References: 1, 2, 3, 4.

Tasklist

  • CHANGELOG.md entry
  • add tests
  • review
  • adjust for comments
  • cherry pick to release branch

@danpat
Copy link
Copy Markdown
Member

danpat commented Feb 20, 2019

Nice catch - the demoserver is running a slightly custom version of the car profile, so it wasn't visible there either.

@danpat danpat merged commit a1e5061 into Project-OSRM:master Feb 20, 2019
@Zverik Zverik deleted the weight_2000_pr branch February 20, 2019 19:14
datendelphin added a commit to fossgis-routing-server/osrm-backend that referenced this pull request Nov 19, 2020
  - Changes from 5.22.0
    - Build:
      - FIXED: pessimistic calls to std::move [Project-OSRM#5560](Project-OSRM#5561)
    - Features:
      - ADDED: new API parameter - `snapping=any|default` to allow snapping to previously unsnappable edges [Project-OSRM#5361](Project-OSRM#5361)
      - ADDED: keepalive support to the osrm-routed HTTP server [Project-OSRM#5518](Project-OSRM#5518)
      - ADDED: flatbuffers output format support [Project-OSRM#5513](Project-OSRM#5513)
      - ADDED: Global 'skip_waypoints' option [Project-OSRM#5556](Project-OSRM#5556)
      - FIXED: Install the libosrm_guidance library correctly [Project-OSRM#5604](Project-OSRM#5604)
      - FIXED: Http Handler can now deal witch optional whitespace between header-key and -value [Project-OSRM#5606](Project-OSRM#5606)
    - Routing:
      - CHANGED: allow routing past `barrier=arch` [Project-OSRM#5352](Project-OSRM#5352)
      - CHANGED: default car weight was reduced to 2000 kg. [Project-OSRM#5371](Project-OSRM#5371)
      - CHANGED: default car height was reduced to 2 meters. [Project-OSRM#5389](Project-OSRM#5389)
      - FIXED: treat `bicycle=use_sidepath` as no access on the tagged way. [Project-OSRM#5622](Project-OSRM#5622)
      - FIXED: fix table result when source and destination on same one-way segment. [Project-OSRM#5828](Project-OSRM#5828)
      - FIXED: fix occasional segfault when swapping data with osrm-datastore and using `exclude=` [Project-OSRM#5844](Project-OSRM#5844)
      - FIXED: fix crash in MLD alternative search if source or target are invalid [Project-OSRM#5851](Project-OSRM#5851)
    - Misc:
      - CHANGED: Reduce memory usage for raster source handling. [Project-OSRM#5572](Project-OSRM#5572)
      - CHANGED: Add cmake option `ENABLE_DEBUG_LOGGING` to control whether output debug logging. [Project-OSRM#3427](Project-OSRM#3427)
      - CHANGED: updated extent of Hong Kong as left hand drive country. [Project-OSRM#5535](Project-OSRM#5535)
      - FIXED: corrected error message when failing to snap input coordinates [Project-OSRM#5846](Project-OSRM#5846)
    - Infrastructure
      - REMOVED: STXXL support removed as STXXL became abandonware. [Project-OSRM#5760](Project-OSRM#5760)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants