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

Creating a layer in arcmap by dragging a table from an OracleDB

I am working on a project for a client, they gave us some data from their oracleDB, and when I connect to it in arc map I can just drag and drop the tables from the catalog window into arcmap and they ...
0
votes
1answer
327 views

Extract longitude and latitude from shapefile

I want to create a media wiki page with map option where polygon required the following format. What is name of this format and how can it possible to extract this format from shapefile? polygons=62....
0
votes
1answer
201 views

Selecting a valid format file [closed]

There has been an error when uploading a shapefile I want to start with some imported data. Upload a file. Please, select a valid format file # when upload a zip file: Oops! There has been an ...
0
votes
1answer
172 views

Making shapefiles converted from .KML appear in QGIS

I have created shapefiles from Google Earth but they do not show in QGIS, whereas in ArcGIS Desktop they do. I have made sure they are at the top of the layers, not transparent and also I have changed ...
0
votes
2answers
634 views

unionize intersections of merged polygons

[Updated quesion] I am using the following code to merged polygons from shapefiles for the purpose of calculating the surface area; library(maptools) library(rgdal) library(rgeos) #enter slots, e.g....
0
votes
1answer
46 views

Opening many shape at the same time

It may seem like a simple question but I haven't found a solution. I have a structure of directories with many shapefiles inside. Is there a method to open all these shapefiles at the same time with ...
0
votes
1answer
484 views

How to read shapefile of road segments into Python data structure to get begin and end point coordinates? [duplicate]

How can I take a shapefile that has road segments and read it into a data structure in Python that I can use to get begin and end points with? For example x, y to x2, y2. It's not a large shapefile,...
0
votes
2answers
251 views

Count the area of rasterdata in specific shapefile polygons (residential density in different districts)

I'd like to count the exact area of three different residential classes (low, medium, high) by district of a shapefile which contains 225 districts. like: district 1 has: XXX sqm low, XXX sqm medium, ...
0
votes
1answer
88 views

How to Get a Vector Layer to add to a QGIS Project

I used QGIS a little bit a few years ago and used some layers for my city that I had. I have a simple project that I would like to use it for and am having a little problem. I would like to simply get ...
0
votes
1answer
390 views

How to map and color localities (provinces) with an external CSV using Quantum GIS

I use a Swiss shape file map (called PLZO_PLZ) available on http://www.cadastre.ch/internet/cadastre/fr/home/products/plz/data.html (ZIP file Shape LV03) PLZO_PLZ contains a column called PLZ which ...
0
votes
2answers
725 views

How can I delete dangling paths after merging features

In my previous question I've asked how to can I merge different polygons while converting to GeoJSON and TopoJSON. After a day of researching I've realized that, rather trying to do it command line, ...
0
votes
1answer
147 views

Calculate length of 2,000 paths - lines in Google Earth?

I have ~2,000 paths/lines drawn in Google Earth and I would like to know their cumulative length. How can I do this easily? I have been able to convert into excel the Lat & Long of each point in ...
0
votes
1answer
292 views

Error in performing transect in ambur R?

I'm trying to filter a transect, window size is 5 and filter individual baselines is set to 0. I select the transect shapefile, then the inner baseline shapefile and it gives me this error. Error in ...
0
votes
1answer
153 views

Comparing ShapeFile Data in C# [closed]

I have made a List containing all the original data (.shp files), and I have another List containing the modified data. I basically want to check all the modified file data against the original... So ...
0
votes
1answer
156 views

How to convert geometry of shapefile to decimals

I try to create a line with two points. These points are obtained in a shapefile layer. How can I convert that points to decimals?
0
votes
2answers
721 views

FME: Identify a string within a field and populate another field with that same string

I have a shp which needs to be split according to attributes in a field. The problem is that the field contains other Characters and dates. For Example the Field is called "Landtype" and contains the ...
0
votes
2answers
450 views

Shp2pgsql - exec() not allowed on external server

Me and my collegue are using the shp2pgsql and psql commands in php code (a Drupal module to be precise). We put these commands in a php variable and use the exec() command to execute them. This ...
0
votes
1answer
220 views

Problem with encoding of CSV and SHP files in Linux

