Questions tagged [style]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

Rules and attribute colour of regions and countries [closed]

I want to create a map that will be made up of a world map that has a base colour - I want to then have a different colour for the country of interest and a further different colour for a specific ...
0
votes
0answers
31 views

Change Colour of different countries and Regions [closed]

I want to create a map that will be made up of a world map that has a base colour - I want to then have a different colour for the country of interest and a further different colour for a specific ...
0
votes
0answers
21 views

Programming variable line width using ArcGIS Desktop [closed]

I am trying to make a map of train lines (the New York-area LIRR in specific) using variable line widths. I am using the route shapefile from Open Data NY, but I have a problem. I want the overall ...
1
vote
0answers
20 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
21 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
28 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
73 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
379 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
25 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
107 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 ...
3
votes
1answer
52 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
79 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
23 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
26 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
71 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
29 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
142 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
72 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
45 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
60 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
82 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
0answers
75 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
110 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
38 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
15 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
26 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
48 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
35 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
46 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
75 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
26 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
35 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
76 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
43 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
88 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 ...
1
vote
1answer
195 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
vote
1answer
34 views

Is there a way to use formula in filtering a dataset in Mapbox Studio?

I am very new to Mapbox and was wondering if anyone knew how to filter a layer based on a formula defined for a field in that layer. For example, I have a 'depth' field in the data and I want to ...
1
vote
1answer
33 views

Drilling Rigs Rule-Based Styling

I am trying to do rule-based styling for active drilling rigs in the United States. Basically, I want to have categorized styling (different colored dots) for all companies (field = "OpCompany") ...
1
vote
1answer
99 views

OpenLayers 5: change the color of the highlighted feature

I've made a little script to highlight a feature on hover the mouse My inspiration comes from here. Now I would like to change the color of the highlighted feature. I can do this using style function ...
0
votes
0answers
19 views

PNG, JPG, and BMP images not appearing when using them as picture fill for polygon symbol in ArcGIS Pro?

I am creating a style file for a project I am working on in ArcGIS Pro, and I am trying to use images I created as the fill for some polygons. However, when I choose the image I want as the fill, Pro ...
2
votes
1answer
30 views

Store results including style in vector format for QGIS, ArcGIS [closed]

As I am wrapping up my project, I would like to make my results available for download. There are however many flavors to choose from and I was wondering what format is best. My criteria include: ...
1
vote
0answers
48 views

How to make piechart with YSLD in Geoserver style

It is possible to make piechart style in Geoserver WMS using XML SLD. For this adding chart extension is required. Now, is it possible to make such piechart with YSLD ? Additional info: My ...
3
votes
1answer
81 views

Multiple layers auto-updated when one of them is modified

I just discovered this post and I found what I searched here. But I was wondering if there was a way to have multiple layers (let's say l1, l2, l3, l4) being updated automatically when you change ...
1
vote
0answers
52 views

Use pyQGIS to extract QGIS style as geometry in a DXF

I have a qgis point layer with a complex data driven style: This is the style without other layers: When exporting the layer as Dxf I would like to also export the style so the symbols are visible ...
0
votes
1answer
53 views

Style OpenLayers.Feature.Vector in OpenLayers.Strategy.Cluster()

I'm using the clastering feature in my project. I collect list of points like so: cluster_features.push(new OpenLayers.Feature.Vector( new OpenLayers.Geometry.Point(lon,lat), {heading:deg} )...
1
vote
0answers
47 views

Tooltips In PostGIS+GeoServer

I currently have a layer in GeoServer which consists of a number of PostGIS geometries. They are given color by a color column which is read in as part of the GeoServer style. I now need to add ...
1
vote
2answers
38 views

Problem SLD LineSymbolizer

How can I solve this problem with my SLD code for styles. When I do two scale ranges for a one lineSymbolizer to use another color or another thickness they appear twice in the legend of my viewer ...
2
votes
0answers
50 views

Automatically change symbol modified in style manager using QGIS3

I used Style Manager to add some symbols. Then I assigned them to a feature/layer. But if I change the Symbol / style (only via style editor), the layer will not change automatically. How can I ...
0
votes
0answers
16 views

Create an SLD style for contour curves [duplicate]

I have a database with controur curves generated by gdal_contour -f PostgreSQL -a elevation -nln contour_gdal -i 10 srtm/S23W043.hgt "PG:host=volcano-db user=johndoo password=guesswhat dbname=volcano"...
7
votes
0answers
127 views

Working with QGIS 3 with styles stored in spatialite database

I am working in QGIS 3.4 with a geopackage file (SQLite database) containing orography information (points, lines and polygons). In QGIS, I have defined by hand a style for every layer in geopackage (...