Tag Info

New answers tagged

0

This was also discussed in the comments to A guide to GoogleMaps-like maps with OSM in QGIS Are you sure that you downloaded the .qml files correctly from github? I get that error if I try to load the .html file from https://github.com/anitagraser/QGIS-resources/blob/master/qgis2/osm_spatialite/osm_spatialite_googlemaps_lines.qml rather than the raw .qml ...


1

JOSM has the feature to define custom map styles: http://josm.openstreetmap.de/wiki/Styles


2

Not tested, but something like this should work var oldLayer = ""; // to start, declare an empty variable outside of the function scope function clickFeature(e) { var layer = e.target; layer.setIcon(layer.options.icon = icon2); // only attempt to change oldLayer icon back to original if oldLayer defined if (oldLayer) ...


0

What you are seeing is the correct behaviour as described by the SLD Spec. If you want to only apply one symbolizer to a feature then you need to provide a filter that selects one (or more) of the symbolizers for each feature. The GeoServer documentation covers how to handle multiple geometries in one column quiet clearly here.


1

QGIS can read QML and SLD style files. If you only have access to proprietary style formats, QGIS won't be able to read those because the specifications are not public.


3

If you add LEGEND_OPTIONS parameter to your request and the value forceLabels:on then you can force GeoServer to draw the text for a single rule. Here is an example of a request: ...


2

Welp, this is embarrassing but I seem to have answered my own question. :P (I'm new to 10.x, so that's part of the problem!) It's under Customize > Style Manager > Styles..., and then I just needed to click "Set as Default List." I'll leave this question up in case it helps anyone else.


0

Even without programming, I think it should be possible to achieve this using the idea presented in http://nathanw.net/2014/09/23/qgis-atlas-on-non-geometry-tables/: use the Atlas functionality to loop through a coverage layer containing values for the rule-based rendering of e.g. your contours. I imagine you will want to compare one of the contour ...



Top 50 recent answers are included