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)

2
votes
2answers
2k views

Where can I download a free dataset containing major ports across the world?

I am working on an analysis and would like to incorporate major maritime ports from across the world. Some initial searching turned up a dataset produced by General Dynamics, however it will be ...
0
votes
2answers
74 views

Using Geotools: How to convert these strange coordinates from a shapefile into regular lat and long?

I use this dataset from the European Union: http://www.eea.europa.eu/data-and-maps/data/administrative-land-accounting-units Opening the shapefile with Java' Geotools, I see coordinates like: ...
1
vote
1answer
133 views

Selecting a valid format file

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

ArcMap “Could not open the specified file”

Has anyone ever encountered this message? I am getting this when I try to open certain shapefiles. I am working on a problem that generates shapefiles from spreadsheets using ThinkGeo's .NET tools. ...
3
votes
1answer
66 views

Is it possible to define a custom CRS for a shapefile in QGIS that uses hundredths of a US foot?

I have several polygon shapefiles whose coordinates are defined as 100x their original coordinates projected from the Washington State South HARN State Plane in us-ft (EPSG 2927). I would imagine the ...
2
votes
2answers
262 views

How to delete empty fields from a Shapefile with QGIS or ogr2ogr?

I have a Shapefile with a lot of empty columns but many of them are empty. Using QGIS or ogr2ogr, how do I remove all attribute columns where everything is NULL?
0
votes
1answer
325 views

Example using sharpmap in mvc asp.net

I am wanting to open shapefile files in a ASP.NET MVC application, was researching and found sharpmap but have not found examples of how to implement the MVC. Does anyone have any examples to help me ...
33
votes
11answers
14k views

Identifying Coordinate System of Shapefile when Unknown?

I have a Shapefile but its coordinate system is Unknown, and there is no *.prj file. How I can identify it now? Are there any tools that could help?
0
votes
1answer
38 views

Keeping Properties When Converting JSON to SHP

I'm trying to convert the Nielsen map of DMAs from a JSON to a shapefile. The properties of the json is as formatted like this: "id": 546, "properties": { "name": "dma:", ...
1
vote
2answers
47 views

pairwise (linear) distance between points of the same shapefile

Given a set of points representing villages stored in a .shp file, is there a way to compute the pair-wise distance (Euclidean) between them? What I would like to come up with is a sort of symmetric ...
0
votes
0answers
17 views

leica-geo-office unable to export shapefiles without freezing

I’m trying to export shapefiles from leica geo-office to AutoCAD. LGO keeps freezing up whenever it opens a navigation window. Such as when trying to choose the path to save the Fieldwork Report or ...
2
votes
5answers
1k views

Unable to export data to ShapeFile in ArcGIS

I've imported an Excel sheet into my ArcGIS project but am unable to convert this to a ShapeFile. When I try, via export data, I get an error message saying either 'output name is not valid', whatever ...
0
votes
1answer
28 views

Growing error from west to east when overlaying raster and shape

I am using a shape of Austria from gadm.org which I want to overlay with a netCDF file in R. As the netCDF has projected coordinates in EPSG:31287, I have reprojected the shape using FWtools and the ...
6
votes
3answers
9k views

How to convert coverage (.adf) to shapefile?

Is there any tool or software except ArcGIS which I can use for converting coverage (.adf) files to shapefiles?
2
votes
2answers
95 views

Creating shp from txt files using ArcPy?

I have a txt file like this: Point 0 347172.2 4269952.7 60.9090909091 1 337172.8 4278952.4 85.7334909091 2 344572.3 4547952.2 123.909673091 3 347532.8 8777952.8 456.467809091 END The third column ...
0
votes
2answers
128 views

Cannot open shapefiles in ArcGIS Desktop 10.3

I have shapefiles and mxds that were working fine in 10.1. I then downloaded version 10.3 ArcGIS Desktop Advanced. Now when I open the mxd, all of the data links are broken. when I open properties ...
0
votes
0answers
25 views

How to Post Kartograph File on Wordpress?

I can't for the life of me figure out how I can post what I created with Kartograph.py to my Wordpress site. I have the following files and the created the following with Kartograph:
0
votes
1answer
79 views

