Hot answers tagged

6

If you have a numeric field for each point, you can use the plugin qgis2threejs. Here, i've taken all the towns in Iceland, and given them a random height using the expression for a field called "hite". rand(0,100000) you set up the plugin like this.... this creates an interactive web page you can open in a browser, you can rotate, pan and zoom. You ...


6

Open the menu "Diagrams" and navigate to "Legends" entry. Click on "Legend Entries for Diagram Size..." Choose "Collapsed Legend" The legend will be displayed in layerlist and in printcomposer


5

If your diagrams represent values from polygons, here's what I do: Create a new shapefile of centroids ("Vector->Geoprocessing Tools->Polygon Centroids"). This is a point layer with all the data columns from the original polygon. Now edit this point layer, and move the points to wherever you want each chart. And finally recreate the charts from this point ...


5

QGIS 1.8 In QGIS 1.8 this type of diagrams is only provided by the "diagram overlay plugin" (See Plugins => Manage Plugins). Once enabled you have in the vector layer properties a new Tab "Overlay" which offers "Bar Chart" in the dropdown. QGIS 1.9 / 2.0 With QGIS master (soon to be 2.0) it is possible to draw piecharts, histograms and text diagrams with ...


5

You can show both diagrams and labels at the same time by enabling: Labels > Rendering > Show all labels for this layer (including colliding labels) If labels and/or diagrams overlap, you may need to adjust the Rendering and Placement settings.


4

This should be reasonably straightforward from the QGIS side; the harder part will be rendering the SVGs in batch. For that, R is probably as good a way as any. If JavaScript's more appealing, see this answer for an example of how to export SVG from d3. You can create a centroid layer from your census areas, and style them as SVG symbols. As of more recent ...


4

Try turning off simplification for the layer, under the rendering tab. That might be causing invalid geometries which prevent the diagrams from being placed correctly.


4

