New answers tagged

1

After adding the shapefile in QGIS,right click the layer and select properties, from there go to the Style tab and select Categorized This will allow you to change symbology based on a attribute, select the column you want to use (the attribute) and click classify this will add all the different attributes you can then style. Assign color to individual ...


1

To show that, it is just a rendering setting. Try the following: Right click on layer name in the Layers panel and select Properties Select the Style tab, Categorized drop down, and select the field that has the zones classes defined in the Column drop down Then click the Classify button and change the class symbol, size, and color as needed screen ...


0

Could it be due to the typo in the line: <ogr:col>>#00248F</ogr:col>


2

You can use mapnik.save_map() import mapnik m = mapnik.Map(1440,800) # ... add styling and layers ... mapnik.save_map(m, "output.xml")


2

You can use setStyle within the mousemove function: layer.on({ 'mousemove': function (e) { //I want to make the point a red style ? this.setStyle({fillColor:"#ff0000"}); ... } )}


1

It is indeed the sprites. Your Mapbox Studio style probably contains the default sprite set, or none at all if you started with an empty map . If you are using Mapbox Studio, you will use prebuilt sprites provided by Mapbox, or you can upload custom SVG images to build your own sprite. (source) To view or change your sprites you can go to the editor ...


2

This should work Name LIKE 'NRG%'


1

The quick answer to the question is yes it is possible. You will need to construct an external SLD file, and store it on your server, then you will need to send a GetMap request that references that SLD in your request. So here for example is a GetMap request to a GeoServer WMS (generated through a web client using OpenLayers) GetMap to a GeoServer WMS ...


0

It looks as if you are overwhelming the translation engine with choices, please read this for full details but the short answer is to add @mode "Simple"; at the top of your styles to reduce the amount of simplification the translation engine tries to apply. You could also try the Exclusive mode but you will need to be patient (and probably increase the ...


1

If you are looking at the latest documentation then that is the correct syntax but you are using an old GeoServer so need to consult the older manual which makes no mention of the parameter. If you'd like to use this feature you will need to upgrade your GeoServer version to 2.9+.


1

As far as I know there isn't an existing function to do that, it might be possible to use the offset function to move an arrow but you'd need to know which direction to go in. GeoServer does have startPoint and startAngle (and matching end...) functions to allow you to put arrows at the beginning and end of lines. If You must label the centre of the line ...


6

Just tested (QGIS 2.8). It works if you add a END statement at the end, like that: CASE WHEN "dBM" <= 0 THEN '255,0,0' WHEN "dBM" > 0 AND "dBM" <= 20 THEN '255,255,0' ELSE '0,255,0' END


1

The CSS plugin does a CSS to SLD conversion, the opposite is not always possible as long as CSS cascading is enabled. On the current developer series (GeoServer 2.9.x) we have a directive to disable cascading, e.g., @mode "Simple"; at the top of the file, that would allow one to write a SLD -> CSS translator... but it's not there yet. Contributions ...


0

Maybe ST_ConvexHull will help you. See this snippet to understand how it works http://www.bostongis.com/postgis_concavehull.snippet


1

I can confirm that this issue has been resolved in QGIS 2.12.2 where the opacity of the chosen colour is still remembered after restarting QGIS: Before restarting QGIS and setting opacity to 10% After restarting QGIS



Top 50 recent answers are included