I am trying to use the bing maps api to get travel time and distance between 2 gps coordinates. I get a json answer, however, I am not able to get the values out of this dictionary ? gives the following result: now: how do I get the travelDistance out of this ? (14.511 in this case) or the travelDuration
Tag: maps
How to plot a Plotly Choropleth map with English local authorities using GeoJSON
I have copied the example from the Plotly guidance here. and I am able to reproduce their map of US Counties. Now I am trying to produce a similar Choropleth map, except using English Local Authorities. I have downloaded a GeoJSON for English Lower Tier Authorities from here.. This was huge resolution and slow to load, so I’ve compressed it
Inset Maps in Plotly (Python)
I am currently trying to plot a few maps by using Plotly Express and Mapbox in Python. I need to have a big map with the country and, next to it, an inset map with a “zoom” to a particular region (see Image attached as an example) INSET MAP EXAMPLE. I managed to plot the bigger map (i.e. the whole
How to correctly parse a tiled map in a text file?
I’m making a RPG with Python and pygame for a school project. In order to create the few maps, I have chosen the Tile Mapping techniques I have seen in some tutorials, using a *.txt file. However, I have to cut some sprites (trees, houses, …) into several pieces. The problem is that I’m running out of characters to represent