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
1
vote
1answer
22 views

Looking for a Shapefile of World countries with national currency attribute

I looking for Shapefile of a World countries having an attribute of the national currency, do you know how can I get that ?
0
votes
1answer
20 views

Where can I find polygons that map out land zone type (ie Residential, Industrial, Commercial) in the UK

I'm looking at displaying the commercial and industrial areas of the UK on QGIS so that I can do some work on them. I'm not looking to add my own data to it, merely find a shapefile or geopackage or ...
2
votes
1answer
26 views

Reducing number of polygons in a shapefile to increase the render speed for R Leaflet?

I'm trying to increase the speed of my R Leaflet map by reducing the size of the polygons. I found a great solution on stack exchange here, but for some reason, I get the following error when I try ...
1
vote
0answers
21 views

Shapefile creating “leaky” overlay in Google My Map after QGIS KML export

California has published, as shapefiles, maps of the various Fire Hazard Severity Zones in the state. I'm trying to use QGIS to convert these into a KML that I can then use as a Layer in a Google My ...
0
votes
0answers
24 views

Round values in a shapefile then merge [on hold]

I have a very large shapefile of polygons with height values. To make the file smaller, I would like to round all values to 1 decimal place and merge all equal features into one feature. e.g. so all ...
1
vote
1answer
28 views

R raster to shapefile

I created a raster with the function rasterFromXYZ() in R using a dataframe with coordinates and the value of a variable, the result was this: plot(raster1) which is exactly what I need. Now I just ...
5
votes
3answers
1k views

Can ogr2ogr “reverse clip” (or “clip out” or “erase” or “difference”) one shapefile from another?

Is there a means in ogr2ogr to "clip out" one shapefile from another? I know ogr2ogr -clipsrc B.shp out.shp A.shp will remove any part of A.shp that is NOT in B.shp. Is there an ogr2ogr command to ...
0
votes
1answer
145 views

Iterating folder of shapefiles using ArcPy and exporting mxd to PDF

I'm new to Python and just created a hard coded script for the process I want, and it works. Right now it calls on the one of three shapefile I have in this map document. I want it to do the same ...
3
votes
1answer
52 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
1answer
130 views

Highlighting an area of a map

I would like to have a borderline around a subset South-South(SS) part of the map (Map 1) (More like highlighting the subset part). I tried to clip a vector of the subset (map 2) to the entire map, ...
0
votes
1answer
178 views

ogr2ogr: symbol lookup error: ogr2ogr: undefined symbol: _ZNK17GDALDriverManager14GetDriverCountEv

I'm trying to import a ShapeFile inside my PostGIS database using the ogr2ogr, however I'm receiving an error: ogr2ogr: symbol lookup error: ogr2ogr: undefined symbol: ...
-2
votes
1answer
25 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
0answers
18 views

GeoDa/spatial analysis using a shapefile with missing data [on hold]

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
63 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
15 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 ...
0
votes
0answers
24 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
21 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
42 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
44 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
597 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
39 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
286 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
23 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
57 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 ...
-1
votes
0answers
24 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
426 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
30 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 ...