All Questions
506 questions with no upvoted or accepted answers
8
votes
0
answers
157
views
Exporting Geopackage converts milliseconds of QDateTime to zero
I use this solution to display actual QDateTime value with milliseconds in a temporary memory layer. And I use another solution to export as CSV the value including the millisecond value.
But then, I ...
7
votes
0
answers
703
views
Writing layer to GeoPackage using PyQGIS
I have a PyQGIS script which carries out a number of operations on layers and writes the results to shapefiles. However, I understand that GeoPackages have a number of advantages (not having multiple ...
6
votes
1
answer
959
views
Backup QGIS (3.2.1) layer to independent PostGIS table?
I'd like to make multiple, progressive backup copies of QGIS (3.2.1) layers that are stored in PostGIS tables. I've tried multiple routes to export them as files on disk, but they all seem to destroy ...
5
votes
0
answers
378
views
Mapsforge .map output from QGIS
Is there any way to output Mapsforge .map-files from QGIS?
I am trying to create a map to be displayed by OruxMaps, and Mapsforge seems to be the best format to use but I am not an expert.
Currently I ...
5
votes
0
answers
1k
views
Canvas element with 'width: 0' in OpenLayers 6 instance on Vue.js
I am using Vue components to generate multiple instances of OpenLayers in the same parent component.
Ultimately I am attempting to export an image of each instance of OpenLayers using the html-to-...
5
votes
0
answers
1k
views
Export a layer from QGIS to Oracle DB
I have a working connection to an Oracle database in QGIS (3.4). I am able to import and edit existing tables into my QGIS project out of the db. Unfortunately it is not possible to export any QGIS ...
5
votes
0
answers
621
views
QGIS export to shapefile inflates real field size and value
At 3.8.3, when I Export > Save As a Geopackage point layer to a shapefile, fields with type = double are output with 15(!!!) significant digits. Here are the before and after field widths:
Input:
...
5
votes
0
answers
2k
views
Export: Error: Internal error. from Google Earth Engine
I'm attempting to export an image by a time block for a particular census KML using the method below.
Earth Engine is kicking back "internal error". As the error is not very helpful, I am having a ...
5
votes
1
answer
1k
views
Batch export of layers as individual PNG files in QGIS 3.4?
I have hundreds of layers. I'd like to be able export each one as a PNG. I can do this by selecting one, and going to project, export map to image, calculate from layer -> select layer -> save. ...
5
votes
0
answers
123
views
QGIS export to PDF - rasterize only basemap layers but keep others as vectors
I am building my own map in QGIS 3.4 in which I created a basemap from ESRI satellite imagery and a ESRI hillshade overlay. On top I have several custom vector layers (country borders, city names etc.)...
5
votes
0
answers
1k
views
Could not allocate required memory for image
I'm trying to export a 24k image (export set to 1650DPI) using the "export as image" function but I keep getting the "Could not allocate required memory for image" warning.
I don't understand why ...
5
votes
1
answer
1k
views
Export to SVG with Polygon IDs
So v.out.svg works perfectly fine for my purpose, except that it doesn't export polygon IDs, so I have no way to identify them in the output. I want to use one of the attributes (specifically the Name ...
4
votes
0
answers
194
views
Using an input string in a file path for a input vector layer in QGIS model
I am building a QGIS model to perform field calculations on a large number of .shp files containing environmental information of different waterbodies. This model should be global for the different ...
4
votes
0
answers
1k
views
QGIS Convert Shapefile to MSSQL as geography type
I am using QGIS 3.16 and SQL Server 2019.
I have a shapefile loaded into the project. I have been able to successfully convert the Shapefile to a spatial dataset in SQL Server. My method for doing ...
4
votes
0
answers
207
views
Exporting rendered raster image from graphical modeler
I am new to using the graphical modeler and am trying to export the result raster from my model as a rendered image.
Basically trying to replicate what happens by doing the following to the result ...
4
votes
0
answers
612
views
Setting compression method when exporting composer from QGIS to PDF
I see that export of the composer to PDF in QGIS uses JPEG compression by deafult (my estimate maybe 75-80%, which is not good enough for my maps).
Where can I change this?
Can I set somewhere ...
4
votes
0
answers
961
views
How to export data from sql server into shapefile in the decimal format in QGIS 2.4?
The last couple of days, I have been working on exporting data from SQL to a shapefile in QGIS 2.4. While converting into a shapefile, the data type changes automatically from Float to Integer in the ...
4
votes
0
answers
5k
views
problem with saving to esri file
I was using Wroclaw 1.7/GDAL 1.9(earlier release)/Grass 6.4/GSL 1.15-2 and started getting the following message when saving any item to esri format.
"Export to vector file failed.
Error: creation of ...
3
votes
0
answers
145
views
Saving attribute field comments when making memory layer permanent in QGIS Plugin
My QGIS plugin creates a vector layer (memory) with attribute fields that include comments. Comments are not saved when I "Make Permanent" the layer.
I have been able to build a QGIS Python ...
3
votes
1
answer
280
views
QGIS - Label masks breaks layer on PDF export
I have a contour lines layer with index labels, which uses masks, it works correctly on the editor and composer as seen below
When exported the layer goes past map boundaries and it's style breaks.
...
3
votes
0
answers
231
views
Unavailable layer saved on computer as .txt file in my all projects (.qgz)
I have a problem with all my saved .qgz projects. I always worked with layers in projects only as .txt files, not saving them as shapefile, because I can make changes in .txt files (eg. add more ...
3
votes
0
answers
1k
views
OSM: Downloading all street names + adress number + coordinates of a city?
For a statistical analysis my company wants me to create an Excel sheet containing every building's adress in a city, like this:
City name | area code | street name | house number | longitudinal Coord....
3
votes
0
answers
249
views
PyQGIS: QgsRasterFileWriter generates blank (all zeros) raster when used in standalone script
QGIS version: 3.16.15
Python version: 3.9
I am trying to export some raster from a WMS-sourced background raster layer. For doing so, I am delimiting the export area to be exported by using a vector ...
3
votes
1
answer
911
views
Exporting GeoTIFF to ArcGIS Online
I would like to add TIFs to ArcGIS Online as a layer using QGIS.
An example is the ValleyNAI layer here: https://tiles.arcgis.com/tiles/U0vgiXgwLpyQDfbW/arcgis/rest/services/ValleyNAI/MapServer
As far ...
3
votes
1
answer
2k
views
Exporting High Quality TIFF Files on ArcMap
I am currently working in ArcMap 10.5.1 and am wanting to export a Map as a TIFF file with increased resolution. If I were to increase the quality of the image to anything above 96 DPI then the image ...
3
votes
0
answers
138
views
Exporting a layer with one-to-many non-spatial relationships into GeoJSON
I have a ShapeFile (postcode areas) with a one-to-many relationship with a list of attributes (customers who fall within that postcode).
Is it possible in QGIS to export the ShapeFile to GeoJSON to ...
3
votes
0
answers
101
views
Adding source and target fields in attribute table
My issue is I want to export a CSV-file from QGIS 3.6.2 to Gephi (network analysis software) the layer I want to export is the edges layer for Gephi. However, when importing into Gephi I am missing ...
3
votes
0
answers
168
views
Problems with DEM exporting after Elevation Void Fill function use
I filled nodata values in DEM by Elevation Void Fill function, everything was ok, but when I exported it, the raster looks different (see picture above), how can I solve this problem? I also tried r....
3
votes
0
answers
148
views
Export/Import CRS for use on similar/same file?
I have a slightly strange request. I have access to a set of geo-ref'd PDFs that have multiple layers within the file. As touched on in other threads, there's no good way (at this time) to turn on/off ...
3
votes
0
answers
5k
views
export an aerial image to .SID file and a .Tiff file
I am using arcmap 10.4.1 ( also have PRO 2.0 is this is an valid option)
I have an aerial image that was broken down to small grids and need to export each grid to a .sid file and a .tiff file. I ...
3
votes
0
answers
144
views
Why are the layer-tree-layer source attributes absolute even if my project is set to relative paths?
When I save a group as a layer definition file (both from the context menu and via the python api) the
layer-tree-layer source attribute is incorrectly absolute:
source="/Volumes/gis/master/Raster/...
3
votes
0
answers
413
views
Snapshot command not producing high-res image
I'm trying to export an image of my project with a size of several hundred megapixels (32768x16384) via the snapshot command and all I get is an output file with 0 KB and no error message. I can ...
3
votes
0
answers
1k
views
DXF Export won't work
I'm new to using GIS data.
Using QGIS I'm trying to export a DXF file from a .shp file from the NYC OpenData site.
I can open the file, pan, zoom, select the area I want to export, etc, but when I ...
3
votes
0
answers
560
views
Exporting map containing raster layer with vector field symbology ends up with partially rendered symbology from ArcMap?
After exporting a map in ArcMap (ArcGIS 10.3 for Desktop) which contains several raster and vector layers including one raster layer resembling flow direction of ice, the output file (tried JPG, PNG ...
3
votes
0
answers
80
views
Programatically export map clusters in QGIS
I'm trying to export each microcluster of a large map into a composed map that shows the ff on an A4 sheet:
1) Cluster/grid box of the map
2) Larger index map with the pertinent region highlighted
...
3
votes
0
answers
3k
views
Batch export to shapefile by attribute field in QGIS
I have a project in QGIS where I am creating a map of plants over a large area. I want to take the "Genus" field (of which there are 100 hundred values) and essentially create 100 shapefiles based on ...
3
votes
0
answers
1k
views
Symbolizing File Geodatabase feature class with Layer File created from AutoCAD drawing?
I received an autocad drawing file which I converted into feature classes with the CAD to Geodatabase tool.
I would like to symbolize the exported data in ArcMap the same way it was symbolized in ...
3
votes
0
answers
376
views
Raster slightly displaced after exporting from PostGIS database
With the following queries I've exported a raster (GTiff) from my postgis database:
1.Creating a large object:
WITH buffer AS (
SELECT
id,
ST_Buffer(geom,50) AS geom
FROM ...
3
votes
0
answers
527
views
Extra row and column in a raster after GDAL grid import
I'm exporting an ESRI grid to TIFF format and after that I'm reading this exported raster file into SAGA GIS. However when Saga reads this file in there appears to be an additional row and column in ...
3
votes
3
answers
2k
views
Export Table of Unique Values by Field
I get a lot of shapefiles with no metadata. Often there are tons of table columns (fields) with no description of what the column is for or what the coded values mean.
Is there an easy way to export a ...
2
votes
0
answers
19
views
Area size generated by editor behind legend elements is missing when exporting PNG with QGIS Layout
I use QGIS Version 3.28.3-Firenze.
In a QGIS Layout, I add the sum of area to each class in the legend via the editor.
I use the following expression:
@symbol_label
|| ' ('
|| round(aggregate(@...
2
votes
1
answer
439
views
Creating PDF with vector data in QGIS
I got my geospatial file ready with all information in vector data (except background PNGpng) in QGIS. Now I wish to save a PDF format for a second party. The vector lines are required to be visible ...
2
votes
0
answers
855
views
Exporting large attribute table from QGIS to Excel
I am working on a project with an attribute table of approx. 5,564,098 rows. I've tried exporting it to Excel using the "save as" CSV or XLS but the data keeps getting cut off. I would ...
2
votes
0
answers
384
views
QGIS Print layout not showing detail on export
When I save a map the output is missing a lot of the detail you can see in the print preview. Why is this and is there a way I can save it like I see it in the preview? Saves well as a pdf but not as ...
2
votes
0
answers
83
views
Print layout is rasterized before exporting as SVG
So I've set up my layer to how I'd like for it to be exported as an SVG, but after adding the map to New Print Layout, it rasterizes my layer and makes it unusable in my other program. Is there a way ...
2
votes
0
answers
221
views
Exporting vector layer as TIFF using PyQGIS
I have a layer named 'result' which I want to export as a georeferenced TIFF file.
I have a layer named 'layer' which is just a vector polygon (it has to be there). The best code I've found to do ...
2
votes
0
answers
211
views
Exporting curved geometries as a GPKG with linear geometries
I have a layer (based on PostGIS or GPKG) containing complex, curved geometries (think MultiSurface(CurvePolygon(CompoundCurve(CircularString(...).
How can I export this layer as a new GeoPackage that ...
2
votes
0
answers
348
views
Exporting layer tree in QGIS
I need to create a layer tree for other user researchers to use. In the final dataset there will be ~20 sub-groups, each with dozens of layers. (It's possible that this isn't the best way to do it -- ...
2
votes
0
answers
198
views
Newly created multipolygon layer fails to save due to large file size
I used the function "Join attributes by location" to join a number of polygon circles (a multipoylgon layer) with the values of the points (multipoint layer) that are "contained" ...
2
votes
0
answers
159
views
Assign absolute path to single layer in QGIS
Under Project Properties, I set path savings to 'relative', as the project is used by different people and moved between network drives. Shapefiles that move with the project are correctly located in ...