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)

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. ...
2
votes
2answers
57 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 ...
2
votes
0answers
30 views

Basic statistics function on certain attributes stops at 6% on certain layer in QGIS?

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

Postal codes of China

Where can I find geodata with postal codes of China with an open license (commercial use is allowed)?
3
votes
1answer
86 views

How to export color of polygon from Autocad into QGIS?

I use Qgis 2.14. I have some problem with export .dgn to shp from Autocad. Qgis appropriates random colors to my polygons after export. Somebody knows how i can export original color of my Autocad ...
2
votes
0answers
26 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 ...
3
votes
3answers
36 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. ...
0
votes
1answer
46 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
2answers
59 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, ...
-1
votes
1answer
28 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 ...
2
votes
0answers
26 views

Programatically populate 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
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
3answers
119 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
2answers
68 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 ...
4
votes
3answers
52 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 ...
1
vote
2answers
21 views

Looking for a shapefile of the US Southwest Border Sectors

I'm looking for a shapefile similar to the following image: I'd just like the outlines of the sectors. I'm only concentrating on the southwest border which is San Diego all the way to Rio Grande ...
0
votes
0answers
44 views

Export from SDE to Shapefile Bug

I'm exporting data from a large-ish SDE feature class (888,628 features) to a shapefile. I'm using the ArcMap GUI export process (add the SDE feature class as a layer, right click >> Data >> Export ...
2
votes
1answer
29 views

What is a UK boundary shapefile available for download via persistent URL (for cURL) with parish-level detail?

I'm in the process of generating a series of choropleth maps for a journal article and am writing this up in R as an .Rmd. My aim is to set this up as reproducible research, that is in a form which ...
0
votes
2answers
32 views

shp2pgsql: how to know the schema.table?

I want to import a shapefile using shp2pgsql. I am using Mac with Postgis 2.2. Based on this reference: A conversion and upload can be done all in one step using a UNIX pipe: shp2pgsql -s ...
2
votes
1answer
34 views

Loading Data with shp2pgsql and “Syntax error at or near shp2pgsql”

I want to import a shapefile using shp2pgsql function in the psql shell on Mac. I have created a spatial database (example_gis). By refering to this guide, having connected to this database, when I ...
1
vote
0answers
34 views

QGIS: Release file lock on file used in a processing algorithm at the end of script

I am using runalg (qgis:joinattributesbylocation) on two QgsVectorLayer objects. At the end of my script I'm trying to delete all the files created during the script. I can delete everything except ...
2
votes
1answer
81 views

Why do layers with different CRS overlap fine but cannot be merged by location?

Perhaps someone could clear this up for me? I have a shapfile with the CRS Selected CRS (EPSG:29902, TM65 / Irish Grid) I also have a number of XY points which take the CRS, Selected CRS (EPSG:4326, ...
1
vote
0answers
18 views

Converting .shp to wkb after v.clean

I've been trying to get to through this by reading manuals, but I can't seem to understand what I'm doing. I have source data with overlaps that exist in a table with associated WKBs(SRID 4326). I ...
0
votes
2answers
38 views

Strange coordinates for San Francisco: 5979762, 2085921 from Shapefile

I have a Shapefile (.shp, .dbf, .shx, .prj) that's supposed to represent street data for San Francisco, which I'm writing a parser for. The problem is, when I parse the bounding box according to the ...
2
votes
1answer
40 views

How can I subtract one (very very large) set of features from another?

I'm trying to subtract a very large set of features (water areas) from another, relatively small set of features (land area). In principle, I should be able to do this in QGIS using Vector > ...
1
vote
1answer
44 views

shape files of Mumbai ward map

I am looking for shape files for Mumbai ward wise map. This is required for my research work on disease mapping. Please could anyone share any link for the shape files.
1
vote
1answer
40 views

Reprojecting: trouble converting MapInfo data to shapefiles in QGIS

I was given a dataset generated in MapInfo. I need to use these files in QGIS, so I imported the .TAB files and saved them as ESRI shapefiles. I then realised the original dataset uses a custom "user ...
0
votes
0answers
29 views

Insert shapefile drawn features into PostgreSQL

Sorry my question is repeated, unfortunately i didn't get the proper solution for the problem. I have a LeafLetjs map on which I draw features like: points, polygons, markers, lines etc and I am ...
0
votes
0answers
36 views

Are there any addresses that straddle two or more congressional districts?

I'm using a shapefile of TIGER data provided by the Census Bureau for locating an individual's congressional district. In PostGIS I'm running an ST_Intersects query in order to take a (lat, long) ...
3
votes
0answers
33 views

Uploading Shapefiles to Garmin?

I am trying to upload shapefile polygons onto my Garmin 60Cx GPS. I use the Trace tool and load shapefiles via Minnesota DNR's application. There are almost always gaps in the shapefile on the GPS, ...
2
votes
0answers
47 views

How to create MBtiles file from “.osm.pbf” file using TileMill?

I am using Mapbox Offline Map in my app using MBTiles. Previously I was using shapefiles for creating offline maps. After searching a lot I am not getting Australian shapefiles. But my friend ...
0
votes
0answers
25 views

Convert rasterfile into shapefile for ArcGIS Online upload/integration

I am looking for a way to integrate a heatmap (rasterfile - created in ArcGIS 10.1) into an ArcGIS Online project. <- Since it only allows Shapefiles (& .txt & .csv & GPX) and no ...
1
vote
1answer
68 views

LeafLetjs: GeoJSON invalid object error

I am getting GeoJSON data from postgresql, but it seems to be invalid. How can I validate it? After getting GeoJSON format data I want to put on map for projection. I am using LeafLet, java EE, ...
1
vote
2answers
35 views

Meaning of ERROR 001707 when sharing layer as layer package file from ArcGIS Pro?

I have had no success when trying to share a layer as a layer package file from ArcGIS Pro 1.2. The procedure that I use to reproduce this is: Start ArcGIS Pro 1.2 Create a New Project using the ...
0
votes
1answer
46 views

A patch of water that is part of a shapefile is painted as land [closed]

So I've set up OpenMap in a Java application, but the default world map shapefile (dcwpo-browse.shp) that comes with OpenMap wasn't sufficient enough, since the area I specifically needed wasn't fully ...
0
votes
1answer
59 views

Using Spatial Adjustment to georeference shapefile?

I am having trouble using spatial adjustment to georeference a shapefile that I created from a CAD drawing to a basemap of satellite imagery. At first, the shapefile had an unknown coordinate ...
1
vote
0answers
13 views

Create a map of only one country in DIVA-GIS

I made a map of china with the places where the climate is suitable to plant Brussels sprouts. The bounderies of China are in a shapefile. However the layer with the colormap showing where the climate ...
0
votes
1answer
43 views

Converting shapes using OGR2GUI

I am trying to convert a MapInfo .TAB file to a Shape file while setting the projection of the target to NAD83 UTM Zone 19. The latest version of OGR seems to not have this projection available in the ...
1
vote
1answer
39 views

How to find the area with most intersection for buffer regions?

Find the area with the most intersection This question relates to previous question asked - How to find the intersection areas of overlapping buffer zones in single shapefile?. I tried to ...
1
vote
1answer
26 views

Where can I find Hawaii public transit data?

I am looking for public transportation routes and stops for Hawaii public transit. So far I have found a shapefile for TheBus routes and stops for the island of Oahu from the state of Hawaii Office ...
0
votes
1answer
44 views

Crop Raster from using Polygon shapefile in R

I am trying to crop a raster by a polygon in R to the state of Sergipe-Brazil. My raster is a raster brick criated by 7 .tif files which are EVI (vegetation index) time series. Since the EVI archives ...
0
votes
0answers
47 views

cartopy: plotting shapefiles

I am new to gis and am trying to plot a shapefile containing land polygons. (From OSM.) Unfortunately my output image is always empty (i.e. white). Can somebody tell me what I am doing wrong? import ...
0
votes
0answers
9 views

Shapefile for Individual districts of India [duplicate]

I am looking for shapefiles for Individual districts of India (640 or more districts based on newly created districts). I am working to find out "Urban and Built-up" using MODIS data. I am studying ...
0
votes
1answer
45 views

Why do we georeference from the image to the shapefile (and not the other way around)? [closed]

Why do we georeference going FROM the image, TO the shapefile (and not the other way around)?
0
votes
1answer
26 views

How to measure distances between multiple polygons whilst avoiding buildings

I am trying to map habitat corridors for different species of animals. A map with both habitat areas and buildings as shape files (shown in the image below) Maximum distance an animal will leave ...
0
votes
1answer
41 views

Issue comparing two separate shapefiles

I have two separate shapefiles (A&B) with road data that overlaps, but not in every place and they are very similar but do not line up perfectly. I want to compare them to each other, but they do ...
1
vote
0answers
15 views

Converting file from shapefile to open street map [duplicate]

How can I convert a shapefile(.shp) to open street map(.osm)?
2
votes
0answers
68 views

Insert shapefile draw features into PostgreSQL database using java EE (pragmatically)

I am working with PostgreSQL 9.4 and Java EE i want to insert shapefile or layer's features into PostgreSQL, is there any solution so i can insert the whole shapefile into database. OS Windows10. ...
0
votes
0answers
17 views

Automatically calculating area of polygons in shapefile using ArcGIS for Desktop? [duplicate]

I want to calculate area based on FUNGSI_KWS. When I merge, for example "HL" with "HL" on FUNGSI_KWS, the value of area didn't summary automatically. Is there any possible way?
0
votes
1answer
19 views

Working with shapefiles in MapServer: adding color, smooth edges

I am successfully serving Koeppen-Geiger climate shift data from a MapServer instance. Here is an example WMS request to show the current state. Unfortunately this looks nothing like the ArcGIS ...