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)

1
vote
0answers
171 views

Best practice for loading shapefiles into ArcSDE geodatabase using web application

We are developing a web GIS using Flexviewer and we want to allow users to upload a shp file and insert it into a ArcSDE geodatabase. I think there are two steps at least. upload the shp file (zip) ...
3
votes
3answers
488 views

Shapefile import with Oracle + GeoServer produces points instead of vector shapes

I have implemented the example at http://www.gistutor.com/openlayers/22-advanced-openlayers-tutorials/47-openlayers-wfs-t-using-a-geoserver-hosted-postgis-layer.html and got it working properly. Now ...
5
votes
1answer
3k 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. ...
8
votes
5answers
2k views

How to get an ocean shapefile from a very detailed land area shapefile?

I am looking for a possibility to "invert" a shapefile. What I want to do is to convert a shapefile with the continents and islands into a shapefile that has water polygons. The existing ocean ...
6
votes
1answer
999 views

How import a shapefile on-the-fly and have GeoServer render it instantly?

I am tasked with adding one feature to an existing app. It was built with OpenLayers and GeoServer. The task is to import a shapefile on-the-fly and have GeoServer render it instantly. However, I ...
6
votes
1answer
3k views

Using the python shape library: pyshp - how to convert .csv file to .shp

I am trying to understand how I can use the csv module in python to open a csv file in the same folder as the python script, and then create a shapefile using the shapefile module pyshp. The csv file ...
4
votes
1answer
3k views

How do I edit shape file attribute tables so they all have the same information?

I am trying to merge several pipeline shapefiles using GEOMERGE but it cannot complete the function because they have different column definitions. So I need to edit the attribute tables so that ...
2
votes
0answers
308 views

create geotiff from shapefiles

I need to colorized geometries from shapefiles and convert them to raster image (geotiff). I tried to use geotools's VectorToRasterProcess and ImageWorker ("d:\gis\tmp\32 27 25 w4.shp" is path to my ...
5
votes
4answers
307 views

We sent Client Esri Files and Now they want to See Polygons

We are a voter list company. Every ten years new political boundaries are written for federal and state offices. All of the corresponding shape files are ESRI ready. One of our clients is getting ...
1
vote
1answer
168 views

Unable to load the GADM data in QGIS

I have downloaded the shapefile of Mexico's Admin Boundaries from the GADM site but I am not able to load it in QGIS. It keeps giving me the following error, ...
1
vote
3answers
1k views

How to export a shapefile through the Wikimapia API?

I am trying to download a kml file from Wikimapia containing information on quaters (districts), the very same information that is nicely available on Wikimapia. What I want to get at the end of the ...
1
vote
2answers
335 views

How to use -where SQL in an ogr2ogr loop in GDAL/OGR (bash)?

I'm using the following code: while read line; do for att in $line; do ogr2ogr -where "newcode='$att'" -f "ESRI Shapefile" $OUTPUT/$att.shp $INDATA done done < $SCRIPT/newcodes.txt The text file ...
1
vote
1answer
1k views

Drawing a Straight Line Between Two Polygons on a Map and Listing Which Polygons It Passes Through

I have a shapefile of United States counties. I have two counties that I would like to highlight. I would like to draw a straight line distance between them. By straight line, I mean, if you were ...
3
votes
1answer
689 views

Can't get MapServer WFS to display in OpenLayers

I'm new to OpenLayers and MapServer and I'm trying to serve a shapefile through a WFS but can't seem to get the data to display. When I use Firebug and HttpFox in Firefox I seem to be getting some ...
0
votes
1answer
153 views

overlay a county shapefiles for 2 different years [duplicate]

Possible Duplicate: overlay county shapefiles for 2 different years 2 down vote favorite I have county-level shapefile for South Caroline in 1880 and one for 1940. I would like to overlay ...
4
votes
1answer
127 views

Creating a feature of a part of a state boundary from a shapefile of U.S. States

I have a shapefile of U.S. states. I want to create a feature layer from it so that I can do a Near analysis with it. Suppose that I am interested in the Georgia boundary, but only the part of ...
3
votes
2answers
2k views

How to edit Shapefile Attributes?

