Questions tagged [style]

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

Filter by
Sorted by
Tagged with
3
votes
0answers
41 views

Multiple color styles in one GeoServer layer

I have a GeoServer layer coming from a shapefile and I am using it with OpenLayers. I want to put multiple colors in the same layer depending on their attributes. How can I put multiple colors on a ...
2
votes
1answer
27 views

OpenLayers declutter styling

declutter does not working as it should be for point geometry, it should avoid overlapping labels and not styling format or geometry. when I set it true for points, points are starting disappear when ...
1
vote
1answer
31 views

QGIS rule based styling - rule ordering

I’m experimenting with some rule based styling which is working really well to a point but I’m hoping it can do more. I work in school transport I’ve plotted all pupils in a certain school on the map. ...
1
vote
0answers
37 views

Adding border style to country which has geometry type polygon? [closed]

I have a drop down list and when I select a country name and the map goes to this country, I want to add a specific border style to this country (polygon geometry).
0
votes
1answer
32 views

Exporting layer to shapefile after styling using Python in QGIS

I'm trying to use Python to add a GML to my QGIS 3.4 project, apply styling to it, and then export the layer as a shapefile. It exports the layer, but it does so before applying the styling, which ...
1
vote
0answers
19 views

Change style of GeoJSON features in Leaflet after it is done loading

