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

Saving a shapefile to a specific catalog

I have a shapefile that I would like to save to a specific catalog database. I created a new database connection in arc catalog but I am not sure how to save this shapefile that was sent to me via ...
-1
votes
1answer
14 views

GeoDa/spatial analysis using a shapefile with missing data

I have a shapefile with 20% missing data on a variable of interest. I would like to conduct some spatial analysis using GeoDa and R and I am not sure how to deal with missing data.
0
votes
1answer
61 views

Thematic map made in QGIS [on hold]

I made a thematic map of carbon stock in Russian Federation in 2017 year. I am not a cartographer and geographer at all. Tell me please what should I do with this map to make it more professional? ...
-1
votes
0answers
14 views

Regarding extraction of shapefile [on hold]

I have one shapefile called A. I have another shapefile, B, which is a part of the former shapefile A but I want to extract portion of shapefile A which would be the result of shapefile A - shapefile ...
2
votes
1answer
45 views

Finding sum of points values within distance from paths

I'm willing to plot public transport data for a university project, and I'm currently trying to find out roughly how many people live with a reasonable distance from a set of bus routes. I have my ...
0
votes
0answers
22 views

Adding new polygon to existing shapefile? [on hold]

I have downloaded countries of world shapefile. Since Russia is stretching across two continents I want to create two new polygons Russia European part and Russia Asian part, but the original Russia ...
2
votes
1answer
35 views

Shapefile to polygon, then edit the polygon in order to use it as a mold

I am working on QGIS with a shapefile: I transform it through Raster-> Conversion-> Polygonize Then I eliminate some parts (Sea), and those that are bigger than one single square of grid but are ...
8
votes
9answers
36k views

Exporting to DXF file from QGIS?

Is it possible to export labels based on Shapefile attributes into a DXF file? I use QGIS 1.7.4. I've been reading a CSV file and view it as a Shape Layer. With the help of attributes from the File ...
0
votes
0answers
19 views

Draw a shape using dimensions using advanced digitizing tools [duplicate]

Does anyone know how to draw a shape by area. I need to draw a survey area of 3.58km x 3.0k meters. I have added the Advanced digitizing toolbar --> selected toggle edit --> created new polygon ...
1
vote
1answer
1k views

Converting an XML to Shapefile polyline?

I want convert this XML file to a polyline shapefile. <?xml version="1.0" encoding="utf-8" standalone="yes"?> <ci nc="BMSKDMA10" nl="BMskDMA10" mt="6" ct="DM" dtt="17342" dtu="15/01/2016 09:...
1
vote
1answer
20 views

Adding data from KML/shapefile/GeoJSON to OSM nodes

