Tag Info

New answers tagged

1

Style files can be loaded from anywhere on your system. There are two schools of thought here. keep them where the system style files are and the system can get to them easily. Keep them on a shared drive where everybody can get to them and add to them. There are plusses and minuses to both. I adhere to No. 2. Sharing is better. In Customize there ...


0

Based on a suggestion from my friend Danilo Viana, solved the problem by overwriting the OpenLayers.Style.createLiteral behavior like this: OpenLayers.Style.createLiteral = function(value, context, feature, property) { if (typeof value == "string" && value.indexOf("${") != -1) { value = OpenLayers.String.format(value, ...


0

Inappropiate place of Openlayers.StyleMap assignment, it should be declared in the layer creation.


0

I can't help on the details of QML and how to make colourmaps in QGIS, but I can give some info on the cpt-city gradients --- the "height information" is contained only in the CPT files, the values in the SVG files are normalised to be in the range from 0 -- 1. This is required by the SVG standard (and reflects the "graphic design" nature of SVG ...


0

I figured out that the solution could come from a software called QGIS. I used a plugin called 'Afine Transformation' and moved my whole layer to the left or right and then reloaded all of my data on the database and the geoserver.


1

You can specify a lineDash option under ol.style.Stroke See: http://openlayers.org/en/v3.0.0/apidoc/ol.style.Stroke.html (you'll need to untick stable at the top right) E.g. stroke: new ol.style.Stroke({ color: 'blue', lineDash: [4], width: 3 }) Take a look at the triangular polygon in blue at http://openlayers.org/en/v3.0.0/examples/geojson.html ...


3

I am not sure if I fully understand the question you are asking, but if you are looking to put the number that is stored in the ID column in the attribute field over the point location on a map you can do two very simple things, label by attribute and make the point 'invisible'. 1) Label based on the attribute column. 2) Change the point symbology to be a ...


0

Try this, it isn't the same problem (Vector layer), but it could help you: Openlayers - Losing selection or style on layer redraw


6

You need to change the symbol for your roads to a Cartographic Line symbol rather than a Simple Line symbol. That will give you more control over how it's drawn. When you add a line layer to ArcMap, it defaults to a Simple Line symbol, which has the rounded ends you're seeing. With a Cartographic Line symbol, you can change the line end caps. You will ...



Top 50 recent answers are included