I am new to using QGIS. I came up against the encoding issue of shp files. This solution to solved my problem in Windows (for source I had to put windows-1253 instead of utf-8) My question is what ...
0
votes
1answer
374 views

Does a polygon in a layer intersect with another polygon in the same layer [closed]

I am a CS major with little experience in GIS. I am working on vector polygon overlay. Looking at GML and shapefile data, I realized that a map is made up of a large number of polygons. Does a polygon ...
0
votes
1answer
800 views

In DIVA GIS how can I change the polygon co-ordinates of a .shp file?

I am using polygon layers from various sources to create species distribution maps however some of the layers have different polygon coordinates to others, therefore I cannot use them together as ...
0
votes
1answer
1k views

one row is discarded while importing shapefile into postgres

Please help me in following issue. I need to import a polyline shapefile into Postgres9.1 through shp2pgsql command.When i did like this, i got an error as "NOTICE: CREATE TABLE will create ...
0
votes
1answer
145 views

Raster and shp overlap not working with user CRS mercator

I created a GeoTiff raster in python, that is projected with the following CRS: *"+proj=merc +lon_0=34.9586601257 +k=1 +x_0=-0 +y_0=1453756.01544 +a=6370997 +b=6370997 +units=m +no_defs"* When I load ...
0
votes
1answer
2k views

How can i add sharpmap to visual studio2008?

i have just installed visual studio 2008. and i want to add sharpmap or any other tool so that i can add shape file in .net. I have selected sharpmap because by the search i have got that sharpmap is ...
0
votes
2answers
796 views

How to find the Local Government Area name using lat/long?

I'd like my iPhone app to respond to the device owner with his/her Australian LGA (local government area) name using their lat/long. I've found this page below with a Shapefile: http://www.abs.gov....
0
votes
0answers
16 views

Save a QGIS project as a “no-setup” package containing the project itself, all the layers loaded, and the layer styles?

In ArcMap, you can do this by saving it as a Map Package. When you open the package, the layers are loaded already and is styled the way you saved it. No setup nor finding of necessary files needed. I'...
0
votes
1answer
30 views

How to plot shapefile in R

I am trying to plot a shapefile on top of a raster using the command 'readOGR'. My current code is: > CEZ <- readOGR(".", "Shapefile/CEZ1") This is followed by the error ...
0
votes
0answers
34 views

(QGIS) Add 3D geometry to a given point for 3D printing

I was wondering if it's possible to add 3D geometry to a given point. My goal is to 3D print a DEM model and highlight some points from a shapefile with a cilinder or something like that, so I can see ...
0
votes
0answers
34 views

Error: Could not load source layer for INPUT: shapefile not found [closed]

I am new to Python and QGIS. How can I solve this issue? Traceback (most recent call last): File "C:/Users/EV/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gep_onsset\GEP_OnSSET.py&...
0
votes
0answers
37 views

Find polygon geometry of a place

I am reading in a shapefile of Metro areas in the US and then select the metro area of interest. # Read shape file px_shp = 'data/map/az/cb_2018_us_cbsa_500k.shp' geodata = gpd.read_file(px_shp) ...
0
votes
0answers
29 views

Why is st_write not saving this dataframe as a shapefile?

I have been working with sf package for several weeks now. I have been able to figure out the solution of problems by myself or searching on forums. However, this one has been demanding too much time ...
0
votes
0answers
25 views

Shapefile extremely slow to read in Jupyter Notebook

I have a shapefile of Phoenix, AZ of size 172mb which I am loading in to the Jupyter notebook. It's a extremely slow process to read the file in. I am running the notebook on locally and the files are ...
0
votes
0answers
23 views

Create shapefile without coordinates

I am trying to create a shapefile without XY coordinates. I have the address, but not coordinates and there are too many entries to enter them manually. I am then going to join that to another data ...
0
votes
0answers
35 views

How to add Elevation to a QGIS 3.12 attribute table for shapefile points

What code do I use in the Field Calculator of the Attributes Table within QGIS 3.12 to generate the elevation of shapefile points in feet?
0
votes
0answers
39 views

Deleting shapefile python (lock?) (QGIS 3.10)

