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

learn more… | top users | synonyms (1)

1
vote
0answers
5 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"> ...
0
votes
0answers
9 views

I'd like to change the style of a polygon based on its size in Mapserver?

I would like any polygons on a certain layer that are larger than 40,000 square feet to draw as transparent.
1
vote
0answers
35 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 ...
2
votes
1answer
191 views

How to make labels' size relative to the map in QGIS1.8?

I want to make my labels' size changed automatically with the scale of the map,so in the menu of "Layer labeling settings",I set the Text size" in map Unit".However,the labels in the selected layer ...
5
votes
1answer
251 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 ...
2
votes
0answers
10 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
11 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 ...
1
vote
0answers
20 views

Geoserver SLD external graphic path

<Rule> <PointSymbolizer> <Graphic> <ExternalGraphic> <OnlineResource xlink:type="simple" xlink:href="glass.png" /> ...
0
votes
1answer
13 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 ...
0
votes
1answer
46 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 ...
1
vote
1answer
23 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") ...
0
votes
0answers
10 views

QGIS SLD files not working on geoserver 2.5 [duplicate]

I am using geoserver 2.5.x version. I want to use that created SLD style files with QGIS and use it WMS GetMap. My QGIS version is 2.4 and it creates SLD files version 1.1.0 This is my simple SLD ...
1
vote
1answer
28 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: ...
1
vote
1answer
19 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 ...
0
votes
1answer
94 views

Error with existing OSM QGIS style

I'm trying to use existing OSM style file like those of AsgerPetersen (https://github.com/3liz/osm-in-qgis/tree/master/styles/openstreetmap/geofabrik) or anitagraser's ...
1
vote
1answer
30 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 ...
1
vote
1answer
134 views

How can I style many layers of vector grid once in QGIS?

After I created many of vector grid layers, I now need to style them in a batch system. Is there any way to do this? If that is not possible, how can I use the layer duplicate option to inherit the ...
0
votes
2answers
32 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 ...
0
votes
1answer
589 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
47 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
26 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
0answers
45 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
22 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 ...
0
votes
1answer
100 views

get and change style property openlayers

i need to change the property of some style after its created, and i need to change it with knowing only the string of the property name. i am getting string like "fillColor" and value like "blue", ...
2
votes
0answers
43 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 ...
1
vote
1answer
23 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?
4
votes
1answer
63 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 ...
3
votes
1answer
62 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 ...
0
votes
1answer
27 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 ...
1
vote
1answer
44 views

Vendor parameter <VendorOption name=“labelObstacle”>true</VendorOption> not working?

I am trying to avoid drawing overlapping labels with vendor parameters. I tried below option in different versions of Geoservers (2.2.1 to 2.5.2), its not working. ...
1
vote
1answer
123 views

PyQGIS loading layer style with PostGIS

I'm loading layer styles from .qml files in a Python plugin. I'm about to switch to loading them from a non-local postgreSQL db. I've been looking at the (from QgsVectorLayer (v2.2)) ...
2
votes
1answer
31 views

Loading .style file?

I have a file Trees.style that I'm trying to load into arcgis 10.0 I cant get it to recognize. Can somebody point me to detailed (read bonehead) loading directions?
3
votes
1answer
29 views

Label Style is converting decimal String names to Number

The feature.attributes.fid returns a String value like "9.3210". But on the map, this value is being converted to some number type and on map is showing the value 9.321 (without the 0). var ...
2
votes
1answer
49 views

Non-default icon of OpenLayers Vector Feature

thats propably some minor problem, but i have deadline above my head and i can't get any clue whats wrong with my code, so I decided to come here for help. Im changing from markers to vector layer and ...
3
votes
1answer
47 views

Problem with color ramps (cpt examples and wikicarto 2.0)- QGIS 2.4 – Beginner

I´ve been trying to use some of the color ramps you can find at cpt-city but I have problems with the value ranges (right word?) for each color when loading them. I just don´t understand how to get ...
1
vote
1answer
45 views

How to set an x-offset for my whole linestring/layer?

Supposing I have a layer imported from GeoServer succesfully, and it looks like this: (some will remember me from my previous question. And, yes, that is my city Volos, Greece. There is a map and a ...
0
votes
1answer
60 views

How to use symbolizer in openlayers3

How to use symbolizer in openlyers3? I need to display my line with double dashed. We have option in 2 like symbolizer : {strokeDashstyle:"dash"} Please help me..
2
votes
1answer
131 views

QGIS link values longer than the links?

Can you please help me to correct link rapresentation when the thickness exceed the links. In the image you can see the value on two consecutive links that generate a bad view. I think it depends on ...
0
votes
0answers
24 views

export qgis point symbols per feature

I am currently trying to export the drawn symbol in a QGIS map for a webmap. The current approach is to extract the properties: if i.rendererV2().dump()[0:6] == 'SINGLE' and i.geometryType() == 0: ...
2
votes
1answer
19 views

How to style a Vector layer in QGIS using a numeral of an attribute

I have a simple vector layer in QGIS that I would like to style with numerals based on the ID attribute. For instance, point with ID 1 will show up as the numeral 1. Is this possible with default ...
0
votes
1answer
48 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", { ...
4
votes
1answer
90 views

Horizontal only line thickness in ArcGIS

Is there a way so line thickness only expands horizontally from the centreline? I am making a road condition map and found it may not be truly representable. The red on the left overlaps the yellow ...
2
votes
2answers
105 views

Multiple font markers in shapefiles in QGIS?

I'm making a UK phase 1 vegetation survey map and require to show the dominant plant species in a given polygon. In phase 1 these are shown as 2- or 3-letter codes e g Ri, Cys. These codes need to ...
3
votes
2answers
220 views

Overlaying polygon filled with solid colour with diagonal lines in QGIS

I'm making a vegetation survey map using the UK phase 1 survey colour codes. The code for marshy grassland, for example, is orange overlain with purple diagonal lines. For the moment I've created ...
1
vote
1answer
262 views

Openlayers 3 styling dynamic radius feature performance issue

I am migrating from 2.14 and have some features that come with a radius property. The expected behaviour is that when the users zooms in or out the feature renders without perceptible jumps as with ...
4
votes
2answers
79 views

QGIS renders outlines where none should be

QGIS always renders the borders of a feature polygon. How can I disable this? Even if I set Border style to "No Pen" and the colour is exactly the same for different categories there is a small grey ...
4
votes
3answers
218 views

How do I make data points different sizes based on data?

I am trying to plot sales data on a map using QGIS. I will add the disclaimer that I am a rookie at using the program. I added the different sales types by adding delimited text layers (utf16). The ...
2
votes
2answers
246 views

different labels at various scales

I have a locality layer of neighborhoods and suburbs from a spatialite database. How do I label this single layer with the neighborhood name at a lower scales, but as I zoom out, I would like the town ...
1
vote
1answer
64 views

Syntax to add attributes in a line in the Expression String Builder

I have several columns with certain values, here's an example: | Apple | Banana| Orange | Pear | Expected result | 1 | 1 | 1 | 1 | red | 1 | 2 | 2 | 1 ...
0
votes
1answer
448 views

OpenLayers map add combo in panel

I just want to add combo box on OpenLayers map panal. I dont know how to add combo to openlayer panel so currenly i have set absolute location to combobox , like this http://jsfiddle.net/4zNH6/ ...