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.

learn more… | top users | synonyms (2)

0
votes
1answer
47 views

How do I convert an active kmz file to a shapefile using either ArcMap or QGIS

I need to convert an active kmz file to shapefile. I have a layer file and a kmz file which feed data from a server. If I try to convert using the kml to layer tool in ArcMap it fails as there is no ...
-2
votes
0answers
16 views

not matching shapefiles

I have two shapefiles (s. below) and they are not matching, I know that there is a problem with coordinate systems, but I tried so many things. 1. coordinates from google maps Geographic Coordinate ...
58
votes
7answers
2k views

Are there any attempts to replace the shapefile?

Recently I've been spending a lot of time converting perfectly good field names like "Percent of citizens age 25 and over with a bachelor's degree or higher" into things like "edbchogtr" to meet the ...
3
votes
3answers
32 views

What is the easiest way to avoid shapefile columns being imported as PostGIS `numeric(p,s)` data type?

Considering the number of shapefiles I've imported to PostGIS (using shp2pgsql or ogr2ogr), I'm a little surprised I haven't come across this before. But I have a shapefile that has numeric columns ...
1
vote
1answer
328 views

How to use GDAL to burn a selected value from one raster into another?

I think this should be a relatively simple process, but I'm not quite sure how to approach it. I have a shapefile containing 1000's of polygons. I also have 19 rasters. All of the polygons fall ...
2
votes
2answers
1k views

shapefile for mumbai area or section wise

I am working on a project in which i need to plot data on Mumbai city map section wise or area wise but i am not able to get Shapefile for the same. Can anyone please provide me the link where i can ...
-4
votes
0answers
28 views

GIS Multiple Choice Questions [closed]

