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.

Filter by
Sorted by
Tagged with
0
votes
1answer
16 views

Python GDAL: Clip rasterfile with multi-polygon shapefile

I am trying to clip a raster file with a multi-polygon shapefile to get separate clipped-raster file for each polygon with its 'id' as part of the name of clipped-raster file. I tried the following ...
1
vote
0answers
19 views

Accessing QGIS attribute table description details

I have opened a set of .kmz files in QGIS. When I inspect attributes related to specific details from the map space I can see the metadata is there (material, date, diameter etc...). However, when I ...
0
votes
1answer
29 views

Combining all features into one in same shapefile in QGIS

I am creating fiber routes on a CAD drawing and need to merge the features in the same shapefile. Application websites will not allow me to upload because it has several line features. I need every ...
0
votes
0answers
25 views

Creating shapefile of concentric circles around point on map using Python

I am trying to model sound propagation from a moving sound source. I have a csv file with lat, long of the source with timestamps every 10 seconds. What I'm trying to do is draw concentric circles ...
0
votes
0answers
29 views

QGIS 3.16.16 OGR error Coordinates

I am editing shapefiles that are derived from data measured with a GPS. I have made several adjustments without problems. Suddenly when I want to add a point to a feature or want to add a new feature ...
0
votes
0answers
31 views

QGIS not exporting all features in shapefile

I have a text file containing 2.2 million records. I have used the QGIS Data Source Manager Delimited Text method to read it in and display it. All 2.2 million records have been successfully projected ...
1
vote
1answer
27 views

Can't merge two layers because of field length in QGIS 3.16

I'm trying a model which did work with QGIS 3.12 but don't in QGIS 3.16. In this model, two vector layers are merged by the algorithm native:mergevectorlayers. In the new version if a field of ...
1
vote
1answer
22 views

is it possible convert 3 shape files to 1 gpx file?

I ran into problem converting shp to gpx file. I used below code using ogr2ogr. ogr2ogr -f gpx i.gpx i.shp it works well, but I'd like to convert 3 shp files to 1 gpx files like this: ogr2ogr -f gpx ...
0
votes
2answers
39 views

Saving filtered features to separate shapefile

I am using "Export - Save as" of layers filtered features, from a Temporary file, to get a new layer which holds only filtered features. It goes well considering features I get. But I see ...
0
votes
0answers
28 views

Is a multiply nested GeoJSON still valid GeoJSON and can it be displayed by LeafLet.js?

