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
0answers
19 views

How do I develop shapefile (SHP) for a location from scratch?

I am working on a research problem for a location for which geospatial vector data does not exist. This means I have to create one from scratch so that I can create shapefile data for this location. ...
3
votes
1answer
80 views

Getting coordinates across one road

I download .shp and .dbf files for roads, extract it and save to database. I display points with the same name as the street on my own Google Map. This is how it looks like: I found that not each ...
0
votes
0answers
11 views

Incomplete and missing column names in Select Analysis - ArcPy

I am trying to export enterprise geodatabase layers using Select Analysis in Arcpy to make shapefiles. I am facing two problems, The column names are incomplete. For example, for two columns called ...
2
votes
1answer
16 views

Issues with displaying layer with the right extent and units

I am using QGIS 3.14 and I want to project a layer with a particular CRS, extent and units. Starting situation: I have 2 shapefiles that are in different projections, have different extents and are ...
1
vote
0answers
20 views

Exporting shapefile to DWG

I need export a shapefile to DWG using Java. I have seen many examples of how to export a DWG file to PDF, but I have not found any that directly export from shapefile to DWG . Is it possible to do ...
0
votes
0answers
27 views

Fixing fixed layer offset

I have a shapefile layer whose CRS is WGS84. However, all points are off by some fraction of degree, roughly corresponding to a dozen of meters. Is there a way in QGIS to fix this offset? I can more ...
0
votes
0answers
13 views

QGIS, 3D-view, Time Manager Plugin. How to update 3D-view automatically?

I have a set of polygons with values, and time information. I am able to set Time Manager plugin to work with the values also with 2.5D view. So every year with new value for polygon I have a higher ...
0
votes
1answer
19 views

Exporting NDVI as TIFF file in Google Earth Engine

I've calculated NDVI using Sentinel data. Below is the part of my code. This code exporting TIFF file into my google drive, however, when I load this image into ArcMap and trying to convert this ...
2
votes
2answers
29 views

Trying to auto generate the coordinates of a point using QGIS and QField

I am using QGIS 3.10 for windows, and I am trying to create a shapefile such that I can load it into QField and take points in the field, and have those points auto generate their coordinates. I have ...
0
votes
1answer
17 views

using ogr2ogr to import a shapefile into a PostgreSQL/PostGIS database [duplicate]

I am trying to load a shapefile into a PostgreSQL/PostGIS databases with the following statement run within the OSGeo4W shell ogr2ogr -f "PostgreSQL" PG:"host=localhost port=5432 dbname=...
0
votes
0answers
14 views

Auto increment by group in ArcGIS ModelBuilder

I want to calculate auto increment a field name by group order Column "ID" into column "Name" in ModelBuilder and my input is shapefile. Example:
4
votes
1answer
26 views

How to add a legend, banner to shp file exported in PDF

I need add a legend, banner and signature to my shp file which is exported in PDF. My code: HashMap<String, Object> params = new HashMap<>(); params.put(ShapefileDataStoreFactory....
0
votes
0answers
36 views

Error while opening shapefile in QGIS on Surface Pro

I downloaded QGIS on Surface Pro, but when I try open a .shp-file the following error comes up: Layer is not valid: The layer C:/Users/Izzyg/Documents/lab 1/__MACOSX/GEOG2480_F20_Lab01Data/countries/...
2
votes
1answer
46 views

Error: local variable referenced before assignment in ArcPy

I have a directory with contain others subdirectory with shapefiles. I access to the shapefiles using a for, but then when I ned to use the variable shape that I get this message: UnboundLocalError: ...
-2
votes
1answer
40 views

Convert shapefile to PNG using GeoTools

I need to know how to export a .shp file to .png in Java using geotools. I found an example here: Convert geojson to png. But I need convert shapefile to PNG.
0
votes
0answers
23 views

Goggle Earth Engine is slow in ingesting shapefile [closed]

I am trying to ingest a shapefile from Assests-> Table upload -> shapefile. Despite the fact that the shapefile is relatively small (4.04 Mb), GEE is incredibly slow in ingesting it and takes ...
0
votes
1answer
43 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 ...
0
votes
0answers
21 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
36 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
107 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
20 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
13 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
16 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
42 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
26 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
35 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
35 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
103 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
65 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
21 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
43 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
31 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
30 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
20 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
35 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
41 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
21 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
41 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 ...
1
vote
1answer
42 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
19 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
23 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 ...
0
votes
1answer
56 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
33 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
55 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
62 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
24 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
17 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
54 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
115 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
27 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 ...

1
2 3 4 5
92