I have trouble with deleting shapefiles and notice a weird behavior when I am running my scripts layer = QgsVectorLayer(path_layer, "name_layer", "ogr") cloned_layer = clone_vl(...
0
votes
1answer
24 views

Converting lat long coordinates to shapefile x y values

I'm trying to figure out where a given latitude, longitude coordinate should appear on a particular shape file. The shape file was generated by the US government and I doubt it has any peculiar ...
0
votes
0answers
12 views

LIBKML using Python very slow - using OGR to transform Shapefile to KMZ/KML

I am trying to convert a shapefile to a KML (or KMZ) using Python, and OGR and the LIBKML driver. The process appears to hang, with the kml/z created, but sitting at 1kb for 5+ minutes. The input ...
0
votes
0answers
16 views

Read geopackage in Matlab

How do I load geopackage (https://www.geopackage.org/) in Matlab. I am trying to replace the shapefiles with geopackage due to several limitations inherent in shapefile.
0
votes
0answers
16 views

KML boundary uploaded to Google Earth: how do I make a thematic map?

Q: how to make a thematic map using boundary file (.KML) I uploaded to google earth? specifically "CARUID" is column in the boundary file that's uploaded in KML format. I can use it to show ...
0
votes
0answers
14 views

Group multiple layers in ArcPy and export to single KMZ [closed]

I have multiple shapefiles of point, polygon, and line type. Through ArcPy I can create a layer package with PackageLayer_management, which I can then open in ArcGIS Pro and convert to a single KMZ ...
0
votes
0answers
16 views

Re-projection of a shape (with a dbf) and converting the original X Y data in ArcMap

In my database, I have a dataset (shp, dbf etc) which has X Y coordinate data that was taken in NAD27 from a GPS (a long time ago). When importing it in ArcMap desktop I can easily project the data in ...
0
votes
0answers
64 views

How do edit a .shp file geometry manually?

In the program that I've designed, I am loading a .shp file with custom .dbf attributes. Once a week the national institute releases an updated database in the form of a .shp file. Because my .shp ...
0
votes
0answers
29 views

Errors when sampling Large SpatialLinesDataFrame and sf road layer in R

I am trying to generate an object that contains regularly sampled points along each road in my road layer (so that there is 0.1 mile/16 meters between each point). While I can get code to do this on ...
0
votes
1answer
21 views

Automatically fix overlaps by weight/occurrence

I'm working on a project where I have asked a number of individuals to digitize the same features on the same satellite image. For example, an image of a coast where a group of individuals each draw ...
0
votes
0answers
16 views

How to generate a flow map with varying width and alpha level which accumulates?

I'm using ArcGIS. I have a very large line shapefile with ~300'000 links which all have the attribute flow (a numeric variable from 0-200). My goal is to display a map like in this example (...
0
votes
0answers
23 views

ADD GIS functionality to existing ASP.Net tool/application

I have an ASP.Net application that receives IOT data from field devices associated with clients. Currently we use a MySQL database for storing everything and much of the metadata associated with the ...
0
votes
1answer
51 views

Converting a CSV to a shapefile in R : “Creating Name field failed”

I was trying to convert a CSV to a shapefile (process that I've already managed to do several times with R without particular problem) but today I'm facing a troublesome issue I haven't been able to ...
0
votes
1answer
33 views

Clip all files from multiple subfolders using multiple polygons that have the same attribute

I'd like to ask for your help completing this code since I'm new to Python. I have two dataset folders one with subfolders containing shapefiles and the other with subfolders containing raster. I'm ...
0
votes
0answers
41 views

How do I link or join data in MS Acess to shapefiles in QGIS?

I am creating a spatial database for five buildings for a project that I am working on. I have spatial data in the form of a shapefile and attribute data in Microsoft Access(with a table and queries). ...
0
votes
0answers
23 views

MultiPatch shapefile volume calculation in QGIS

I have an ESRI Shapefile containing MultiPatch geometries (3D Buildings). I'm struggling to calculate the volume with help of QGIS or similar freely available software. I read that ArcGIS might have ...
0
votes
0answers
33 views

Projection identification

Looking for 1914 world boundaries, I've found those https://github.com/kgjenkins/tq-world-historical-boundaries. Looking more the source of this was http://web.archive.org/web/20080328104539/http://...

1
79 80
81
82 83
90