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
0answers
28 views

What is the best library to use to load ESRI shapefiles into Unity 3D? [on hold]

I am supervising a project that now needs a new feature involving ESRI shapefiles which I have to load and turn into Unity data structures that would then be visualized in our Unity scene. I recently ...
0
votes
1answer
126 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?
2
votes
3answers
2k views

Creating new shapefile based on its attributes with python?

I have a shapefile which has an attribute year. I used to generally copy and paste these features in the dataframe and then using the definition query just show polygons which were established before ...
2
votes
4answers
870 views

Polygon Shape Data for North America

Does anyone know where I can get data like this for north America (for use in SSRS). It does not have to be exploded. If I add Bing maps my 36 page PDF is 250MB when exported!
4
votes
1answer
42 views

Need to combine the lines created by Vector grid in QGIS into one polyline

I am having a fairly specific issue. I am starting off by creating 100m2 squares around specific points on a map by adding a buffer to the point and then using this buffer as the extent for a Vector ...
0
votes
2answers
39 views

converting csv to shape file

I have a csv file with lat and long coordinates , is there a way I can convert it into a shapefile so as to generate a mobile network coverage map like the AT& T image I have attached.
4
votes
2answers
619 views

Is there a recipe for large shape files to be used in an Android App?

I am very new to GIS and I am diving into cartography and mapping because of an Android App that I am currently developing. I want to display environmental data, more precisely noise pollution data on ...
0
votes
2answers
240 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 ...
1
vote
2answers
304 views

Correlation analysis of two polygon shapefiles with nominal data

I am working on a research- trying to model vegetation types based on factors affecting their distribution. In that case I have observed a strong relation between vegetation and soil types, from just ...
1
vote
1answer
39 views

Add lat/lng to Shape File [duplicate]

I'm new to GIS. I have a shape file (shp) that I need to add lat/lng coordinates too. I used QGIS to open the file and selected Processing->ToolBox->QGIS geoalgorithms->Vector geometry ...
0
votes
0answers
41 views

How to convert an XML to Shapefile polyline

I want convert this XML file to a polyline shapefile. <?xml version="1.0" encoding="utf-8" standalone="yes"?> <ci nc="BMSKDMA10" nl="BMskDMA10" mt="6" ct="DM" dtt="17342" dtu="15/01/2016 ...
2
votes
1answer
294 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 ...
3
votes
2answers
33 views

How to make a line shapefile converted from a gpx track file display over basemaps such as OpenStreetMap?