Shapefile to Mysql error using ogr2ogr

I'm following this tutorial. I installed the “GDAL Complete” Framework from kyngchaos.com and I tested the installation on Mac. I have GDAL 1.11.2, released 2015/02/10. When I am trying to run this ...
1
vote
1answer
56 views

Geopandas: counting the number of raster pixels within a shapefile polygon

I have a shapefile that I have loaded as a geopandas dataframe, and it has a geometry column containing polygons and multipolygons. My end goal is to do some zonal computations on a GeoTiff raster, ...
2
votes
1answer
51 views

How to create a new shape file from jts geometries?

What I use: Java 1.7, JTS 1.13, geotools.api 14 What I have finished: Creating correct JTS geometries from OSM relations, ways and nodes. What I want to achieve: Create a csv file which contains the ...
0
votes
1answer
40 views

Distance unit between line and point shapefile

I have two files: A point shapefile containing latitudes and longitudes of points. A .kml file that I am converting to a line shapefile. Objective: To find the minimum perpendicular distance of ...
1
vote
1answer
120 views

Cannot produce pie chart in QGIS 2.2

I have a shapefile to which I joined two tables from a MySql database. I used one column of the first table to color the polygons in my shapefile which works fine. Three columns out of the second ...
2
votes
1answer
356 views

How to convert shp to csv

I am trying to convert my shape files to csv through a batch processing in Java using Geotools. The problem is I have more than 500 shape files (point features). The code is working fine for a small ...
0
votes
1answer
654 views