How might I go about exporting a polygon shapefile (e.g. CSV) so that attributes (not geometry) are editable by others, and importing it with the changed attributes (of which there are several columns ...
3
votes
2answers
241 views

calculate coastline at risk

I have an idea of what I want to do but I don't know yet what tools will bring me there. I have administrative boundaries in one layer and coastline in another layer. The coastline is categorized in ...
3
votes
1answer
379 views

How to stop writeOGR from abbreviating Field Names when using “ESRI Shapefile” driver

I'm currently using the following script to add some attribute data from a table to lots of individual shapefiles: library(rgdal) specieslist <- read.csv("SpeciesList1.txt", header=F) attdata ...
8
votes
4answers
704 views

How to create a multi-story building infrastructure web map?

Hi please bear in mind that I've got absolutely NO experience working with GIS before you begin laughing at this. During a recent meeting, our client was bouncing around their complaints about how ...
6
votes
1answer
155 views

Is there a difference between projecting shapefiles then rasterizing & rasterizing shapefiles then projecting?

I currently have a project where I rasterize shapefiles into simple presence/absence (1 & 0) rasters and then add each one to a running total to create a total richness raster at the end. The ...
9
votes
2answers
8k views

Merge polygon in a shapefile based on a field value

Hello I have a shapefile with a lot of polygons in it. These polygons are grouped into a category: district. How can I merge the polygons based on the same name of the category within this shapefile?
1
vote
1answer
244 views

Summarize polygon area using another polygon

I have a shapefile representing public/private lands in Montana. This is a multipart shapefile where I've simplified attributes so that #1==private and #0==public. Next I have a shapefile of ...
1
vote
1answer
438 views

Converting a shp file to a list of latitudes and longitudes

I have a shp file with the latitudes and longitudes for the boundaries for various geographic regions. I'd like to convert the shp file into lists of just latitudes and longitudes for the regions. ...
2
votes
1answer
669 views

World map shapefile including disputed areas

I am looking for a global shapefile that allows you do show data for all disputed areas (like Waziristan, Spratlay Islands, Kahsmir, etc.). Do you have any idea where I can find a shapefile with not ...
1
vote
0answers
330 views

QGIS: opening a shapefile without an exclusive file lock [closed]

UPDATE: I did some analysis of what happens with the locking and it looks like QGIS doesn't use an exclusive lock. It just requires (non-exclusive?) write lock to the file. So this C# code fails: ...
0
votes
0answers
151 views

Merging point shape file problems?

I've got a whole bunch of shape files that have soil testing data in them that I would like to merge together so I can do some analysis but when I use the Ftools merge shape files command I get an ...
1
vote
0answers
102 views

I've converted a kml to shp and want to import it to pgsql database, but no geometry column [closed]

As the title explains, I have a shapefile whose attribute table has no geometry column specifying the location of points. Rendered in QGIS, it looks fine, so the geometry data is obviously there. ...
2
votes
1answer
767 views

How can I relocate a georeferenced image, shapefiles and grid using Spatial Adjustment tool?

I somehow georeferenced an image about 120 miles east of where I should have georeferenced it. This should be a simple fix, except that I then proceeded to digitize that extremely detailed image ...
3
votes
2answers
102 views

vector layer, no more editing is allowed

I have a polygon vector layer with already 529 objects but without any attributes so far and now I get the message that shapefiles without attributes are treated as write protected. What can I do to ...
3
votes
3answers
664 views

How to merge a large amount of polygon-features in a script?

We have a very large shapefile with over 30000 features and want to merge it with a script on a server. Currently we try it with QGIS, but the processing takes way too much time. Is there a way to do ...
1
vote
0answers
264 views

how to create a shapefile for 2 million points with geotools

I have to create a shapefile with the geotools java library for approx. 2 000 000 points and whatever strategy I apply I seem to run into out of memory exceptions as well as everything running super ...
0
votes
0answers
23 views

Desktop tool to batch convert Shapefils to CSV with polygon outline coordinates [duplicate]

Possible Duplicate: How to convert .shp to .csv including attributes AND geometry? Is there a desktop tool that would allow me to take dozens of large (300MB) shapefiles and convert them ...
5
votes
2answers
654 views

Importing attributes from Excel file into new Polygons

I have a constantly updated Excel file containing address information which I am currently copying into the attributes of new polygons which I am creating on a daily basis. I am currently doing this ...
5
votes
3answers
1k views

How to produce a singlepart featureclass with unique IDs for each spatially non-connected polygon?

What is the best method to convert a singlepart shapefile (i.e. one record that contains several non-connected polygons) into a mutlipart shapefile? --EDIT For clarification the original question ...
3
votes
1answer
75 views

How to modify height model values outside of road network

I have a height model of a quite big area saved in Esri ASCII grid files and a road network of this same area in a shapefile. I'd like to convert every height model value outside the road network to ...
5
votes
3answers
3k views

Add shapefile from a local file to a JS API map

Using ArcGIS.com's Map Viewer it's possible for the user to add a local shapefile to the map, using an Add Data approach. Is it possible to add this functionality to an ArcGIS Server map built on ...
9
votes
2answers
4k views

Cutting up a shape file into smaller parts

I've downloaded the 350MB coastline shape file from Openstreetmap, but I really would like to work with a small part of them, is there a way to generate a shapefile of a small area. I'm using MacOSX ...
-2
votes
1answer
75 views

Data attributes in Illinois legislative and senate TIGER shapefile [duplicate]

Possible Duplicate: Illinois Legislative Zip to District Match Data Set I have to download illinois legislative and Senate shapefile from the census bureau. Do I download State Legislative ...
12
votes
3answers
922 views

Centralizing shapefile data into database

I've got hundreds of shapefiles from various different GIS projects that I want to start consolidating into a single database platform, currently attempting this with Postgres / PostGIS. Hardly any ...
0
votes
2answers
135 views

What GIS software did you purchase to work with Tiger data?

It looks like in Tiger line file the user must have mapping or Geographic Information System (GIS) software that can import TIGER/Line data. Has anyone worked with the TIGER/Line data. What GIS ...
2
votes
2answers
127 views

Why does exporting labels with buffers take so long?

I set white borders for text (city names) in qgis. If I export the map without white borders it exports quite quickly (png 600 dpi). If I set the white borders it takes hours! Is there any way I can ...
1
vote
2answers
1k views

shape file coordinate system

I added a shape file of Iran to Qgis. 'Tehran' has 35.6833° N, 51.4167° E coordiantes, however Qgis shows Tehran with 4772860,31296767. How i can view coordinates of a city or location in latitude ...
0
votes
1answer
657 views

Openlayers shapefile polygons hover effect

I have shapefile polygons. I'm using OpenLayers with OpenStreetMap tiles. Is it possible to create hover effect which will show up info window with some informations about that polygons? Is it the ...
2
votes
1answer
370 views

to extract 3d points from a shp file

I'm trying to work with the shapefile on python, the file " donnees.shp" contains 3d points I need to extract attributes from this file but my code returns an error: >>> import shapefile ...
2
votes
1answer
355 views

How to calculate the Zone of Impact using OpenWind

After downloading OpenWind, I am trying to calculate the ZVI for a single Turbine. There is no documention regarding this from the developers. At this point I just want to compare the output of the ...
2
votes
3answers
1k views

Rendering a shapefile with a custom projection in GeoTools

I have an image, a shapefile, and a method which can translate an x/y pixel location from the image into a latitude/longitude point or vice versa. I'm trying to use Geotools to render the shapefile on ...
5
votes
2answers
1k views

Converting feature class with domains to SHP file

I have a feature class which has coded value domain associated with it. The code and the description are different. For example, I have coded value domain for pipe diameter. For pipe diameter of 8" I ...
5
votes
0answers
53 views

How are the edges of a polygon defined? [duplicate]

Possible Duplicate: Are long lines in shapefiles to be considered geodesics or straight lines in the 2D latlong space? In various representations, such as shapefiles and kml, polygons are ...
3
votes
1answer
220 views

Is there no EPSG code to use for Behrmann equal-area projection in ogr2ogr?

I'm trying to use ogr2ogr to reproject some shapefiles. The projection I wish to use is Behrmann equal-area. I cannot find an EPSG code to use for the '-t_srs' part of the syntax. Is there any way ...