Questions tagged [style]
An organized collection of predefined colors, symbols, properties of symbols, and map elements.
1,175
questions
1
vote
0
answers
14
views
How to represent missing values in QGIS graduated style? [duplicate]
I added a csv layer on qgis, and I changed the style so that the color of the point changes according to the the salinity of each sample (graduated). However, there are some samples for which I have ...
3
votes
1
answer
140
views
How to remove rectangle around label
I am using QGIS 3.16.10 Hannover. Whenever I activate a label it also shows a lot of rectangles around the label. Does any one know how to remove them?
1
vote
0
answers
23
views
Combining styles for raster layer using QGIS
Is it possible to combine several styles of raster representation in QGIS as it is possible with vector layers?
My goal is to made a representation like the figure below, where a DTM is represented by ...
1
vote
1
answer
41
views
Leaflet geoJSON - function within setStyle()
I have 2 styling methods for countries on my map:
style_init() for the initial style of a country,
style_new() for when a country changes and I want to re-style it on the map:
style_init(feature: any) ...
5
votes
1
answer
116
views
Applying different style to each sub-part of multi-part geometry using QGIS
I'm working with some Multipolygons, and I'm suddenly facing a naive question:
is it possible to give a different color -- or whatever styling properties -- to each individual sub-part of a multipart ...
1
vote
1
answer
15
views
QGIS multitude rule-based labelling returns wrong label order
I have applied a multitude of rule-based labeling to my project. Some things, unfortunately, go wrong, as I don't know how to make the correct order of the appearing labels.
I would like to have the ...
2
votes
2
answers
26
views
QGIS ordering categorized styling doesn't work
I would like to have my categorized styling in the correct order.
When I select the "Categorized" style option, QGIS orders it quite randomly. The effect is next visible on our map. Since ...
3
votes
1
answer
37
views
QGIS layer styling, "symbology" - automate delete and reclassify
My QGIS projects always have around 20 layers that need to be Categorized by a certain value every day. Right now, I need to manually hit the "delete" and "classify" buttons. Fine ...
1
vote
1
answer
37
views
OpenLayers GeometryCollection styling issue
With some help, I am able to draw some custom shape on my OpenLayers project with the following code.
geometryFunction = function (coordinates, geometry) {
const center = coordinates[0];
...
1
vote
1
answer
20
views
Change layer popup style of KML served by GeoServer WMS service?
I need to change the style of the popup page in the KML (network) file sent by the WMS server. I looked at the GeoServer documents for this, but I couldn't find a .ftl file on my Linux server. There ...
0
votes
1
answer
20
views
GeoServer 2.20 can't apply style
I've just installed GeoServer 2.20.4 on a Windows 10 system, and everything works OK, EXCEPT when I try to associate a style with a layer. When publishing a layer, a selection of any style shows a ...
1
vote
4
answers
124
views
QGIS make round legend style fill for objects in the map
I have the situation as you see below:
I have the buffers 50m, which have a green color. Unfortunately in the styling in the panel, they appear as boxes. When I used the point pattern fill in order ...
1
vote
0
answers
22
views
Drag and drop layer style in QGIS
Is there a way in QGIS to drag and drop style from one layer onto another layer?
I already know two possibilities to copy-paste the style of a layer:
Right click on the donor layer, copy its style, ...
4
votes
2
answers
78
views
Change color of different lines in same layer QGIS
Is there a way to manually change color of single lines under the same layer? i know that there's a way to change them via the categorized tab in the layer style properties, but the color change that ...
3
votes
1
answer
93
views
Visualizing a polyline with decreasing width towards one end (QGIS)
I am acquiring data related to the hydrography of a territory. I would like to use a symbology that allows me to have a line whose thickness decreases as it reaches its end (like the example in the ...
2
votes
1
answer
34
views
Political Map Country Fill Colour
I'm trying to create a political map from country polygons with GeoServer.
Is there away to assign the countries colors from a defined set of colors without having to assign colors individually?
The ...
2
votes
1
answer
244
views
React-leaflet GeoJSON: change color of the layer after state
I have an issue, I have a react-leaflet map with GeoJSON layers. Also, I have added some state components like cascader with some name of countries options, like Austria, Belgium, etc... I want to ...
2
votes
1
answer
39
views
Setting labels and color to a new layer in a QGIS processing script
I have created a new layer by an algorithm (intersection; buffer and so on) in a processing script. I would like to add a label to the new layer through a field (id number) of the attributes table. ...
0
votes
0
answers
32
views
Automatically apply style files/symbology on a set of raster and vector layers QGIS
The output of a model that works outside QGIS generates a set of outputs ranging from DEMs (tif), Slope, Silt content and many others. This output comes in the form of a zip.
This output data is ...
0
votes
1
answer
79
views
Use value from select to set corresponding marker icons in Leaflet
I have a select that contains a list of cities my markers are in. I would like to display my L.icon markers according to the value currently selected, since the value selected will match the attribute ...
5
votes
1
answer
81
views
QGIS set the same color ramp for all categorized styles
I have the categorized styling for my layers like you can see below.
What I would like to have is the sale colour of all the styles categorized, whereas their patterns will vary between each other.
...
0
votes
0
answers
16
views
Using a map style without data
Is it possible to use a map style without data and overlay my data of a PostgreSQL database on this map style?For example, I have the Basic style from Openmaptiles. I only need the information this ...
1
vote
0
answers
24
views
GeoServer renders blue and red backgrounds occasionally
It looks like this:
As you can see some tiles are rendered correctly.
Our data source is an mbtiles file, styled with a mapbox style (we had to install mbtiles and mbstyles extensions).
I don't ...
0
votes
0
answers
53
views
GeoServer MBStyle extension: The style specifies an attribute named 'class', not found in the workspace:lines layer
I copied a mapbox style from github and want to use that to style a geoserver map. So I went to add the style but in the style preview tab I get this error:
The requested style cannot be used with ...
0
votes
0
answers
39
views
GeoServer MBStyles extension: No layer or layer group named 'x' found in the catalog
I'm an absolute beginner with geoserver, but set up a tileserver-gl-light server with some styles from github and it looks pretty. On the other side, our team has a running geoserver that works but ...
1
vote
1
answer
43
views
QGIS auto-highlight identify results feature with style defined
I am wondering about the option of highlighting one field in the Identify Results panel by linking the styling applied to the layer, as you can see below.
I would like to have that cell highlighted ...
1
vote
0
answers
26
views
QGIS Style Manager's tag entries - how to make use of them when accessing color ramps
I've found a lot of pre-defined QGIS-style XML files on the web. Importing them into the QGIS-internal style repository was easy as expected, and labeling by specifying meaningful tag-entries was ...
5
votes
3
answers
195
views
Creating ellipse marker with line pattern fill in QGIS
How can I create an ellipse marker with line pattern fill in QGIS?
Like this:
I have already made simpler symbols, but there is no solution with the ellipse
1
vote
0
answers
48
views
Importing and applying style stored in GeoPackage
I'm trying to use a GeoPackage to store a collection of styles - the idea is that each map sheet (it's a geological map) comes as a series of shapefiles, and of course each shapefile require its own ...
1
vote
1
answer
66
views
Style different GeoJSON geometries differently in OpenLayers
I got this GeoJSON from Geoserver, having 2 different types of geometry type i.e. Polygon & LineString which I want to style differently i.e polygon with different colour & line with different ...
0
votes
1
answer
26
views
Not fill polygons in WMS? [closed]
Is there a way to set it up because the polygon is not filled during WMS setting.
2.18 GeoServer is in use.
3
votes
1
answer
94
views
Looking for QGIS equivalent of ArcGIS "Delete Colormap" tool
I have many TIF rasters with colormaps. In ArcGIS I can delete these with "Delete Colormap" tool.
Is there a QGIS equivalent of this tool, or some other way of deleting them?
5
votes
3
answers
217
views
Styling points based on letter in field in QGIS
I am trying to do different symbols for my data in QGIS the only different between my points is the letter 'W' or 'D'. I want that each point will get a different color or shape to vizualize that on ...
1
vote
1
answer
50
views
Group style groups within on layer in QGIS
I created a complex style for a layer using rule based styling. In the original project, the layer is presented in the layers panel the same way it is displayed in the layer properties, that means ...
1
vote
1
answer
49
views
How to "preclassify" a color ramp for an unknown range in QGIS?
I have to create a template project in QGIS to be taken into the field by others. The aim is, that the user only enters data but does not have to change styles or anything themselves.
I have a layer ...
0
votes
0
answers
39
views
Imported SVG's stroke width out of proportion in QGIS
I created a couple of SVGs in Inkscape for use in QGIS recently, following this video tutorial, which worked quite well. However, I have one SVG, that behaves normally in Inkscape, but on import into ...
4
votes
1
answer
78
views
QGIS: Style polygon outline as a dashed line with an inner gradient
Is it possible to create a polygon outline as a dashed line with an inner gradient (see image #1)? Currently I have a hack job that sort of works (shapeburst fill with a dashed line above in the ...
5
votes
1
answer
57
views
Setting font markers to left-justified in QGIS
I have to design a symbology in QGIS following a very strict rulebook. I need to place certain attributes as at exact positions aroud the symbol. Since it is defined as part of the symbol, I do not us ...
0
votes
0
answers
40
views
GetLegendGraphic with Filtered Range Rules
I have a style with several rules that include range filters. I'm having a hard time getting the appropriate legend graphic for a specific record.
For example, a soil depth of 3 should return the ...
2
votes
1
answer
45
views
GeoServer 2.20.1 doesn't respect multiple styles with query layers
I'm having a minor issue with GetFeatureInfo and I quite frankly don't know how to solve it.
It's a bit of a long story but here goes:
When I make the following request to our GeoServer it'll return ...
2
votes
3
answers
128
views
QGIS points to path - colouring path/line with gradient colour
I'm using QGIS 3.16.15-Hannover (LTR).
By using "Points to path" from the toolbox I created a path/line between several points from a CSV. However, I did not find any way to colour the ...
6
votes
3
answers
191
views
Displaying differently styled features from within a single shapefile in QGIS
I am using QGIS 3.22.1. I have a single FEMA NRI shapefile layer in my project that contains many 'features' (aka columns in the attribute table). For instance, there are columns for risk of drought, ...
3
votes
2
answers
151
views
Displaying overlapping polylines using QGIS
I have some route data with several routes which follow the same path for a distance. I would like to display the data showing thicker polylines where routes overlap, the more that overlap the thicker ...
4
votes
1
answer
221
views
Styling DEM in QGIS: different colors for sea and land if elevation is 0 meters
I am currently working with a 15-ARCSEC DEM of Central Europe in QGIS and there are several areas that have an elevation of 0 m. This leads to the problem, that the software is unable to differentiate ...
0
votes
0
answers
60
views
How do I reference Source-Layer in a pg_tileserv service?
this is the first time i'm trying to style a vectortile-service so i might be thinking completely wrong, but ....
I have set up a pg_tileserv that shows all geometries. when I then want to specify the ...
6
votes
1
answer
88
views
Creating reverse of Inner glow when styling polygon in QGIS
In QGIS 3.22.1, the Inner Glow effects property (below) creates a sharp outer boundary that fades towards the inside.
I would expect that the Outer Glow effects property (below) would provide the &...
1
vote
1
answer
65
views
Exporting .qml file using QGIS API with specific categories
I need to save a style file (.qml) that will only contain the "Symbology", "Labeling", "Forms" categories. With PyQGIS I can save a named style like this:
lyr = iface....
0
votes
1
answer
35
views
Covering x% of shapefile in another shapefile using QGIS
I have a shapefile of the British Isles and I want to evenly distribute another polygon shapefile over it in randomly spaced splodges with tree symbols, at a certain % of land cover.
How could this be ...
0
votes
1
answer
163
views
QGIS Export multiple layers to KMZ format without loosing styling properties
I have several separate layers with various styling.
I would like to export them in the KMZ format but as one file.
A similar problem was raised here:
Exporting multiple shapefile layers from QGIS3 to ...
0
votes
1
answer
25
views
Giving style template to coded domain in ArcMap
I am using ArcMap 10.6.1.
Is there a way to save a style template for my coded domains in my geodatabase?
For example:
I have a feature class containing several polygon-features. When in the field, ...