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

learn more… | top users | synonyms (1)

4
votes
1answer
744 views

Geoserver SLD external graphic path

<Rule> <PointSymbolizer> <Graphic> <ExternalGraphic> <OnlineResource xlink:type="simple" xlink:href="glass.png" /> ...
0
votes
1answer
195 views

Openlayers stylemap label not working wfs

I have created a style map like following: var scadaPointStyle = new OpenLayers.StyleMap({ "default": new OpenLayers.Style("null", { "rules": [ new ...
3
votes
2answers
322 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
2answers
65 views

Import file format with colors

I am very new to QGIS, so please excuse me if my question seems stupid to you. I have a small question regarding setting manually colors for points and lines. I have a bunch of nodes and vertices to ...
3
votes
2answers
185 views

Multi label with mulit placement in OpenLayers

I have a vector layer in OpenLayers. It has some attributes like left, right, top, bottom, etc. I want every feature to be multi-label (to have more than one label). The javascript code is as follows: ...
1
vote
1answer
25 views

How to export Mapnik style to XML?

I would like to create Mapnik style using Python API and export it to XML-file. Creating style part is clear enough API has sufficient documentation. But I wasn't able to find function that does the ...
0
votes
0answers
29 views

Cartodb: Linking social data to road color scheme

I am recreating this "smelly maps" project on cartodb. I'd like to create symbology on roads (IE: color roads red,blue,green,yellow) based on the information I am receiving on social media. View ...
3
votes
1answer
36 views

How to fully Style a marker in leaflet?

Styling a marker is possible with pointToLayer I dont know how to get a marker change style for mouse over and for click etc.... var map = L.map('map', { zoom: 14, ...
5
votes
1answer
396 views

QGIS 1.8 fails to rotate point geometries with rule-based style

I have to do some visualizations in QGIS (1.8.0) and up to now I've been very happy with the new Dialog "Layer Properties -> Style", using the rotation-field to rotate Point-Geometries visualized by a ...
4
votes
0answers
39 views

Different styles in same label

I have a multiline label made of 3 attributes made through an expression like: "Length" || '/' || "Level" || '/' || '→ ' || "Bearing" || ' ←' I'd like to make the Length and Level lines in ...
2
votes
2answers
269 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
37 views

MapBox GL geoJSON markers disappear when custom style loaded

I am using this example to load geojson points to to a mapbox basemap. I view it on a browser locally and it works. When I change the style reference to my custom style, the style will display, ...
1
vote
1answer
39 views

How to write a string based rule, e.g. If “Name” contains 'NRG'

I have created a field called 'Name' in QGIS and I wish to create a rule-based style for a gridded vector. The grids are either 'NEP1' or 'NEP1NRG' etc. with values to 5000+. I want a rule to colour ...
0
votes
1answer
32 views

Can I change the width of a line in a GeoServer WMS layer through OpenLayers?

I have a layer in geoserver with an SLD style, which I display in a map web app using OpenLayers2. I want to know if there is a way to change part of the style (the width of the line geometry) through ...
1
vote
1answer
14 views

GeoServer CSS styles Submission Issue

I tried to add more than 3 rules of css styles, whenever I tried to add 4th rule, i can't submit the style in geoserver 2.8.1. please find the css styles I used below. /* Default Style less than a ...
2
votes
1answer
9 views

Line offset issue with Geoserver

I'm using Geoserver 2.6.2 and QGIS 2.10 to check my WMTS display. According to the documentation, I have tried 2 different ways to draw a line offset for a line-type layer, but none is working ...
0
votes
1answer
205 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
11 views

How to position regularly-spaced arrows along line with Geoserver?

I'm using Geoserver 2.6.2. I would like the arrows I've positionned on linear features to be regularly spaced. The fact is that what appears as a line is in fact composed of several lines of different ...
1
vote
1answer
12 views

How to position direction arrows on lines' sides with Geoserver?

I'm using Geoserver 2.6.2. I need to represent direction arrows for line features. I have managed to position such marks on lines centroid but I need to position these arrows on the side of the lines. ...
2
votes
1answer
73 views

Colour coding vector layers?

Based on a previous post, I tried to implement this in the expressions tab: CASE WHEN "dBM" <= 0 THEN '255,0,0' WHEN "dBM" > 0 AND "dBM" <= 20 THEN '255,255,0' ELSE '0,255,0' ...
1
vote
0answers
20 views

Openlayers style function not working

I'm trying to make a vector layer factory function of sorts and I'd like the styles to be as flexible as possible so I've followed various examples and arrived at something which should work but it ...
0
votes
1answer
35 views

How to Convert SLD to CSS style in geoserver 2.8.1?

I am trying to convert SLD to CSS styles in latest geoserver version 2.8.1. i have added css plugins(from geoserver-2.8.1-css-plugin.zip) but not working properly. Is there any other plugin for ...
6
votes
1answer
253 views

PostGIS “Overlay” Style Union, not “Dissolve” Style

I'm trying to use PostGIS to do a 'union' of polygons. When I Googled "PostGIS Union", I found the ST_Union function, which performs what I would call a 'dissolve,' not a Union. What I actually want ...
2
votes
1answer
50 views

Why QGIS 2.12 “forgets” selection colour opacity settings?

I have few vector layers which I need to edit frequently. I'd like to be able to see through the layer when it's selected. I changed selection colour from both: Project Properties General settings and ...
9
votes
1answer
313 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 ...
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
0answers
25 views

SVG external graphic fails in Geoserver

I'm using Geoserver 2.6.2. I need to use a SVG file as an external graphic to style a points layer. When I open the WMS layer in QGIS, the points are not displayed. This is not happening if I use a ...
10
votes
1answer
846 views

How to automatically format the legend labels? in QGIS

I have to do 10 maps (for a start) with "style" -> "graduate" with quantile mode. I need to format the label of the different ranges so that the legend looks comprehensible: Instead of having 1.0000 ...
2
votes
1answer
77 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 ...
1
vote
1answer
21 views

Manual range selection for graduated style vector layer in QGIS?

I'm working with QGIS 2.12.1-Lyon in Ubuntu 14.04 LTS. I really like the features of this nice program but I'm badly missing one thing. Quite regular I'm working with differences. For displaying I use ...
5
votes
0answers
52 views

Styling polyline to view which part is above another in self intersection using QGIS?

I need to view a polyline constructed from waypoints of a gps track, that has self intersections in curves, like an exit loop from a highway. I need to visualize it in a way that allow to know which ...
0
votes
1answer
36 views

CSS Styling Torque in CartoDB

I am trying to make a map that would show the total load of a bus. I have plotted the route and set up the time constraints. The ellipse is moving and seems to work fine, but when I try to style the ...
6
votes
1answer
331 views

How to get the file name of current style using PyQGIS?

I get the name of the current style file using layer.styleURI(). Then, I change the style file using layer.loadNamedStyle(different_filename). However, when I call layer.styleURI() again, it ...
2
votes
1answer
188 views

Tree symbol style set?

I am looking for a set of 2d tree symbols style for a landscape plan. I got an old one trees.avi that I can't import to 10.0. Can anybody link me to one?
0
votes
1answer
325 views

GeometryCollection styling in Geoserver

I am trying to style an GeometryCollection geometry data type from PotGIS table in Geoserver. I have not found any examples on the Internet how to do it nor is it supported in Geoserver or not. When I ...
1
vote
0answers
57 views

OS Master Map Styling in QGIS using QML/SLD

I am trying to apply stylesheet that I downloaded in qml format from GitHub of Ordnance Survey https://github.com/OrdnanceSurvey/OS-VectorMap-District-stylesheets/tree/master/GML%20stylesheets ...
5
votes
2answers
199 views

How to change the display order of proportional circles in QGIS 2.10?

I'm making a map with proportional circles based on point data. I want the biggest circles to be displayed below the others and the tiniest circles above. Unfortunately the default view is different : ...
0
votes
2answers
104 views

Problem in Using fonticon at openlayers 3

I'm developing an application using openlayers 3.11.2. I have a point layer. I want to style this layer using font-icon base of this question. When I use FontAwesome fonticon, It work correctyl, But ...
4
votes
1answer
49 views

Combining 2 different symbologies in QGIS

I've got a layer (road axis) with 2 different attributes : one with the amount of trafic, another with the number of people living next to this road. As symbology for the trafic amount, I like use ...
1
vote
0answers
20 views

Custom Label for openlayers 3 features

I have LineString in openlayers-3. I want to set 2 label for this feature In the start and end of the feature. An example is as follow: How Can I do this labels?
0
votes
0answers
39 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: [ ...
1
vote
0answers
30 views

Styling points with shapes and graduated symbology in QGIS

I have a point vector layer based on a .csv file. I am trying to show categorical data (seasons) and continuous data (catch per unit effort, CPUE) at sampling sites that get revisited. I have used ...
3
votes
1answer
53 views

How to batch produce a state map with individual counties highlighted?

I'm working on a basic choropleth map that visualizes one variable for all the counties in a single state. I want to create a map for each county that highlights (or adjusts the border style for) the ...
0
votes
0answers
25 views

Creating style file from SLD file for ArcGIS?

I was using GeoServer and created style files. Now I have switched over to ArcGIS and have a SLD file with different zoom extents and symbology. I need the same commands and symbology in ArcGIS. How ...
1
vote
1answer
46 views

QGIS Polygon edge style based on adjoining feature?

Is there a way to change the style of only PART of a polygon's border in QGIS? I would like one or two edges of certain polygons to render a different color, or not at all, depending on the type of ...
0
votes
0answers
30 views

ol3 styleFunction not called when in 3D mode with ol3-cesium

I'm using ol 3.11.2 with ol3cesium 1.10. I'm using styleFunctions to style my layers, but in 3D mode, the styles which use an icon for image, like: new ol.style.Style({ image: new ...
1
vote
0answers
21 views

Size based scale problems in point displacement styling

I am trying to style shapes for a continuous variable by size in point displacement. I used point displacement because I have multiple sampling events for sites. I styled my categorical data with ...
2
votes
1answer
204 views

How to apply the same style to different columns?

For many of my datasets I have the same imported data duplicated numerous times, each iteration displaying the data values for a different column (in my case it's fish catch weight per gridded cell ...
3
votes
2answers
64 views

Styling point displacement for 2 variables QGIS?

I have a dataset with multiple sampling events that I want to style by season (or "temporada" in my attribute table) and "EP Chinook". Data is from a csv file. I styled with point displacement to ...
2
votes
3answers
529 views

Creating legend with new data defined symbols functionality in QGIS?

I have a large geology data set that I need to display using an industry standard set of symbols and colours. The symbols and colours are attributes of the data. I have been using the data defined ...