Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [rendering]

The process of generating an image from a model.

1
vote
0answers
24 views

How to render OSM vector data to raster

I am using OSM vector data which has been converted into shapefiles. I have polygons representing buildings, landuse and lines representing roads as shown bellow: I want to assign some symbology to ...
0
votes
2answers
49 views

How to convert multiple shapefiles of different geometries into a georeferenced raster

I have multiple shapefiles extracted from OSM vector data, as shown in the image bellow: How can I render this into a raster of a specified resolution? Is there a way to do that using QGIS or ...
0
votes
0answers
25 views

QGIS Styles: How do I save rendering preferences in a style for future automation?

The following is in regard to a point layer in QGIS 3. Under Layer properties > Rendering > 'Refresh layer at interval (seconds)' I have set the interval to refresh every one second. The point ...
1
vote
0answers
11 views

ArcGIS Server Sporadically Exports Blank Image / renders blank image, for a published map service

For several months our map services in our ArcGIS Server 10.5.1 setup occasionally fail to draw/render when browsing to their export REST endpoints. Our setup is in the cloud and we use cluster setup....
1
vote
0answers
58 views

Integrating User Defined Coordinate System into PyQGIS?

Here is my current code: #Loading of post-wrf(raster) files starts here crs = 'USER:100000' QSettings().setValue('/Projections/defaultBehaviour', 'useGlobal') QSettings().setValue('/Projections/...
1
vote
1answer
40 views

OpenLayers 5 and GeoJSON with two geometry attributes per feature

I have a GeoJSON file in which each feature has two geometry attributes, one is the default geometry property defined by the GeoJSON standar, and the other one is a property under the standarized ...
1
vote
0answers
33 views

Reproducing raster color rendering from ArcMap in QGIS? [closed]

I have a 16-bit satellite geotif. These images can be visualised in a number of ways, depending on which stretch you apply. The default stretch applied by ArcGIS to these images produces a "natural" ...
1
vote
1answer
58 views

Rule-based rendering in qgis2web client is not working

I made a simple map with polygons of the staates of africa and used the rule-based renderer for different colors to tint them. When I tried to load or export this map with qqis2web I didn't get ...
0
votes
0answers
18 views

Custom rendering ocean in Maperitive

I would like to render a map from openstreetmap data that includes coastline with the tool Maperitive. The standard behaviour seems to be that it renders ocean in the standard blue color no matter ...
2
votes
0answers
34 views

Setting raster visibility on/off in QGIS Python API 3

I'm having a bit of a trouble migrating an algorithm from pyqgis 2 to pyqgis 3. The thing is I want to make visible and invisible a series of layers as I iterate through a list and render some images. ...
0
votes
2answers
34 views

Don't show empty categories in classified style

I have a geojson file containing line and polygon features. I want to render them according to the field Feature Type which contains different types. When I use categorized symbology, it creates ...
1
vote
1answer
41 views

ArcGIS Online vs JS rendering differences

I am experiencing some issues working with ArcGIS JS API v4.9. I created a map on my offline software that I imported into ArcGIS Online. The map contains polygons with labels inside them and some ...
0
votes
0answers
36 views

Colorize digital surface model (DSM) with continuous color

I am running digital surface model (DSM) algorithm. Below is the result of DSM read with QGIS3. On the bottom left, it shows this image is colorized by five discretized colors. The problem is that ...
-1
votes
1answer
40 views

If the .osm file encodes all geospatial data, or if Mapnik encodes part of it too [closed]

I have downloaded the whole OpenStreetMap .osm file, and not wanting to decompress it or try to open it in a text editor (at almost a terabyte in size), I am looking at this XML as an example: <?...
2
votes
1answer
53 views

Points in hosted Feature Layer causing rendering issues in ArcGIS Javascript API

I have Feature Service in my ArcGIS Online account that is made up of a number of feature layers. The feature service was created by publishing a file geodatabase. I am adding the Feature Service as a ...
0
votes
2answers
80 views

How to optimize this query for (OpenStreetMap) map tiles rendering?

I'm trying to optimize my OpenStreetMap map tiles rendering. This is one of the queries renderd makes to PostgreSQL: SELECT ST_AsBinary("way") AS geom, "type" FROM (SELECT way, ...
1
vote
0answers
43 views

How to call correctly QgsMapRendererJob in pyqgis3

