Tagged Questions

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

learn more… | top users | synonyms (1)

0
votes
2answers
451 views

OpenLayers Rule is not working as expected

I'm trying to add a rule to paint some roads of my GeoJSON file with a different style using OpenLayers. The problem is that even after adding a property "featureType" to the feature in response to ...
3
votes
0answers
153 views

OpenLayers and external CSS

I am using geoExt and OpenLayers to plot some map. Everything worked well until I had to add some styling. To display it on the webpage, I need to use the CSS of my university and once I do that, I ...
1
vote
1answer
193 views

QGIS offset dash line style - dash spacing does not vary with rotation

I'd like to make a USGS-style dirt road marker but with smaller dashes and bigger spacings (i.e. less duty cycle) to indicate lower quality road. First attempt = two simple lines, custom dashes of ...
2
votes
2answers
298 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
0answers
92 views

Attributive WFS styling

I have a local Geoserver connected to a PostGIS database and a table with an attribute field called "style" which is of data type integer. On the OpenLayers preview of the Geoserver the data is shown ...
0
votes
1answer
41 views

Get number of rules in geoserver style using webservice

how can I know the default style for a layer in geoserver, and the number of rules it contains, using a REST call or service? Thank you bye stefano
2
votes
2answers
1k 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
176 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
782 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
55 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
67 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
87 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
824 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
135 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
690 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
115 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
78 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
144 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
180 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
526 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 ...
0
votes
0answers
478 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
256 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
391 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
797 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
22 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
93 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
203 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
1k 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
3k 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 ...
8
votes
2answers
479 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
241 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
191 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
478 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
383 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
105 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
443 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
652 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
104 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
470 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
306 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
682 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
176 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
155 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
274 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 ...
4
votes
3answers
2k 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 ...
8
votes
1answer
260 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 ...
11
votes
2answers
1k 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?