Skip to main content

Questions tagged [shapefile]

A vector data storage format for storing the location, shape, and attributes of geographic features. Often referred to as 'an ESRI shapefile', as ESRI developed it.

0 votes
2 answers
99 views

Display numeric values from shapefile in QGIS

I am new in QGIS and I am trying to display a set of 87 numerical values in QGIS from a shapefile. I have tried using the "Graduated" option from the "Properties" section, but then ...
0 votes
0 answers
59 views

How to assign times to sequential points in GTFS shapes.txt

I have GTFS transit data which is a zipped file containing text files like shapes.txt, stop.txt, stop_times.txt, trip.txt. I imported the zip file into QGIS to display all the txt files. I was able to ...
temitope 's user avatar
1 vote
0 answers
60 views

Identity tool in QGIS cause some parts to shift, especially when working with large shapefiles

I'm working with the Identity tool in QGIS 3.34.7-Prizren (SAGA Next Gen 1.1.0), using two shapefiles: Hansen data (36 MB) and boundary data (1.35 MB) The result shows some shifted parts (leaving some ...
Fikram Palembang's user avatar
1 vote
0 answers
70 views

Points of shp-layer not visible when added to QGIS Project [closed]

I've got a .dbf, a .shp and a shx. file of a point layer. The Points are set in the ETRS89/utm32 coordinate system. I've added the layer as shp layer in a project with the coordinate system WGS84 ...
Marian's user avatar
  • 11
0 votes
1 answer
70 views

Perimeter shapefile around raster cells above a certain value - water body mapping

I am using QGIS to map water bodies from satellite-based spectral data which is provided in raster formats. This is to understand how these water body shapes and areas change over time between each ...
Tom's user avatar
  • 1
1 vote
0 answers
48 views

Shapefile DataSourceUri different depending on how the layer is loaded using PyQGIS

I'm using Python in conjunction with a custom form to autofill some fields. I add a vector layer to my project (via 'Add Layer' button) and then use: print(self.dlg.SelectedLayer.currentLayer()....
Doug's user avatar
  • 11
2 votes
1 answer
80 views

Changing QgsProcessingParameterVectorDestination output to *.shp instead of *.gpkg in QGIS Processing Algorithm

I'm updating a plugin for QGIS and struggling to see how to set the default file type when using the QgsProcessingParameterVectorDestination parameter. See code below. self.addParameter( ...
Kapanther's user avatar
  • 336
3 votes
1 answer
123 views

Create Grid working not as expected

I want a 5x4 grid to define an atlas for export. The extent is -3903052.0356,4029046.6448,2035925.7043,8264176.2162 [ESRI:53078]. I confirmed the extent is accurate with the 'extract layer extent' ...
Arthur Airey's user avatar
2 votes
1 answer
123 views

"Opening of data source in update mode failed (OGR error)" when exporting multiple shapefiles to GeoPackage using PyQGIS

I'm trying to automate the process of exporting around 20 shapefiles from my QGIS project into a single GeoPackage using PyQGIS. Here is the code: import os from qgis.core import ( QgsProject, ...
Krishna's user avatar
  • 41
1 vote
0 answers
50 views

How to dynamically write shapefiles to folder and subfolder fanout in FME Flow

The goal is to convert a large amount of DWG CAD files to shapefiles. Each DWG file is located in a specific folder and subfolder corresponding to it’s location and level. Each DWG name has a prefix ...
Lay's user avatar
  • 315
0 votes
0 answers
58 views

Integer32 becomes integer64 when exporting layers

When exporting a layer (eg. shp->shp or shp->tab) the fields defined integer32 turns into integer64 for no apparent reason. I can fix it with the refactor fields tool but it's annoying to have ...
bullen's user avatar
  • 1
2 votes
0 answers
62 views

Choosing which features can be overlapped by labels in QGIS

I have a dilemma trying to get labels to work in my QGIS project. I have a point shapefile with labels and line shapefile of roads. I want the labels to overlap and not be altered at all by the road ...
Toby's user avatar
  • 21
3 votes
3 answers
135 views

Loading badly formatted ESRI shapefile having duplicated field names in Python

When opening an ESRI shapefile in QGIS, it shows field names with more than 10 characters: But when trying to load that same Shapefile using fiona (1.9.6): import fiona src = fiona.open(filepath) ...
swiss_knight's user avatar
  • 11.4k
2 votes
1 answer
131 views

Obtaining Profile using Profile Tool in QGIS

In QGIS I want to obtain the terrain profile of an existing shapefile from a DEM using the Profile Tool plugin. My DEM is loaded into my project as is my line shapefile of a walking track which has a ...
Bill C's user avatar
  • 1,029
0 votes
3 answers
209 views

Adding multiple shapefiles to one QGIS memory layer

It seems that typically a provider is linked to the layer upon import of a .shp file, which makes sense to me. However, for QGIS version 3.40.5-Bratislava, I need to write a processing plugin that can ...
Andreas Isenegger's user avatar

15 30 50 per page
1
2 3 4 5
379