I have data of streets which is marked with the osm way/node ids. I would like to add speed limit data which is available in KML, shapefile, or GeoJSON to these OSM wayids (OSM wayid with start node ...
0
votes
1answer
41 views

Change LIDAR classification of points inside polygons

I'm trying to create a pdal pipeline to adjust the classification values for all points inside polygons, but I can't seem to get it to work. The filters.range works correctly because the output file ...
2
votes
1answer
41 views

ST_Distance does not give nearest node

I am trying to find the nearest point on the road network closest to a given point. I imported the road network into PostGIS from QGIS and am using the SQL window in QGIS DB Manager to query the road ...
3
votes
0answers
35 views

QGIS 3.4.6 Cannot create fields in new shapefiles

Running 3.4.6 on Windows 10. Until today I have had no problems creating new shapefiles and fields. Now when I create a new shapefile everything in the new dialog box works as usual when I create ...
23
votes
5answers
34k views

Free tool to convert ArcGIS layer package (*.lpk) to shapefile (*.shp)?

I have received a *.lpk file from Esri's ArcGIS platform that I would like to convert to a shapefile. How can I do this, using only free software?
1
vote
1answer
54 views

Error importing shapefile to PostGIS

I'm trying to import a shapefile into a PostGIS database using the graphical importer. I just installed PostgreSQL, and PostGIS. The error: Shapefile type: Polygon PostGIS type: POLYGON[2] We ...
0
votes
0answers
24 views

When re-saving a GeoJSON file to a shapefile, the .dbf significantly increases in size

When re-saving a GeoJSON file to a shapefile, the .dbf significantly increases in size to the point where the file size becomes unmanageable. For example, I re-saved a 250 MB GeoJSON file to ...
1
vote
1answer
41 views

Spacing points automatically instead of by hand using ArcGIS Desktop? [on hold]

Is there a way to put points out at 10m apart instead of doing it all by hand? My boss thinks it can be done in Excel but the only way I know how is to enter in each lat, long then import it that ...
0
votes
2answers
596 views

Adding polygons with excessively complex coordinates to Google Maps

I have a big JSON file, from a converted shp file (through http://mapshaper.org/) of region coordinates for Australian Local Government areas. The problem is that the region areas are super complex ...
2
votes
0answers
38 views

Shapefile or GeoJSON? [closed]

I'm interested in understanding the relative merits of using GeoJSON or shapefile formats for handling geo-spatial data, particularly in an open-source, Python (CKAN project), web-development context. ...
2
votes
3answers
3k views

Export shapefiles in QGIS to import to ArcMap

I have one question regarding export shapefiles from QGIS to import after to ArcMap 10.6. I export the shapefiles as Save data/ESRI shapefile. After when I try to upload in ArcMap this shapefile, I ...
0
votes
1answer
149 views

Ordnance Survey Maps in .osm.pbf format

I see that you can download Ordnance Survey maps as ESRI Shape files, so I would like to take those and convert them into a .osm.pbf file so that I can more easily use them. Are there any tools out ...
1
vote
1answer
285 views

Fill color in polygons using attribute variable in GMT (Generic Mapping Tool)

I want to FILL colors of the polygon (converted from .shp ESRI shapefile) based on an attribute (here OBJECTID, Area) from lookup color (.cpt), but I am getting colored outline of each polygon. I ...
8
votes
4answers
16k views

Join CSV file to shapefile

I wanted to join a CSV file to a shapefile. When I identified a field to facilitate the join, e.g., map <- spChFIDs(map, as.character(map$ID)) it returned Error in spChFIDs(SP, x) : lengths ...
0
votes
0answers
20 views

Export layers in QGIS to one shapefile [duplicate]

I have a group of shapefiles already loaded into QGIS. How do I export them to a .shp, .dpf, and .shx file that I can put into a folder and load onto another instance of QGIS?
0
votes
0answers
15 views

Where can I find hierarchies of polygons in OSM data?

I extracted nationwide data from the geofabric.de website for Germany and used the osm2pgsql tool to get the tables into Postgres. I am trying to extract shapefiles from this data and most ...
1
vote
0answers
21 views

Shp2pgsql-gui.exe - system error

I have got this message when I was trying to run PostGIS 2.0 shapefile and dbf loader and exporter for first time. I tryed to reinstall but it did not run after second installation either. I have ...
3
votes
2answers
3k views

How to convert lines to start and end points?

I know there are several ways to convert lines to points in QGIS but I have not been able to find a solution that will convert the file so that it indicates if the point is the start point (upstream) ...
2
votes
0answers
43 views

QGIS degrees - meters

I have point data in GDA2020. shapefile *.prj file says units are meters. when I load the data in QGIS the layer units are degrees nd the buffer tool is always degrees. I have searched for every ...
1
vote
1answer
26 views

Error when importing shapefile as vector layer into GRASS GIS

I'm tried to importing an Esri shapefile into GRASS GIS using both v.in.ogr and v.in.import however methods fail with the following error message: WARNING: Table <roadsSriLanka> linked to ...
0
votes
1answer
203 views

Adding attributes to each vertex of shapefile using shapely?

I have two polygons in Python: poly1 = shapely.geometry.polygon.Polygon([(3,4), (2,4),(2,2),(3,2)]) poly2 = shapely.geometry.polygon.Polygon([(4,4), (3,4),(3,2),(4,2)]) that look like this: ...
2
votes
1answer
55 views

Getting ExecuteError: ERROR 001558: Error parsing JSON file in ArcPy?

I'm trying to convert some open-source data in JSON format to a shapefile for use in ArcGIS Desktop. I'm attempting to do this in ArcPy with ArcMap 10.7. The data I'm trying to access is here, in ...
0
votes
0answers
22 views

Using ArcGIS Desktop to convert GML to Shapefile? [duplicate]

Does anyone know how to convert a gml file into a shapefile without using python?
1
vote
1answer
422 views

Getting historical administrative boundary GIS files for India?

I am currently working on a project for which I need to get GIS maps of India at a district-level in the 80's and 90's. India's district and state boundaries have changed considerably over the time ...
1
vote
1answer
126 views

QGIS Intersection tool not allowing Save file as Shapefile

In QGIS 2.16.2 I am trying to intersect two Shapefiles to create a third Shapefile, however the Intersection tool is only allowing Save file as DBR, CSV, XLSX or ODS - not SHP. One of the Shapefiles ...
1
vote
0answers
29 views

Attributes encoding problem with rgdal::writeOGR

I performed an intersection of two SpatialPolygonsDataFrame on R (3.5.1) using raster::intersect. Here's the structure of the resulting SPDF attributes table > str(shp@data) 'data.frame': 944 ...
1
vote
1answer
41 views

Creating raster that contains gradients given contour shapefile using R?

Using R I'd like to create a raster from a set of contour shape files, where each cell in the raster contains a value for the derived gradient. I am using OS Terrain 50 contour lines which is open ...
3
votes
1answer
247 views

Keep attribute data while converting XML file to shapefile in QGIS?

I want a map of particular area in shapefile format from Google Earth. I created a map using polygon method and save it as KML file format, but when I convert it from ".xml" to "shapefile" format ...
2
votes
1answer
44 views

Error converting vector shapefile to raster (.TIF) in QGIS?

I am working with a shapefile of 10km grid regions of the UK obtained from digimap. I need to convert this to a raster in order to do some analysis in R regarding agricultural intensity of 10km UK ...
1
vote
1answer
25 views

Convert all KMLs within a directory to SHP, zip by name, and move to another output folder? [closed]

I have the requirement to convert a list of ~100 KML files into shapefiles and later merge and upload the polygons as one layer into ArcGIS. I'm new to GIS and Python. I've been able to convert ...
5
votes
1answer
6k views

Transforming shapefile to WGS:84 (EPSG: 4326) in QGIS?

I received several shapefiles from an colleague that he told me is in WGS:84. If I look at the metadata in Qgis it tells me the following: In layer spatial reference system units xMin,yMin 3572722.82,...
1
vote
1answer
44 views

Using delimited text layer to keep only those polygons and records of a shapefile which match a column in the delimited text layer?

What I want to do is trim the shapefile so that only those records and associated shapes that match the same values in a column in the delimited text layer (which in my case is a CSV) are kept in a ...
1
vote
4answers
821 views

Free hosting of shapefiles to make an interactive map?

What is a free site where I can upload shapefiles and make my own interactive map to share with others by a link?
1
vote
0answers
20 views

Copying value from file geodatabase field into shapefile field using ModelBuilder? [closed]

Does anyone know how I can pass the value from a field in a file geodatabase to a field in a shapefile using ModelBuilder? I have a Model to do a Definition query via the Select, then use Summary ...
0
votes
1answer
42 views

Rebuilding .shx using python/pyshp?

EDIT: I've tried running the code linked in the duplicate flag, it's posted here for reference, and it doesn't run. I had already referred to that answer in my initial post. My problem Downloaded ...
3
votes
1answer
92 views

Write shp into python and fill in the attribute table

I am struggling to create a shp and I want it to writes records on the attribute table. I can create the shp but I can not fill in with the correct records. I import an Excel file, that contains the ...
5
votes
3answers
4k views

Error exporting data from Oracle to shp using ogr2ogr

I have an oracle table which I would like to query/make a selection. I would then like to export the selection to a shp file. I'm using gdal and ogr2ogr. Following the guidelines here and here I ...
-1
votes
0answers
18 views

Public WFS / WMS service which hosts simple countries/cities border?

I have an NDVI WMS service (raster images) and needs to add a simple layer on top of that which contains the boundaries of cities. I think the WFS would be the best as it just shows polygons and city ...
0
votes
1answer
177 views

Setting zoom level for labels of highway in JOSM?

I'm new in using JOSM and OpenStreetMap data . I import a shapefile of highways in JOSM and use it for styling the highways.Some highways are trunk ( in open street map standard ) and some of are ...
5
votes
2answers
920 views

Creating missing .shx file?

I am using ArcGIS Desktop to view one shapefile. Only a select number of features are being displayed. The same number are showing in the attribute table even though the database file (.dbf) has a ...