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
133 views

Find distance between two points by following a polyline in R

I have a polyline shapefile that follows the center of a stream, and I have coordinates for animal positions within the stream (not necessarily immediately on the line), and I am trying to calculate ...
1
vote
2answers
51 views

How to join values from a R dataset to a shapefile of polygons I've created in QGIS?

I have a dataset where I have count data of sea turtles associated to different areas, for example in area 4 the divers saw 20 turtles. I want to display the column of counts on a shapefile I've ...
2
votes
1answer
40 views

Estimate population with two overlapping shapefiles

I have two levels of geography: blue polygons (18,000 districts) and black polygons (400 districts). But, I only have population data for the blue areas Is there a tool in Arc Map which will estimate ...
4
votes
2answers
118 views

Ceating cross-sectional styled visualisation of multiple layers in map

Is it possible to create a map using multiple layers to visual them in a cross-sectional manner in QGIS, ArcGIS or R? I have attached two examples to illustrate what I want to achieve.
1
vote
0answers
25 views

How to split a county layer, but keep all surrounding counties per layer in QGIS

I have a shapefile of all US counties. I need to split the shapefile by county, and save in a county file in the file type GeoJSON. This makes about 3k files. That's easy. The hard part is that for ...
1
vote
0answers
14 views

Online source of polygon nodes for individual newly created zipcodes

When a new zipcode is created it would be very convenient to obtain its polygon nodes from an online source, without having to download a national dataset. Does an online web-page or web-API exist, ...
1
vote
0answers
23 views

Google Earth Pro - can't change height

I am trying to import some line data representing utilities into GE Pro. However they get a really high offset (pic 1). I've tried changing the height in the "style template" menu that you ...
1
vote
1answer
143 views

Delimited text layer not showing up on map

I am using QGIS 3.14.15 on MacOS. I have added a delimited text layer (csv file converted from xlsx) as a new shapefile. It shows up on the "Layers" section at the bottom left but not on the ...
0
votes
0answers
32 views

Rescaling the coordinates of shapefile

