Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
35 views

FME does not create map after xlsx conversion to shapefile

I am running FME 2018 in Windows 10, and trying to convert an xlsx file to an Esri shapefile as discussed in this FME 2016 tutorial: The result should be a map of Vancouver, but the Inspect dialog ...
3
votes
3answers
337 views

Converting CSV (polygon coordinates) to polygon feature class (shapefile)?

I have a CSV table as following : ID;POLYGON 1;(-7.59443,33.55933):(-7.59416,33.55937):(-7.59414,33.55922) 2;(-7.58361,33.56655):(-7.58148,33.56655):(-7.58148,33.56486):(-7.58361,33.56486) The ...
0
votes
1answer
93 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
44 views

Unable to save a shapefile in ArcGIS

I am working on two shapefiles that I need to modify in ArcGIS. Sometimes ArcGIS simply doesn't open the shapefiles. The error shows the opening feature class message. Then, while trying to save ...
2
votes
3answers
90 views

Format .csv or .txt file so that the following stops happening?

I have a large dataset compiled of point data. Previously, this data was contained in 3 different files that all were successfully made into layers on QGIS, however I just combined them into one large ...
1
vote
0answers
26 views

Conversion of Text layers to vector 'Line' Feature Class

Is there a way to convert Text or Labels to Vectors within Geomedia or utilize the Publish to KML and convert using Google Earth? I do not have Adobe Illustrator installed here to 'Create Outlines', ...
0
votes
1answer
206 views

ReadOGR/read_sf: Can't open shapefile

I am trying to open a shapefile (or the directory of the shapefile) in the same directory as my R file. I open it the following way: x<-c(farm,field,"ec",2017) #farm and field are variables that ...
0
votes
1answer
52 views

Output shapefile data type in Arcpy

I have to reproject a shapefile's coordinate system. To do that I am using Arcpy and I want to get an output to use it as input in other tool (in Model Builder). Now I get an output, but I cannot use ...
0
votes
2answers
106 views

New Mexico Township and Range Shapefile

I'm having difficulty locating a shapefile for New Mexico PLSS Townships and Ranges. Does anyone have recommendations on where to find this data.
8
votes
1answer
185 views

Split up shapefile into little shapefiles

I have a very large shapefile (all the roads in RI). I need to split it up into chunks so that I can process the file with multiple worker threads in Python. So far I have created a grid in QGIS that ...
0
votes
1answer
143 views

Adding labels to raster with levelplot and spplot

I am trying to add district labels for a country, which I am plotting using levelplot (to use worldclim precipitation data) and adding boundaries using spplot. I am having trouble adding text labels ...
-1
votes
1answer
51 views

Area of study clipping in ArcGIS

I have a picture of a paper map and I want to cut out my study area, scan the external parts and set the coordinates of this part. How can I do this in ArcGIS?
1
vote
1answer
140 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 ...
0
votes
0answers
150 views

GDAL/ogr2ogr ( to convert osm to shapefile)

I use GDAL / ogr2ogr to convert osm to shapefile but I get an error. C:\Users\alo>ogr2ogr -f "ESRI Shapefile" outputdir "C:\Users\alo\Desktop\London.osm" Warning 1: Cannot find osmconf.ini ...
2
votes
1answer
137 views

Label Masking in ArcGIS Pro?

The data frame "Clip to Shape" feature, to hide both symbols and labels outside of a specified shape, seems to be gone from ArcGIS Pro. I'm able to use Masking (Feature Layer->Appearance->Drawing->...
2
votes
1answer
439 views

Convert OSM to Shapefile

How can I convert an OSM file to Shapefile? Is there a good tool or a good web page. I tried this link https://code.google.com/archive/p/osm2shp/, but there is an error.
4
votes
1answer
232 views

No “Save As…” in QGIS 3.2?

I have been trying to save my CSV file using the "Save As" from a right click as suggested on many websites, but I literally can't see this button. See my picture attached (on the left my QGIS 3.2 ...
0
votes
0answers
48 views

Spatial Adjustment of shapefile not possible

I am trying to spatially adjust a shapefile containing several polygons to another shapefiles where spatial data is correct. Both should share exactly the same extent. However, when I am using spatial ...
1
vote
3answers
87 views

