Recent GDAL versions emit in the console a non critical warning when opening
world_map.gpkg at QGIS startup:
"Warning 1: Non-conformant content for record 1 in column update_time, 2019-08-15T21:28:22Z, successfully parsed"
The reason is that values in the update_time column in the layer_styles
column lack milliseconds information.
```
$ sqlite3 ../resources/data/world_map.gpkg "select update_time from layer_styles"
2019-08-15T21:28:22Z
2019-08-15T21:29:54Z
2019-08-15T21:30:31Z
2019-08-22T08:16:25Z
```
Fixed with:
```
$ sqlite3 ../resources/data/world_map.gpkg "update layer_styles set update_time = substr(update_time,0,length(update_time)) || '.000Z'"
$ sqlite3 ../resources/data/world_map.gpkg "select update_time from layer_styles"
2019-08-15T21:28:22.000Z
2019-08-15T21:29:54.000Z
2019-08-15T21:30:31.000Z
2019-08-22T08:16:25.000Z
```
update states_provinces set iso_a2='UA',sov_a3='UA',adm0_a3='UA',admin='Ukraine',gu_a3='UKR' where name IN ('Crimea','Sevastopol');
update countries set geom=st_union(geom, (select st_union(geom) from states_provinces where name IN ('Crimea','Sevastopol'))) where name='Ukraine';
update countries set geom=st_difference(geom, (select st_union(geom) from states_provinces where name IN ('Crimea','Sevastopol'))) where name='Russia';
* add expressions for min and max M and Z - including tests
* add my info to contributors.json
* Apply suggestions from code review
suggestions to help for expressions from Nyall
Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
* Apply suggestions from code review
add suggestions to qgsexpressionfunction.cpp from Nyall
Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
* [feature][expressions] - fix expressions Z/M min and max
* [feature][expressions] - fix styling Z/M min and max expressions
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
A reminder for me (from geoserver docs)
The WMS 1.3.0 specification mandates that the axis ordering for geographic coordinate systems defined in the EPSG database be latitude/longitude, or y/x. This is contrary to the fact that most spatial data is usually in longitude/latitude, or x/y. This requires that the coordinate order in the BBOX parameter be reversed for SRS values which are geographic coordinate systems.
bookmarks to/from map layers
These algorithms allow users to create a bunch of new bookmarks
corresponding to the features from a layer, or export bookmark
extents to a new polygon layer.
Updated data:
- countries(poly): Admin 0 level boundaries
- states_provinces(poly): Admin 1 level boudnaries
Updated styling:
- disputed_borders(line): Disputed Admin 0 level borders.
New styling to make these borders stand out less.
Attribute tables of all layers contain the name and identification codes fields.
The geometries of of countries and states_provinces has both been processed
from the same source data (NE admin level 1 borders);
Geometries vere generalized and attribute tables were cleaned in order to reduce size.
For the countries layer, attribute table fields have been joined in from the original
admin level 0 dataset.
Data source: Natural Earth 1:10m generalization level, admin level 0 and level 1 datasets
(version 4.1.0)
- countries(poly): Admin 0 level boundaries: Now Correct topology, higher level of detail
- states_provinces(poly): Admin 1 level boudnaries of the top 15 largest countries by area:
Russia, Antarctica, Canada, United States, China, Brazil,
Australia, India, Argentina, Kazakhstan,
Dem. Republic Of Congo, Algeria, Greenland, Mexico, Saudi Arabia
- disputed_borders(line): Disputed Admin 0 level borders
Attribute tables of all layers contain the name and identification codes fields.
Source: Natural Earth 1:10m generalization level - version 4.1.0 datasets.