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

learn more… | top users | synonyms (1)

1
vote
0answers
13 views

How to set the style of a layer, in OpenLayers 3, without auto refreshing the layer?

I want to set the style on run time, but I don't want the layer to auto refresh. I want to be able to perform some changes before I manually refresh the layer. I looked into the setStyle method and ...
0
votes
0answers
12 views

Single value of raster displays as transparent?

I have a GeoTiff raster that I'm trying to style, but a single value (1 of 8) refuses to take on any color. It always displays as transparent. Any idea of why this is / how to resolve it? Working in ...
0
votes
0answers
16 views

Rtl in Ol3 labels

I'm developing GIS application using OpenLayers-3.17.1 . Users can use some labels with both Persian and English. How can I show labels with direction: rtl?
2
votes
1answer
23 views

change width of outline for leaflet map depending on zoomlevel

I want to change the outline of a polygon depending on the zoomlevel. I thought it's easy to implement but there must be something wrong. My polygons dissapear when I try it with this code: to get ...
1
vote
1answer
23 views

Loading style (*.qml file) to layer via PyQGIS?

Is there any way to load a *.qml file to layer and set a style to it in python (pyqgis)? Can I 'get into' this file in console? I want to review it.
4
votes
1answer
54 views

Is it possible to have inheritance in rule based styling on QGIS?

Currently using QGIS to draw some waste water network. Styling depends on the size of pipe (thickness of the line) AND on the status of the pipe (continuous, doted, ...) It's actually fine ...
0
votes
1answer
27 views

raster sytling multiband rendering 0=nodata

Is there any way to set the pixel value 0 to nodata of a raster stack in the multiband rendering type in QGIS? I remember that it is possible to check a box in arcgis for that, so maybe i just ...
0
votes
1answer
9 views

geoserver css categorized marks

I have trouble categorize my markers by category (boolean in this case) in geoserver using CSS. I have tried a few different combinations without success. Simply I want: if true - yellow square, if ...
1
vote
0answers
19 views

S-52 symbology in QGIS

I can load S-57 ENC vector files in .000 format and view the data. I would like to visualise them as the S-52 standard details. These are nautical charts, some more detail here: https://en.wikipedia....
2
votes
1answer
38 views

Rendering based on layer overlap qgis?

I'm a little new to this, is there a way to have features on a layer render only if they overlap with features on another layer? I have roads of a city, and different areas in the city, and I'd like ...
2
votes
2answers
49 views

qgis raster palette won't appear

I am trying to style a new single-band raster with a platted style, but when I choose the ‘platted’ no colors or values appear, and I can’t find a way to add them. QGIS Essen, Win 7.
4
votes
2answers
80 views

How to organise complex styling rules in QGIS?

For example, my "roads" vector layer has the following attributes: road type: primary, secondary, local, track, or path surface: sealed, or unsealed segment type: road, bridge, tunnel, floodway, ...
3
votes
0answers
39 views

Style rule based on feature adjacency?

Is there a way in QGIS to use an expression to define a polygon feature's color based on whether it's adjacent to other features? I would like to achieve something like the following: -If a feature ...
1
vote
0answers
38 views

Using SVG file to fill polygon using QGIS- problem

I try to fulfill polygon with SVG file (which created with inkscape) but when i load the file into QGIS by this way: i get polygon layer with no symbology: Now, i red Using SVG from Wikipedia ...
5
votes
1answer
111 views

How to define border colour for rule-based style using PyQGIS?

I use the following to create a Rule-based style for a given layer which includes defining a label, expression and colour fill: from PyQt4.QtGui import QColor layer = qgis.utils.iface.activeLayer() ...
3
votes
3answers
132 views

Is there an automatic way to create a diverging colour scale centered around zero?

I'm trying to plot a map of the residuals of a linear model. My residuals centre around zero and can obviously go in either direction. Is there an easy way to apply a graduated colour scale to these ...
1
vote
1answer
6 views

How to specify (cross-browser) mouse pointer sets on leaflet control?

Leaflet custom controls might be interactive, when the user can use the mouse on them to perform an action, or non-interactive, when they are used only to show information. This should affect the ...
-1
votes
2answers
70 views