Missing feature from Shapefile

I have loaded a shapefile into QGIS that has been generated in a third party piece of software. When I view the attributes table, all items are there (20 survey lines), when I view the map only 19 ...
1
vote
1answer
152 views

Creating a shapefile of S2 cells for a given level

What I'm hoping to do: Create a shapefile that has polygons matching with the outlines of the S2 cells (http://s2geometry.io/) of a given level, within a certain bounding box. Roughly what this ...
1
vote
2answers
67 views

Combining two shapefiles which contain overlapping and duplicate geometry

Well this could be an interesting one. I've got two shapefiles of polylines (contours). I need them to be one nice and clean shapefile covering the same area. Only issue is, the shapefiles overlap ...
1
vote
0answers
21 views

How to find USA Water Hardness shapefiles?

I want to find USA water hardness shapefiles. I have searched for it from here: https://www.epa.gov/waterdata/waters-geospatial-data-downloads but without success. Is there any good data source from ...
1
vote
1answer
42 views

Error while Importing data from .SHP files to spatialite using OGR2OGR

I was trying to import data from files provided here http://download.geofabrik.de/europe/france.html specifically http://download.geofabrik.de/europe/france/languedoc-roussillon-latest-free.shp.zip ...
1
vote
1answer
26 views

QGIS Union erroneously creating gaps

I'm trying to do a union between two Polygon Shapefiles, but when I do Vector > Geoprocessing Tools > Union I have the odd issue where most of it works fine, but some areas are returned in the union ...
2
votes
1answer
31 views

ModelBuilder adds numerous file extensions to outputs as it runs?

Using ArcMap 10.3 I am trying to create a model that will take all the shapefiles in a folder and convert them to KML files. I first create an inline variable for the shapefiles in the folder, then ...
2
votes
1answer
115 views

Choosing LiDAR tiles with vector data using LAStools?

So the problem is that I have a huge amount of LiDAR tiles (in .laz format), but need only part of them that are within the borders of the city. When I load all the tiles to LASTools, I have ...
0
votes
1answer
66 views

Exporting KML data from QGIS

I have a 12 mb KML file that I can easily import into QGIS. The trouble is when I save it as a shapefile the data in the description field, which is html, becomes truncated. Is there a way to avoid ...
2
votes
3answers
118 views

Gaus Krueger shapefiles into Qgis

I'm trying to open a Gaus Krueger shapefile, which comes without any .prj files, in QGIS. These files are not really up to date but they're the only data i can get. So the first question is: Is it ...
0
votes
1answer
58 views

GDAL ogr2ogr OracleSpatial to Shape: Multipolygons with wholes/multiparts are missing

We're holding geodata in an Orcale database (11g) with spatial extension. I want to unload specific polygons and convert them into Shape for further local processing. The table where I'm unloading ...
1
vote
1answer
66 views

How to convert Raster image to Shapefile WITHOUT flipping it upside down

I am using QGIS v 3.2.1 to convert Raster image to Shapefile Unfortunately the resulting shapefile is upside down. How to keep resulting shapefile right side up Here is animated gif (link on GitHub)...
0
votes
1answer
97 views

Convert high resolution digital PDFs into a shapefile?

I have to convert several of such formats into a shapefile. Is there any open-source software or quicker ways of doing this? One such file - http://ceodelhi.gov.in/ACMAP/5.pdf Another such file is ...
1
vote
1answer
177 views

Shapefile to GeoJSON with simple style

Does anyone know if there are any applications can support exporting Shapefile to GeoJSON and keeping the style?
1
vote
2answers
30 views

QGIS Shapefile - Units/Editing Shapefile

I have a Shapefile that has properties/parcels as polygons. I am looking to select by parcels that are bigger than a certain size in acres. The problem is that the Shapefile has the properties/parcel ...
0
votes
1answer
122 views

Merging Shapefile with Image in QGIS? [closed]

QGIS version 3.2.1 Windows 10 Project File on GitHub Shape files on Github I am trying to create shapefile from coffee cup image. The actual coffee should be the shapefile. However I would like ...
0
votes
0answers
93 views

