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 (1)

3
votes
0answers
28 views

Reduce level of detail for vector contour lines [duplicate]

Possible Duplicate: Simplify Raster Contours ArcGIS 10 I have quite a huge shapefile storing vector contour lines: 1GB. I want to create a detailed heightmap for further 3D usage but the ...
2
votes
1answer
278 views

merging TIGER Line shp files for better labeling in ArcGIS

When working with TIGER line shp data at county level scale the labeling of roads, rivers, railroads, etc. is cumbersome due to all of the tiny line segments. Merging the dozens of segments that ...
0
votes
2answers
607 views

Error import ShapeFile shp2pgsql-gui

I'm trying to import a shape file to my PostGIS database but I can not, give a look: Importing with configuration: 12mie250gc_sir, public, geom, / ...
4
votes
4answers
5k views

Tool for converting .shp file to .tab file?

I am searching for any free tool which can convert ShapeFile (.shp) to MapInfo (.tab) file.
0
votes
0answers
36 views

How to convert ArcMap *.shp to MapInfo *.tab file? [duplicate]

Possible Duplicate: Tool for converting .shp file to .tab file? I have files in ArcGIS format, I want to export some layers to Mapinfo files as tab file
4
votes
3answers
12k views

Converting a .jpg map into a shapefile

I have a .jpg map of a set of U.S. counties that were affected by a tornado. The map shades where the tornado passed through, resulting in some counties only partially experiencing the tornado. I ...
1
vote
2answers
994 views

How to batch convert Shapefiles to GMLs?

I know how to do this within Quantum GIS but I have 30+ shapefiles that need to be converted to GML. Is there a Python script sample or plugin for Quantum GIS that I can use to convert my shapefiles ...
2
votes
1answer
398 views

How to bulk delete shapefile columns?

I have shape-file with next attribute table: - name of features, unique number for each feature of layer I must split shape-file by NAME field, but in result in attribute tables of layers should be ...
2
votes
1answer
996 views

What is the most efficient way to create a shapefile from resultset using geotools