I'm trying to modify ma pyQgis2 code to run in pyqgis3. That is custom application, that shows canvas with appropriate layers and settings and I can't refresh canvas with pyqgis3. pyqgis2 code that ...
1
vote
0answers
19 views

Increasing QGIS 3.2 (Bonna) Render Size on my Macbook Air [duplicate]

The render size for the project appears to be small in the QGIS 3.2 for MacOS. Any tips how to increase this/make it wider?
1
vote
0answers
106 views

QgsMapCanvas.setExtent() has no effect when loading and rendering many layers

The following script is intended to load a pile of vector layers (50 times the same) and after loading to set map canvas center and scale: from qgis.core import QgsProject, QgsVectorLayer, ...
0
votes
0answers
44 views

Geoserver Rendering Error

For specific zoom level Geoserver cannot rendered my map anymore. Following error notification is shown: at java.util.ArrayList.rangeCheck(ArrayList.java:657) at java.util.ArrayList.get(...
0
votes
1answer
401 views

Configuring mod_tile and renderd for memcache

I have my mod_tile.config set up like this # This is the Apache server configuration file for providing OSM tile support # through mod_tile LoadModule tile_module modules/mod_tile.so <...
4
votes
1answer
189 views

Does render caching in QGIS save permanently or is it only temporary?

I know there are a few questions similar to this on the forum such as: Is the QGIS cache directory automatically created? and Can QGIS cache a PostGIS layer for faster rendering? but I am still ...
1
vote
1answer
224 views

Serving OSM tiles - mod_tile/renderd/postgresql problem: I sometimes get 404 Not Found

When I request tiles I get sometimes 404 Not Found. Usually, if I request the same tile again it appears alright (with 200 OK). This is what I found in renderd logs: renderd[734]: An error occurred ...
1
vote
2answers
1k views

XYZ Tiles not rendering

I’m working with a fresh install of QGIS 3.0.3 on Ubuntu 18.04 and am not able to get my XYZ Tiles to render. When I add an XYZ Tile to the Map View it doesn’t appear. When I look at the XYZ Tile ...
0
votes
0answers
59 views

Rendering filtered shapefile in multiple composer maps

When I run the code below, the result is this image. I'm trying to hide the non-selected items using setSubsetString(), but only the frames of the maps appear in the resulting PDF. There's no error ...
0
votes
1answer
225 views

OpenLayers rendering Geometry to Canvas

I saw an example of "Render geometries to a canvas": var canvas = document.getElementById('canvas'); var vectorContext = ol.render.toContext(canvas.getContext('2d'), {size: [100, 100]}); var ...
19
votes
1answer
611 views

QGIS 3.0 point cluster renderer, is it possible to control rendering order (z-order)?

I've been having a play with the new point cluster renderer in QGIS 3.0.2 and it's great - a lot easier (and faster) than having to do the clustering yourself. To show what I mean, here's an example ...
2
votes
1answer
407 views

Clipping TileLayer with vector polygon (clipping mask)

I would like to add a mask to clip layer (Tile) in a way that only the part bounded by a ol.Feature (polygon or multipolygon or layer) is visible and the rest is hidden (left transparent). The ...
0
votes
0answers
110 views

Labeling problems in QGIS

I have a very basic setup - QGIS 3.01 is installed on my laptop (Dell Latitude E5570 with Intel i7 core, 4 GB RAM, and 64 bit W7 operating system) and I have my shapefiles on an external hardrive (WD ...
1
vote
0answers
81 views

2.5D rendering time in QGIS

I have QGIS V 2.18.18 I am practicing making 3D maps and decided to do a simple population density 3D map for the states and territories of India. I have a shapefile that contains 36 features(States ...
1
vote
0answers
104 views

Disable anti-aliasing in QGIS Server WMS

The QGIS composer has an option to toggle anti-aliasing (composer-options=>rendering=>rendering-quality=>"make lines appear less jagged at the expense of some drawing performance"). The standard map ...
1
vote
2answers
867 views

Finding out whether Leaflet is using Canvas or SVG?

Leaflet maps use either an SVG or Canvas renderer. How do I figure out which one a created leaflat map is using?
0
votes
1answer
42 views

Modifying polygon attribute interactively on web map for public interaction

I am looking for examples or ideas on how to create a web map using esri javascript api for redistricting purposes. On the web map, it would show the school boundaries in smaller sections (similar to ...
5
votes
0answers
108 views

Render only features located around the the mouse cursor in QGIS?

When hovering over a vector layer in QGIS for feature selection, it would be useful, if only those in a buffer of a certain distance to the mouse cursor are displayed. Any ideas on if/how this might ...
2
votes
0answers
51 views

geoTIFF raster // random display errors only in QGIS

Sometimes I experience display issues with geoTIFF in QGIS (also had this once in TatukGIS). Now i have a situation in latest QGIS running on Linux KDE. The image is kind of disturbed (s. example). ...
5
votes
1answer
73 views

Labels displaying with multiple bounding rectangles

While setting up labeling of a line (road) layer, the labels started displaying with multiple bounding rectangles along with the text. After trying many different labeling configurations without ...
1
vote
2answers
162 views

QGIS wrong offset line rendering

I am trying to create a line style that consists of 2 lines. The first line (red) is actual border and the second line is a thick transparent line that should align it's bottom edge to the first line. ...
3
votes
1answer
506 views

In QGIS, how to control the rendering order of objects in a single layer with rule-based symbology?

In QGIS 2.18, I have a symbology of points in a layer based on rules. I want to control the rendering order of the layer in QGIS, with on top the type with the lower counts. Intuitively I would ...
1
vote
0answers
155 views

How to make path similar in the leaflet and in database for the tiles of a basemap

The Tiles in a database files has values for a tile like at zoom level 13 column 5869 and row 3370. However the leaflet and python generates the tile number as column 4782 and row 1162 at zoom level ...
2
votes
1answer
167 views

Geotools: Rendering map with sld to svg

I am generating the SVG file and then use it in jasper report print. When I try to render the map with no sld everything works great, but when I use sld there is this error: 2017-11-30T13:28:36.634+...
1
vote
1answer
195 views

Rendering sld style(buffer) SEVERE null java.lang.NegativeArraySizeException

Can somebody help me with this error, it throws it when rendering an object and styling it with use of a buffer (sld style, wkt string). So I suppose that some problem is with buffering but was unable ...
1
vote
1answer
176 views

API for getting only “essential” OSM source data for large zoom levels?

I'd like to implement a custom client-side rendering for OpenStreetMap. For that, I'd need the source data to render. I could use the OSM XML source - but not at higher scales, as the amount of data ...
0
votes
0answers
173 views

Filter diagrams with atlas coverage layer in QGIS

Please advise how I can hide diagrams outside of the coverage layer when using QGIS atlas function. I can do this for polygons,rasters etc without problem but whatever I do I cannot hide diagrams from ...
0
votes
0answers
145 views

QGIS visible window rendering

Is there a way of changing the rendering settings on QGIS so that only the visible map extent renders? It seems that all layers are rendered to the full layer extent. I'm trying to speed rendering up ...
6
votes
1answer
148 views

How to keep polygons detailed when exporting in QGIS?

When i export to pdf from QGIS the polygons become rounded or bloated. This image is a printscreen from the workspace in QGIS: This image is a printscreen from the pdf (size A3 zoomed in 800%): ...
2
votes
2answers
823 views

Inverted filling of polygon

Is there way to color on the outside of polygons like this? I have tried to use the inverted polygon style in QGIS but it didn't work.
1
vote
1answer
360 views

Layer not visible when rendering from Python script in QGIS [duplicate]

I am running a script from the Python console in QGIS. I have stripped the script down to highlight the problem. Basically, when I render and save an image of a shapefile that is displayed with points ...
2
votes
1answer
294 views

Rendered Map in QGIS from Python Not Projected

I am trying to render a map using the QGIS editor (eventually will generate hundreds for animation, but just trying to get one working for now). However, the rendered map is not projected (I want it ...
1
vote
1answer
133 views

PyQGIS: apply a graduated renderer with RGB

I'm trying to apply a graduated renderer on a point layer. I found this code here (the first in the solution) and slightly modified it to my project. It seem's to work beautifully (in the layer ...
1
vote
0answers
120 views

Cropping openstreemap tiles to desired bounding box

Given the solution for downloading a cluster of tiles in https://stackoverflow.com/questions/28476117/easy-openstreetmap-tile-displaying-for-python and http://wiki.openstreetmap.org/wiki/...