leebob
December 1, 2022, 10:55am
1
Hi,
I have been testing Mapillary API V4 and try to get some metadata of images in Heidelberg, German.
For example this one: Mapillary
However, within the request response, I only find the point coordinates, and cannot find the metadata that I needed, e.g., exif_orientation, computed_rotation, computed_geometry
Did I do something wrong here? can you point me to the right way of getting these metadata?
Best Regards,
Hao
nikola
December 1, 2022, 11:35am
2
You’re on the right track! Check the API documentation here to see which additional fields are available and how to add them to your request using the fields
parameter. Here’s an example request for the metadata you mentioned:
https://graph.mapillary.com/292420132422757?access_token=$TOKEN&fields=id,computed_geometry,exif_orientation,computed_compass_angle
leebob
December 6, 2022, 10:38am
3
Hi @nikola , great! It works like a charm now!
I wonder if there is a shortcut to get all the metadata in a nested format? or we should just listed all possible fields?
Best Regards,
Hao
nikola
December 6, 2022, 10:56am
4
There’s no shortcut to get everything right now, you can just list all the available fields in your request if you need them.