I am facing a problem to write to shapefile (geotools) with respect to time, memory etc. My workflow is something like reading spacial data from database Oracle with attributes and coordinates (can ...
2
votes
1answer
197 views

Tiling Rasters based on an existing Polygon Shapefile (Vector Grid)

I have a tile index representing the tile scheme used to tile Lidar data. I want to tile imagery rasters using the same tiling scheme. I have not found anyway using open source tools to tile a ...
4
votes
1answer
3k views

How to re-project shapefiles?

I wanted to re-project a QGIS project, but there is no such option. When searching for an answer I see ogr2ogr suggested for this task, by re-projecting each vector layer (shapefile in this example). ...
2
votes
0answers
140 views

How to cut lines in a shapefile following a GPX-source?

I have a OSM-Shapefile containing all roads of a given area. I need an overlay cut out of this source-Shapefile that contains only some routes that I want to highlight on my map. I have some ...
1
vote
1answer
368 views

Is it possible to have self intersecting polygons in GML or shapefile?

GIS vector data for example GML or shapefile contains polygonal data. Lets assume, we have polygon A which has self-intersection which means that the edges in this polygon intersect with each other. ...
2
votes
3answers
1k 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 ...
1
vote
0answers
192 views

How can I merge postcode sector polygons into larger territories in QGIS?

I'm new to GIS so patience might be required :-) I'm building a basic web-based mapping tool for business use, to be used as a demo to show that we need one but managers don't know it yet! So far ...
5
votes
1answer
126 views

Where do I append point values with pyshp?

I would like to generate a .shp with five points using shapefile available through pyshp. However, when I loop through my list I get only the last value. This makes sense as I did not append any of ...
18
votes
6answers
9k views

How to convert image of map into vector format?

What is the best way of converting a gif of a map into a vector format, such as a shapefile? The only relevant parts that I am interested in are the outline of the island so I realize some manual ...
1
vote
1answer
73 views

Is it possible to get the style of a tab file I open in QGIS?

I'm trying to duplicate a map made in mapinfo pro with QGIS in order to create shp files for geoserver. When opening the tabs in QGIS they get some random style instead the one defined in mapinfo pro. ...
1
vote
2answers
532 views

Arcpy (10.0) and centroids/points shapefile

I'm trying to create a point shapefile from a grid index polygon shapefile I created using arcpy. I know this is simple, but could anyone give a few pointers out there. Here is what I've done now: but ...
1
vote
2answers
1k views

How to change encoding of layer? [closed]

After loading a point layer out of a text file (plug in add delimited text layer) saved in ISO 8859-15 (Latin 9) out of Access, I did save the layer under Qgis 1.8 with the ISO 8859-15 encoding. When ...
3
votes
2answers
652 views

Why does QGIS crash when merging shapefiles?

This is a repeatable problem. I have created a shapefile using a csv. I am trying to merge it with an existing shapefile, both of which contain only points. (Using the Vector | Data Management | Merge ...
2
votes
2answers
679 views

What can go wrong in UTM to WGS1984 conversion (shifted data)

I try to convert .shp files to OSM data with shp2osm and ogr2osm but the output data is shifted. Semi-Cross-Posting Warning: I have already asked a questions on the OSM help site, but this questions ...
1
vote
2answers
167 views

information from a shapefile to another shapefile

I am very new to GIS and learning by myself so what I'm about to ask is possibly quite basic. I am using QGIS. I have a shapefile, which categorizes areas (land cover) by numbers (corresponding to ...
4
votes
1answer
1k views

Write out a WKT file from a loaded shapefile

We are looking to load and display a shapefile, simple polygons, then write out a WKT string of that shapefile and have the user save it somewhere. Does anyone have some code snippets of that very ...
3
votes
2answers
961 views

How to convert ESRI SHP to KML with correct coordinate system?

I am working on this SHP file, containing geographical district of Hong Kong. I would like to export this to KML and export it to Google Map for overlay. After I converted it to KML in QGIS (just ...
18
votes
3answers
4k views

How to easily edit attribute data using Regular Expressions?

I am writing a tutorial for MSc students that uses QGIS. One of the tasks requires the attribute data to be modified (see pdf draft of tutorial here if interested ). The question is how to get them ...
4
votes
0answers
336 views

Trying to fill polygon fills the entire map

I have been given some shp files to be displayed using Mapserver. Until now I was able to find the correct projections, display the map, and show labels. However, I have problems with polygon colors. ...
10
votes
2answers
2k views

How to add custom Feature attributes to ESRI Shapefile with Python?

I am seeking a way to take an existing ESRI Shapefile that has a Feature set of 200 countries. Each country Feature has an attribute of "NAME." My objective is to create a Python script that adds an ...
5
votes
0answers
133 views

How to add shapefile name as attribute during merge? [duplicate]

Possible Duplicate: How to add field with filename when merging shapefiles with ogr2ogr? I have more 200 shapefiles with a unique name. I would like to merge all of these together and save ...
1
vote
1answer
259 views

Unable to add PostGIS table to Geoserver

I am able to add individual tables to Geoserver using, curl -u admin:geoserver -v -XPOST -H 'Content-type: text/xml' -d ...
6
votes
1answer
553 views

overlay county shapefiles for 2 different years

I have county-level shapefile for South Caroline in 1880 and one for 1940. I would like to overlay these two files so that they do the union and indicate the percentage of the land in 1880 that went ...
1
vote
0answers
54 views

SQL server 08 Limitations

The Soil SURvey GeOgraphic (SSURGO) database is a set of very large and complicated shapefiles. We want to load all of the shapefiles for the US into a national SQL database. Are there import ...
1
vote
2answers
239 views

How to remove shapefile from PostGIS

I added a shapefile to the PostGIS using, ogr2ogr -f PostgreSQL PG:"host=server_ip user=username dbname=dbname password=password" yourshapefile.shp; Now I want to remove it. What is the command ...
2
votes
2answers
592 views

Problems converting CSV to Shapefile using pyshp

I have a python script which converts csv data to shapefiles. It converts but won't get angle from csv. Can anyone help me? The CSV data looks like this: fid_nr;x;y;angle ...
3
votes
1answer
3k views

Creating Isolines from point Data

I'm quite new with ArcGis 10 so I’m having difficulties with something that may be simple to some. Anyway I have a list of bores that I’ve plotted using coordinates. Now I need to draw a single ...
1
vote
2answers
142 views

Length of Feature

I have a shapefile which renders a map. I want to calculate and preferably store length of each feature in the shapefile either using QGis or through programmatic means. What is the best way to get ...
3
votes
1answer
619 views

Automate removal of duplicate polygon nodes from shape file in Arcmap

I have a whole lot of polygon shape files, many of which have got duplicate nodes. This makes processing difficult as almost all tools (erase, union, calculate area) do not work. I found that by ...
4
votes
3answers
779 views

Why is the curl syntax unable to create datastore?

I am implementing the following code to upload an existing shapefile as per the documentation, curl -u admi PUT 'Content-type: application/zip' \ --data-binary ...
3
votes
2answers
2k views

Create point to a center of polyline

I'm trying to create a points in the middle of polylines. The data is now in the form of shapefile. Is there an easy way to do this? Cheers, Sanna
3
votes
3answers
230 views

How to compare a set of images with a shapefile?

I have around 150 images (rasters), each one is just a map of certain "classes", e.g. pixel value 1=forest. I also have a shapefile that consists of roughly the same area as the 150 images constitute ...
1
vote
1answer
427 views

Is the PostGIS Shapefile Import Manager able to upload to phpmyadmin or only pgadmin III?

After trying to import a shapefile into pgadmin III with no success I was wondering how to successfully upload it, but also if it is possible to upload to phpmyadmin instead. In any case, how exactly ...
4
votes
2answers
478 views

ArcGIS: Rapid digitizing of Point Data

I have several big maps with a lot of points that I have to digitize. All these Points have different Values (depth in Meter, double) and will be stored in 1 Shapefile. Is there a way to speed up my ...
4
votes
1answer
436 views

Shapefile vs Arrays of coordinates to build Google Maps overlay?

I am very new to GIS, and my task is to overlay about 100 polygons on a map. I'm using Google Maps Javascript API v3. I think I can define all my polygons as sets of lat/long coordinates in my ...
5
votes
1answer
846 views

Working examples of Leaflet/Polymaps with GeoJSON tiles generated from Tilestache using Shapefiles?

I'm looking to create choropleths using GeoJSON tiles generated from ESRI Shapefiles by TileStache(or similar), in either Leaflet or Polymaps. So far reading and drawing GeoJSON from both Leaflet and ...
3
votes
1answer
174 views

How do I find overlapping attributes in two different layers?

I have two layers - one with country borders, and one with river basin borders - and I need to find a way to generate a list of basins that occur in each country. Is there a way to find overlapping ...
4
votes
1answer
828 views

Using PHP and JavaScript to dynamically create shapefile or KML

While I have used GIS software (ArcGIS and just started playing with QGIS at home), I have never looked into the code or file structure of shapefiles. I am working on a project for my work, a ...
10
votes
3answers
6k views

How to create a GeoJSON that works with D3?

I'm simply trying to convert a .shp file to a geoJSON format using: ogr2ogr -f geoJSON output.json input.shp After executing the command nothing seems to be wrong. Here's an excerpt from the ...
17
votes
4answers
15k views

How to open a Shapefile in R?

I need to open a shape file from ArcMap in R to use it for further geostatical analysis. I've converted it into ASCII text file, but in R it is recognized as data.frame. Coordinates function doesn't ...
2
votes
0answers
222 views

KML files to IPad securely? Altitude and shape problems in Google Earth

Does anyone know any options for maintaining privacy of the files and getting them onto iPad using Google Earth? Using Google account to link to Google Earth, privacy settings in Google my maps are ...
3
votes
1answer
410 views

OSS java approach to convert Shapefile to GML

We've got a project coming up where we need to upload .zip of a shapefile, join the .dbf to some lookup tables, join to other tables also uploaded (one to many attributes for each feature), and ...