Skip to content
Advertisement

Tag: maps

How to get parameter values out of json post

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

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

Advertisement