Is this a valid GeoJSON? Can it be displayed using LeafLet GeoJSON Layer? "geometry": { "coordinates": [{ "coordinates": [{ "type": &...
2
votes
0answers
33 views

Are ESRI files preprojected? Trying to square a small projection with Web Mercator

I received a shapefile (with all its sibling files) from an urban planning agency in Paris that I'm trying to overlay on map tiles from either Google Maps or OSM. The source file uses the projection ...
0
votes
1answer
22 views

ArcGIS - Can't create shapefile showing footprint of raster extent

I'm trying to create a shapefile with the extent of my raster so that it can be used as a mask to clip with. My shapefile has no datapixels along its boundary and is irregularly shaped. So far I've ...
0
votes
0answers
42 views

Converting GeoTIFF to 3D shapefile?

I have a GeoTIFF in which the data represents flood heights. I want to create a 3D vector that shows the flood heights from the GeoTIFF. Please suggest any methodologies/tools if this is possible.
0
votes
0answers
20 views

QGIS, Lines disappearing after classification

I want to create a shapefile with the geometry type Line. For this purpose I make a classification in the symbolization, because the lines are assigned to different meanings. For example: Value a --&...
2
votes
2answers
59 views

Some of the shapefile layer points still are outside of boundary even after correcting latitude and longitude

I have two shapefiles, one points and the other one polygons. These two layers should overlay without any points being outside of boundary. Unfortunately, there were some points that were outside and ...
4
votes
1answer
82 views

Unable to save my temporary layer

I am getting the following error while saving my temporary layer. Traceback (most recent call last): File "C:\PROGRA~1\QGIS31~1.14\apps\Python39\lib\code.py", line 90, in runcode exec(...
0
votes
1answer
30 views

Download shapefiles from website with embedded Google map

I would like to download all the blue highlighted regions on this map so that I can import them into other mapping software. The map with all the data is at the bottom of the page with the title "...
1
vote
0answers
21 views

Get overlapping area between polygons by group rather than total area using the sf package in R?

I'm interested in calculating the area of overlap of different protected area types in a polygon I make of an animal's range using a Brownian Bridge. The shape files come from here https://www....
0
votes
0answers
46 views

Creating new shapefile layer using multi line geometry but not accepting label using QGIS

I am using QGIS. I created a new shapefile layer using multi-line geometry, which won't accept a label. I highlight the layer, toggle the edit button, open the properties box, open labels, activate ...
1
vote
1answer
51 views

Merge Vector Layers fails on point layers with no log output

I'm trying to merge three layers in QGIS 3.10.14. Each layer contains only points and displays correctly in my map view. When I use the Merge vector layers menu option, I get the correct dialogue box. ...
0
votes
1answer
15 views

Styling GeoServer layer by taking coordinates from feature and plot marker

I am trying to style the GeoServer layer. I have the shapefile with multi polygon feature into it and in the attributes, I have the x, y(centroid of each polygon) where I need to plot the marker or ...
0
votes
0answers
19 views

Extracting NASA Earth Exchange Global Daily Downscaled Projections for a country

I use the following codes to extract projected temperature data from NASA for a specific point. However, I am not sure how to apply these codes to get the data with a shapefile of a country. The ...
4
votes
1answer
79 views

Adding Timestamp to attribute table in QGIS

I have the project where, in one part of it, I need to add the timestamp to uniform generated points along the line (road, in my project). There is a road and uniform distributed points on it, which ...
0
votes
1answer
38 views

Exporting shapefile with random color

I have a huge shapefile with an attribute field called category. How do I add random individual colors to this category attribute and then export it with the style so that I can open it in other ...
0
votes
0answers
18 views

Unable to extract actual NTL Values from VIIRS imagery

I'm trying to calculate the aggregated luminosity values of VIIRS Nightlight Imagery, but the CSV file that's outputted contains 0.0 values for all the images. This is the script in the GEE console ...
-1
votes
1answer
28 views

Getting US Congressional district code by latitude and longitude OR user address

How can I get US Congressional District code by latitude and longitude OR user address? I have already downloaded Congressional district shapefile from Census files.
3
votes
1answer
66 views

Update shapefile using SQL

Is it possible to execute raw SQL in QGIS in order to update a shapefile layer? Lets say I have a layer called 'lamp_posts' imported into my project. I need to make a series of trivial updates, and ...
1
vote
1answer
21 views

Coordinate Operations Error for NAD83(2011) Alaska Zone 1

I am receiving the following error below when running gdalwarp to crop an input orthomosaic in the NAD83(2011)-Alaska Zone 1 CRS. The command still runs and the output cropped TIFF file renders fine ...
0
votes
0answers
17 views

Geometry Checker not removing overlap

I am running QGIS 3.16.15. I have a polygon with many overlaps between the polygons. I am trying to fix this using the Geometry Checker plugin. However, despite selecting the 'Remove overlapping area'...
2
votes
1answer
34 views

Extracting intersection areas in R with threshold

I have two shapefiles. One contains distribution species maps(circle) and the other contains types of vegetation (A,B,C). I want to know what area of every vegetation contains which species. I tried ...
0
votes
0answers
56 views

Importing shapefile in PostGIS DB

I am trying to import a shapefile (created using QGIS) into my PostgreSQL DB with PostGIS extension using SQL. I got the message below, any body can help: Importing with configuration: transects, ...
1
vote
1answer
56 views

Adding new polygons in shapefile using QGIS [closed]

I have a file from IUCN with data of distributional polygons of frogs' species (Anura.shp). But, this shapefile doesn't have all the species that I need. So, I looked for additional data and I got ...
-1
votes
1answer
70 views

How to open shapefiles in QGIS [closed]

Trying to open/add .shp file of wetlands delineation. QGIS error stating something like "invalid file type". Tried several times... through data mgr. Add vector layer. That's #1 problem...#2 ...
2
votes
2answers
103 views

Rasterize and sum polygons in Python

I have the following shapefile of NYC with all 5 Boroughs as separate polygons, called Boroughs.shp. Data Source (NYC OpenData): https://data.cityofnewyork.us/City-Government/Borough-Boundaries/tqmj-...
0
votes
0answers
18 views

Convert shapefile to JSON by using node js

I want to convert a big shapefile to JSON and store it inside MongoDB. Is there any tutorial to help me? Or any library that could help.
0
votes
0answers
24 views

Export regular GeoTIFFs from shapefile

I am using OSMAND as my regular GPS. It works great. However, I am trying to do something that OSMAND struggles with: polygon overlay. The only solution I have been able to find is to create an ...
-1
votes
1answer
41 views

Seeking UK Postcode polygons shapefiles [duplicate]

I've been looking everywhere for a high quality source of postcode polygons for the UK, ideally down to the SW1 area. The best source I've found is the OS Openpoint data, but that's only... points.
1
vote
1answer
38 views

Adding vector shapefile with all elements to QGIS V 3.16 not recognized data source

I am trying to add a vector shapefile to QGIS V 3.16 and am receiving an error message "Not a valid or recognized data source". There is nothing wrong with the file connection on my end as ...
2
votes
1answer
43 views

Extracting the attributes of one shapefile from the overlap of another using sf

I'm building a movement model with some animal tracking data using a Brownian bridge. I use the resultant shape to measure how much of it overlaps with protected areas in the region (https://www....
1
vote
1answer
39 views

How to rasterize each polygon in shapefile using geocube [python]?

I am trying to take shapefile Boroughs3.shp and rasterize each polygon (row) as its own raster layer, where each new raster would each contain a separate and isolated rasterized polygon. For context, ...
0
votes
1answer
28 views

Calling shapefiles as inputs and creating a list

I am working on writing my first script (Im a noob) to automate a task where we combine data from a hydrology dataset stored in a database and clip it to the project area boundary which is a shapefile....
0
votes
1answer
21 views

Rasterizing polygons in rasterio error: "ValueError: operands could not be broadcast together with shapes"

I am trying to take shapefile Boroughs3.shp and rasterize each polygon (row) as its own raster layer, where each new raster would each contain a separate and isolated rasterized polygon. For context, ...
2
votes
1answer
43 views

Reduce shapefile to a specific parcel

I work in QGIS 3.16 and my issue is that I have a line shapefile, which represents a park for solar panels, that is in a bigger scale and I would like to reduce it so that it fits inside an area which ...
0
votes
0answers
17 views

How to view large data in Google Earth Pro?

I have a dataset with 32,000 location points and I need to view all the points in Google Earth Pro (v. 7.3.4.8248; 64-bit) at the same time. I have tried exporting my data (from R) as a KML and as a ...
0
votes
0answers
40 views

Unable to rasterize polygons in rasterio due to CRSError: EPSG code is unknown

I am trying to take shapefile Boroughs3.shp and rasterize each polygon (row) as its own raster layer, where each new raster would each contain a separate and isolated rasterized polygon. For context, ...
0
votes
2answers
31 views

Unselectable features from former shapefile layer persist in file

I have a file to which I added a custom shapefile layer to which I added a couple polygons. I saved it, reopened it the other day on a different computer and got an error message saying that the ...
0
votes
1answer
32 views

Covering x% of shapefile in another shapefile using QGIS

I have a shapefile of the British Isles and I want to evenly distribute another polygon shapefile over it in randomly spaced splodges with tree symbols, at a certain % of land cover. How could this be ...
3
votes
2answers
124 views

Getting coordinates of individual polygon in shapefile

I just started working with shapefiles. I need to take polygon # 93 (Sea of ​​Japan) in a large shapefile and build a sea map in bokeh Python. How do I refer to a specific polygon in a shapefile? ...
0
votes
1answer
33 views

Identifying outliers (not considering spatial relationship) in time-series data

The data I am working on is plant canopy cover (percentage within polygons (0-100%)) estimation from drones. This was collected over the course of 17 weeks. I was thinking on detecting outliers (not ...
0
votes
0answers
7 views

What is a SHN object and how to convert it into a polygon?

I have a dataset with a georeference called SHN that corresponds to a 12-digits number. For instance, the area Gemeinde/Stadt: Stadt Lauingen (Donau) is identified as 097730144144. What does SHN stand ...

1
2 3 4 5
102