Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [style]

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

1
vote
1answer
22 views

GeoServer error on styling line width relative to zoom level

I've applied MBstyle (gs-mbstyle-2.13.2, gt-mbstyle-19.3) extension for GeoServer (2.13.2) to style layers in mvt format. It works fine for simple styling but the problem occurs when I want to set the ...
1
vote
1answer
20 views

Selecting Specific Entities to Style Separately from the Same Layer in QGIS 3.2.4

I downloaded the roads of Rome from OSM and save them as a single Shapefile. To style specific entities from the "highway" column I categorized this column in the layer styling panel. Now I got all ...
0
votes
0answers
21 views

How to show labels only at the straighter parts of a line while using x-followLine option in the style in GeoServer

We are running GeoServer 2.12.1. I am trying to label trails in GeoServer and one of the issues I have is that when I try to align the labels along the trail line, the labels look skewed at the ...
1
vote
1answer
12 views

Geoserver 2.14.0 CSS styling - how to force label rendering similar to VendorOption “partials”

I know that the <VendorOption name="partials">true</VendorOption> SLD directive would fix my issue with labels not rendering in my tiles when I want them to and I would add to my SLD ...
1
vote
0answers
25 views

Transfering color style from one raster to other rasters using QGIS?

I have a raster set and I need to classify them using the "pseudo color singleband" with "RdYlGn". What I'm trying to do is classify a raster and copy the style to the others, but it does not work ...
1
vote
3answers
70 views

Getting the layer styles out of a *.QGS without having the layers itselves

Is it possible, to restore the layer-styles from a *.QGS project file? I have unhandled layers in my project. As I'm starting the project, QGIS is asking me for the source of the layers but I don't ...
4
votes
3answers
150 views

Importing KML styles into QGIS

Can I import a KML file with styles to QGIS 3? (As of now version 3.4.1) I have a .kml file with cycling routes that have a different color for the time between sunset and sunrise. When I import the ...
1
vote
0answers
17 views

Curved labels with data defined coordinates in QGIS

My goal: I want to have curved labels placed in the center of a linestring. I define the label position with the expression x: $x_at( num_points( $geometry)/2) y: $y_at( num_points( $geometry)/2) to ...
2
votes
0answers
22 views

Adding customized basemap ArcGIS vector tile to QGIS

I customized a basemap through the platform ArcGIS Vector Tile Style Editor (beta) and I would like to share it and use it also with other software like qgis. I am using this link: https://www.arcgis....
0
votes
0answers
25 views

Direction of a GeoServer point style based on a field (rotation field) [duplicate]

Is it possible to create a point style in GeoServer that based on a field value in that layer (in this example rotation field with values in range of 0<=rotation<360) show the points rotated in ...
1
vote
1answer
18 views

Duplicate entry in layer_styles table with PyQGIS

I would like to duplicate an entry in QGIS (2.18.21) layer_styles table (in a PostGIS database) by the following steps: From a PostGIS connection with styles saved to database add layer_styles table ...
1
vote
0answers
22 views

Dynamic colouring of SVG-icons in OpenLayers 2

I've got an OpenLayers 2 map with a lot of point features that need to be represented using a number of different SVG-symbols. Unfortunately, the marker icons need to be displayed in different ...
1
vote
1answer
55 views

Why do symbol categories disappear when unchecked in QGIS?

I am using Qgis 2.18.25 In a vector layer, when using the categorized style, when I uncheck a category the category disappears. Is there any way to avoid this behavior? Actually I do not really ...
2
votes
2answers
125 views

How to create a rule on QGIS to show only features that have last week as date?

Basically I have a PostGIS layer with a date column. I only need to show features that have the last week as a value in the date column. How to achieve this? Unfortunately now() - 1 week doesn't ...
2
votes
2answers
40 views

Custom color palettes not visible to other layers?

Full-disclosure: fairly new to QGIS (v3.4), and I am currently styling a map for presentation. I'm trying to match colors within data contained on a layer using "Categorized" styling, so that I can ...
1
vote
2answers
40 views

CARTO not styling 36 total representatives