Applying SLD file exported from QGIS in GeoServer - why is color not applied?

I was trying to put style of color classification that was created in QGIS. It works in Geoserver but the colors are not shown. It is always single color. I have read that this is often a problem with ...
0
votes
0answers
13 views

How to color a KML with OGR/GDAL?

So I have successfully created a KML file and from an OSM file. Now I would really like to be able to color the lines of the KML file by using a value I calculated by using the KML. I already found a ...
1
vote
1answer
40 views

How do I know which way line features are oriented?

I'm working on QGIS on a street shp file which has Left From, Left To, Right From, Right To fields fields, building a geocoder. I need to know which way these features are oriented, which I think is ...
-1
votes
1answer
34 views

export tilesets at specified zoom levels from Mapbox

I have created a style with Mapbox. I would like to export the tilesets at specified zoom levels. Is there a way to do it?
1
vote
1answer
81 views

QGIS set default style for layers based on name

I know that it is possible to apply default fill/line/point and colour ramp styles for layers within a project, However... I have a model which spits out raster layers with defined names (e.g. ...
1
vote
1answer
24 views

Saving customized STYLES when upgrading from ArcMap 10.2 to 10.4

In previous upgrades I have lost my personal styles used to create our atlas, and other labelling functions. Any suggestions how I can save these out and reinstall when we upgrade to Arcmap 10.4?
0
votes
0answers
6 views

In geoserver styles how to get stroke colour value from propertyname? [duplicate]

for ex, <Stroke> <CssParameter name="stroke">#0000ff</CssParameter> <CssParameter name="stroke-width">1</CssParameter> </Stroke> in the ...
1
vote
0answers
27 views

How can I style a feature that has multiple values for the same field?

I'm opening a PostgreSQL Table on QGIS which has multiple rows related to the same object (think of how you'd register distinct apartments on the same building). I do get to style it based on any of ...
4
votes
1answer
54 views

Where are the QGIS Style Manager settings stored?

I would like to export all the icons defined in QGIS Style Manager to another QGIS installation in another PC. I've been looking in Windows Registry inside "HKEY_CURRENT_USER\Software\QGIS" but I ...
4
votes
1answer
59 views

How to remove ghost lines around polygons in QGIS 2.12?

I'm trying to remove the very thin, yet visible white "ghost" lines in between polygons. You can see This in the image below. Hopefully you don't have to strain your eyes to see that there are very ...
1
vote
1answer
42 views

Geoserver CSS plugin - combining styles

I'm currently trying to write some SLD styles using the CSS plugin in geoserver. The problem is that the plugin merges single rules into complexed ones, ie. the following code generates 5 rules ...
1
vote
1answer
27 views

Choosing opengis or geotools imports dealing with geotools library?

In some cases, I have to use some classes of GeoTools library. Most of class names are duplicated in org.geotools and org.opengis package. for example, StyleVisitor, Symbolizer, PointSymbolizer, etc....
1
vote
0answers
45 views

Line width proportional to value in attribute table in QGIS

I am visualizing trade flows in QGIS. I am trying to make the line width of approximately 100 polylines be proportional to the associated value listed for each in the attribute table. Several posts ...
2
votes
2answers
50 views

Assign predefined legend style to raster layer via qml in QGIS [closed]

I work with rasterized extracts of CORINE data (V 18.5 gdb) in QGis. My layers however are not depicted in the colours that are standard for CORINE, but in different shades of red. From EEA i ...
1
vote
0answers
13 views

Duplicate an existing geoserver style using gsconfig

I am playing around with gsconfig and trying to assign a new style on a layer I have created. What I want to do is to actually create a new style, which is the same with an existing one. I searched ...
5
votes
2answers
173 views

QGIS symbology: Change symbols outline color without loosing fill pattern

I have defined a layer symbology like shown in the screenshot below (categories are applicable laws however). The layer symbology is defined like this i.e. (no pattern fill): For these three ...
1
vote
0answers
25 views

Represent time with many maps and standard graduation

