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

learn more… | top users | synonyms (1)

2
votes
2answers
2k views

Apply styles to WMS layer

I am working with OpenLayers (and GeoServer) and I am showing a WMS layer with countries in a map. Each object (country) in the layer has an attribute called NAME (the name of the country). I created ...
0
votes
1answer
200 views

Different Styles Within Vector Layer

Is there any way to configure OpenLayers styling method? I have a vector layer and I would like to style the features depending on a value of a flag variables, so I can't use rules. Lets say I have ...
2
votes
3answers
1k 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 ...
1
vote
0answers
62 views

Why do temporary features disappear when hovered over?

With DrawFeature I'm putting new features to my map. With the hover option of SelectFeature it is possible to get feature information when hovering over it. Now I have the problem of disappearing ...
1
vote
1answer
84 views

How to combine use gradient symbols for layer properties excluding 0?

I want to visualize my data by using graduated symbols. Now, there are some objects with value "0", they should not be printed on the map (which I solved by using rule-based symbols). But, anyway, "0" ...
0
votes
1answer
90 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 ...
5
votes
1answer
974 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 ...
0
votes
1answer
149 views

I want to change using C# the style of a set of shapefiles once I have uploaded them or while I am uploading them

I am using C# and the WebRequest class to create a worksapce and then another WebRequest to create a datastore and upload a folder full of shapefiles to a geoserver. However, I would also like to ...
2
votes
1answer
899 views

Changin features' pointRadius based on the current zoom level

I need to have my features change their pointRadius based on the current Zoom level. My questions are: Would it be possible to use Rule Based Styling techniques to overcome the problem? If yes, it ...
1
vote
0answers
129 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 ...
0
votes
1answer
84 views

Why can't I see any joined string fields for categorization?

After the join I can see all my data in the attributes of the card but when I want to select statistics in the tab style to categorize, I don't see them. I see that the real type variables and not ...
1
vote
0answers
149 views

graduated pattern polygon fill

I'm sure this question is really really basic but I appeal to you because I hate the idea that I have spent 20 minutes trying to do such a simple thing... All I want to do is style a polygon layer by ...
0
votes
1answer
217 views

How do I style lines to show gradient colors for two attributes?

I have a layer with the city streets. I have a database with traffic values, including traffic going into the city and traffic going out from the city. I need to show the street links with different ...
3
votes
1answer
602 views

How to get a QGIS useable style file from OS .xml and .xsl files?

Ordnance survey provide some style files to support their vectormaplocal product. The style files appear to come in pairs, similarly named but one with a .xml extension and the other .xls The two ...
1
vote
0answers
614 views

Requesting styled Google Map tiles via URL

I'm not working with the Google Maps API but I'd still like to be able to request styled map tiles. Is it possible to request a styled Google Map tile via a URL similar to the slippy map URL format ...
2
votes
2answers
321 views

How to make corners of openlayers with OSM map rounded?

I'm trying to apply style with border-radius:XXpx to my openlayers map: map = new OpenLayers.Map(name) map.addLayer(new OpenLayers.Layer.OSM()) But rounded corners are hidden by tiles of the map: ...
1
vote
2answers
564 views

styles for QGIS

Could someone point me to a source of line and point styles for QGIS (*.qml) - railways and transmission lines are the first two I've run up against, but I know there will be more.
2
votes
3answers
910 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 ...
1
vote
0answers
27 views

Environmental styles library

i'm looking for environmental symbols, related to berm diagnostic (collapses, subsidences, anthropogenics deposits... Is there any style library available? Thanks in advance, Max.
2
votes
1answer
100 views

Where can I get a comprehensive list of Rules expression operators?

I'm selecting and styling my points layer on a contour map of Philadelphia using Rules Based Styling. (see: Can I use rules based rendering in QGIS to select features?). The filtering process using ...
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); ...
2
votes
2answers
241 views

Executing Styles based on rule Geoserver

I would like to execute a style based on some parameter passed through WMS Rest request. What I am trying to achieve is, while requesting the tile, I want a particular country to be filled in separate ...
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 ...
2
votes
1answer
4k views

how do I position a popup relative to a point in Openlayers?

I have a fixed size FramedCloud Popup that I want to position relative to the point calling it, always above the point and with its right side 50px to the right of the point. I am looking at the API ...
9
votes
2answers
599 views

QGIS Categorized Style: Rearranging values so that it doesn't go 57,58,59,6,60,61

I have a a column of data that I'm trying to display in the Categorized Style but when QGIS orders the values it ranks them, for example, 57, 58, 59, 6, 60, 61, 62.... Is there a way to rank them in ...
5
votes
1answer
295 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 ...
0
votes
0answers
205 views