I'm extremely new to CARTO and I'm still learning the ropes. I currently have this territory map where the colors represent a representative in a county. However, it isn't shading the 36 total ...
0
votes
1answer
45 views

How can I use SVG icons controlled over variable order attribute field?

I have about 200 different point categories. I want to order all these categories with one background SVG and one for the front. One solution is to categorize the points depending on one attribute ...
0
votes
1answer
23 views

Using .style imported into ArcMap?

I have been handed a .style file by a coworker so that we consistently use similar color schemes. After downloading it, I went into Customize >>> Style manager >>> Styles... >>> Add style to list. ...
1
vote
1answer
30 views

Saving all symbols to style using ArcPy? [closed]

Is it possible to loop over all feature layers (each feature layer has a unique value symbology) which are in Contents Pane and save each symbol to style? I got rich symbology which need to be ...
1
vote
1answer
17 views

Automatically apply blending mode to raster

Currently using QGIS 2.18.24, but tested this on 2.14.18 as well. I'm trying to load a QML file for a raster with a specific blending mode ('multiply'), however QGIS only applies it until I click '...
0
votes
0answers
59 views

QGIS style colour ramp

When I right click on a raster layer in QGIS, it is possible to copy the style and then apply it on a different raster. However, I do not want to change the min/max values, I just want the same colour ...
4
votes
2answers
75 views

Custom scalebar with half-segments in QGIS

