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

learn more… | top users | synonyms (1)

1
vote
0answers
13 views

Can I change the precedence when combining “Control feature rendering order” with QGIS symbol levels?

I'm trying to produce a QGIS map style / symbology for processed openstreetmap data. For roads, I'd like to mimic how the OpenStreetMap web tile map "Standard" rendering style (produced with mapnik ...
2
votes
1answer
25 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
1answer
369 views

How to add marker dynamically when clicked on map using OpenLayers 3?

I'm trying to add point (marker) on map click with custom style using OpenLayers 3. I tried this code, but nothing happens when user click on the map: var map = new ol.Map({ layers: [ ...
5
votes
1answer
141 views

Styling border to match fill in QGIS?

In the past I have just manually matched the color of the border to the color of the fill, but this can be time consuming. I am wondering, is there any way to have the program automatically match ...
5
votes
1answer
369 views

Trying to fill polygon fills the entire map

I have been given some shp files to be displayed using Mapserver. Until now I was able to find the correct projections, display the map, and show labels. However, I have problems with polygon colors. ...
2
votes
3answers
328 views

Drawing box arround text in OpenLayers 3?

I need text labels with surrounding a box and a specific fill color. Actually I have the following function which only shows the text but I don't know how to draw a box around the text. Text length is ...
4
votes
2answers
82 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, ...
1
vote
1answer
201 views

how to set default style from particular workspace using gsconfig?

I'm able to set default style for any layer using below code cat = Catalog("http://localhost:8080/geoserver/rest", "admin", "geoserver") layer = cat.get_layer("layer_name") layer._set_default_style(...
0
votes
1answer
194 views

Width and distance when using line patterns in QGIS

I am trying to make a cross hatch polygon fill (example link attached) using the values (defined by law) of 0.1mm for line width and 0.8mm for distance between the lines. But I don't get/see any hatch ...
1
vote
1answer
197 views

Create a simple Natural Earth topographic map with Mapbox

I want embed a Mapbox map on a website and put some placemarks on it (I already did so, but that was a year ago and everything was easier back then ;)). I am a bit confused with the new Mapbox Studio ...
0
votes
1answer
2k views

Draw order (zIndex) of OpenLayers polygons and points in the same layer

My question is similar but slightly different from this one: http://stackoverflow.com/questions/5003349/openlayers-vector-features-z-indexing I have an OpenLayers Vector layer which contains polygons ...
2
votes
2answers
759 views

Openlayers 3 Vector Layer transparency

I'm having a hard time to get my vector features showing as i would like to. I have a geojson file with polygon which overlaps. They are generated with OpenTripPlanner and the features are isochrones. ...
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?
4
votes
2answers
549 views

Using custom styles with Mapnik

I'm setting up a custom tile server using OpenstreetMaps and Mapnik. I've been able to successfully setup the server and serve tiles using it. I'm using the OSM-Bright style right now. I would like ...
9
votes
3answers
657 views

Importing KML and style information into Geoserver

So I'm working on a project that's been in development for over a year, but I only recently got involved. My task involves converting roughly 2,500 KML files into another format, importing these files ...
2
votes
1answer
25 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 ...
0
votes
1answer
278 views

Openlayers selected feature unselecting on map zoom

I have createc a select control and a StyleMap that includes default marker and select marker. var mystyle = new OpenLayers.StyleMap({ "default": new OpenLayers.Style("null", { ...
1
vote
1answer
24 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
1k views

Geoserver SLD external graphic path

<Rule> <PointSymbolizer> <Graphic> <ExternalGraphic> <OnlineResource xlink:type="simple" xlink:href="glass.png" /> ...
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 ...
2
votes
1answer
479 views

Export a style from Mapbox Studio to be used in Mabox GL-JS

I designed my map with Mapbox Studio. However I would like to use my design in Mapbox gl-js. The styles are not CartoCSS but a JSON. Is there a way to export my design to this JSON format? They seem ...
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 ...
-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?
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
39 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
50 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.
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
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 ...
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 ...
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
1answer
7 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
vote
1answer
82 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?
4
votes
1answer
60 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
0answers
14 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 ...
1
vote
1answer
28 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....
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 ...
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 ...
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
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 ...
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> ...