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

learn more… | top users | synonyms (1)

0
votes
1answer
309 views

How to change the style of a vector layer on a button click

Is there a way to change the style (e.g. color) of a vector layer on button click? I have defined a vector layer like this: new OpenLayers.Layer.Vector("WFS", { style: myStyle, ...
2
votes
0answers
107 views

QGIS WMS Server

I have successfully installed QGIS Server on Ubuntu 10.04 Lucid. The QGIS project file I want to publish as WMS was created with QGIS 2.6.1 The data is stored in shapefiles, the GetCapabilties request ...
1
vote
0answers
36 views

Is there an automatic way to reduce the legend according to layer content?

I have style-file with max. amount of types. Some shp-Files doesn't have alle these values. When I load the sld-File there always drawn the max. count of the values. Is there any automatically way to ...
4
votes
2answers
134 views

Is it possible to copy a graduated scale from a polygon to a point layer in QGIS?

I have a polygon layer (represented by cells) and a point layer. I've used the graduated symbology with the polygon layer. Now I'd like to export this graduated scale to the point layer. The field of ...
1
vote
1answer
77 views

Can I style a feature point based on its id?

I wonder if its possible to style a feature point which belongs to an Open Layers vector layer with points by using its id. For example I have in this layer 3 points with ids: a,b and c. Right now ...
2
votes
1answer
54 views

Display the size of the dot based on the value [duplicate]

I import a CSV File and for each coordinate, I get a point in the map. Can I set a column for the value. Then the size should based on the value have a special size. Or based on all values, it should ...
1
vote
0answers
45 views

“mapinfo qgis style converter” : error message

I would like convert a big point layer from .Tab toward .QML thanks to the plugin called "mapinfo qgis style converter" . The symbology of my layer is quite complexe (variables of coulours, shape, ...
2
votes
2answers
185 views

QGIS Layer Style - Adding intensity/color if elements overlay

I have a layer with thousands of points. I have been asked to represent this layer in way that can be easily seen the level of concentration of points in the layer. So when there is much point ...
3
votes
1answer
534 views

Convert mapinfo styles toward qgis styles

Up to now, I has worked with mapinfo. I have a big vector layer (points) with a complex symbology. For several days, I gave up mainfo for qgis. Is there a way to converting my mapinfo files (.tab) ...
3
votes
0answers
39 views

How to display features only if labels are displayed?

In my maps there are several point layers, and each layer has a different labelling rule and priority. Sometime the point density is too high and the labelling engine is not displaying some labels, ...
2
votes
1answer
1k views

Can multiple users access ArcGIS styles on server at same time or only one?

Running ArcGIS 10.0 in our environment. I created a styles db and saved it on the server. Can multiple users access the styles at the same time or only one? Second, after experimenting I can add ...
2
votes
1answer
123 views

Use 2 different symbologies on the same feature QGIS

I have data symbolized with different categories Each category has a field for different symbology style like the table below. Is it possible to visualize the same category of data with in ...
1
vote
2answers
75 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 ...
6
votes
1answer
374 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 ...
0
votes
0answers
725 views

OL3 error with Style function

I am trying to style a .json layer with a numbe of classes based on an attribute. I and getting the error below which is apparently in ol3.js based on debugging in chrome: Uncaught TypeError: ...
2
votes
1answer
87 views

Change the stylemap styles after cloning

I'm creating bearing lines with labels. The style is set for all markup using the styleMap I am cloning the styleMap so that the labels don't get overwritten each time the page does a redraw - ...
9
votes
1answer
450 views

How to visualize measure values along linestrings in QGIS?

I have a series of LineStringM geometries. The measure value represents slope (or stream gradient) at each point in the geometry. I love QGIS's robust styling options, but I can't find a way to render ...
0
votes
0answers
326 views

how apply an SLD to vector layer in geoTools java

I have been using geoTools 11.2 in Java 1.8 to display a vector layer with a desired style of it in worldwind 2.0. I have read features and styles and created objects. I have my own defined vector ...
1
vote
0answers
244 views

GeoServer 2.6.1 - No Layers available in GeoExt Styler

I´m searching for a styler to create styles for my data and I stumbled over the styler extension for GeoServer. I that the REST-Plugin is now is integrated in GeoServer and i only had to "install" ...
0
votes
1answer
81 views

How to set zoom level for labels of highway in JOSM?

I'm new in using JOSM and open street map data . I import a shapefile of highways in JOSM and use it for styling the highways.Some highways are trunk ( in open street map standard ) and some of are ...
4
votes
1answer
648 views

Leaflet: Change point icon (geoJSON) on click and change back when clicking another point

I would be very grateful if someone could help me with this. I have a geoJSON (10 points) that is drawn using an icon. I want to change the icon when I click on one of the points and then I want to ...
1
vote
0answers
398 views

style wms layer in openlayers 3

is there any way to style the wms layer using client side script i use js to style wms layer .code is shown below.... but it's not work. /**************************************************************...
1
vote
0answers
35 views

QGIS rasterize a styled layer

I disabled information from a vector layer with a styledefinition. Is it possible to rasterize only the styled information in QGIS?
0
votes
1answer
430 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
1answer
141 views

Adding a Style to QGIS

I've downloaded the VA Geological Survey data set (http://mrdata.usgs.gov/geology/state/state.php?state=VA) that I have already on Google Earth as a kmz. The various formations are color coded. There'...
3
votes
1answer
823 views

Geoserver GetLegendGraphic not working for single rule

<?xml version="1.0" encoding="ISO-8859-1"?> <StyledLayerDescriptor version="1.0.0" xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd" xmlns="http://www....
3
votes
1answer
70 views

ArcMap does not “remember” linked custom .style files

I have a two sets of custom .style files that I would like to have ArcMap load every time I open the program. (Ex: the thematic color ramps from Color Brewer.) It's a small thing but I don't want to ...
3
votes
1answer
122 views

Is it possible to hatch format railroads in leaflet?

Within mapbox tilemill it is possible to make make rail-roads like this: To achieve this you need to write the following code: Source #railroads { ::line, ::hatch { line-color: #777; } ::line { ...
2
votes
1answer
84 views

How to switch rule-based styles in loop?

I'm a working on a QGIS script that could activate/deactivate rule-based styles of the vector layer in a loop (one active layer per iteration). On the every iteration this scenario should: Activate ...
2
votes
0answers
49 views

What does the Join button in the categorized style tab do?

I'm just studing gis, and I use QGIS. I have found in the layer properties some JOIN and don't understand how can I use It? Maybe someone can help me to undersan it, thank's!
1
vote
1answer
297 views

How to define layer style for KML layer within OGR Virtual Format?

I have the following OGR virtual format data source, which includes a few GeoJSON files and one KML file: <OGRVRTDataSource> <OGRVRTUnionLayer name="union"> <GeometryType>...
1
vote
0answers
153 views

How to apply colour ramp to user-defined range of values for contour lines?

I have contoured elevation data, across a number of shapefiles, at 10m intervals. Each tile has a different range of values (min - max). Under Style > Categorized, I can only apply the colour ramp to ...
3
votes
0answers
135 views

Could not set a workspace style as layer's default style using REST API

I am posting this data to DATA_ONE {"layer": { "enabled": true, "defautStyle":{ "name": "My_Roads_Style", "workspace": "My_Workspace" ...
2
votes
0answers
362 views

Geoserver SLD scale based view for multiple geometry styles

I have a FeatureStyle that draws line and adda an arraow to end point of the line. And I want to see this line and arrow by scale. So I specified a MaxScaleDenominator property. Now line is not ...
4
votes
1answer
1k views

Geoserver SLD external graphic path

<Rule> <PointSymbolizer> <Graphic> <ExternalGraphic> <OnlineResource xlink:type="simple" xlink:href="glass.png" /> ...
1
vote
1answer
2k views

OL3 the text is incorrectly aligned

Using OpenLayers3 I have observed an incorrect alignment of the text when styling the features of the Cluster source. Also the baseline of the text appears to be ignored. The below code sample (or ...
0
votes
1answer
267 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 OpenLayers....
2
votes
1answer
317 views

Using WMS external SLD with OpenLayers application

I want to use external SLD file in my OpenLayers application. So I created WMS layer like this: var ly= new OpenLayers.Layer.WMS("mylyer", serverurl, { layers: "PGS:...
1
vote
1answer
54 views

How to smooth lines in MapServer 5.6.8?

I have a map of property lines in MapServer and the lines look rough and have jagged edges and I wonder if there is anyway to make the lines appear smoother and more rounded in Mapserver 5.6.8? The ...
1
vote
1answer
35 views

Easiest way to add layers to QGIS [duplicate]

I have OSM data that I've loaded into a Spatialite database now what's the easiest way to get it to look like OSM? I shouldn't have to add and style each layer individually but I can't figure out what ...
0
votes
2answers
109 views

How to make openlayers features externalGraphic reappear after hiding

I'm displaying a vector layer with pois, generated from a text file: lat lon icon iconSize iconOffset title description 56.030325 14.4774116666667 http://www.medinsbiologi.se/hano/Foto....
2
votes
1answer
456 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
84 views

Access vector layers features

I have an openlayers vector layer with features added from a text file. I am now trying to access these features via their attributes (if layer.features.attributes.some_attribute equals to something ...
1
vote
1answer
272 views

Can Virtual Fields be used for a rendering style?

In QGIS 2.6, creating a virtual field for a layer and adding up 2 integer fields work fine. I get the correct results and I can use that field for styling. However, when doing a Joins with 2 layers ...
0
votes
1answer
182 views

Is there a way to remove shadows of piechart of GeoServer

Is there a way to remove shadows of piechart of GeoServer (Eastwood library)? GeoServer always makes shadow in piechart, while the original Google piechart API does not have shadow. Note: The ...
2
votes
1answer
290 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?
2
votes
0answers
644 views

How to put a piechart <Graphic> in <TextSymbolizer> of a Geoserver style?

I reckon that GeoServer layer label style has excellent feature of TextSymbolizer where text label can be positioned relatively on centroid of VISIBLE PART of polygon, as oppose to a geographically ...
3
votes
1answer
200 views

One vector data layer with different styles in QGIS

I have one layer of vector data that I would like to show in two different styles. Is there a way of accomplishing this in QGIS? I've solved it now by duplicating the the vector layer and add ...
4
votes
1answer
120 views

Is there a public repository of common formating styles for QGIS? Specifically for Tiger data?

I have downloaded the Tiger data for a map I'm working on and wonder if there is somewhere I can download the common formatting styles for these shapes so I don't have to reinvent the wheel. For ...
0
votes
1answer
150 views

GWC tiles getting deleted for grouplayer when i change one layers style that is associated with group layer

can anyone face issue of GeoWebCache (GWC) tiles automatically getting deleted when a layers style is changed that is associated with group layer. Normally it should not happen like this., but i have ...