Give field a value in a Featureset Dotspatial

I am creating a shapefile using DotSpatial library in Microsoft Visual Studio and C# programming language. The shapefile consists of a Polygon layer. Each polygon in the layer needs to have a specific ...
1
vote
0answers
45 views

How to calculate sum of values in a point shapefile within a moving window

I have a point shapefile that has a 'rank' attribute with numbers between 0-100. I need to calculate the sum of this value for points within a 10km circular moving window anywhere within my area of ...
1
vote
2answers
62 views

1968 French Administrative Boundaries Shapefile

I am looking for the 1968 French departments administrative boundaries. I've scoured the Internet but have had no luck.
-3
votes
1answer
29 views

Creating Shapefile for WEAP? [closed]

I have to create a shapefile of a river for analyzing it in WEAP (Water Evaluation and Planning) for my engineering research. I have no knowledge about how a shapefile is created. Which software or ...
0
votes
1answer
104 views

Python: Open a (line) Shapefile and calculate distance to point given as a longitude-latitude tuple

I have a pandas dataframe in python with longitude and latitude values of certain locations (see sample below): Index Long Lat 0 -98.58 ...
2
votes
1answer
74 views

QGIS Clip doesn't work

I am using QGIS and I simple want to clip a shape with another shape but the result isn't right - the result is only that what you see in my screenshot. What can I do? Picture 1: Shape 1 Picture 2: ...
0
votes
0answers
171 views

Turning .mdb file into shapefile using QGIS?

I have been trying to work with an .mdb file for hours with no success. I'm working on a project in which a require a shapefile, the government gave me the info in an .mdb file. I had never worked ...
1
vote
1answer
62 views

Take pixel locations from rasterio raster and write out shapefile

I'm pulling a satellite image into python with rasterio, running some analysis to find a specific bounding box within that image, and then want to write those points out as a shapefile. I'm struggling ...
0
votes
1answer
41 views

writeOGR KML attributes blank [closed]

Using the below I output a KML file from a Large SpatialPolygonsDataFrame polygonWGS <- spTransform(Polygon, CRS("+proj=longlat +ellps=WGS84 +datum=WGS84")) writeOGR(polygonWGS, dsn="...
0
votes
0answers
67 views

Shapefile conversion to ascii grid

I'm working with shapefile files, but I need to convert to ASCII grid, and I was trying to use QGIS, but the following error occurred: File "/usr/share/qgis/python/plugins/GdalTools/tools/dialogBase....
0
votes
1answer
89 views

Dissolving polygons based on multiple attributes with Python (shapely and fiona)?

I would like to dissolve a polygon shapefile based on two different fields, using Python and open source libraries. I'm just able to dissolve the shapefile using one single field, with Gene's answer ...
2
votes
1answer
31 views

Transfer geometry from shapefile to related table?

We would like to contact our volunteers based on their geographic location. We settled on zip codes as a reasonable proxy for location, and now have a table with volunteer contact information and zip ...
2
votes
1answer
2k views

GeoPandas: AttributeError: 'DataFrame' object has no attribute 'to_file' even though I converted file into GeoDataframe instead of Dataframe

So I have turn some R scripts for data cleaning/standardization of shapefiles into python scripts. Here is the R code: x<-c(farm,field,"trialyield",2017) file<-paste(x, collapse="_") yield <...
0
votes
1answer
71 views

How to get parcel boundaries with tax roll, land use, and zoning info?

How do I get parcel boundary shapefiles with tax roll, land use and zoning info included? Is it possible to just create the parcel boundaries data from scratch, i.e. could I create parcel polygons in ...
0
votes
1answer
50 views

Rasterize shapefile to overlay on map uisng QGIS (or any other suggestion)

I'm developing an app to display a map in QGIS. The map data is from Bing Map servers. I want to overlay a shapefile on the map. I want the same visual display we see on QGIS. Like this So my ...
0
votes
1answer
46 views

Strange behavior when writing coordinates to an ESRI shapefile

I am using python code straight out of the GDAL/OGR Cookbook to write lat/lon coordinates (stored in a numpy array of tuples) to an ESRI shapefile like this: #using almost entirely GDAL cookbook code ...