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

learn more… | top users | synonyms (1)

2
votes
3answers
2k views

Data-defined Styles in QGIS

I have downloaded a shapefile of bedrock geology. I need it to be displayed as it should be with the style applied. The supplier will no give me a qml. but i have noticed in the .dbf file the Cyan ...
4
votes
2answers
576 views

Setting rendering order of line layers in QGIS

I have a dataset where different road types are in separate layers, i.e. motorways, primary roads and secondary roads. In turn, each layer is subdivided by embedded codes into different sub-types - 4 ...
8
votes
1answer
588 views

How to remove trailing zeros from QGIS Graduated Style Class labels?

I'm sure I've seen a solution to this before but now I can't find it. When using the graduated fill style in QGIS I get lots of trailing zeros in the labels. This makes my legends look messy in the ...
5
votes
2answers
239 views

Unable to stylize as pseudocolor render type on MAC OSX

In a raster layer's Style Properties, I can choose pseudocolor render type, and choose a color ramp and classify the raster. However, when I click the 'Apply' button, or click 'OK', the ...
2
votes
2answers
683 views

Converting ArcGIS style (symbology) to font for MapInfo/OpenGeo?

This is related to Retain ESRI symbology in Mapinfo TAB As a workaround I am wondering if I can save all my ESRI symbology from the lyr files created using the script below to an ESRI style sheet and ...
1
vote
2answers
2k views

Style file to QML or SLD

I have downloaded a dataset from a government organisation. it comes with a .style file. I use QGIS 1.8 on windows 7. Is there a way to use the .style file as a qml or sld? I have tried simply ...
5
votes
3answers
4k 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 ...
4
votes
1answer
2k views

How to use a sld file with Openlayers using OSM data?

My app, made with openlayers, displays building data called from overpass api. var data_url = "http://overpass-api.de/api/interpreter?data=(way[building](bbox);node(w););out body;"; //main working ...
4
votes
1answer
1k views

Does anyone display OpenStreetMap through MapServer, ArcGIS for Server or Geoserver?

I use Windows OS. The data (OpenStreetMap) are stored in a postgres/postgis database. How do I display this data correctly? Update: Now I use: geoserver-2.3.5.exe, ...
6
votes
2answers
4k views

How to change DEM's gradient colour?

I'm a newbie about GIS. I'm from Italy and I've got a *.tif file of my region. I've loaded it has raster but I have a question: The dem has a gradient colour magenta. How change this colour to ...
4
votes
3answers
404 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 ...
3
votes
1answer
4k views

How can GeoJson polygons be colored programmatically using OpenLayers?

I'm experimenting with dynamically setting the color values of a geojson polygon. In my geojson file, there is an attribute for each polygon called pop_den. I am trying to update the fillcolor of the ...
2
votes
4answers
805 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 ...
4
votes
2answers
3k views

How to Edit Reference Styles in ArcMap 10

Within the Symbol Selector > Referenced Styles How does one edit (rename, delete, etc.) the referenced styles? Clarification: I don't mean changing the look of the symbol using the "Edit Symbol" ...
2
votes
1answer
166 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 ...
1
vote
1answer
2k views

How can I style OSM data in geoserver? [closed]

I've been trying to style OSM data imported using osm2pgsql and served through geoserver. The tables generated by osm2pgsql are: planet_osm_line, planet_osm_point, planet_osm_polygon, apart from the ...
13
votes
1answer
2k views

SLD to Esri lyr file?

Does anybody know if there's a sw/extension to convert an SLD to Esri. lyr format, or to import the SLD directly?
8
votes
1answer
300 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 ...
6
votes
4answers
14k views

Customizing Popups in Openlayers

