Sunday, November 11, 2018

How to use dates to create ODV time series

So here is how I encountered this problem:
I wanted to create a three dimensional time series in ODV (say Time on X, Depth on Y and temperature on Z). When I entered the data to ODV using a template similar to this one I realized that although I have date and time of sampling on the spreadsheet, and although ODV reads those fields and they can be used for selecting samples, when I try to set them as axis values the date can't be selected.
After some reading on the ODV user manual, I found out what I need to do in order to use dates for axis is:

  •  One field (column) left of the bottom depth field I add a field named "time_ISO8601"
  • The value in this field is the sum of the date and time fields
  • The field formatting is date format as perscribed in ISO8601  (yyy-mm-ddThh:mm:ss)
Ever since this revelation, I have a new template I use and you can download it here

For those (like me) who like screencasts, here is the process:

Tuesday, August 28, 2018

Using XYZ tile servers in QGIS

In QGIS 3 and on, the old mapping plugins such as openlayers and its predecessors were replaced by XYZ tile servers. Below, I post a list of the XYZ tile servers I could find and a screencast explaining how to add a new server to your QGIS browser.
This list of XYZ servers was taken from the script linked here who will automatically add the hole list to your browser if you paste it to your python console.

Please, write to me if you find more servers out there. I think its important that we have a list of the servers.


List of available XYZ tile serves
Map Name
Provider
URL
Open map
Terrain map
https://tile.opentopomap.org/{z}/{x}/{y}.png
Map tiles by Stamen Design
http://tile.stamen.com/toner-lite/{z}/{x}/{y}.png
Stamen Watercolor
Map tiles by Stamen Design
http://tile.stamen.com/watercolor/{z}/{x}/{y}.jpg
Wikimedia Map
OpenStreetMap contributors
https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png
Wikimedia Hike Bike Map
OpenStreetMap contributors
http://tiles.wmflabs.org/hikebike/{z}/{x}/{y}.png
Esri Boundaries Places
Esri
https://server.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer/tile/{x}/{y}/{z}
Esri Gray (dark)
Esri
http://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Dark_Gray_Base/MapServer/tile/{z}/{y}/{x}
Esri Gray (light)
Esri
http://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{z}/{y}/{x}
Esri National Geographic
Esri
http://services.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer/tile/{z}/{y}/{x}
Esri Ocean
Esri
https://services.arcgisonline.com/ArcGIS/rest/services/Ocean/World_Ocean_Base/MapServer/tile/{z}/{y}/{x}
Esri Satellite
Esri
https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}
Esri Standard
Esri
https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}
Esri Terrain
Esri
https://server.arcgisonline.com/ArcGIS/rest/services/World_Terrain_Base/MapServer/tile/{z}/{y}/{x}
Esri Transportation
Esri
https://server.arcgisonline.com/ArcGIS/rest/services/Reference/World_Transportation/MapServer/tile/{z}/{y}/{x}
Esri Topo World
Esri
http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{z}/{y}/{x}
OpenStreetMap Standard
OpenStreetMap contributors
http://tile.openstreetmap.org/{z}/{x}/{y}.png
OpenStreetMap H.O.T.
OpenStreetMap contributors
http://tile.openstreetmap.fr/hot/{z}/{x}/{y}.png
OpenStreetMap Monochrome
OpenStreetMap contributors
http://tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png
Strava All
OpenStreetMap contributors
https://heatmap-external-b.strava.com/tiles/all/bluered/{z}/{x}/{y}.png
Strava Run
OpenStreetMap contributors
https://heatmap-external-b.strava.com/tiles/run/bluered/{z}/{x}/{y}.png?v=19
Open Weather Map Temperature
Map tiles by OpenWeatherMap
http://tile.openweathermap.org/map/temp_new/{z}/{x}/{y}.png?APPID=1c3e4ef8e25596946ee1f3846b53218a
Open Weather Map Clouds
Map tiles by OpenWeatherMap
http://tile.openweathermap.org/map/clouds_new/{z}/{x}/{y}.png?APPID=ef3c5137f6c31db50c4c6f1ce4e7e9dd
Open Weather Map Wind Speed
Map tiles by OpenWeatherMap
http://tile.openweathermap.org/map/wind_new/{z}/{x}/{y}.png?APPID=f9d0069aa69438d52276ae25c1ee9893
CartoDb Dark Matter
Map tiles by CartoDB
http://basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png
CartoDb Positron
Map tiles by CartoDB
http://basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png
Bing VirtualEarth
Microsoft
http://ecn.t3.tiles.virtualearth.net/tiles/a{q}.jpeg?g=1