I want to represent trends over time. So I have 4 diferent maps (e.g. 95' 00' 05' 10') but my problem is in graduation. Is there any form to make the graduation with standars breaks and colors (e.g. ...
1
vote
1answer
41 views

Geoserver SLD: setting fill color from property does not work

I'm trying to style a vector (Point) Layer in Geoserver 2.8 by using a property (attribute field) of the underlying data source. Here's the snippet: <PointSymbolizer> <Graphic> ...
1
vote
0answers
21 views

Style graduated: Clases yes, Illustartion no [closed]

I joined "1980" (Fields on foto) with ¨municipal¨ (the blue one graduate) through ¨CVEGEO¨ value. Then I tried to illustrate with graduate style the AUTO_PARTICULAR value. Result: There is a ...
1
vote
1answer
51 views

qml (or other) style for QGIS

I have to create a map which is near at the MapQuest style, but for some reason I can't use a Lyer plugin, so I'd like to build the "Background" with files from geofabrik. Are there qml styles (or ...
0
votes
1answer
40 views

MapBox GL and styling for data driven labels

I can use the data driven feature to color points, works great MAP.addLayer({ "id": "schools", "type": "circle", "source": "markers", "layout": { }, "paint": { "circle-radius": 8 '...
1
vote
0answers
32 views

QGIS not loading default layer style from PostgreSQL database on startup

I have saved a vector layer style to my PostgreSQL database source. I then amended the layer_styles table record for the relevant layer by editing the styleqml field (just changed the outline_width ...
2
votes
2answers
47 views

How to correctly style GEOJSON (ESRI shapefile) for Geoserver?

I have a geojson file, where features are styled - fill and stroke colours - like this: {"type":"Feature" ,"geometry":{"type":"Polygon","coordinates":[[[15.50487,50.72638],....,15.50487,50.72638]]]} ,...
5
votes
2answers
133 views

A graduated-categorized hybrid styling of features

I am trying to figure out how to do a styling of features on a mapi qgis, that is a sort of hybrid between the categorized and graduated styling. I am doing a map of road trees in a city, and each ...
5
votes
1answer
75 views

How to save qml style including function in QGIS?

I made a style which needs function to work. In my particular case it is calculating azimuth between nodes of rectangles to display "direction". The problem is, if I save the style, the function ...
2
votes
1answer
45 views

Why aren't my integer columns available for graduated styling?

I have a layer with graduated styling based on an integer column. When I duplicate the layer to make a similar styling based on another integer column, none of the columns are available for graduated ...
1
vote
1answer
35 views

How to set the outline color of raster cell (pixel)?

Can somebody please show me how to set the outline color of a raster cell (pixel)? This is what I have right now: This is what I am trying to do: I googled a bit, and looks like it is somewhere ...
2
votes
2answers
29 views

Creating a palette for categorized data displays

I regularly categorize data as follows: Prehistoric = blue Roman = red Anglo-saxon = green Medieval = yellow Post-medieval = brown Modern = grey Undated = white Is there any way to save this palette ...
2
votes
1answer
48 views

QGIS 2:14 - Border show-through on small Simple Markers

On small Simple Markers, 2.20000 mm or less, there is border show-through which I have been unable to eliminate with no pen or transparent border style. This is shown in the group of large and small ...
2
votes
1answer
32 views

How to specify default value for Rotation in SLD?

Am using geotools to render a set of point features. I have SLD for styling point features. The SLD uses an expression to calculate Rotation value based on Angle attribute value of feature. The ...
3
votes
1answer
72 views

Application of preset properties QGIS layer to another imported shp

In QGIS I import the same shp files during days (continuously fieldwork). For processing in QGIS I set the properties of layer (imported shp)- Style, Labels, Actions, Display. In these days I have to ...
0
votes
0answers
34 views

change image of marker in leaflet

This is the code; it works very well //**************************************WFS****************************************************// //**************************************Conteneurs*************...
2
votes
1answer
36 views

where i can add style in this code leaflet

var urlborne = 'http://localhost:8080/geoserver/Gestion-proprete/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=Gestion-proprete:borne&maxFeatures=2000&outputFormat=text/...