I have a few shapefiles that I am analyzing in QGIS. They are in the WGS 84 coordinate reference system, which is what I want, however, the coordinates are in the seven digit range (they are all ...
1
vote
1answer
82 views

Pandas dataframe to geodataframe

I have pandas dataframew ith two fields: ID and geometry (geometry is already in WKT). I want to change this dataframe into geodataframe so I can save it as shapefile. I have tried to change it into ...
0
votes
0answers
144 views

Extract longitude and latitude coordinates into separate columns with GeoPandas geometry

I am currently working on an Exploratory Data Analysis for the NYC taxi dataset. Since the new datasets had location ID's instead of long and lat coordinates. sf = gpd.read_file(r"shape/...
2
votes
2answers
161 views

Checking intersection of two shapefiles using ArcPy

I am new to Python programming. How do I check the intersection of two shapefiles using ArcPy? If the shapefiles intersect, it should return True else False. Below is the code that I have written : ...
3
votes
2answers
358 views

Unable to read in shapefile using GeoPandas

I am trying to read in a shapefile: sph = gpd.read_file("taxi_zones.shp", encoding="utf-8") but I am getting this error: 'taxi_zones.shp' not recognized as a supported file format....
1
vote
0answers
33 views

Seeking shapefile of urban, suburban, and rural areas of US [closed]

I'm looking for something like this, doesn't have to be super accurate. I've tried searching for the source of that image but to no avail.
0
votes
1answer
80 views

Shapefiles in geodatabase not visible in ArcGIS Pro but can open in QGIS [closed]

I can open a shapefile from a geodatabase in QGIS but it isn't visible in ArcGIS Pro 2.5.0. Has anyone else had this problem.
2
votes
1answer
35 views

ArcPy: How best to handle output that could be a shapefile or feature class?

In many Esri examples, including this one, they code in the output ".shp". What is the best way if you want to be able to handle a shapefile OR a feature class output. Let say if a GDB is ...
0
votes
1answer
37 views

How do I auto fill the Input Table records for batch processing the Delete Field Tool, in ArcMap?

I have over 500 individual shapefiles that need to have a specific field removed from their tables. In theory I can use the batch option with the Delete Field tool, but adding the Input Table cell for ...
0
votes
0answers
27 views

Greek characters are not displayed correctly on attribute table and db manager

I have a shapefile with some churches in Greece and the characters are not displayed correctly on QGIS, although they do displayed correctly on ArcGIS. Also the other shapefiles I have with Greek ...
2
votes
1answer
97 views

Find out points outside the polygon

I have a shapefile with geometries of different regions. Also I have a list of coordinate points(field_lonlat), I want to consider only those points of the list which are outside the polygon ...
1
vote
1answer
51 views

R, Using a shapefile to extract values from a Landsat Image

Using the the shapefie "roi.shp" provided. Extract values from the Landsat image and plot the spectral profiles of the different materials i.e Water,Urban or built-up areas, roads, and ...
1
vote
0answers
26 views

Merge Polylines by Field Attribute & Sum Other Attributes at the same time [QGIS]

I'm working with a dataset of road links, each link has a flow assigned to it. I have 3 separate shapefiles of these links based on their times - AM, Interpeak and PM peak. I have merged all these ...
1
vote
0answers
44 views

For some reason one polygon in a shapefile is hidden behind another. How to solve this?

In this photo, you can see that Great Brittain consists of two features. London and the rest. Problem is that London doesn't show as a separate colour. When I select great brittain, the area where ...
2
votes
1answer
50 views

Combining Google Maps coordinates with an existing shapefile

I would like to add GPS coordinates from Google Maps (see image below) as point data in QGIS and combine it with an existing shapefile [dvg1_EPSG25832_Shape.zip] https://www.opengeodata.nrw.de/...
1
vote
1answer
26 views

Expand the horizontal range of ggmap

I'm trying to map an area by using ggmap. The problem is that ggmap only plots a square map. What I'd like to do is to expand just a little bit the map, so the map would fit perfectly. Here is my code....
1
vote
0answers
24 views

Which type and range has the component M in a LineStringXYZM for ESRI-Shapefile and the PostGIS context

I want to compress a bunch of sequentially recorded positions with timestamps into a linestring with XYZ an M dimension (LineStringXYZM). Each set of points is represented by a constant part (ship ...
2
votes
1answer
92 views

Difference in geometries of shapefiles

I have the geometry of the outline region as part of one shapefile (which is only one feature and there are other features in it apart from this). Other polygon regions' boundaries which are colored ...
0
votes
1answer
35 views

Control the colours of shapefiles loaded to Geoserver? [duplicate]

I have a set of shapefiles loaded to GeoServer, which I later deliver as a WMS. All the shape files are rendered in the same neutral grey, which makes it quite difficult to tell apart which shape file ...
1
vote
2answers
156 views

Find closest point to shapefile coastline in Python

I have a xarray (674 lats & 488 Lons) and want to find the closest distance for each point to the coastline in meters. I found this solution: Finding closest point to shapefile coastline Python ...
2
votes
1answer
104 views

Splitting up QGIS layer into multiple using QGIS

I have a layer (GeoJSON) with multiple features. I want to split the shapefile up into multiple shapefiles using QGIS. I don't want a file for each individual feature. Is it possible in QGIS to select ...
2
votes
1answer
31 views

Splitting shapefile into separate files within Meridians using QGIS

Given a .shp that covers the globe, how could QGIS be used to segment that into 90 .shp files, each file containing lines/points/polygons/multipolygons that are between the first and second then ...
0
votes
0answers
22 views

How to extend multiple lines at once ArcMap

I have 1700 cross sections lines in a shapefile that are too short and I need to extend all of them about 100-200ft. I don't really want to go click on each line vertex and extend each one ...
0
votes
2answers
64 views

Read coordinates from shapefile

I'm using Google Earth Engine and I know how to import and export imges giving on a coordinates from a shapefile, but let's say I have a shapefile with different regions where each region has its own ...
4
votes
1answer
138 views

Standalone program for converting coordinates in shapefiles

Does anyone know of a standalone program that will convert the coordinates in a shapefile to another coordinate system? By this I mean a program outside of a full GIS package. I have customers who ...
1
vote
0answers
110 views

Distance between two points within a polygon (or raster value) in R

I'm trying to get the shortest distance between each point in a a set of coordinates (lat/long) within a body of water. However, straight line distances don't work because the points represent the ...
0
votes
0answers
25 views

QGIS 3.x API: apply rotation based on the “angle” field of the imported SHP-File

I am writing a python code in Anaconda (Spyder). The goal is to create automatically a QML-File for my SHP-Files (categorized with the values of one of the fields). I have read the documentation on ...
2
votes
0answers
280 views

How to plot a shapefile over a raster in Python

I am beginner to work with GIS, so be patient. My first task is to do: Read a raster file (Done) Create a shape file (work on it) Create a new raster from the shapefile (not started) I am having ...
0
votes
1answer
50 views

Convert shapefile data to NMEA - simulate NMEA positions from shape data

To generate waypoints to be read by the agricultural GNSS-RTK-steering system CEREA, I am looking for a way to simulate NMEA strings of a GNSS receiver by clicking the edges of the boundaries of ...
0
votes
1answer
89 views

How to read a shapefile using Julia?

I am starting to learn Julia and I am wondering how to read a shapefile? Is it as straightforward as with other languages (e.g. Python or R)?
1
vote
1answer
339 views

Trying to convert NetCDF file to shapefile in QGIS

I have a NetCDF file containing surface sea temperatures that I want to convert into a ESRI shapefile. I have tried following this link: https://freegistutorial.com/how-to-export-layer-to-shapefile-on-...
1
vote
0answers
48 views

Unable to match a shapefile to a TIFF with different CRS

I have a shapefile in EPSG:27700 with the linestring coordinates of locations in Scotland and trying to match them with a satellite image provided as a TIFF file with EPSG:4326 that has been taken ...
0
votes
1answer
41 views

QGIS 3x problem with rescaling vector (shapefile) layer

I would like to rescale my shapefile layer in a particular location on my map in QGIS. Unfortunately every time my layer is rescaled in completely different location. According to this query Resizing ...
3
votes
1answer
164 views

No .shp files only .dbf files

I've recently been given a set of files to work on/analyze with QGIS, but they seem to be missing any .shp files. Basically, the data is organized into a bunch of folders labelled land, water, etc. ...
3
votes
2answers
130 views

Inserting only subset of columns of shapefile to existing PostGIS table with different column names?

The situation So I have a shapefile with several columns: id|name_en|name_es|name_de|name_fr|... I also have an existing PostGIS table on my remote server: county_id|county_name|county_name_de|...
2
votes
2answers
111 views

Automatically measure polygon length in km

I have a large number (>1000) of polygons in a shapefile. I would like to measure their approximate length. The polygons are somehow elongated, so a quantity such as the length of longest line ...
2
votes
0answers
33 views

Filling column with values at certain condition in QGIS

I have blocks of the road network and these blocks are divided every 200m. I want to name them based on the ID_Sufix number. For example, if the stretch road ID is 10001 and this contains 26 small ...
0
votes
0answers
25 views

Manually scale polygon feature in QGIS

I want to manually scale selected polygon feature in QGIS so I don't need to set any parameters, just click on the feature and scale it moving the mouse. In ArcGIS there is a Scale tool. I want the ...
0
votes
0answers
29 views

shp2postgis changed field type and length

I'm using shp2postgis GUI tool load ESRI shapefile to PostGIS. In the shapefile, there is a field of type text which length is 2000, or even more. However after loaded in PostGIS, its type changed to ...
2
votes
1answer
69 views

How to merge several shapefiles with the same geometries and same attribute names?

I have data from several runs of a numerical modeling tool. The data always has the same structure - e.g. fixed set of rectangular vector tiles - no matter if there is a "valid" output or ...
0
votes
0answers
20 views

Halo mask in symbol property editor not working in ArcMap

I am trying to add a halo around symbols i have mapped in ArcMap 10.4 to make them more visible on the map. The symbols are plotted as points. I went to the shapefiles properties -> symbology tab -&...
0
votes
1answer
19 views

Simplify OS MasterMap Data without Losing Key Details

I am building a flood model (Infoworks ICM), using OS MasterMap Topography data supplied in shapefile format to define land use such as roads, buildings, fields etc across the river's catchment. The ...

1
3 4
5
6 7
95