I am trying to recreate a scalebar thats part of a norwegian standard (NS3039) in QGIS. QGIS makes these half-segments for negative values (highlighted in red in the picture below 1, but I want ...
4
votes
1answer
83 views

Styling polygon layer with symbols that indicates value of attribute of polygon?

I want the same thing, but the number of dollars shown should indicate the value of the attribute of the polygon. For example one polygon may have 2 dollar icons indicating 200 (value of an attribute, ...
0
votes
1answer
71 views

Openlayers 5 change kml style for icon only

I'm importing KML into my map where it has some point placemarks with images that are WAY too big. What is the best way to import KML in the map, and just change 1 aspect of the style ( https://...
0
votes
0answers
19 views

Is the “Predominance” style available in ArcGIS Pro?

I've found discussion and examples of the "Predominance" symbol style in ArcGIS online "smart mapping". But can find nothing for ArcGIS Pro. Does the "Predominance" style exist for ArcGIS pro? See ...
1
vote
0answers
34 views

How to differentiate between features and labels for select interaction and applying styles in OpenLayers?

I am using a style function to style a vector layer with text labels. For the text style I have set overflow to true so that labels can exceed the dimensions of a polygon. I now want to use another ...
2
votes
1answer
76 views

data-defined attributes in QGIS' point cluster symbols

I'm wondering how data-defined attributes work for the cluster symbol when using the point cluster layer styling in QGIS 3.*. How can you use the values of the points within the cluster for data-...
0
votes
0answers
18 views

Creating STYLE in CityEngine?

I created a City with CityEngine and I want to generate the buildings but I need to apply a style for aachen on this city. I set Representation = "realistic with facade textures" but i find that not ...
1
vote
1answer
41 views

Working CartoCSS editor?

I set up my own tile server starting with the switch2osm tutorial to which I added contour lines and hillshading. It is based on openstreetmap-carto which is obviously CartoCSS, but when I tried to ...
0
votes
0answers
37 views

Combined style-file for shape-points, lines and areas

We have three QGIS Layer Style files. One for shape points, one for shape lines and another for shape polygons, which we load unto our datalayers to make the analyses we create look like they have to. ...
3
votes
0answers
33 views

Nesting styles for increased drawing speed

I have zoning plans for a municipalities ( for example 5700 features in this one) and I have created a QGIS-style to make it look like the offical style. There are 72 colours/patterns for the ...
3
votes
3answers
172 views

QGIS - Graduated style except 0 value

I would like to graduate from a column of mine with decimal numbers. For this I want to apply the Jenks discretisation and exclude zero. I tried this, but it didn’t work… Do you have any idea to do ...
1
vote
0answers
39 views

How to create pattern fill via geomtry generator in QGIS3?

I would like to style polygon layer using geometry generator to create point patterns but using just generated points geometry. Is it possible? How can I achieve that? I know that I can use just use ...
0
votes
1answer
49 views

Finding line style for ArcMap?

I am running ArcMap 10.6 and I need a line that I thought would be included in the standard styles. It is the line symbol used when a polygon feature crosses a line feature and you want to show that ...
-1
votes
1answer
39 views

Geodatabase to Style

I have a geodatabase with 3 layers of symbology (marker, lines and polys), I need to convert these layers to styles in ArcGIS.
0
votes
0answers
38 views

OpenLayers 3 feature setStyle is not rendering on the map

I am getting data at every 1 sec and I have to check some of the ids on the fly and change feature icon color. self.subscription = this.dService.getListOfids().subscribe(data=> { self.idds = ...
1
vote
1answer
31 views

Legend styling in QGIS: How to create overlaying points based on size

I have a categorized point layer, were the size of the points is based on a feature. Normally in the legend, there would appear multiple points with different sizes. However they consume a lot of ...
4
votes
1answer
77 views

Openlayers Vector label density

I am rendering vector tiles and the roads are made up of many line segments. Each segment has a line layer and symbol layer in the vector tile. I am getting repeated labels along main roads made up ...
0
votes
3answers
78 views

Geoserver SLD to hide points when label is not shown

Is it possible to create a PointSymbolizer together with a TextSymbolizer that will hide both the point and label when the label is not shown as a result of conflict-resolution? What I'm trying to ...
1
vote
0answers
56 views

How to refresh layer style correctly while setting to group

I have almost finished to implement the following idea: When moving a raster layer to a distinct group load a style from a QML style file. I'm using this code in the Python console in QGIS: def ...
1
vote
1answer
170 views

Problem with style file (.qml) loading in QGIS 3.2

I am trying to load a .qml style file to CORINE land cover maps, but the application generates an automatic color ramp. Dataset:http://geoforall.hu/sites/default/files/geodata/clc-series_hun.zip In ...
2
votes
1answer
45 views

QGIS: Combine proportionte Symbology with graduate fill based on two different attributes

I would like to style a layer where the fill of the symbols should be graduated e.g. based on an attribute showing the "proportion of the female population" and the size of the symbols based on ...
1
vote
2answers
239 views

How can I create a map style for OSM data in QGIS 3

I am new to QGIS (Version 3.2.2) and basically what I want to archive is to load OSM data and apply my own map style to it. However once I have defined my style I would also like to be able to load ...
0
votes
1answer
42 views

What are the options for generating images from OSM data without importing it to PostgreSQL

While I'm waiting for my first try of an osm2pgsql import to succeed I am wondering if what I'm doing is really necessary. The goal is to periodically produce some .png maps from a slightly filtered ...
0
votes
0answers
52 views

Geoserver CSS Styling - Bug using env var twice?

Currently working on a css style for one of my layers. My plan is to use an env var from the query string to drive some of the styling. I was going to use the env var as a flag string. Basically, if '...
3
votes
1answer
97 views

Multiple styles using pyqgis

I'm trying to automate adding styles to layers, with each layer having multiple styles using pyqgis. Couldn't find any answers except this unanswered question: Adding multiple styles to single layer ...
1
vote
1answer
31 views

Add a scale or category to a rule which is only applied to points within original subset in QGIS

I have subset a shapefile of points to only include those having a value of (for example) 33 in the variable "Bout" using a rule based assignation: Now I would like to apply a sub-category to that ...
0
votes
1answer
39 views

Categorized symbology inside categorized symbology

I want to make a complicated symbology for my layer. Now it's categorized on column use and I want to add a term "If use=street, different symbology to lamp_type column (H=(x),L=(y) and others=(z)" (...
1
vote
2answers
94 views

Shifting an svg symbol to a specific point in QGIS

Is it possible in QGIS to make a particular point of a custom .svg symbol coincide with the layer point position? i.e referring to the image: I would like to make the beginning of the symbol line ...
2
votes
0answers
46 views

How to show label styles in map legend?

In a QGIS map legend, what methods can be used to show examples of a feature's label, in addition to its symbol? For example, a single point symbol might be used to show all cities, but the label ...