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

learn more… | top users | synonyms (1)

1
vote
0answers
7 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 ...
0
votes
0answers
17 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
117 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
160 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
4 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
41 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
11 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
34 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 ...
0
votes
1answer
16 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? TileMill would let me export tilesets at specified zoom levels. But I ...
1
vote
1answer
73 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
183 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 ...
1
vote
1answer
174 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(...
1
vote
1answer
20 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
55 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 ...
5
votes
1answer
366 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. ...
1
vote
0answers
12 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
24 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 ...
0
votes
1answer
181 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 ...
0
votes
1answer
269 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
0answers
26 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
49 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 ...
9
votes
3answers
593 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 ...
1
vote
1answer
32 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 ...
4
votes
1answer
1k views

Geoserver SLD external graphic path

<Rule> <PointSymbolizer> <Graphic> <ExternalGraphic> <OnlineResource xlink:type="simple" xlink:href="glass.png" /> ...
2
votes
2answers
39 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 ...
4
votes
2answers
489 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 ...
1
vote
0answers
40 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
24 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
28 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 ...
2
votes
2answers
651 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. ...
2
votes
1answer
459 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 ...
1
vote
1answer
38 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
23 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
24 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
1answer
40 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 ...
5
votes
4answers
7k views

How to style points in QGIS based on multiple attributes

While trying to find a useful way having earthquakes displayed, I noticed that it isn't that easy to manage. I'd like to be able to recognize the "Magnitude", "Date", and "Depth" from the style of ...
5
votes
2answers
128 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 ...
2
votes
2answers
32 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]]]} ,...
2
votes
4answers
1k views

Line stroke offset in Geoserver

Does anyone know how to offset a stroke in Geoserver? For example I will color the left side of the street (line feature) red and the other side (same line feature) blue. I believe I will be using 2 ...
2
votes
2answers
123 views

Load style from database in QGIS

Maybe it's a stupid question, but I don't know how to connect layer style with database in QGIS. When I save the style to postgres database in QGIS, it automatically saves the style in the table ...
5
votes
1answer
68 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
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 ...
1
vote
1answer
30 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
1answer
43 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 ...
1
vote
0answers
22 views

How to change the style of a layer in a mapbox?

I would like to change the style of an arbitrary layer in a mapbox, but I can't. I can get the desired layer name, but how to set up this layer style?
2
votes
1answer
24 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
71 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 ...