TransWikia.com

Access coordinates from a firebase database

Geographic Information Systems Asked by Stuey17 on June 25, 2021

I want to access the coordinates from a firebase database in order to add them to my web map.

The structure of the data looks like this, and there around 12,000 sets of coordinates. enter image description here

In my python script I am accessing the whole body of data using

result = firebase.get('/ChargeDevice', None)

which returns a JSON.

I ultimately want to end up with a list of dictionaries storing each locations latitude and longitude. I am unsure whether I should do this through the firebase.get method or iterate over the result in python.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP