Questions tagged [style]

An organized collection of predefined colors, symbols, properties of symbols, and map elements.

Filter by
Sorted by
Tagged with
2 votes
0 answers
51 views

Where can I find common symbology presets for QGIS?

I am looking for a collection of basic, common styles that I can just apply in QGIS. In ArcGIS, I am used to having a comprehensive set of common symbology options built-in, e.g. different road types, ...
Honeybear's user avatar
  • 2,042
-1 votes
0 answers
14 views

Publish CSS styles in Java with GeoServer [duplicate]

I need to use the REST API method to publish CSS styles to the GeoServer style library and bind them to layers, just like directly publishing SLD styles. However, I have not found a solution. My ...
LiuX's user avatar
  • 5
1 vote
0 answers
84 views

QGIS changing layer colors

I'm having a problem with several QGIS projects. I style and format the vector layers, save, and when I reopen the project another day the formats are changed. All the vector layers appearing in blue ...
Ana's user avatar
  • 19
0 votes
0 answers
25 views

The TFF style is not displaying correctly, and the configured attributes are not being displayed correctly

(1)I imported the SLD exported from QGIS into GeoServer, but I noticed that the font symbols displayed are completely different in shape from what I see in QGIS, as shown in the image below. geoserver ...
苏云明's user avatar
3 votes
2 answers
74 views

Multiply line using style in OpenLayers

I'm working on a map application, where I should display multiple routes, each with its own name and coloring. In some locations, there are multiple routes following the same path. Is there a way to ...
mat.hudak's user avatar
  • 155
0 votes
2 answers
48 views

How to use symbol systems configured in ArcMap in GeoServer

I configured symbol systems for some polygon features in ArcMap, which include symbols with fill patterns and some symbols with slanted lines. I exported these symbol systems as LYR files, then ...
苏云明's user avatar
0 votes
0 answers
35 views

QGIS processing script crashes while trying to set layer styles

So i recently tried to improve my script for automatically setting the style of vector layers from a folder filled with ".qml" files. It usually crashes around the 4th or 5th layer, and if i ...
Elfry's user avatar
  • 1
1 vote
1 answer
19 views

Serve a styled WFS via QGIS server

I recieved a huge data-dump with several hundrets of layers. I need to style those layers and make the data including the style available to different GIS-Softwares (MapInfo, QGIS, ESRI). I thought, ...
sn1ks's user avatar
  • 2,687
0 votes
0 answers
25 views

Combined style for GeoJSON line in Leaflet

In leaflet I have a GeoJSON of line type. I want the latter to have two styles, the solid color in the background and a dotted line inside, as shown in the following image: In the image, I have two ...
MrShaggy87's user avatar
0 votes
0 answers
34 views

Angle of wedge buffer not rendering on one point

I have been making pie charts with wedge buffers in QGIS for temporal controller. I just bumped into an issue with one point which completely ignores the azimuth angle for one color. The formula for ...
Nadka's user avatar
  • 41
0 votes
1 answer
52 views

Adding a vector tile layer (OGC API - Tiles) in QGIS from PyQGIS does not add styling from styleUrl

I have a OGC API endpoint that serves vector tiles in mvt. I have succeeded in adding this vector tile layer using the gui by setting up a connection with: Layer > Add Layer > Add Vector Tile ...
InquisitorBarnham's user avatar
1 vote
1 answer
48 views

QGIS 3.28.2 sending GIS project and keeping the symbology

I want to send someone a QGIS project. The symbology is always changing when the receiver opens the project. How can I save the symbology so that the style isn't changing all the time?
eva's user avatar
  • 59
0 votes
1 answer
46 views

How to load stylx file generated in ArcGIS Pro 3.1.1 in ArcGIS Pro 2.9.5

I have stylx files that were generated using ArcGIS Pro v 3.1.1. I am running ArcGIS Pro version 2.9.5. Cannot load the stylx file due to this. What are my options to load this 3x generated stylx file ...
Jdeaf's user avatar
  • 1
0 votes
0 answers
40 views

Style in OpenLayers shows invalid characters on some computers

I have a layer in OpenLayers, which I style for font color. However, on some computers, the texts show with special characters, a blurred, confusing text that cannot be read. In others, without any ...
user12538529's user avatar
0 votes
1 answer
39 views

QGIS How to Load Symbology from PostGreSQL

I am slightly out of the loop and trying to catch-up with QGIS and Postgres. Opened a new QGIS project. Connected to PostgeSQL. Added Layers. Trying to add Symbology to each layer by… a. Double-click ...
ClearMappingCo's user avatar
0 votes
0 answers
21 views

QGIS GeoJSON and color properties [duplicate]

I have a GeoJSON file which is exported from a GIS system on odoo in GeoJSON format. I need to import it into QGIS. I tried a plugin called "Quick GeoJSON". I copied and pasted the code and ...
Guido Fonzo's user avatar
0 votes
0 answers
15 views

OSM-Bright boundaries style