Using Leaflet.js, I am loading a GeoJSON (containing many polygons) with the AJAX plugin (https://github.com/calvinmetcalf/leaflet-ajax), to which I pass a styling function. However, I would like to ...
1
vote
0answers
41 views

Symbology transfer from QGIS to ArcGIS Desktop [duplicate]

I am working with QGIS and ArcGIS Desktop 10.7.1 simultaneously. Is there any way to transfer my symbologies and styles from QGIS to ArcGIS Desktop? I could not find a way to do it so far.
1
vote
1answer
26 views

How to put a watermark at Mapnik tiles?

Maybe I have to add new layer with my PNG watermark at XML style, but how? I already tried to change somthing at XML, but don't understand how to add one global layer.
1
vote
1answer
26 views

Apply transparency to a raster layer by using actions

i have a specific action to load an raster layer by clicking on it, however i need to know if is possible to open that specific file and automatically apply a style. My idea is when someone click and ...
2
votes
2answers
52 views

Styling polygons in a map tile PBF file in Leaflet

How can I dynamically add data to a pbf file generated by Maptiler? I created a pbf file with the MapTiler desktop application. I started with a geojson file containing polygon geometries. My file is ...
1
vote
2answers
41 views

QGIS style to DB

I want to import the style from a MapInfo.tab file into a postgis db. When I open the properties for the file and click on the botton style I only have the option save as QGIS QML style file or SLD ...
2
votes
1answer
60 views

Using Rule-based/Geometry generator style in QGIS

I have layer for comments in qgis, symbology style is rule based with Geometry generator. Problem is with displaying name in layers tab because the line before text is too long How do I solve the ...
2
votes
0answers
30 views

Create categorized renderer from styles won't color categories

I'm trying to use the tool named 'Create categorized renderer from styles' When I classify my layer by an attribute table value in layer properties/symbology/categorized I get different colors ...
1
vote
0answers
18 views

Layers and styles for all different geometric objects

I want to change the graphical style of my geoserver map. There are like 400 different geometric objects and 20 different zoom-levels. Do I have to create 8000 (400x20) different layers/styles and ...
2
votes
1answer
62 views

Apply changes to style-file to all layers using that style

I'm using QGIS. I have one qml-file which I apply to many layers of different projects (so all gas-pipes have the same style). As for now, I can make a change to that qml, save it and than I have to ...
0
votes
0answers
43 views

Double or triple 45 degree hatch in GeoServer - possible?

My end goal is to have a style like this in GeoServer: I have tried using ExternalGraphic in SLD but that only seems to work with vertical/horizontal hatch. Edit: By using ExternalGraphic with 45 ...
4
votes
0answers
98 views

Styling the legend in QGIS with line layer

Working on QGIS 3.4.13. I have a vector line layer, there are rivers. I put a rule based symbology with two categories and different scale max / min for each category. I want to put style for the ...
1
vote
0answers
24 views

Dynamic equal-interval raster styling for LiDAR data

I am looking for a way to create a colour map for raster (LiDAR) data in QGIS at equal-intervals (0.5 m, 1 m, 2m) which uses the same colour ramp whilst dynamically adjusting to the minimum and ...
0
votes
2answers
35 views

GeoServer 2.16: Null object returned for expression: legend.width for setting value: 0 on: StyleInfoImpl[test_osm:rf] [closed]

I don't really understund how and why, but when I tried to save CSS changes on Style page of GeoServer GUI (by Apply or Submit) I saw it: java.lang.IllegalStateException: Cannot access /opt/tomcat/...
1
vote
0answers
33 views

Point style with Python MapScript does not work

Software details: CentOS 7, Python 3.6, MapServer v 7.2.1 is compiled from source. I use Python MapScript to build WMS, it works well for styling Lines and Polygons, but not for Points. For example,...
4
votes
2answers
86 views

How to get date ranges by month on QGIS?

So I have mypointtable with columns id, mydate and geom and I need to style it according to the months in the date column For example: id | mydate 1 | 2019-11-01 2 | 2019-11-15 3 | 2019-11-28 4 |...
6
votes
3answers
393 views

Styling overlapping polygons of different layers

I have 3 layers that sometimes have overlapping features. I need to use a thin outline style to interpret the area within the polygon and want to be able to see on the map when the features overlap. ...
1
vote
1answer
28 views

Advance text style of feature in openlayers

Is there any way to create table or any html element in text style for features? i tried other ways like putting overlay on feature then in overlay i used table and html elements but had some problems ...
0
votes
2answers
115 views

Apply external choropleths in QGIS 3

I have a large number of cloropeths stored in SLD and QML formats. QGis is unable to apply any of those, there is no option in the GUI for SLD, whereas it fails to apply QML files correctly. Is there ...
4
votes
1answer
56 views

QGIS Adding single arrow to polyline with dynamic position

In QGIS, is it possible to add a single arrow (indicating direction) to a polyline with a dynamic position, so that it is always in view as long as the polygon is in view? Adding "Arrow" to a line ...
3
votes
1answer
108 views

QGIS 3.4.6 - symbology - Using Both size and colour to represent two pieces of information on single object

I would like to apply two different styles on the same vector layer (lines), from two different fields of the table. To be more specific, I would like to make a graduate size of the lines from the X ...
0
votes
0answers
32 views

Add the OpenSeaMap styles to the OSM Tile Server

I've installed my own OSM Tile Server from here: https://github.com/Overv/openstreetmap-tile-server Working very sweet and nice! Now my goal is to add the OpenSeaMap nautical styles from here: ...
1
vote
1answer
31 views

GeoServer style multiple label inside shield

I want to add multiple labels inside a circle shield. I also want to set different locations for all labels inside the circle shield. I made this for one label. How can I do this for multiple ...
2
votes
1answer
108 views

Loading layer styles; (*.qml file) is there a shortcut or toolbar icon

Currently, to load a saved style you have to open the layer properties, scroll to the bottom and click on the style tab. As this is a regular thing I need to do when creating new maps I was wondering ...
1
vote
0answers
33 views

Using layer style in PostgreSQL

I have a db with two schemes "public" and "versioned" (the latter generated with the fastversion plugin). In the "public" scheme I have shp with related styles_table, in "versioned" I have other shp ...
1
vote
1answer
462 views

Rendering arrow paths in Leaflet

I made a map in QGIS, and I now want to render it into a web interactive product. I've tried to use Leaflet but I'm not able to reproduce the same pathways. So far, I managed to produce simple lines ...
1
vote
1answer
97 views

How to color polygons based on attribute in QGIS 3.8?

I want to color polygons (fill color) based on an integer attribute (named "fold", ranging 1-5). It was so simple in older versions of QGIS (2.x), but now I installed version 3.8 and I am clueless (...
1
vote
1answer
65 views

QGIS 3.4.4 edit rendering styles for outputs - styles not loading

I have created a processing model in version 3.4.4 and I want the shapefile outputs from the model to load in a chosen style. I have saved the style files and used the 'edit rendering styles for ...
1
vote
0answers
102 views

Loading RGB legend for vector layer from text file using QGIS?

I have a shapefile with one field containing a code for geological unit. I don't have ArcGIS Desktop l and therefore cannot access the layer file. However, from the source, I obtained a text file ...
1
vote
1answer
124 views

Create QML Widget with a picture in Attributes Form

I would like a Qmlwidget in the Attributes Form to show a picture. So far I have created the basic qml for a blue rectangle: import QtQuick 2.0 Rectangle { width: 100 height: 100 color: "...
5
votes
1answer
101 views

Generating slightly curved arrows in QGIS 3

In Geometry Generator in Symbology in Layer Properties, the following expression works, but the result is not satisfactory due to the middle point fixed coefficient 1,1: make_line ( start_point(...
1
vote
1answer
273 views

mapbox gl - multiple styles and filters per layer

The intention here is to determine the proper convention for adding multiple styling rules for a single layer in 'layers' list. My impression was such that multiple layer entries would mean a call to ...
1
vote
1answer
52 views

GeoServer different styles for one layer?

In GeoServer I have a layer created from a database table with the following structure: tableX ( id,name,typeid,description,geom ) The geom field is always a polygon. I also have created 3 ...
1
vote
0answers
17 views

Styles in Portal for ArcGIS

is there any possibility to save style of layers and pop-ups designed in Portal for ArcGIS? If not, what are your best way to apply same style for layers and their pop-ups for new-published layer? Is ...
1
vote
1answer
32 views

Image with background as feature style

I'm working on project that uses Open Layers. I have a problem with styling some features. Is it possible to set as Style image and also specify fill and stroke for it, for example background of the ...
1
vote
0answers
65 views

Applying style from QGIS to OpenLayers VectorLayer?

I have a vectorlayer exported from QGIS and added to an openlayers map. I now want to style this layer according to the style I use in QGIS. It consists of numerous line features and they should be ...
1
vote
1answer
43 views

Setting OpenLayers line labels by angle?

I want to write labels near linestring features on my map. I calculated but it works wrong. My layer style function is like following: layerFeatures = new ol.layer.Vector({ source: ...
1
vote
0answers
52 views

QGIS 3.4.11: Viewing issues: Categorised symbology in point layer expands Legend in “Manage Layers Toolbar”

When I apply categorised symbology to the point layer the legend in Manager Layers Toolbar view expands to the point I cannot see any other layers in the project. This doesn't happen with other types ...
1
vote
1answer
82 views

QGIS, creating layer from PostGIS : add a style

I am creating some layers in QGIS using PostgreSQL connection. I have a python plugin doing the load of the layer in Qgis, this part of the code looks like this : uri = QgsDataSourceURI() ...
0
votes
1answer
42 views

Automatically assigning bins for vector graduated classes within a given range (QGIS 3)

Is there a way to assign graduated bins automatically for vectors within a given range in QGIS3? I am trying to produce a series of maps which share a same legend, but do not necessarily exhibit all ...
0
votes
1answer
47 views

Delete duplicate label in GeoServer Style

I created complex label style in QGIS 3.8.1 and saved it to SLD file then uploaded it in GeoServer 2.15 as a new style, but I should add centroid function to avoid duplicate labels, I tried to add it ...
-1
votes
1answer
79 views

Import ArcGIS Esri_style to QGIS [closed]

I want to add esri_styles (ArcGIS) to QGIS. I went through the web but I haven't found any solutions yet.
0
votes
0answers
55 views

QGIS Rule-Based styles fail to render

I'm working with some Ordnance Survey data, specifically the VectorMap Local (in GML format, October 2018) set and attempting to style the layers using the very handy OS provided stylesheets (here: OS ...
2
votes
1answer
131 views

Adding existing style while publishing a new layer in GeoServer using REST API

I have a function which publishes a layer in GeoServer with the REST API. Now I want to add an existing style in the layer while publishing it. Anyone has any idea where I write the style name or ...
2
votes
1answer
444 views

Unable to use fillColor values from GeoJSON with Leaflet

I have a web page which fetches some remote GeoJSON and displays a combination of marker points, polygons and lines on my map. Within that JSON is the fillColor, fillOpacity, etc that I wish to use ...

1 2 3 4 5 20