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
14 views

Addin to Style Legend

I created an arcpy script to apply a style to my legend from my style template and it works when using the module within arcmap. But i want to add it as an addin button. import arcpy import Python ...
0
votes
1answer
13 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
25 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
54 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
36 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
53 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
30 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
20 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
30 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
30 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
16 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
29 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
24 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
39 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
22 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
35 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
25 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
48 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
12 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"...
5
votes
0answers
69 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 (...
2
votes
0answers
29 views

Searching styles for indoor maps

I have data that represents Airport floor plans stored in GeoJSON format. Are there any standards, guidance, or good practices for Indoor Maps Styling? Any references or resources would be useful.
1
vote
1answer
83 views

How do I access stroke color and width of a simple marker with python in QGIS?

I'm trying to set up style properties of a vector layer using python. I was able to modify the marker properties but I cannot modify those of Simple Marker, like width or color. Here is my code : ...
0
votes
0answers
22 views

Node incorrect arrow styling [duplicate]

Is there any way to create arrow styling (but with one head only) so that it is consistent with vertex? I have tried all combinations of 'curved arrows' and 'repeat arrow on each segment' but they ...
0
votes
0answers
9 views

Keeping Styles when changing Legend entries

I have edited the styles for a categorised column that was originally set to random colour. Now I want to add another descriptor to the legend (from another column) using the Concatenate function, ...
3
votes
1answer
55 views

Using expressions to relate column to layer style in QGIS?

I have a QGIS project with N layers, each pointing to the same CSV file with columns "1_1, 2_1, ..., N_1". I would like each layer to refer to its respective column (Layer 1 -> column 1_1, and so on) ...
1
vote
1answer
36 views

Renderer and Rules in QGIS

This question is somewhat involved, so please bear with me. I am updating several plugins from QGIS 2 to 3. Most of them include accessing spatialite databases and creating layers from the various ...
2
votes
0answers
21 views

QGIS configuration: Import Style Libary

I would like to script QGIS to import a style library as part as a configuration for a new user. By Python commands, how do I instruct QGIS to do what a QGIS user can do with the "Import Items" ...
2
votes
0answers
22 views

Using icons sprite sheet in QGIS?

I am trying to convert a .yaml style file to QGIS style file. The yaml file has a sprite sheet for displaying icons. I did a little search on the Internet but couldn't find anything useful. Below ...
0
votes
0answers
28 views

GeoServer could not show the layer by SLD style

I am trying to show simple classification of semi real-time data by using PostgreSQL v.1.20, QGIS 3.4, and GeoServer 2.15.1 The idea is symbolized the field of 'Statusparkir' in table parkir_conn. ...
1
vote
2answers
54 views

Avoiding invisible points when using fixed style in QGIS?

We often need to load measured data using predefined color style to make it simple and easy to compare layers with each other. We have something like this: the problem is that sometimes there are ...
2
votes
1answer
60 views

GeoServer SLD applying two styles for one layer

How can I apply two styles (NamedStyle and UserStyle). When executing a query, only the top one is applied. How can I apply both styles? This sld_body: <?xml version="1.0" encoding="UTF-8"?>...
1
vote
2answers
253 views

OpenLayers: Keep text style label in visible polygon area

I have a feature with a polygon and a text attribute. The text attribute is displayed via a text-style above the polygons center. Nothing special and so far so good. The current behavior: I can move ...
0
votes
0answers
104 views

OpenLayers: feature.setStyle overwrites style of Select interaction

let's say I have a vector layer created from 2 features. The vector layer has style set to green color. There is a select interaction with a style set to red color (in other words, I want to click on ...
0
votes
0answers
19 views

Nested transformation in GeoServer styles

Is it possible to apply nested transformation in css-style (SLD never mind)? For example - I want to extract isolines from raster and then simplify it. Default option is not enough. What is the writh ...
1
vote
1answer
57 views

Load ASCII rasters in QGIS as singleband pseudocolor by default

I'm loading over 400 ASCII rasters into QGIS. They all get displayed as 'singleband grey' by default. Is there a way to change the style to 'singleband pseudocolor' by default? I also want to set the ...
2
votes
2answers
120 views

QGIS 3 how to customize line dash symbology

I want to keep the same line width but specify a much longer dash. The symbology controls in QGIS 3 have changed significantly from 2.X, so the many answers re: line symbology control for QGIS 2.X ...
2
votes
1answer
59 views

Copy the layer_styles table from one database to another?

I am trying to copy the layer_styles table to another database. A quick and painless process is preferred, to make the movement of the layer_styles tables easy to repeat in the future. I have tried ...
1
vote
0answers
40 views

Visualizing part of the attribute table in QGIS

I have a shapefile with a long attribute table made of different columns. Some columns have several levels (es. "Year": 2009, 2010, 2011,... or "Season": autumn, spring, summer, winter) and other ...
3
votes
1answer
73 views

Nested rules in QGIS 2.18

I work with QGIS 2.18. I have a polygon shapefile with two atrributes: id (unique for each polygon) and type. I visualize the shapefile using the "type" attribute, but I would like to add a nested ...
0
votes
0answers
30 views

QGIS Styles: How do I save rendering preferences in a style for future automation?

The following is in regard to a point layer in QGIS 3. Under Layer properties > Rendering > 'Refresh layer at interval (seconds)' I have set the interval to refresh every one second. The point ...
1
vote
2answers
106 views

QGIS 3.4, how to add .qml style to sink in processing

How can I import a .qml style from a file and apply it to a sink? In QGIS 2.18, I used something like that script: output=QgsVectorLayer ('Point?crs=EPSG:2154','output', 'memory') path_style='./...
0
votes
1answer
318 views

How to change the color of GeoJSON layer?

I want to show my road network in red color. How can I change this default color of the road network. Where should I attach style property? var roadNetwork = new L.LayerGroup(); $.getJSON("{% url '...
0
votes
1answer
28 views

GeoServer - Render style of points based on URLs saved in a field of the table using YSLD

I am new to styling in GeoServer and was wondering if there is a way to style points in a table based on the external URLs defined in one of the fields in that table. Let's say I have a table in ...
0
votes
0answers
14 views

Style data getting lost while importing KML using ogr2ogr

I am trying to import the KML data generated from Google Earth into PostGIS using gdal(ogr2ogr). <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="...
0
votes
2answers
40 views

Adding GeoJSON tile set to an existing map

I'm confused on how to add my GeoJSON tileset to an existing map built with a default style. Do I add the GeoJSON by ID or by style? Here is what I'm working with now.l Added .geojson to Tilesets as ...
1
vote
1answer
62 views

Maintaining Borders when Merging shapefiles?

I am trying to merge two layers of a map which includes the state and county levels. I was able to edit the borders to look how I want, but when I merge them I am struggling to keep the style ...
1
vote
0answers
23 views

vectortiles: change style of basemap instead of data

I'm using Mapbox-GL-Leaflet bindings on Leaflet to style my vector tiles. I'd now allow the user to switch a style using Leaflet control. The easiest way would be to use LayerControl for this. Since ...
0
votes
0answers
34 views

QGIS road style appears blocky, I want it to appear continuous. Is there a style merge function or something similar? [duplicate]

If you look closely and see the main roads, they break down into blocks [][][][]. I was wondering in QGIS how can I have them appear continuous and not blocked up as shown below. This is one file ...
1
vote
1answer
46 views

Missing values for Choropleth Map in QGIS

I am creating a Poverty Choropleth from a vector file using polygons to represent each county in the United States. I joined the poverty Excel file with a text file to convert the poverty column from ...