Closed basbaba closed 8 months ago
I did another test:
So are you sure the Boston map is projected under EPSG:3857?
Best Regards!
@basbaba EPSG:4326
is likely the correct projection to use
Thanks for investigating! We will open a PR to fix the docstring for the Boston map
Hi whyekit, Thanx a lot!
Best Regards!
In nuscenes-devkit/python-sdk/nuscenes/map_expansion/map_api.py I see: "We use the same WGS 84 Web Mercator (EPSG:3857) projection as Google Maps/Earth."
So I converted the 4 maps(1 in Boston and 3 in Singapore) from EPSG:3857 to EPSG:4326, and export them to the GeoServer(A GIS system), the result is: the Singapore's nuScenes maps are matched with OpenStreetMap(OSM) perfectly, but the Boston is not.
In the SDK, there are 4 cities reference coordination: "boston-seaport": [42.336849169438615, -71.05785369873047], "singapore-onenorth": [1.2882100868743724, 103.78475189208984], "singapore-hollandvillage": [1.2993652317780957, 103.78217697143555], "singapore-queenstown": [1.2782562240223188, 103.76741409301758], First, I think maybe it's a problem of boston-seaport's reference coordination, so I tried to give it an offset, but the result is still unmatched with OSM. At last I found Boston nuScenes map is not only having Offset problem but also Scaled problem. So I'm in doubt: the Boston nuScenes map is projected under EPSG:3857. If it's not, what EPSG is with Boston nuScenes map?
The fist picture is composed of nuScenes Boston map and OSM and Overture map:![boston_nuscenes_osm](https://github.com/nutonomy/nuscenes-devkit/assets/8930126/f542856c-99f0-4c2a-bc45-2c98240b9eae)
Red lines are roads from OSM, Grey blocks are buildings from Overture, Green polygons are from nuScenes, they both are projected into EPSG:4326, you can find out Green polygons are unmatched with Red lines. As a reference, this is the same area from google map:![boston_google](https://github.com/nutonomy/nuscenes-devkit/assets/8930126/21e65500-6e85-4a49-ba9f-539b78a26d54)
Let me set several reference points on the first image to show where nuScenes Boston Green polygons should be at in correct position:![boston_nuscenes_osm_correct](https://github.com/nutonomy/nuscenes-devkit/assets/8930126/aec93116-02d8-4223-98bd-6ae38e4f4d4f)
For a temporary solution, I did the following:
Thanks!