I have created a line shapefile from a Garmin gpx track file using QGIS 1.12.3 Lyon. Resultant vector file displays properly with other vector shapefiles. Problem is that created vector file (line ...
11
votes
3answers
1k views

Ortho Projection produces artifacts

I`m trying to create a sphere-like view using qgis and the "world from space"-projection http://spatialreference.org/ref/sr-org/6980/ (essentialy an ortho-projection). ArcGIS wraps the shapes ...
2
votes
2answers
2k views

Programmatically converting arbitrary XML data to shapefile?

Based on the answers below I decided to do some programming. I'll be using GEOtools for this, a java lib: http://www.geotools.org/ I have the following XML: <shapes ...
1
vote
1answer
141 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); ...
1
vote
1answer
2k views

importing shp file in matlab

I have digitize 3 rivers on google earth and converted into shp file to use in matlab. I have checked the shp file in Arcgis and they are working. But while opening in Matlab, matlab shows some error. ...
0
votes
1answer
53 views

Is there a python-module to convert data to a Shapefile (w/o GIS)?

Input data can be excel, text, whatever. I would like to produce shapefiles from data on a computer without GIS installed. Is there anything out there? Fiona seems to be such a module. Are there any ...
3
votes
1answer
62 views

Counting polygons in one layer that are overlapping/touching/contained in each polygon in separate layer of contiguous polygons using QGIS?

I have a layer of contiguous (pink) polygons (UK Parliamentary constitutencies) and a separate layer containing (blue) polygons representing protected nature areas (Natura 2000 areas): Each ...
4
votes
2answers
62 views

How to merge and dissolve adjacent polygons and sum up their attributes in QGIS?

I have many polygons that are adjacent to each other, and others overlap slightly. I need to merge them and sum up their attribute (Area per class). I attach an image of my problem (Screenshot of my ...
-2
votes
0answers
12 views

How to open .shape file in PDA? [on hold]

I want to open .shape files in my PDA with windows CE6.0 platform using C# device application (VS 2008).
1
vote
1answer
23 views

How to dissolve polygons that overlap both on each other in QGIS?

I have two layers of polygons with landcover classes(meadows, cropland, forest, ect) They overlap in both directions, i.e like a zipper. I need to dissolve them by one attribute (Class) so I can have ...
24
votes
2answers
45k views

How to calculate polygon areas in QGIS?

Hi I would like to simply calculate areas of a area-shape file in square meters or in acres (ha). I didn't find that functionality in the vector tools. Could anyone here help me with that?
1
vote
1answer
58 views

ogr2ogr Shapefiles to Postgres SRS problem

I am trying to import to my Postgresql (9.1+129ubuntu1) + PostGIS (1.5.3-2) database a Shapefile with polygons with the ogr2ogr tool from Gdal-Bin package (1.7.3-6ubuntu3). I know the origin SRS of ...
1
vote
1answer
626 views

Import shapefiles into PostGIS using Python with psycopg2

I want to import shapefiles to PostGIS using Python with arcpy & psycopg2 to connect to PostGIS. I don't want to use the existing shapefile loader nor ogr, just write my own import tool. My steps ...
13
votes
10answers
25k views
2
votes
1answer
14 views

Cannot add attachments through Attributes window of ArcMap?

I am trying to add *.png files to shapefiles in ArcMap like this: Enable attachments through ArcToolbox Open the Editor Toolbar and select "start editing" In Attributes window, click the paperclip ...
0
votes
0answers
65 views

Saving shapefile using GeoTools?

This is my first time dealing with the GeoTools library and not sure how to troubleshoot the issue. I am trying to save a shape file using the library but I get the following stack trace: ...
0
votes
1answer
12 views

Geoserver Manager: how to change description of stores?

Here is my code to upload a new layer from a shape file (zipped): boolean exists = reader.existsDatastore(workspaceName, storeName); if ( !exists ) { File shapeFile = new File( ...
0
votes
0answers
12 views

geotools shapefile does not support utf-8 for dbf header

I create a ShapefileDataStore to create a new shapefile and call dataStore.createSchema(...) . But it does not work for utf-8 header fields. I checked the geotools source code and realized that it ...
1
vote
1answer
888 views

Importing Census TIGER Shape Files to SQL Server 2012?

I've been doing my research on how to import shape files into Microsoft SQL Server 2012. and am still unable to figure out how to do it after hours of playing around with it. I'll document what I've ...
0
votes
0answers
36 views

What geospatial analysis can be done easily in R but not in Python? [closed]

I'd like to present on the capabilities of R in spatial processing to a crowd more familiar with Python. I'm very familiar with R but no so much with Python. I want to wow them with some processes ...
0
votes
0answers
25 views

Error clipping extent of shapefile with boundary box with ogr2ogr from python [closed]

Trying to clip polygon shapefile with boundary box in ogr2ogr called from python gives error: "FAILURE: Unable to open datasource 'C:\UserData\save.shp' with the following drivers." then lists ...
0
votes
0answers
28 views

Access ESRI shapefile with java code [closed]

I am working on ESRI shapefiles, and I need to access them to get information as number of polygons and bounding box coordinates. Also, I am totally beginner in coding with Java. I found recently ...
0
votes
0answers
23 views

ArcGIS 10.3 , pipeline shapefile [closed]

I am using ArcGIS 10.3 for Desktop. I have a 2D pipeline shapefile. I have converted it to 3D. Now, I want to identify points on the pipeline where I only know the real length on the 3D of ...
2
votes
1answer
106 views

How to detect corner of shapefile in python [closed]

Is there any way to detect corner of each shapefile in python !? (not BBox) Or somehow to detect the edges? I want to detect each shapefile vertices to calculate the differences in latitude for my ...
3
votes
0answers
64 views

Select shape file by their coordinates behavior [closed]

I want to filter shapefiles by their latitude behaviour: If the latitudes of edges A and B are constantly decreasing or increasing then this class marked as correct, otherwise are incorrect. For ...
2
votes
2answers
176 views

Writing PyQGIS Output to Shapefile

I'm trying to find the closest point on a line to another point as in this post. However when I try to write the result as a shapefile I get an error: TypeError: ...
0
votes
1answer
47 views

rotate point along line layer

I have two layers: point and line (postgis or shp) The line layer represent a hiking trail. The point layer the mountain passes. The points are exactly on the same position like the node of the line. ...
24
votes
12answers
25k views

Converting Shapefiles to Text (ASCII) files? [duplicate]

How can I convert a shape file (GIS) to text? or, How can I extract the information in a shape file?
0
votes
0answers
23 views

gdalwarp error cropping raster

I'm getting an error from gdalwarp using the following code: gdalwarp -cutline input.shp -crop_to_cutline -dstalpha input.tif out.tif Error: *** Error in 'gdalwarp': free(): invalid pointer: ...
2
votes
0answers
28 views

Shapes & categories

I am very new to this so please only smile if a dumb question. I have divided the oceans into 31 regions. Each region has various sub regions, example I have region 08; of which it is further broken ...
3
votes
2answers
234 views

Exporting .csv file as .shp in QGIS?

I am a newbie to QGIS. Here's what I'm trying to achieve: Step 1: Load the required GIS layer (*.shp file) Step 2: Load the .csv file in QGIS Step 3: Perform the join based on common attributes ...
1
vote
1answer
40 views

Merge polygons in the same shape file based on attributes, ArcGIS or ArcPy

I have a shapefile of polygons. I do not want any polygons with an area less than 25. For polygons with an area less than 25 I want to merge them with another polygon with an area greater than 25 that ...
1
vote
0answers
30 views

Problems opening ArcGIS 10.3.1 .shp files in QGIS

I'm using QGIS version 2.12.1-Lyon for Mac and trying to import a .shp file that was apparently created with ArcGIS 10.3.1. I keep receiving the "invalid data source" error message no matter how I try ...
1
vote
0answers
52 views

QGIS not showing attribute updates

I have a feeling I know the answer to this but want to make sure before I start redoing all the work. I've recently started using QGIS to help with mapping of an estate. Last week a created a new ...
2
votes
2answers
83 views

ArcGIS - Convert a Shapefile into JSON with coordinates

I have a shapefile and I would like to convert in ESRI Json with ArcGIS toolbox From feature to JSON. When i convert it I visualize x and y values in meters while I want latitude and longitude ...
0
votes
1answer
38 views

Leaflet + GeoJSON and ArcMap : Map fails to load if missing variable

I am working on my first web map using the Leaflet API. I have a shapefile that was converted to the GeoJSON format (within ESRI's ArcMap software). The Shapefile contains a field attribute named ...
2
votes
1answer
58 views

Importing shapefile into GRASS, and multiple new rows appear in attribute table

I am importing a GADM Global Administrative Areas shapefile into GRASS (using QGIS 2.8.2 interface). When I do this, multiple additional rows are created in the attribute table. It goes from this: ...
3
votes
4answers
228 views

Looking for a Free Shapefile of the European Countries

I do not seem to be able to find a free shapefile of the European countries. This is the kind of map I am looking to populate with my own data using ESRI ArcGIS: The Eurostat website only seems to ...