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)

3
votes
1answer
996 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 ...
2
votes
3answers
3k 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 ...
7
votes
4answers
2k views

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

I have absolutely no experience working with GIS before. During a recent meeting, our client was bouncing around their complaints about how detailed our annual reliability reports were and openly ...
6
votes
1answer
247 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 ...
4
votes
2answers
3k views

merge shapefile using ogr2ogr and retrieve the attribute of both

Ciao, I have two shape files that I want merge (overlay/intersect) having in the destination the attributes of the two sources file. ogr2ogr file_merged.shp tl_2010_us_uac10_conus_albersUA.shp ...
5
votes
1answer
2k views

How to programatically populate a shapefile field with polygon areas in OGR?

I'm trying to programatically populate a shp field with polygon areas: import sys import ogr ds = ogr.Open( 'tttttttttt.shp', update = 1 ) if ds is None: print "Open failed./n" sys.exit( 1 )...
3
votes
1answer
62 views

Is it possible to display filtered results on OpenStreetMap?

is it possible to goto www.openstreetmap.org and do a search for a place like Auckland (New Zealand) or Melbourne (Australia) -but- only show Cities or Neighbourhoods or Suburbs? I understand that it'...
1
vote
3answers
2k views

Where can I find shapefiles for New Zealand Cities and Suburbs/Neighbourhoods?

I'm trying to find some shapefiles (administrative boundaries) of New Zealand CITIES and SUBURBS/NEIGHBOURHOODS. I've found some boundaries for the Country, Regions, Districts (not useful for me) .. ...
7
votes
1answer
3k views

Generating tiles for osm/esri shapefiles

I've generated tiles for OpenStreetMap .OSM files using Maperitive and quickly consumed them with leaflet (with no tile cache yet). I'm now looking for the right and simple way to do that also with ...
1
vote
1answer
987 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. I'...
3
votes
2answers
978 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 ...
2
votes
0answers
584 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
173 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 ...
3
votes
3answers
266 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 ...
4
votes
2answers
3k views

Can QGIS automatically load an SLD with a Shapefile?

I have SLD's/lyr files with my shp/gdb files. They all have the same name except for the extension. Is it possible for me to force qgis to load the sld with the shp so that I don't need to manually go ...
2
votes
3answers
4k views

How to convert projection

I got sample shape files with the following *prj file content: *PROJCS["RGF93_Lambert_93",GEOGCS["GCS_RGF_1993",DATUM["D_RGF_1993",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",...
1
vote
0answers
117 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. Can'...
2
votes
1answer
2k 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 (read:...
3
votes
2answers
121 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
899 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 ...
14
votes
6answers
5k views

How can I update ogr2ogr to include the PostgreSQL driver?

I'm trying to use ogr2ogr to upload a shapefile to a remote PostGres installation. When I ran this command: celenius:~ celenius$ ogr2ogr -f PostgreSQL PG:"host=255.34.00.00 user=postgres dbname=mydb ...
16
votes
3answers
3k 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
0answers
335 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 ...
2
votes
1answer
1k views

encoding problem with QGIS 1.8 and CSV import

I have following problem with QGIS 1.8. Lisboa (standalone installer, Win 7 Pro 64bit) - I import CSV - text in CP1250 separated with ";" and using "," as decimal separator. I correctly set the ...
4
votes
5answers
21k views

How to cut one ESRI Shapefile with another ESRI Shapefile? [closed]

I have one ESRI Shapefile as a map with many objects in it. I have another ESRI Shapefile only with borders in it. This shapefile is bigger in size (covering a bigger area) with many border lines. ...
6
votes
8answers
12k views

Why can't I export XY data to a shapefile?

I have added a table from Access to ArcMap, and then used 'Display XY data' to plot points. When I then try to export the Events to a shapefile I get an error message telling me: "Error exporting ...
2
votes
4answers
926 views

Dublin postal areas shp file?

I'm currently developing an application that uses shp files for Dublin. In particular I want to display the postal areas for Dublin but cannot locate an appropriate shp file. Can anyone advise where ...
0
votes
0answers
28 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 into ...
3
votes
1answer
86 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
2k views

Producing 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? For clarification the original question asked how ...
5
votes
2answers
1k views

Importing attributes from Excel file into new Polygons [closed]

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 ...
3
votes
4answers
2k views

Unable to explode multipart polygon

I have a taxlot that is giving me troubles in a Union. When I try to run the union I get the tried and true ''Geometry is not M-Aware'' message. (there are no Polygon-M features). Based on readings ...
7
votes
5answers
15k views

Postcode Shape Files for the UK

I am trying to find the shape files for postcode sector and districts in the UK. Specifically inside London. I know I can go and pay for these but I only really need to use them once. I want to ...
-2
votes
1answer
90 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 ...
0
votes
2answers
144 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
134 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 ...
4
votes
4answers
5k views

How to display special characters German “ÄÜÖß” in a map?

I have a shape file with names for Regions. These don't seem to contain special characters but ugly hyroglyphes. What can I do do display them correctly. If I import the shape as UTF-8 it doesn't work....
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
885 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
8answers
10k views

Finding shapefiles of pipeline data?

Does anyone know where I can get or find shapefiles for pipelines (USA location)? Preferably free as I've never done pipelines before and I'm meeting a client next week that is doing pipeline work. ...
2
votes
1answer
559 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 &...
3
votes
2answers
1k views

How to find out the co-ordinate system using .prj file

I'm very new to GIS concepts. Is there a way or procedure of finding out whether the co-ordinate system is in UTM, latitude/longitude or in stateplane using .prj file? My .prj file contains the ...
0
votes
1answer
597 views

In DIVA GIS how can I change the polygon co-ordinates of a .shp file?

I am using polygon layers from various sources to create species distribution maps however some of the layers have different polygon coordinates to others, therefore I cannot use them together as ...
5
votes
0answers
54 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
358 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 ...
0
votes
0answers
87 views

Trouble with making shapefile from xls file

Using DIVA GIS, each time I attempt to import some species data from an xls file to be plotted onto a map, the program becomes very slow and eventually becomes unresponsive. My dataset originally ...
2
votes
1answer
334 views

Cant' Find DotSpatial.Geometries.dll

I am trying to follow a simple tutorial on Dotspatial web page "Sample code that demonstrates how to create a Multi Polygon Feature Set" I add the DotSpatial.Data.dll to the project References but I ...
9
votes
3answers
2k 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 <-...
2
votes
1answer
900 views

Splitting large shapefile into numerous smaller files based on number of objects in each smaller file using?

I have a shapefile containing approximately 600 000 point-objects. Unfortunately, for a couple of reasons I need to split this file into a larger number of shapefiles each containing approximately ...
6
votes
1answer
688 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 ...