Unable to load Shapefile using pgShapeloader / shp2pgsql-gui (pgAdmin3's PostGIS Shapefile Import/Export Tool)

I am trying to load a shapefile (http://dds.cr.usgs.gov/pub/data/nationalatlas/statesp020_nt00032.tar.gz) into PostGIS 2.0.1 using pgAdmin3's PostGIS Shapefile Import/Export Tool. However its not ...
0
votes
2answers
77 views

How to stylize KML layers for Google Maps?

I am using QGIS 2.0 to convert my shapefiles into KML layers. The purpose of converting my shapefiles into KML layers is to bypass the restriction imposed by Google Fusion Maps, which only allows ...
1
vote
1answer
71 views

Batch export all layers in ArcMap document that have selected features?

I have several layers in an ArcMap Document. All of these layers are stored as shape files. Specific features of the said layers are selected. I want to export the data as shapefile programatically. ...
1
vote
1answer
61 views

How to convert multiple vector layers to georeferenced rasters using QGIS?

I have Openstreetmap background loaded in QGIS - currently from Spatialite, but no problem to get shapefiles. I need to convert the loaded map to one big raster or could also by more smaller ones, ...
0
votes
0answers
34 views

Can styling be applied to a kml (from a shp) using ogr2ogr

Is it possible to generate a styled KML using ogr2ogr (ie pen width and colour?) I cannot seem to find anything in the ogr2ogr documentation. My code so far is; ogr2ogr.exe -f "KML" prow-kml.kml ...
1
vote
1answer
56 views

Iterators in model builder - merging nested files with same filename ending

I am trying to merge files that are nested in different folders by their file names. For example folder 1 contains up to 100 subfolders that each contain a set of shapefiles: subfolder1_A.shp, ...
2
votes
2answers
565 views

Are British National Grid (BNG) 1km grid shapefiles displayed accurately in ArcMap?

I have downloaded the UK Ordinance Survey's 1km grids in shapefile format for ArcMap. If you need to download them to have a look first you can find them here look for link in the first Answer to the ...
14
votes
3answers
966 views

Is there an automatic function in QGIS to package all files in a project for transferability?

In my project, I use a lot of geodata from different directories. Now I want to give the QGIS project to a colleague (eg on a CD). Is it possible to copy the shapes from different directories ...
1
vote
1answer
40 views

portions of edited shapefile will not draw

I edited a shapfile of approximately 1500+ pipe segments yesterday in QGIS. When opened today (first in ArcMAP by another user) only about 10% of the pipes were drawn. The same happened when the ...
4
votes
1answer
88 views

Using different symbols and colors for each row in a shapefile attribute table

I have a shapefile where I have a column of individual locations (ID field below), and then a column of yes/no data for each location. Some locations were visited twice and got different results. I ...
8
votes
5answers
7k views

How to change the order of features in a shapefile?

I have a shapefile and I want to change the order of the features. Is that possible?
0
votes
0answers
31 views

Regroup SHP files and convert to one MBTiles file

I have a lot of shp files and i want to regroup all of them and export the whole thing in one mbtiles file (and display this with MapBox GL). I tried MapBox Studio but it's crash a lot ! Any ideas ?
2
votes
1answer
55 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
2answers
44 views

Is it possible to withhold attribute data from a shapefile?

Basically, what I'm trying to figure out is if its possible to withhold or lock attribute data from a shapefile if you are sending the shapefile to someone?
9
votes
1answer
10k views

Georeferencing shapefile using ArcGIS for Desktop?

I have a shapefile with some polygons that I would like to superimpose to a raster image, but unfortunately they don't match perfectly due to the reference system the shp has been created with. So, I ...
2
votes
1answer
42 views

Display coastline

I have a raster converted from shape file(tool point to raster). Can anybody prompt, how to display coastline? I can use contours, but are not focused at condition "elevation = 0". Is there any simple ...
1
vote
2answers
746 views

Is there a way to get Z value from 3D multipoint shapefile in QGIS?

Is there a way to get Z value/height/altitude from 3D multipoint shapefile in QGIS? All I found is way through SpatiaLite or PostGIS as explained here: ...
1
vote
2answers
44 views

Automating selection and sliver elimination using QGIS

At the moment I do this manually: open a shape file open the attribute table use "select features using an expression" - the expression is "area" < 200 then I use vector/geoprocessing ...
4
votes
2answers
75 views

How can I identify lines that intersect a certain raster layer area?

How do I identify certain roads ( of a line shapefile) that intersect with a layer that is produced from the reclassify tool (for raster data)? I am trying to identify which roads specifically are in ...
0
votes
0answers
71 views

Import OpenStreetMap to shapefile in ArcMap

I would like to import an osm file to a postgresql in order to be able to extract soe information and convert it to a shapefile. I have downloaded the PostgreSQL. My question is what are the main ...
2
votes
1answer
44 views

Enforce topology rule over a shapefile

I have a couple of shapefiles, the first one is a set of points, while the second one is a set of lines. I need to regularize the shapefiles in order to be able to generate a graph (adjacency list / ...
2
votes
1answer
60 views

Trying to extract arc information from a Suburb shapefile

I downloaded some shapefiles from the Australian Bureau of Statistics (ABS). It's basically showing a bunch of suburbs when I view the shapefile through a GIS tool. The GIS tool that I am using at ...
2
votes
0answers
162 views

Ecoregions shapefiles: subsetting, extracting and summarizing data from raster

I am attempting to subset and project an ecoregions shapefile from : EPA ECOREGIONS my data set is found here: SHAPEFILES and RASTER When I run this code, two major problems occur: 1) I cannot get the ...
0
votes
0answers
79 views

Is there a way to retrieve/query country data from a shapefile programmatically using map coordinates in GeoTools?

I am using Geotools to parse and draw a shapefile. Now; when I draw that map I receive coordinates with this bit of code for my Flight Line button. void selectFeatures(MapMouseEvent ev) { ...
2
votes
2answers
379 views

Displaying multiple regions shapefiles on iOS device?

How can I display multiple shapefiles on an iOS device? My client is asking to display all the states in a different color, and again cities in a different color and all the fields in a different ...
0
votes
0answers
39 views

Distance Measure appears to be wrong in ArcGIS Desktop?

The distances in my shapefile are completely wrong. I got this shapefile online. Does anyone knows what's going on? I attached two pictures. The shapefile is projected as ...
2
votes
3answers
126 views

Procedure putting online a graveyard in a GIS

I would appreciate some advice. I’m not an expert in GIS but recently I studied a bit, came on different sites. Among others QGIS, MangoMap, ArcGIS, … etc A group of 6 small towns in Belgium wants to ...