Repository navigation
Conversation
…, and docs - tools/map_maker: - Replace hash-inconsistent Point2d unordered_map with exact O(1) 3x3 spatial grid in MapDataStore; fix transformToGCS lat/lon aliasing and rebuild spatial index - Fix AdMapGenerator perpendicular distance check, speedLimit > 0 guard, O(N^2/2) overlap loop, and landmark AABB/border caching - Fix Road::invertRoadDirection width/speed swaps and convertToLeftHandTraffic double-swap; guard PolyLineConversion and Lane against empty/short polylines - Fix Intersection arm ordering/connection point indexing, zero speed limits, angle difference abs, collinear determinant guard, and internal road ID lookup; fix BigIntersectionGenerator cluster merging and duplicate deletions - Fix MapDataValidator backward left-border direction and invalid polyline checks - Optimize OsmToInternalConverter road geometry index to O(1) and OsmPoiProcessor to single-pass over ways with pre-fetched POI coordinates - Fix OsmWayProcessor negative/zero lane counts and integer parsing, OsmPoiExtractor state reset and sign parsing bounds, OsmWayIterator/OsmJunctionProcessor/OsmTransitionDetector/OsmMultiLaneInterpolation bounds and decreasing-lane interpolation - Fix geometry bugs and performance: O(N) tridiagonal LAPACKE_dgtsv in CubicSpline, Clothoid forward arc-length parameterization, Circle angle normalization, CubicBezier/QuadraticBezier t=1 endpoint, Line2d collinear segment intersection, Polyline2d split/angle/bounds fixes, Direction2d O(1) fmod normalization, LineCoordinateSystem segment length, ArithmeticHelpers vec2d/bisectingVector/move/closerCrossingPoint, Point constness, and Point2d duplicate operator* - Fix StringTestHelper::readFile leaks, StringHelper::writeStringParam bounds, LogFactory default sink handling, ProgramOptions file/argv checks, Main serializer checks, and create_map_request.pl regex - tools/ad_map_access_qgis: - Fix undefined symbols, Qt/QGIS API bugs, division-by-zero, mutable default arguments, bare excepts, and repeated feature/lane lookups across 18 plugin modules and metadata.txt.in - cmake & build: - Fix python_wrapper_helper.py.in shared-lib detection, python-binding.cmake/gtest.cmake/warnings.cmake/compile-options.cmake issues, and CMakeLists target configuration - CI & docs: - Resolve case-insensitive filename collision (SetSnapAltitude_result.png), update GitHub Actions workflows and dependabot config, and fix documentation typos
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes bugs and performance bottlenecks across
tools/map_maker,tools/ad_map_access_qgis,cmake/, CI workflows (.github/), anddoc/(including resolving the case-insensitive filename collision on Windows/macOS checkouts).Bug Fixes & Performance Improvements
tools/map_maker:MapDataStore: Replace the hash-inconsistentPoint2dunordered_map(whose 0.1m rounding hash disagreed with< 1e-9operator==) with an exactsquaredDistance < 1e-9; fix lat/lon aliasing intransformToGCSand rebuild the spatial grid; use.at()in non-const accessors andreserve()in ID list builders.AdMapGenerator,Road,Intersection,BigIntersectionGenerator,Lane,MapDataValidator,PolyLineConversion: Fix perpendicular point-to-border distance check,speedLimit > 0guard,invertRoadDirectionwidth/speed swaps andconvertToLeftHandTrafficdouble-swap; fixIntersectionarm ordering, per-arm connection point offsets, zero speed limits,minimumAngleDifferencemagnitude, collinear determinant guard, and internal road ID lookup; merge transitive clusters and deduplicate road deletions inBigIntersectionGenerator; fixMapDataValidatorbackward left-border direction and polyline guards; guard unsigned underflow inPolyLineConversionand empty borders inLanewith fast AABB early-out.OsmToInternalConverterandOsmTransitionDetector; optimizeOsmPoiProcessorto a single pass over ways with pre-fetched POI coordinates and guard< 2-node ways; clamp negative/zero lane counts and use safe integer parsing inOsmWayProcessor; reset state and bounds-check sign strings inOsmPoiExtractor; fix decreasing-lane interpolation inOsmMultiLaneInterpolationand bounds checks inOsmWayIteratorandOsmJunctionProcessor.<malloc.h>inCubicSplinewithLAPACKE_dgtsvand strict knot monotonicity checks; fixClothoidforward arc-length parameterization,Circleangle normalization,CubicBezier/QuadraticBeziert = 1endpoint evaluation,Line2dcollinear segment intersection and docstrings,Polyline2dsplit/angle/bounds handling,Direction2dstd::fmodnormalization,LineCoordinateSystemsegment length,ArithmeticHelpers(vec2d,bisectingVectoraxis-aligned zero check,move(straight2d),closerCrossingPoint),Point::operator!=const, and duplicatePoint2doperator*; fixStringTestHelper::readFileleaks,StringHelper::writeStringParambounds,LogFactorydefault sink handling,ProgramOptionsfile/argv checks,osm_to_admMainserializer error checks, andcreate_map_request.plnegative/double-quoted coordinate parsing.tools/ad_map_access_qgis:except:clauses, and redundant feature/lane lookups across 18 plugin modules andmetadata.txt.in.CMAKE_CXX_STANDARD_REQUIREDvariable name incmake/compile-options.cmake, shared-library detection and cleanup inpython_wrapper_helper.py.in, and target/warning/gtest/python-binding CMake scripts.doc/ad_map_access_qgis/images/SetSnapAltitude.pngtoSetSnapAltitude_result.png(fixing collision withSetSnapAltitude.PNGon case-insensitive filesystems) and fix doc typos and GitHub Actions workflow configurations.This change is