Update on top: There is this French language diagram by Thomas Gratier and there is this one by Tim Sutton (but it's old):


4

Custom placement of charts using data-defined position Step 1: Add 2 columns to the attribute table, chart_x and chart_y For a starting value, use the coordinates of each point. Step 2: Use the new fields to control diagram position Step 3: Use the Move Label and Diagram tool to move each chart Find the Move Label and Diagram tool in the Label Toolbar ...


3

You can selectively display features in a layer using the 'query' function. Right-click on the layer and select 'Query...'; In the "SQL where clause" box, use the column name that has your district name in it (e.g. "name") and enter a search clause that will find that district (e.g. 'testdist'): name LIKE 'testdist' Click 'OK' and the layer will now display ...


3

When I set this up, I had to update the templates to Visio 2010, then specify the default location for them in Visio. And if I recall correctly, I had to have visio already open the first time I ran it. To update the templates, just open them, and save them again as template. You may have to do the same for the Stencils. The templates and stencils should ...


3

It is currently not possible to draw a line between a object and its associated diagram. The "Line Options" can only be used for line features (thus greyed out here) and define the position of a diagram relative to the line. In the current development versions and starting from 2.0 stable release, this option will be hidden instead of disabled.


3

I'm afraid qgis2web does not support export of diagrams. It's also not something likely to be developed soon, unless someone decides specifically to take it on. Sorry not to have better news. qgis2web will try to replicate your label settings, so if you can achieve something similar with labels, that could be an alternative.


3

In QGIS you can not add labels to diagrams. the technique I use: create the diagrams with the sheet google drive; Save as image; edit and save as svg with inkscape; in the table of the shapefile attributes add a field: 'path' (Text 254); populate the field with paths to images svg; I extract the centroid of the shapefile and use the style 'symbol SVG'; ...


3

I have found a not-simple solution. It is like have two different bar diagrams on the same table. This is the way: Choose "simple symbol" in "style tab new symbology" Choose "vector field" in "type layer" Choose "only high" in "vector type" and set info for parameter1 (colour=blue, large, and high attribute from the DB) Set a negative offset (half of the ...


3

Also, one should wait for the "geometry renderer" style that will appear in QGIS 2.14 but which is accessible through the dev version.


3

if you are using Esri's plugins for Leaflet you already have an event listener to utilize and the feature's attributes are already available via the GeoJSON properties. yourLayer = L.esri.featureLayer({ url: 'http://yourserviceurl/arcgis/rest/services/.../MapServer/0' }).addTo(map); yourLayer.on('click', function (evt) { console.log(evt.layer.feature....


3

A good start would be to check out Operations Dashboard for ArcGIS It would be a good addition if you are looking to add to your tool set as you can: Use charts, gauges, maps, and other visual elements to reflect the status and performance of people, services, assets, and events in real time. From a dynamic dashboard, view the activities and key ...


3

I'm using QGIS 3.4, but this answer should also be possible in 2.18. Unfortunately it doesn't look like there's a way to directly display the histogram values as part of the histogram. A workaround is to add field values as labels, and manually adjust the placement settings until they line up with the corresponding part of the diagram. For example, I used ...


3

I have taken some time to find you a solution but I had to assume a few things to fill in the gaps of how you want to present the data. Here's my process: I created a unique id for each row of data you provided as such and ensured the prey data was a decimal number, not text string (i.e took out 'mg'): ID species year stationID prey1_mg ...


2

Try to detect first all loops you have in your diagram. store them in a list. The idea is to use them later as nodes : "one loop" = "one big node". Try to define the left and right nodes (2 nodes) for each loop to connect with the rest. In your case the left node should be 9 and the right one is 2. To make your life easier, I advise you to introduce links ...


2

You can take the feature attributes and hand them over to the charting library. If you don't need to change a lot at the chart-design you can also just use C3.js which makes it easyer to start ;) here you can see an example: http://jsfiddle.net/expedio/vtck4uzk/ and that's the js-part: your_featureLayer.on('click', function (evt) { feature = evt....


2

I had the same problem, and finally traced it down in my case to the fact that both the GeodatabaseDiagrammerTT.vst and GeodatabaseDiagrammerPS.vst Visio template files that were provided in the installation files were corrupted. You can verify this on your version of Visio (mine is 2007 Standard) by double-clicking on the .vst’s and seeing if they open in ...


2

I'll try to make the mentioned approach more clear. The approach works with the polygon geometry features. Diagrams is just the graphic overlay to a vector layer. It does not have any geometry or feature properties. After creating diagrams, you still work with the same layer, but with the data styling. While using diagrams you often meet the overlapping ...


2

It's more likely that those attributes are not numeric but strings. You can use field calculator to create new, numeric attributes from the strings if necessary.


2

There are many examples of matplotlib with PyQGIS in in GIS SE, look at How to create a x-y scatterplot from attributes in QGIS 2.0?, for example (3D scatter plot). If you know matplotlib, it is not very difficult to use it in the Python console, as xulnic says, or in a processing script. There also many plugins which use it as the, Contour plugin , or the ...


2

I found the 'DataPlotly' plugin which solves everthing perfectly. With it you can choose the plot type e.g. bar plot, define the x and y axes parameters. In the settings you are also able to choose the bar mode. The bar mode 'stacked' is summing up the values. However, there are some problems to visualise the charts e.g. the axes titles can´t be adapted ...


2

Make a separate symbology layer for each wedge of the pie diagram. Use geometry generator symbology layers with the wedge_buffer(center,azimuth,width,outer_radius) function. This function has several parameters: center - center point (origin) of buffer. Must be a point geometry. This parameter will be the same for every symbol layer. Use centroid($...


1

I'm not quite sure whether UMS MapServer work as WMS layer in QGIS will fit your needs. I've tried it, but I'm no good in designing good chart with MapServer *.MAP file.


1

You could use ArcGIS if you access to it. This is an example of what i did with ArcMap and excel(sorry for the language, old map). You can create the graph in excel and insert it as an object. The thing with this method is, that if you want to use a large pallet of colors and you want them synchronized with those one the map, you'll have to do it manually. A ...


Only top voted, non community-wiki answers of a minimum length are eligible