Does anyone have a set of mcqs for GIS? Or know where I could get (separate and apart from a google search?
1
vote
0answers
24 views

DWG to SHP - suddenly a huge ammount of data in one file

I converted four DWG-Files with ArcMap to SHP. Suddenly one data had a huge ammount of data: file 1: DWG: 4,5 MB ----> SHP. 9,7 MB file 2: DWG: 12,7 MB --> SHP: 110 MB (!) file 3: DWG: 3,4 MB ...
0
votes
1answer
10 views

Finding neighbors for non adjacent polygons in R [closed]

I'm looking for a method or function in r-project that create a neighborhood matrix from a group of polygons that don't touch each other, like polygons of set of blocks separated by streets in a town. ...
0
votes
1answer
30 views

Creating SpatialPolygons in R

I am trying to do kriging with my data. But there is a problem here. I want to use krige command in gstat package. But I do not have "Spatial object with prediction/simulation locations". How I can ...
3
votes
2answers
234 views

Software or script for Batch Shapefile to GPX

I am looking for a software that does batch processing of shapefiles to GPX files. I have seen many including Arcmap that will batch gpx to shapefiles but none vice versa. I currently am using DNR ...
1
vote
1answer
15 views

Error in opening shapefile located on network

I have been able to successfully open a shapefile using Gdal when it is situated on my local machine. However, when I put the file on another machine on the network and try to open it, it fails. ...
1
vote
1answer
50 views

(Arcpy) read values from a txt file and convert the data into a shapefile

I´m a beginner at python programming and wanted to start with a litte and hopefully simple project. I tried to read float values out of a textfile and write them into a shapefile. The program is ...
2
votes
0answers
26 views

Issue with basic statistics function on certain attributes [closed]

I am trying to use the basic statistics function in QGIS on an attribute in a vector shapefile but it reaches 6% and then gets stuck and does not load anymore. It works fine on other layers/other ...
1
vote
0answers
25 views

Why does QGIS spontaneously corrupt shapefile data? [duplicate]

I'm using QGIS 2.14 (Mac), but I have had the same problem with 2.8 (Ubuntu). When I am editing a shapefile, QGIS seems to spontaneously corrupt the data in unpredictable and catastrophic ways that ...
5
votes
4answers
4k views

Export to a Shapefile and maintain Domain Coded Values

I maintain a complex parcel fabric that uses coded value domains for a few fields. These are short integer fields with values from 1 - 6. These values represent say 1:Integrated Registered Survey ...
0
votes
2answers
46 views

Multiple rename shapefiles and feature classes in python

I have multiple shapefiles, in different sources (D:\GIS\Folder A", "D:\GIS_Temp\Name". And some of them have space in their name (File X, File Y, etc). What should be the code that could rename all ...
0
votes
1answer
43 views

Global shapefile of biomes/ecoregions?

I'm looking for a shapefile with this kind of information, only at considerably higher detail. In North America, ecoregions are classified by levels and grouped by vegetation type at much higher ...
0
votes
1answer
38 views

How do I convert a DEM GeoTIFF to Contour Shapefile

I have a digital elevation model as a GeoTIFF and I'm looking to generate a Shapefile of contours with 5m bands on the command line. Is this possible? Ideally using GDAL and Python.
2
votes
2answers
56 views

Converting shapefile to postgis without giving bounding box

ogr2ogr -progress --config PG_USE_COPY YES -f PostgreSQL PG:"<myconnection>" -lco DIM=2 /path/to/myshapefilename.shp myshapefilename -overwrite -lco GEOMETRY_NAME=geom -lco FID=id -spat ...
0
votes
1answer
197 views

WFS with authentication to PostGis (or to shape)

Is there a way to import data from a WFS layer to a Postgis table (or to a shape)? there are blogs explaining how to do it in 3 steps (http://anitagraser.com/2012/09/26/wfs-to-postgis-in-3-steps/) or ...
3
votes
4answers
20k views
7
votes
1answer
132 views

Shapefile Polygon does not display in QGIS

I am attempting to import a Shapefile into QGIS. When I import it, the boundary is shown on the list, but when I try to view it in the mapping area, it does not show up. I can get it to show the ...
1
vote
0answers
20 views

Postal codes of China

Where can I find geodata with postal codes of China with an open license (commercial use is allowed)?
0
votes
0answers
43 views

Qgis 2.14. How to export color of polygon?

I use Qgis 2.14. I have some problem with export .dgn to shp. Qgis appropriates random colors to my polygons after export. Somebody knows how i can export original color of my Autocad dgn?
0
votes
1answer
199 views

Automatically split KML into point, line and polygon SHPs?

I have a lot of KMLs that include points, lines and polygons together, is there a way to automatically parse them into separate shapefiles (one for point, one for line, one for polygon) in QGIS or ...
0
votes
1answer
172 views

town, village, prefecture shapefiles for China?

I'm looking for boundary files for towns, villages and prefectures in China that are free. I've came across http://chinadataonline.org/, but they are limited. Can anyone tell me where to look?
1
vote
1answer
213 views

Best practice for loading shapefiles into ArcSDE geodatabase using web application

We are developing a web GIS using Flexviewer and we want to allow users to upload a shp file and insert it into a ArcSDE geodatabase. I think there are two steps at least. upload the shp file (zip) ...
0
votes
1answer
49 views

Adding shapes and/or icons to legend using Leaflet within R?

Is it possible, using Leaflet within R, to make a legend in such way that includes a set of icons or shapes and their corresponding value?
3
votes
2answers
67 views

Polygon shapefile has irregularities when viewed in ArcMap?

i am using ArcGIS 10.4 for Desktop and when i try loading my shapefiles into the arcmaps it shows extra incorrect lines in my polygon shapefile is there anyway to fix this inconsistencies ...
1
vote
0answers
21 views

Filtering Small Areas of Shapefiles Using R

I'm trying to use the method proposed by the @ialm in the Question "How to speed up the plotting of polygons in R?" There, he loads the maps using getData from the raster package, I tested and it ...
1
vote
1answer
585 views

How to convert coverage to shapefile?

I'm using ArcMap 10.1 I recently downloading some files that are in .adf format. I need to convert them to .shp. I just simply need step by step instructions of how to convert the data.
1
vote
1answer
295 views

multiple shapefile export to kml

I 'm new in Python script and i want to export shapefiles in the folder as the kml file with define layer files. for single shapefile it work perfectly refer below script. But I want to export 4 ...
3
votes
3answers
33 views

Formally testing whether building type tends to be close to another building type?

In arcGIS 10.1 (advanced licence), I have two polygon shapefiles, each representing two different types of building (let's call them A and B). Each type is actually used for two different purposes. ...
2
votes
1answer
234 views

How to write shapefiles more efficiently in GeoScript?

I've created a geoscript (in groovy) to create a shapefile from generated geometries with certain attributes. It's a heatmap consisting roughly 65.000 polygons with an attribute storing the ...
1
vote
1answer
303 views

Create shapefile based on geojson data with geotools (Java)

I'm using Geotools 14.0 for Java and I'm trying to generate shapefile based on data from GeoJSON. Here is my code: try { String url = "geojson.json"; File geojson = new File(url); ...
12
votes
3answers
3k views

Is there a public shapefile with the London Underground stations and lines?

Is there a public shapefile containing the stations and lines of the London Underground? I've been doing some intensive searching but I can only find the coordinates of the stations, or the lines in ...
1
vote
3answers
181 views

ESRI Shapefile not loading into SQL Server

I have been loading a number of shapefiles into SQL server 2012 using ogr2ogr.exe and the MSSQLSpatial driver. Up until this point, I have been very successful with doing so. However, I have now run ...
1
vote
1answer
222 views

How can I clip multiple geotiff tiles with a shapefile without greatly increasing their size?

I'm using gdalwarp to clip a number of geotiffs (tiles of a larger map) to a polygon described by a shapefile (which is about the size of the overall map, i.e. much larger than individual tiles) ...
0
votes
0answers
18 views

Creating raster image using Shapefile in ENVI?

I have shapefile containing polygon boundaries and want to change them as a raster image in ENVI 5.3. Although, this could easily be done in ArcMap or other GIS software, however, I will have to ...
3
votes
3answers
109 views

How can I delete Shapefiles in QGIS?

In the Browser it's not possible to delete Shapefiles. In ArcMap you can delete Shapefiles easily within the Catalog. How can I delete Shapefiles in QGIS without minimizing the QGIS-Window, navigating ...
3
votes
3answers
34 views

Convert .csv with polygon geometry to .shp QGIS

Working on a Mac in QGI 2.12, I have a csv file with polygon geometry coordinates that I would like to save to a shapefile. It displays fine as a csv. However, when I try to use "save as," I get the ...
3
votes
2answers
57 views

Label and symbol with condition in layer properties under style tab

I have forest areas. I want to put tree.svg with condition. Layer properties-> style-> background -> shape ->svg Something like this: if (myfield<1300 , then show, ...
2
votes
0answers
24 views

How to programatically populate a field_4 after choosing values from other fields

I'm working with QGis 2.8, editing the attribute table of a SHP file, named "myTable". I need to populate field_4 with the conditions listed below: For 1 to n (it runs across records of myTable) ...
-1
votes
1answer
25 views

Script Convert KML to Layer [closed]

I have a KML file (https://meocloud.pt/link/a60a4408-0b89-4163-9a4d-c91c181bbab4/ROI.kml/) and I want to convert to SHP in ModelBuilder using this script that I found on-line, but it doesn't work. Can ...
-1
votes
0answers
30 views

Oil fields shape files

Does anyone know of a good source for oil and gas deposit shapefiles. Middle East especially, but worldwide of interest too.
0
votes
1answer
185 views

cad to shapefile conversion

i have use arcgis10.1,arcobjects.net. i did following code ESRI.ArcGIS.Geoprocessor.Geoprocessor gp = new ESRI.ArcGIS.Geoprocessor.Geoprocessor(); gp.OverwriteOutput = true; ...
1
vote
1answer
30 views

Finding shapefiles of all major cities in world (National and state capitals) at sub-district level?

One option is GADM. Having explored this data, while it satifies my need for some cities, its hard to find this data at such a granular level (lower than district level) for most of the cities.
-3
votes
1answer
450 views

Sending Shapefile to SQL Server 2012?

How can I send a shapefile to an SQL Server table? I have searched and found a tool called ShapetoSQL but I am developing a c# Windows application so I am looking for an Open Source solution.
1
vote
2answers
246 views

Shapefile to KML Conversion Problems in QGIS 2.6.1 on Mac

I am currently using QGIS 2.6.1 on a Mac with OS 10.9.5. I am trying to export a shapefile using QGIS to KML format. I am having success with the export but the data is skewed halfway across the ...