Any reason why osm-bright style has the layers boundary_2_z5_maritime and boundary_2_z0-4_maritime, that have the exact same colors and style, such that that z5 is only taking over z0-4 from zoom 5 ? ...
Ben On Track's user avatar
0 votes
2 answers
56 views

How to create contour map for wind speed using Geoserver?

I am new to using Geoserver and I am trying to create a contour map for wind speed. Is this SLD style correct to solve my problem? <?xml version="1.0" encoding="ISO-8859-1"?> ...
user avatar
2 votes
0 answers
61 views

Automatically loading QML style file based on layer name in QGIS

I have a folder with ~100 QGIS-style files (.qml). Is it possible to tell QGIS that whenever I load a layer which has the same name as one of the .qml files apply that style instead of giving the ...
sn1ks's user avatar
  • 2,687
0 votes
0 answers
34 views

Unable to load layer default style from MSSQL database

I have a point layer in MSSQL database that has a relation with a polygon layer that is also stored in the same database. Both layers have default styles stored in layer_styles table in the same ...
Ivan Marjanović's user avatar
1 vote
0 answers
47 views

Can't set Loaded Layer Name to input name in Load Layer into Project using QGIS Model Designer

I am designing a simple model to automate the loading and styling of new layers in a QGIS project. The idea is to use "Set layer style" to apply style settings from a QML file then load the ...
Matt's user avatar
  • 67
1 vote
1 answer
37 views

map.addLayer doesn't display KML points layer the first time in OpenLayers 4.6.4

I've posted this question on StackOverflow, but it seems like this is the correct forum to ask this, since nobody answered over there. I have an OpenLayers project where the user can display/hide some ...
Sergio's user avatar
  • 113
1 vote
0 answers
56 views

Automatically update category styling in QGIS when adding/deleting features

I have a layer where each feature represents a route, and I want these routes to be automatically categorized based on their unique IDs. In other words, if I have two routes, I should have two ...
MartinMap's user avatar
  • 8,196
0 votes
0 answers
21 views

GeoServer GroupLayer GetFeatureInfo returns wrong layer feature

I'm currently facing an issue with GeoServer and its GroupLayer functionality. I have created a GroupLayer named confini containing three layers: tutorial:Reg01012023_WGS84 (Regions), tutorial:...
stefano_rizzo's user avatar
1 vote
1 answer
61 views

Lines Visible When Blending Raster Layer of Merged Tiles QGIS

After merging SRTM DEM tiles into 1 raster layer, the layer has no visible join lines on the map canvas as below. Multiply blending mode has been applied However, when viewed in Layout, there is a ...
Sean Jarrett's user avatar
4 votes
1 answer
126 views

Interpolated lines with varying colors - drawing order of objects is wrong (QGIS)

I'm using Interpolated Lines styling with Varying Width and Varying Colors, everything looks neat, but the drawing order of lines is random, so the the thinner and lighter colored lines show on top of ...
RudEr's user avatar
  • 45
1 vote
0 answers
43 views

Going back to the default QGIS styles

I applied a style to QGIS using the qt_material package and set a new Window icon and title: from qt_material import apply_stylesheet from qgis.PyQt.QtWidgets import QApplication app = QApplication....
Manos Papageorgiou's user avatar
1 vote
1 answer
99 views

Using d3-windbarb (npm) in icon style of VectorLayer in OpenLayers

I was trying to have a vector layer(from OL) above Open Street Map (OSM()). I wanted a wind barb layer, for which I used d3-wind-barb from npm. I couldn't use it as style though it throws HTML objects ...
Aayush Subedi's user avatar
1 vote
0 answers
47 views

QGIS 3.30.1 reprojection and style issues

I have a map project in EPSG:4326, all layers in EPSG:4326, I need to reproject the whole map to azimuth orthogonal, but when I do so, I loose all the parameters I set on the original layers. For ex. ...
David Rizzi's user avatar
0 votes
0 answers
24 views

How to show multiple different atibutes (zonal statistics NDVI and H3 Density grid) in ONE hexagon?

I made H3 Density grid with point vector layer and did zonal statistic for NDVI. Now i would like to make a layer which would show both in one hexagone. So for example one hexagone coloured specific ...
blazka's user avatar
  • 1
3 votes
1 answer
149 views

Bulk removal of unused categorised styles in QGIS

I have a geopackage storing polygons for the geology of British Columbia. There is a widely adopted colour code/style for each unit and the geopackage contains the correct colour style. There are ...
Jasper Mowatt's user avatar
1 vote
0 answers
17 views

Autoupdate multiple projects layers style with with same style

I work with multiple qgis projects, and they have the same default base layers ( cities, rivers, land use, etc.) and sometimes, one aspect of the style in changed, there is a way that this changes ...
Alonso Cortés's user avatar
0 votes
0 answers
148 views

QGIS 3.28 set layer styles to defaults after using an older version of QGIS

