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
1answer
55 views

Strange names of swedish cities [duplicate]

I got a GIS Data-set for swedish cities. The problem is that they have strange names such as: Trädet Jäla Mjönäs Älmhult Did someone have the samoe problems? I think "ö" for instance mean ...
0
votes
1answer
179 views

Shapefile - problem with number of points in LinearRing

I am new to shapefiles and I've got a bit lost. I am trying to plot pooling sections in my region (Madrid) with different colors. But I get Error: IllegalArgumentException: Invalid number of ...
11
votes
1answer
6k views

Use python to add layers to TOC

I've been battling with adding layers to the TOC for some time now. I have managed to single layers added but need to loop through a folder and add all layers. Shapefiles I cannot get to add at all. ...
1
vote
0answers
19 views

How to remove projection in terminal from .shp file with valid .prj available

I have .prj, .shp, .sbn, .sbx, .shx, .dbf files where the content of the .prj file is the following: ...
1
vote
1answer
43 views

QGIS Shapefile edited by multiple users

I have a Vector layer containing 36000+ line Objects with a large number of attributes that is currently saved as Shapefile on a server (local network). Multiple users access and edit this Layer ...
2
votes
3answers
200 views

how to convert shp and gis line and raster data to autocad (dwg or dxf) in QGIS or GRASS

I am trying to find out which is best free GIS program with ability to convert shp and line and raster files to files suitable for autocad (e.g. dwg and dxf). I have QGIS and GRASS. I get an error ...
0
votes
1answer
20 views

Geotools create shapefile in memory

Is it possible to convert between shapefile and geojson using geotools without access to file system? I have that restriction in my web app, but I need to create shapefile as byte array and then do ...
0
votes
0answers
13 views

Transcad Network file in Arcmap

Is there away to open a transcad network file (filename.net) in ArcMap without having access to Transcad? I just need to see the network links id and attributes.
0
votes
0answers
29 views

Trouble with Calculate Geometry in ArcMap 10.2? [duplicate]

I got a "Federal Lands" shapefile from nationalmap.gov. I clipped it down to the geography I am focusing on (a few counties in eastern California). I am trying to use the "calculate geometry" tool to ...
0
votes
1answer
25 views

Problem with read_shp() in NetworkX

I'm trying to convert a shapefile of only line geometry (a street network) to a NetworkX graph to run some connectivity algorithms on it. I'm running into this issue: File ...
2
votes
2answers
81 views

Bulk conversion and import of OS MasterMap .gz files to .shp in ArcGIS Desktop

I have 91 .gz files procured from the Ordnance Survey and would like to import them all to ArcGIS as shapefiles. I know that the Quick Import tool in the Data Interoperabilty extension performs the ...
3
votes
1answer
51 views

Update column in .shp from .tab with QGIS

Is it possible to perform in QGIS an "update column" on a .shp table with data from a MapInfo.tab having one field apparently in common? One of the greatest uses of QGIS (for me) is the availability ...
9
votes
3answers
5k views

Divide a complex shape file into a grid

I have a decently detailed shapefile with polygon/multipolygon features (the file is about 500mb). It's actually a shapefile of the entire world, with the features representing coastlines. I need to ...
0
votes
0answers
16 views

Clipped shapefile data does not reflect true values [on hold]

I recently clipped a shapefile containing "access roads.shp" against another shapefile showing "asbestos area.shp" to see where the two converge against each other, however, the data in my new clipped ...
4
votes
1answer
42 views

Writing points to a file

Trying to write the city name and point coords to a file. The following works with a polygon shapefile but not the point shapefile. I know I'm missing something basic. import arcpy # Set up the ...
10
votes
2answers
218 views

Retrieving size of shapefile in ArcPy?

Is it possible to retrieve the size of a shapefile using python and arcpy? If so, how?
1
vote
1answer
196 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) ...
1
vote
1answer
27 views

How to view shape file in website?

I have shapefile for my country and i want to view this map in my website (browser) in my LAN network how to do that , is it possible ?
0
votes
1answer
221 views

Converting mapsforge .map file to OSM or shp

I have found solution for converting OSM file into .map file but is there a way for converting .map file back to osm or shp or any other well-known vector file type? by .map file i mean mapsforge ...
1
vote
3answers
123 views

How to create one shape file with categories?

In my QGIS 2.12.3 I want to create shape files of different lakes. I know how to do it one by one and this way, each lake gets a different color. But it should also be possible to create one ...
1
vote
1answer
244 views

ST-Links convert Feature Class to DB Table error

I'm using ArcMap with the ST-Links SpatialKit Conversion tool to convert a Feature Class to a DB Table. But I'm getting an error: ERROR: 42601: type modifier is not allowed for type "geometry". I ...
0
votes
0answers
34 views

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

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
129 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
900 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
43 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
47 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
620 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
243 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
312 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
46 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
301 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
36 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
147 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
54 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
63 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
68 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 ...
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
46k 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
68 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
644 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
16 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
67 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: ...
1
vote
1answer
18 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 ...