I was wondering how to access to a timeline collection of images for a given pair of coordinates. I just show the ease of using folium library to query different tiles collection, I was wondering if there are either:
an online service to pass a date parameter to retrieve older tiles
a downloadable previous tiles collection and point folium to each of them.
I'm not attached to folium at all, it could be any other free tool.
Related
I have developed a YoLo based algorithm in Python to detect objects from Google Maps images. Now, i have the task to GEOLOCATE that object in the image. I have tried to access the EXIF information of the image and adapt it to the object, but it gets high position errors.
Is there any way or technique to acces geolocation of an object detected of my image?
Unless Google provides an API to map Street View image pixels to vectors in North-East-Down coordinates, you can forget about doing it in general.
Street View images are the result of a very complex image processing pipeline, whose result is a cubic panorama. In the final web client view you have access to the location of the view (as latitude, longitude and elevation), and the horizontal direction of view (as an angle with respect to North), but that's about it. In order to geolocate an object in the scene you'd need to know its distance from the camera and the direction under which you see it.
I pre-rendered a custom base map spanning across multiple countries using gdal2tiles.py and it works like a charm. But I don't know how to update only specific tiles when there is a data update for lets say 1/3 of the basemap. So I have two questions here
1) How to update specific tiles across multiple zoom levels for a pre rendered base map?
2) Is it possible to dynamically render raster tiles (from satellite images) in the query time?
Any kind of help is appreciated
I have already tried to render only the specific tiles for the updated data but it ended up breaking the shared tiles between two different datasets ( example two landsat tiles).
For a GIS-project, I would like to find lat/lon coordinates of all images taken within a radius from a certain point. And get either a .csv table or even a Shapefile containing all those points. I have no experience with the Instagram API.
My first question would be whether this is even possible.
How could I implement this in Python?
What I want to do is to generate a static image (e.g. a png) using python and using openstreetmap tiles as a background.
Mathplotlib and Basemap is almost what I'm looking for. The problem is being able to use OSM tiles as background. I'm not pleased by the approach suggested in http://stevendkay.wordpress.com/2010/02/24/plotting-points-on-an-openstreetmap-export/
The closest I found is in this answer but using R, and not python Plotting points from a data.frame using OpenStreetMap
Did I miss any obvious and easy solution?
Thanks for your help
EDITÂ : this questions suggests many tools, but none seems to match my needs How can I display OSM tiles using Python?
You overlooked the "Export" tab at the OSM website, which is capable of generating a static image with the dimensions and map extents you want. Have a look at http://wiki.openstreetmap.org/wiki/Export
Please be advised that generating static images is a resource-intensive process, and the OSM sysadmins will frown upon you if you do a large number of requests or abuse this feature. Unfortunately this means you'll have to find another solution if you're trying to do lots of images.
By the way, the data you're plotting on top is properly projected into EPSG:3857 and not just raw lat/lon coordinates, right? Raw lat/lon data will look distorted at large zoom levels.
I have some GPS position recordings, which I want to draw into a map (e.g. OpenStreetMap) and save this as an image file.
I'm using python. I've found osm-gps-map as a candidate library to do the visualization, but apparantly the API lacks some functionality to satisfy all of my needs. What I need is a library that does:
draw stuff into a map (e.g. an OSM-based map), i.e. a list of GPS positions.
automatically adjust view (scale/position) to fit in all drawn positions
save this view to an image file
I seriously want to avoid being forced to manually make a screenshot from a widget or a browser window. And if possible I also want to avoid to implement the necessary projection functionality by myself (as in here). Does anyone know a library/toolchain that provides the desired functionality (if possible for use by Python)?
You may want to consider using Basemap for matplotlib. Here is a blog post describing how to use this package with OSM.
There are examples of how to draw custom GPS points on top of OSM background map using Matplotlib Basemap, Matplotlib or Cairo in GeoTiler project: https://github.com/wrobell/geotiler/tree/master/examples.