854 Commits

Author SHA1 Message Date
Alessandro Pasotti
2eb410844f
Merge pull request #32694 from elpaso/server-wfs3-transaction-simple-2
[feature] Server OAPIF simple transactions
2019-11-15 14:21:03 +01:00
Harrissou Sant-anna
d8cbabe2bb Update contributors.json 2019-11-12 03:11:32 +10:00
Alessandro Pasotti
9188d4b539 Server OAPIF template enhancements: links and buttons 2019-11-11 13:53:32 +01:00
root676
a418941c45 add myself to contributors 2019-11-11 05:26:02 +10:00
Alessandro Pasotti
8931d7256f Server OAPIF nl2br template function
Introduce a new template function to replace nl with <br>
2019-11-05 13:55:17 +01:00
Nyall Dawson
fed75afa95 [FEATURE] Add expression functions for converting to/from wkb
Adds geom_from_wkb and geom_to_wkb, which mirror the existing
geom_from_wkt/geom_to_wkt functions but for WKB representations
of geometries.

Since QGIS 3.6 we've had good support for binary blob values in
expressions and field values, so adding these functions allows
users to work with binary blob fields containing WKB representations
of geometries (e.g. with a geometry generator showing the encoded
geometries)
2019-11-04 13:00:11 +10:00
Alessandro Pasotti
e689a65bb3
Merge pull request #32322 from elpaso/server-wfs3-timefilter-dimensions
[feature] Server wfs3 timefilter dimensions
2019-10-30 18:29:49 +01:00
Alessandro Pasotti
358c814722 Server OAPIF temporal extent 2019-10-30 11:53:14 +01:00
Alessandro Pasotti
a1bfc163ef Server OAPIF, better styles and API HTML output 2019-10-30 11:53:14 +01:00
Alessandro Pasotti
595807171d Server: datetime basic filter support for OAPIF 2019-10-30 11:53:14 +01:00
Alessandro Pasotti
d67c934684 Fix MXE builds 2019-10-30 11:01:46 +01:00
Juergen E. Fischer
b81d306047 spelling fixes (closes #32408) 2019-10-26 10:50:30 +10:00
lbartoletti
3b9c240ba7 rewrite functions. Only hash(string, method), md5(string) and sha256(string) are available now 2019-10-26 08:32:26 +10:00
lbartoletti
ba7770c7cc fix build 2019-10-26 08:32:26 +10:00
lbartoletti
910c3c478e add help files 2019-10-26 08:32:26 +10:00
Matthias Kuhn
de2400f8b0 typo 2019-10-26 08:28:51 +10:00
Matthias Kuhn
e6a06ec3b2 Also copy svg, icons and doc to build dir, into /data/ subdir 2019-10-26 08:28:51 +10:00
Matthias Kuhn
651b7b18d6 Copy resources to build dir
Fix #31796
2019-10-26 08:28:51 +10:00
Alessandro Pasotti
112a1cd9ca PG source select maintain newline in tooltips 2019-10-22 13:23:16 +02:00
Alessandro Pasotti
9f54bda17e PG source select word wrap table comments 2019-10-22 13:20:10 +02:00
Alessandro Pasotti
23f1ca66f9 PG source select align table comment top 2019-10-22 13:16:45 +02:00
Julien Cabieces
e4da0ac8c9 Revert "Merge pull request #31374 from troopa81/parallelize_snap_caching"
This reverts commit 87b1aa9a5d6efb279693aea68dc2dcb5b51b3e86
2019-10-18 14:50:33 +10:00
Alessandro Pasotti
6fed2fafd7 Fix bbox multiple array and add two more tests 2019-10-17 10:22:59 +02:00
Richard Duivenvoorde
5f24a0b214 Change help answer to what is actually shown in the preview 2019-10-14 09:35:22 +10:00
Nyall Dawson
ffe66bff82 [needs-docs] Add option to take no action ("Leave as an unknown CRS") when
a layer is loaded which has no CRS

This is the new default behavior. It effectively defers the choice of CRS
from layer loading time to a later time which is convenient for users. E.g.
it no longer asks for CRS choice 100x when loading 100 files into QGIS at once.
(Effectively an application crash/hang... no one will sit through these 100 dialogs!)

The new behavior means there's no prompt (by default!) when loading these layers,
and instead the layers will be shown in the layer tree with an "unknown CRS"
indicator icon. They'll also be un-referenced, with coordinates from the layer
treated as purely numerically, non-earth values. I.e. the same behavior
as all layers get when a project is set to have no CRS.

The user can then resolve these in their own time, and by using convenient
shortcuts like highlighting multiple layers at once and then setting the CRS
for all these in a single action.

Fixes #19762, #27634, #24815  (and probably others)
2019-10-09 15:01:51 +10:00
Juergen E. Fischer
7f54c6acf0 debian packging [ci skip]:
* scripts/scandeps.pl: remove python3-autopep8 from INSTALL build
  dependency list (not an actually dependency anyway)
* include eoan in INSTALL
2019-10-08 20:27:47 +02:00
nirvn
3fefd137b7 Fix spelling, revert world_map.gpkg change (arg) 2019-10-07 15:47:30 +07:00
nirvn
6b1e31170e Add tests 2019-10-07 15:47:30 +07:00
Alessandro Pasotti
61579538b2 Oouch (again) on that silly WMS 1.3.0 inverted axis
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.
2019-10-05 19:22:54 +02:00
Harrissou Sant-anna
575ecffe30 Add "concatenate_unique" as aggregate parameter
to relation_aggregate function
2019-10-03 13:28:36 +10:00
Harrissou Sant-anna
ef11da6359 Add "concatenate_unique" and "array_agg" as aggregate parameter
of aggregate function
2019-10-03 13:28:36 +10:00
Nyall Dawson
b7062b54f6 More optimisations to tesselation conversion to tri polys
Use an unordered set for previously encountered points, avoids expensive
loop through existing points to determine point uniqueness
2019-10-02 21:37:52 +10:00
Harrissou Sant-anna
f75a0cc4da Various fixes on date functions help
including replacement of todate and tointerval, use of third person
conjugation and addition/fix of examples
2019-09-27 17:44:11 +10:00
Alessandro Pasotti
30e2fbfe88 Server fix openapi HTML template and improve styling
Mostly cosmetic fixes plus re-add links to openapi
json in case content-type is NOT OPENAPI3, because
it would break validation in that cae.
2019-09-23 09:50:21 +02:00
Alessandro Pasotti
f568e6f06c Server OGC API OPENAPI validation
Fix some OPENAPI validation issues.

Swagger is happy now, except for the MAP=/...
in the query string: no query string parameters
are allowed in the endpoint, but we can
fix this in the web server configuration.
2019-09-21 15:43:12 +02:00
nirvn
c7aeb4ceb2 [themes] Add disabled state for tree/table/list widgets 2019-09-18 18:06:51 +07:00
Denis Rouzaud
68a78059c0
fix adding/removing classes in graduated renderer widget (#31824) 2019-09-17 11:57:48 +02:00
Denis Rouzaud
f13e0ebc86
[locator] fix sorting of grouped results (#31797)
when they do not arrive in a sequence
2019-09-16 16:14:51 +02:00
Juergen E. Fischer
db6d34a846 add translation strings [ci skip] 2019-09-10 17:14:27 +02:00
Nyall Dawson
576ac8b6cd Fix invalid "no active vector layer" errors in offset tool 2019-09-09 12:24:14 +10:00
Julien Cabieces
50f3a02eca don't beak API and remove QFuture includes 2019-09-06 10:28:27 +02:00
Nyall Dawson
d35c04b0e4 [FEATURE][processing] New algorithms for exporting and importing
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.
2019-09-05 13:52:57 +10:00
nirvn
94e71e486b [themes] Add fixed color/background for web widgets for improved compatibility 2019-09-05 08:45:28 +07:00
Nyall Dawson
bddc1494db Fix bookmark locator filter 2019-09-04 14:19:47 +10:00
Nyall Dawson
1afa6a8ec5 New class QgsBookmarkManagerModel
Move bookmark model logic to core, add tests
2019-09-04 14:19:47 +10:00
Nyall Dawson
aa3a83c7bd Add unit test for importing/exporting bookmarks 2019-09-04 14:19:47 +10:00
Áron Gergely
eef953b41a Add README and QGIS model for world_map.gpkg 2019-09-03 08:46:04 +10:00
Áron Gergely
7004d8e51b Update GeoPackage layers:
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)
2019-09-03 08:46:04 +10:00
arongergely
9eb51218bc Update GeoPackage with 3 layers and corresponding default stylings:
- 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.
2019-09-03 08:46:04 +10:00
arongergely
d58340004f Remove the now redundant world_map shapefile and its .qml styling 2019-09-03 08:46:04 +10:00