Is it possible to customize the shape of popups in OpenLayers? For example, I am creating a pop-up using the following approach: var popup = new OpenLayers.Popup.FramedCloud( "popup", ...
5
votes
2answers
3k views

Mapnik style editor

Is there any tool or editor which can shorten the cycle for experimenting on different styles for mapnik. It would be wonderful with something like cloudmade's editor, but with the possibility to ...
3
votes
2answers
416 views

Looking for qml specification

Where I can find qml specification which is used for store symbology information in QGIS? Try to googe it - no result.
3
votes
2answers
2k views

How to change the vertex style for editing?

When I use drag feature, then the circles on the polygon edge has the same style. For example, this OpenLayers site. I need to change it, I mean they need to be a different color. What is their ...
2
votes
0answers
82 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 ...
2
votes
2answers
837 views

Styling OS Vectormap Local in QGIS?

I am attempting to style Ordnance Survey Vectormap Local on QGIS 1.8.0 by using the styling sheets suplied by Ordnance Survey. The styling sheets are available from the OS website ...
2
votes
3answers
1k views

how to change color of feature to mark it as recently modified with openlayers

I am developing a crowd sourced app using openlayers. after user clicks an feature, a popup form is displayed. After clicking the save button, the data is used in processing which takes some time so ...
2
votes
2answers
481 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 ...
6
votes
3answers
2k views

Openlayers - Cloned features get style from original feature

I am having a problem with the styling of a WFS vector layer from GeoServer after cloning features from it and adding them to a new feature. First I create a new empty vector layer and add it to the ...
5
votes
1answer
1k views

how to display polygons as points until certain zoom level?

can somebody tell me how to display polygons as points until you zoom to some level. I'm speaking about OpenLayers. So, for example, if the zoom level is less then 10 than it should display feature as ...
4
votes
2answers
107 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 ...
4
votes
3answers
2k views

Is Geoserver's “styler” plugin dead?

The "Styler" plugin for Geoserver promised flexible styling of your data, using the GeoExt library: The user guide tells you to first install the REST plugin, and then extract the styler zip file ...
3
votes
1answer
45 views

Leaflet + GeoJson = problem with style

I got my first leaflet + geojson project partly working! (even the popup with content from the geojson file!) but I still have a problem with style the geojson (export from mapbox) file has point, ...
3
votes
1answer
423 views

How to set drawing style for QgsRasterLayer in QGIS 2?

I am using PyQGIS. In QGIS1, I can use: rlayer.setDrawingStyle ( QgsRasterLayer.PalettedColor ) but In QGIS2, I got some errors. I follow pyqgis developer cookbook, put some demo scripts in ...
2
votes
1answer
89 views

Is it possible to create Rule-Based Styling with $geometry intersecting a second layer?

I am trying to create a rule-based style based on geometries from another layer. I have found an example that does exactly what I want, except that it uses a geometry from WKT: intersects( ...
2
votes
1answer
378 views

QGIS 2.0 - 2.4: Color Ramps Missing?

Since QGIS 2.0.1 the default color ramps and styling symbols seem to disappear for some users. For me, this started with QGIS 2.0.1 and still consists with 2.4. I can neither choose Smybols when ...
2
votes
2answers
435 views

How can I create a legend with the new data defined symbols functionality?

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 ...
1
vote
1answer
128 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"> ...
1
vote
0answers
65 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 ...
1
vote
0answers
146 views

SLD style definition from GeoServer to Drupal

I've been experimenting with the SLD style definitions in both GeoServer and Drupal. What I want to achieve is to create a new style in GeoServer (by a curl operation, but I know how that works) and ...
1
vote
1answer
2k views

OpenLayers - draw feature with style, lost after map redraw

The function that I am trying to work on is: click on a feature and change its color. I tried to approach this by first recreating the feature with custom style: layer.drawFeature(feature, myStyle); ...
1
vote
1answer
898 views

Openlayers - Vector Layer - Combining hide/show features using style property

I am trying to filter vector layer features according to their attributes. I have 4 check boxes: type_1, type_2, shape_1 and shape_2 Note that I am using Extjs for interface. at beginning I could ...
0
votes
2answers
31 views

Style a layer based on an attribute from geoserver in OpenLayer3

I want to take attribute from field_1 in geoserver to show at open layer 3 this is the script var style_titik =( if (feature.get('field_6') === '4') {var b2 = new ol.style.Style({ image: ...
0
votes
1answer
160 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", ...
0
votes
1answer
95 views

Reuse same style settings for chloropleth maps based on different datasets

I am new to QGIS. I have been using MapInfo for a couple of years, but I am considering to switch to QGIS. So far I like it, but there are some things that I haven't found out yet. I want to make ...