New answers tagged shapefile
3
votes
Accepted
Sync Layernotes between Projects
Layer note are stored in QGIS project, they are not part of the data themselves (you can have different note for the same data layer in different project). see this for more information
So unless you ...
0
votes
Exporting from QGIS to ACAD DXF as Linework
Since the QGIS DXF export is based on GDAL, we can simply set the Windows system variable DXF_WRITE_HATCH=FALSE to prevent the generation of hatches: https://gdal.org/en/latest/drivers/vector/dxf.html#...
5
votes
Accepted
Extract geometry information from a .shp file without the associated files
You can recreate the missing .shx sidecar file using the processing algorithm "Repair Shapefile" which is part of the Processing toolbox of QGIS. Then you will be able to open the repaired ...
3
votes
How to export Polygon as Polygon in a shapefile using QGIS Desktop 3.10.12
The ESRI Shapefile technical description states that there is no distinction between polygon / multipolygon types: there is only a "polygon" type layer which can store both multi-part ...
0
votes
Accepted
Outputting dataset with "fraction overlap" between two types of areas
Intersect, groupby:
import geopandas as gpd
district = gpd.read_file(r"/home/bera/Desktop/gistest/district.gpkg")
#print(district.columns)
#Index(['district_name', 'geometry'], dtype='...
0
votes
Rasterio is masking wrong area?
I'm not sure where you problem lies. But it is worth dropping all the gdal stuff and using geopandas to do the transformation. This should simplify things at least to better identify the issue.
import ...
0
votes
Exporting from QGIS to ACAD DXF as Linework
An alternative method that I have been using is:
Export to DXF as usual (which recreates a hatch region)
In AutoCAD, select the hatch and use 'Recreate Boundary' which creates either a polyline or ...
Top 50 recent answers are included
Related Tags
shapefile × 5639qgis × 1694
arcgis-desktop × 654
python × 621
r × 426
coordinate-system × 355
polygon × 326
raster × 280
postgis × 261
arcmap × 257
gdal × 257
convert × 244
arcpy × 209
ogr2ogr × 203
data × 179
csv × 174
ogr × 165
pyqgis × 148
geojson × 148
geopandas × 148
attribute-table × 143
kml × 138
vector × 137
fields-attributes × 127
export × 127