New answers tagged

2

Norway uses daylight saving time, and this probably accounts for the additional hour's difference from UTC (which does not have such a concept). Note that if you're doing working with time zones and localising times programmatically, do not attempt to roll-your-own solution, use an established and robust solution like pytz (Python) or the brilliant moment....


0

I'm not an expert regarding python + GDAL/OGR, but looking into something similar I found a possible answer to your question. import ogr, osr import fileinput from datetime import datetime srs = osr.SpatialReference() srs.ImportFromEPSG(4326) driver = ogr.GetDriverByName("GPX") out = driver.CreateDataSource('/tmp/test.gpx') # layer creation: if you use '...


2

Signal can be emited by an object. Ex. your canvas: canvas = iface.mapCanvas() custom_canvas = QgsMapCanvas() # if you want to create new canvas instead of this from main window Canvas can emitt a signal renderComplete after rendering is complete, mapCanvasRefreshed after you refresh this canvas. So you can connect this signal to the proper function and ...


0

If you are still seeking an answer to this, I created a point feature class with a point for each date, all points on top of each other. I blanked out the symbology so only the label appeared. I also added and calculated a time start and end field. Then I used the layer properties to enable time using the start and end field. As long as your time start and ...


0

The time output is in UTC which is the time the database is in. UTC is the basis for local times worldwide and is the default used in geodatabases and in the databases hosted data from ArcGIS Online is in. And this post in quora can help you convert the time to your timezone in excel https://www.quora.com/In-Excel-how-do-I-convert-data-into-a-different-...


1

When setting the Time properties in ArcMap, it seems that the only options are YYYY, YYYYMM, YYYYMMDD and YYYYMMDDhhmmss: ArcGIS Online probably requires the same time format, so the best workaround is probably to set the years as 2000, 2001 -> 2010 etc.



Top 50 recent answers are included