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.

3
votes
1answer
27 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 ...
3
votes
1answer
35 views

How to style a polygon layer with symbols that indicates the value of an attribute of the 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
20 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
11 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
29 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
38 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
17 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
29 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
30 views

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

Is it possible to create a combined style-file for lines, points and areas in QGIS 3.2? Now I have three style-files. project_lines.qml project_points.qml and project_area.qml, for the different ...
3
votes
0answers
31 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
150 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
28 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
47 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
38 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
21 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
27 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 ...
3
votes
1answer
66 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
48 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
43 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
0answers
60 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
33 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
103 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
40 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
46 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
76 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
28 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
80 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
36 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 ...
3
votes
0answers
32 views

Equal length dashed lines while using 'segments_to_lines' in QGIS

I want to create tapered lines with a dashed line stroke (to style intermittent streams). I followed this tutorial to create the taperered lines, basically using Geometry generator with the expression ...
1
vote
1answer
48 views

Scaling layer symbols from ArcMap to QGIS

I am recreating the symbology of a cartography moving from ArcMAP to QGIS substituting some font symbols in arcmap and reproducing them with new .svg symbols. The problem is that setting the size of ...
0
votes
1answer
46 views

QGIS label placement from another layers

I am trying to amend the default syle of the new OS-Open-Zoomstack so that when water is labeled it curves on line. This would be easy if the label was in the feature but unfortunately it's in a ...
0
votes
0answers
21 views

Save style in database (spatialite) disappeared

I want to save a style to database (Spatialite) but when I use save style in Qgis 3.0 I am not getting this option in the drop down menu. So how do I save my styles to database in Qgis 3.0? It used ...
11
votes
1answer
197 views

Creating a 'brick wall' style for polygons

I am trying to create a brick wall style for a vector polygon in QGIS 2 and 3. I can render a svg drawing of a brick wall with SVG fill (image below). But I do not want to use SVG since the style is ...
5
votes
1answer
96 views

Creating new Half-Inch Bartholomew-Style Maps in QGIS 2.18?

I have a full set of the old half-Inch Scale John Bartholomew maps produced up to the early 1970s (1972 - 1974) of Great Britain, and I'd like to produce new mapping in the same style, but with modern ...
2
votes
1answer
82 views

Changing line type for boundary of two vectors?

I currently have two vector shapefiles containing polygons representing health geographies of England and Wales. I would like to be able to change the line type for the boundary/lines between the ...
2
votes
2answers
81 views

ESRI fonts and QGIS

I should convert an ArcGIS cartography style (where the Esri fonts were used for the symbology) in QGIS. Is it possible to use the esri symbolic fonts and why some of them (eg ESRI Oil, Gas, & ...
3
votes
0answers
57 views

Drawing a line to a point - style in QGIS

I need to create a style in QGIS in which the line is moved away from the second line by 2 units, but their ends merge at one point. I created 3 geometry generators - 3 lines. At the ends of the line: ...
0
votes
0answers
14 views

TextSymbolizer color is always gray

I want to change my text color. This is my SLD code. <?xml version="1.0" encoding="UTF-8"?> <StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" ...
0
votes
0answers
28 views

Render Heatmap using Geotools from DefaultFeatureCollection of Point objects producing black area?

I am trying to render a heatmap using geotools. However, whenever I try to using HeatmapProcess I just get a black box. Here is my code for creating the GridCoverage2D object and rendering it: ...
0
votes
0answers
12 views

Openlayers - Updating style of overlapped polygons

I made a javascript which reads geojson files, depending on a period selected by the user. These files contain polygons which I display on a map. For now, I've been able to make them transparent in ...
0
votes
1answer
19 views

GeoServer: copying style (Tiger Road)

I am learning GeoServer by extracting OpenStreetMap shapefile from https://extract.bbbike.org/ and add to Stores n Layers within GeoServer following this tutorial http://docs.geoserver.org/latest/en/...
0
votes
1answer
12 views

GeoServer GeoCSS generates too many symbols

Can anyone help me with the GeoCSS below, I don't understand why this generates 5 legend categories when I was expecting only 4 categories? /* @title Monitor */ * { mark: symbol(circle); mark-...
3
votes
1answer
46 views

How to cut the end of line in a QGIS style?

I want to create a style in QGIS, in which one line is offset from the other, but their ends form one point (as in the picture). How do can you remove the ends of the green line? In QGIS 3.2 there ...
3
votes
1answer
103 views

QGIS 3 does not load default styles from spatialite (defined in QGIS 2.18)

I have a set of styles stored in a spatialite db with QGIS 2.18, the layer_styles table looks like this: Adding a layer in QGIS 2.18 loads the style set as default (waters light blue, categorized): ...
2
votes
2answers
342 views

How to change border style for classified data?

I would like to classify my layer according to two categories (for example year and type of land) and would like to show these classifications with a different colour of the border (for 'year') and ...
3
votes
0answers
50 views

Grouped “labels” for QGIS 3.0 Point Cluster styling?

I'm trying to make a cluster visualization of a vector point layer about trees with a few requirements: The clusters need to change depending on zoom level (solved) The clusters need to indicate how ...
0
votes
0answers
55 views

Painting order in OpenLayers 4+ WebGL

There are a lot of features in the vector layer. I want to highlight one of them. The feature's style is changing but many others too! Why is this happening? Moreover, some features hide when I ...
2
votes
1answer
37 views

Style features based on difference between current date and date in attribute table

In QGIS >2.18, is it possible to style features based on the age gap between the current date and date recorded in the attribute table. For instance I have purchased a significant amount of OS data ...
1
vote
0answers
21 views

Color range over two layers

I am looking for a non-manual way to stretch a colour range over two raster layers. Lets say I have two raster with data showing mean annual precipitation. In order to compare them visually I would ...