How to print/plot a city map from OSM data with tools like QGIS, GRASS, openJUMP?

The question is, once set up Geoserver and having all layers accesible, we need to print a portion of the city in a paper of size A0. When I wan to print a city, if I zoom to the city extent, I loose ...
6
votes
1answer
592 views

QGIS line style

I found the latest QGIS has a great tool to create complex styles, however looks like one small but very useful thing is missing, or I can't find it. I'm trying to create a line style something like ...
6
votes
3answers
1k 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 ...
4
votes
2answers
470 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 ...
2
votes
1answer
116 views

Where did the texture fill option go in QGIS 1.9 Master?

In the previous version (1.8) of QGIS you could select to fill a polygon using a PNG or JPG image. This option seems to have gone from QGIS 1.9 Master. I can get it by selecting the "Old Symbology" ...
2
votes
1answer
519 views

Apply QGIS Style to osm-File like in Open Cycle Map, Landscape Base-Layer

I try to mimick a rendering style like in Open Cycle Map (landscape base layer) in QGIS. However, I'm not able to find certain elements (i.e., wood and rivers) that are used in Open Cycle Map but seem ...
3
votes
1answer
838 views

How to keep layer style/symbology when saving as KML?

When saving as a kml, is it possible to keep the style of the QGIS layer? I have tried a couple plugins that have been mentioned on here: qgis2kml ('format not yet supported') and qgis2google2 ...
3
votes
1answer
115 views

Is it possible to create road-type dependent 'shields' in QGIS?

In QGIS, I need to place road numbers on a map (they are point labels) in solid rectangular boxes to make them stand out. Ideally they need to be the same colour as the road they refer to, so a ...
3
votes
1answer
603 views

Dynamic SLD styling - unique colours for linestrings

I have a postGIS table that looks like this: (plus a 'track' geometry column, a linestring for the vessel's track) sampling_interval | voyage_name | start_time_utc | id | ship_name | ...
1
vote
0answers
342 views

OpenLayers: How to get backgroundGraphic to go under externalGraphic

I've got a layer with nodes features on which I may want to display two images, a main one and a background one. This page : http://openlayers.org/dev/examples/marker-shadow.html shows what I want: ...
3
votes
1answer
766 views

change style of newly drawn points

I've a vector layer with a bunch of draw controls on it. You can add polygons, points and you can modify polygon. Now I changed the style of the points so they have a nice pin-like image. But them I ...
2
votes
1answer
238 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 ...
1
vote
0answers
173 views

How to config geoserver to read style of vector layer from postgis/SQL store?

I've imported vector layers from map info pro to both SQL server and post gis using easy loader. In both cases I've included style column in the exported table. When I create new store in geoserver ...
3
votes
1answer
303 views

OpenLayers OSM tile boundary

I have a local tile source of OSM tiles. I'd like to show the tile zoom, x, y on the tile so that I can optimize and create small offline groups of tile for specific areas(polygons). I can get the ...
5
votes
3answers
3k 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 ...
9
votes
1answer
305 views

Why is the OGC Symbology Encoding standard not being implemented and is SLD an alternative?

I searched exhaustively over the internet as well as at this How to export Symbology from ArcGIS to Microstation or QGIS? but didnt find a satisfactory answer. Hope to get the answers from the experts ...
3
votes
2answers
3k views

Changing infoWindow style in ArcGIS JavaScript API (v3.2)

See below a screenshot of the infoWindow's appearance in my ArcGIS JavaScript API (v3.2) application. As you can see the transparent title bar with the white buttons doesn't work too well against a ...
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?
7
votes
3answers
2k views

What's the simplest way to style vector data in Geoserver?

There seem to be three main options: Manually write the SLD files, based on the SLD cookbook Create the SLD file in QGIS, then import Use the add-on GeoExplorer to create custom styles online ...
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 ...
2
votes
2answers
217 views

How can a style be set on a specific polygon using OpenLayers?

Using a polygon id, I want to highlight a polygon, while the mouse is outside of the map area. I can identify the polygon using the following approach: x = 53; for(i=0; ...
3
votes
1answer
3k 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
0answers
139 views

How to make lines styles with offset join properly?

I want to draw the lanes of a two-lane street in different colors. I tried to apply an offset to a symbol layer which works fine for a single line but the ends of two connected lines do not join ...
1
vote
2answers
158 views

Is it possible to import SAGA colour styles in QGIS?

iam still using QGIS and SAGA independently in my productive use (despite the excellent SEXTANTE toolbox, which is sometimes a little buggy). SAGA has some very nice default styles and i am wondering ...