Tagged Questions

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

learn more… | top users | synonyms (1)

0
votes
0answers
8 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
0answers
7 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
7 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
17 views

Geoserver SLD external graphic path

<Rule> <PointSymbolizer> <Graphic> <ExternalGraphic> <OnlineResource xlink:type="simple" xlink:href="glass.png" /> ...
0
votes
1answer
35 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
10 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
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
24 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 ...
1
vote
1answer
29 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
31 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
0answers
43 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
23 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
42 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
19 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 ...
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?
2
votes
0answers
40 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
61 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
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 ...
0
votes
1answer
26 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 ...
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?
1
vote
1answer
42 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. ...
3
votes
1answer
27 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 ...
3
votes
1answer
45 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 ...
1
vote
1answer
21 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
1answer
55 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
48 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 ...
0
votes
0answers
23 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
45 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
88 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
104 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
213 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
234 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
3answers
216 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 ...
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 ...
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 ...
1
vote
0answers
45 views

How to load style from postgresql?

Is there any way to load a postgresql style for a vector layer using python? There is a function: loadNamedStyleFromDb (const QString &db, const QString &theURI, QString &qml).Does it ...
2
votes
1answer
62 views

Problem when trying to style negative values in Geoserver via SLD

I have a PostGIS table that holds (numeric) values from -1 to +1. I would like to style these values in Geoserver so I created an SLD file in QGIS which looks like this: ---snip--- <?xml ...
3
votes
2answers
94 views

Show categories in QGIS

I have a .csv file pointing at coordinates. It is a large file that is edited often. In it, I have three groups of data (say A, B, and C). Within each group there are a number of Names, and each ...
3
votes
1answer
47 views

In QGIS, is it possible to save graduated styles to use on different columns? [duplicate]

I'm using QGIS to produce thematic maps of 9 quantities (given in 9 columns in the attribute table) which have values broadly within the same range and I would like to plot them using the same ...
1
vote
1answer
55 views

where styles from QGIS are saved in PostgreSQl

I can save style of a layer in DB PostgreSQL. But where it is stored in Postgres? How can I found It?
2
votes
0answers
50 views

How to convert a microstation cell library into a format usable in ArcGIS?

I am in the process of standardising symbology across CAD and GIS and have decided to use the symbols we currently used for points in microstation. These are stored in a cell library. Does anyone ...
2
votes
0answers
98 views

Rotation by attribute in Geoserver SLD style

I have a table with field calculated by function: NEW."rotationAngle" := degrees( ST_Azimuth( ST_StartPoint(NEW.the_geom) ...
4
votes
1answer
82 views

Leaflet: how to change default style on a point GeoJSON Layer?

I need to change style on a point GeoJSON layer in a Leaflet map. I'm using the following code: function onEachFeature(feature, layer) { if (feature.properties && ...
1
vote
0answers
40 views

Categorized style hiding map

I am having an issue with the style properties of my map. I imported the US Zip Code Tabulation Area map from a government website, and in a separate excel file I have a list of people connected to ...
2
votes
0answers
30 views

GeoServer v2.5.2, webadmin, missing WMS and styles menu

After installing GeoServer v2.5.2 we are missing the Styles and WMS menus. Does anybody seen this, have a clue whats wrong? (The WMS server is working, just the webadmin interface not working.) ...
2
votes
0answers
31 views

access point layer representation in qgis with pyqgis

I am exporting the style of a categorized point layer with qgis: unfortunately my code only extract the size of the symbol in the definition of the properties of the layer but not the ...
1
vote
2answers
69 views

How do I black out all polygons except one using Geoserver SLD_BODY= parameter in GetMap URL?

I am trying to use the SLD_BODY= parameter to set a style that will black out all polygons except one; the remaining polygon should be transparent. However, the image comes back with all the polygons ...