As I explained in the heading - when I open a project with QGIS 3.28 (without 3.22), after I have opened it with another version prior to 3.28, for instance 3.16, the styles of the layers are set to ...
Viktor's user avatar
  • 9
2 votes
1 answer
101 views

Loading MVT services and styles using PyQGIS

I am using QGIS Desktop 3.20.0 and want to use PyQGIS to load MVTservices to the layout and output the layout and end up with a PNG image. I can never get the styles to load properly. Using WMS ...
Shiord's user avatar
  • 31
2 votes
1 answer
88 views

Prevent lines from joining automatically with lines on another layer and over running them in QGIS

I am having an issue where I draw a series of individual connected lines and then I want to continue on but with a different line type so I Duplicate the Layer and make the line style adjustments but ...
Mike's user avatar
  • 91
0 votes
0 answers
34 views

Remove excess categories in layer styling [duplicate]

I am working on a small project area and have downloaded a province-wide geological dataset. The dataset comes with a legend/layer file but it is a massive dataset (35424 polygons) with 2300 legend ...
Nathan Cronin's user avatar
5 votes
1 answer
141 views

Show a fixed number of decimals in expression for vector categorized styling

So I am creating a categorized styling using an expression involving float numbers. The results looks like this The first row is displayed as "0 - 0.2m" Is there a way to set in the ...
user131557's user avatar
1 vote
2 answers
191 views

Removing no-data from raster images

I have chunks of rasters that I need to remove the no-data values so I can visualize them together and that they fit and do not overlap. I was using gdal_translate command for %i in (*.tif) do ...
Matjaz's user avatar
  • 11
4 votes
1 answer
88 views

WKT not using "metre" as measure unit in SLD

After solvig this question, seems WKT is not respecting my intent to use "metre" as measure of distance. I have this SLD: <FeatureTypeStyle> <Rule> <...
Magno C's user avatar
  • 2,100
1 vote
1 answer
76 views

Using WKT in SLD

I have a Point geometry and need to draw some shape (a Polygon for now) when styling. Lets say I have this SLD: <Rule> <PointSymbolizer> <Graphic> <Mark> &...
Magno C's user avatar
  • 2,100
3 votes
1 answer
182 views

Get style of selected feature in select interaction OpenLayers

I'm trying to add a select interaction on a vector layer and get the stroke color of the selected feature returned. I am able to set the style for the selected feature, but getStyle does not return ...
Smita Verma's user avatar
2 votes
0 answers
112 views

GeoServer: Creating pie charts using SLD

I have created a layer in QGIS using pie charts as below: I wanted to export this style to SLD and import it into GeoServer and then apply it to a WMS. The export from QGIS to SLD does not work ...
GisUser's user avatar
  • 632
1 vote
1 answer
54 views

Duplicating style from another map when it's locked using PyQGIS

Print Layout from a template with two maps of the same layer, but different styling. My code perfectly works for the first map: #1 #getting map ID from the layout map1 = layout.itemById('mapId_1') #...
VegesaukrRex's user avatar
0 votes
0 answers
28 views

Fix style page in GeoServer , I cannot open publishing page or any button

When I add a style, and put XML code then click on Validate nothing happen, still same problem when I click on generate, and nothing happen when I click on upload SLD file, also I can't open any pages ...
mohammad's user avatar
3 votes
1 answer
101 views

Display points on identical location from multiple layers with an offset

I have several layers containging points holding information. Some of them are at the exact same locationg (as they originated from the same file, describing varous categories at the same location). ...
Vincé's user avatar
  • 1,217
0 votes
2 answers
100 views

Geoserver SLD parsing error on filter

I'm wortking with GeoServer Version 2.20.4 and I have uploaded an SLD file generated with QGIS 3.22.9-Białowieża. When validating the code, however, I get the following error java.lang....
jpinilla's user avatar
  • 3,085
0 votes
1 answer
50 views

Use two attributes to fill part of one multipolygon that is inside of another

I have one vector layer that contains two mutipolygons (simplified version). Polygon 1 is the National Park boundary, Polygon 2 is the forested areas. Can I style the forested area differently ...
Dave S's user avatar
  • 1
7 votes
3 answers
471 views

Styling contours by colour and by line thickness in QGIS

I commonly deal with new areas where I would like to quickly visualize contours. My aim is to be able to apply a style that contains a color ramp from the lowest to highest values but also to show all ...
Leigh Bettenay's user avatar
6 votes
2 answers
256 views

Updating symbol size units from mm to map units in rule-based symbology in QGIS

I have a quite complex rule-based symbology that is currently using millimetres as size units. All third levels look the same, they just have different parents. Is there a way to change symbol size ...
e-shirt's user avatar
  • 659
2 votes
1 answer
487 views

Add a fill pattern to feature style instead of a fill color on a certain condition in Leaflet

As a continuation to Hatch polygons in Leaflet I'm using Vue and Quasar but I would love to see any type of example. What I have is statestyleCDC(feature) { return { fillColor: this....
Bill's user avatar
  • 131

1
2 3 4 5
26