Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions doc/whatsnew/fixes/examples-europe-map-equirectangular.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
The Europe map image lines up with what visualizers draw on it

images/maps/europe-er.png was a Web Mercator image, but GeoMapCanvasVisualizer stretches its map image linearly in latitude, so figures drawn on it (node icons, trails, satellite footprints, the graticule) were offset from the map by up to 5.4 degrees of latitude with the window that examples/mobility declared (13.8 W to 44.3 E and 37 N to 73 N). The image is now equirectangular and covers 13.3 W to 44.1 E and 35.6 N to 67.6 N. A model that shows this image with GeoMapCanvasVisualizer has to declare that window:

*.map.minLatitude = 35.6deg
*.map.maxLatitude = 67.6deg
*.map.minLongitude = -13.3deg
*.map.maxLongitude = 44.1deg
8 changes: 4 additions & 4 deletions examples/mobility/omnetpp.ini
Original file line number Diff line number Diff line change
Expand Up @@ -518,10 +518,10 @@ sim-time-limit = 48h
# the Europe map (equirectangular crop) drawn on the europe module's own canvas; its extent
# defines the window and the map area aspect ratio matches the image (1308:1245 = 436:415)
*.europe.map.mapImage = "maps/europe-er"
*.europe.map.minLatitude = 37.0deg
*.europe.map.maxLatitude = 73.0deg
*.europe.map.minLongitude = -13.8deg
*.europe.map.maxLongitude = 44.3deg
*.europe.map.minLatitude = 35.6deg
*.europe.map.maxLatitude = 67.6deg
*.europe.map.minLongitude = -13.3deg
*.europe.map.maxLongitude = 44.1deg
*.europe.map.mapWidth = 654
*.europe.map.mapHeight = 622

Expand Down
Binary file modified images/maps/europe-er.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions tests/fingerprint/store.json
Original file line number Diff line number Diff line change
Expand Up @@ -20515,8 +20515,8 @@
"sim_time_limit": "3600s",
"test_result": "PASS",
"ingredients": "tyf",
"fingerprint": "772e-b194",
"timestamp": 1792589940.0,
"fingerprint": "3438-54ea",
"timestamp": 1793184072.0,
"itervars": "$repetition==0"
},
{
Expand Down
Loading