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)

0
votes
1answer
23 views

gdal_rasterize : getting area not in or touching polygon (options -at and -i)

I would like to capture the area that is not in a polygon (option -i) and that doesn't touch that polygon. gdal_rasterize -at will return the polygon + edges, but gdal_rasterize -at -i will not ...
4
votes
1answer
67 views

Allowing user to download shape files via geoserver

We provide layers via shape files and/or PostGIS PostGreSQL Database in geoserver-2.x.x with GCS Geometry. geoserver-2.x.x itself uses this shape files to render maps. The shape files are located on ...
0
votes
0answers
50 views

Example using sharpmap in mvc asp.net

I am wanting to open shapefile files in a ASP.NET MVC application, was researching and found sharpmap but have not found examples of how to implement the MVC. Does anyone have any examples to help me ...
0
votes
0answers
49 views

How to convert Mapinfo “.Map” file (without .TAB) into SHP?

I've got several MapInfo files but i don't have the .TAB. I only have: M044.DAT M044.ID M044.IND M044.MAP I need to convert these files to SHP. I tried to read those files with MapInfo ...
1
vote
2answers
282 views

From OSM to shape. Parsing problem

I'm working at OpenStreetMap project for android at the moment. I want to retrieve OSM data from my app(nodes, markers and paths) and convert it to shape file (.shp, .dbf and .shx). Later, I'll load ...
25
votes
4answers
12k views

Which character encoding is used by the DBF file in shapefiles?

Which character-encoding is used by the dbf-file in Shape-files? It seems it is handled different, based on the program and the local encoding-settings of the machine. Which encoding is 'right' - ...
8
votes
7answers
8k views

Corrupt shapefile. How to fix

I have a shapefile I was working on (ArcGIS 9.3) get corrupted somehow and it gives me the error "Number of shapes does not match the number of table records.". What I would want is to recover this ...
14
votes
2answers
3k views

Using R to calculate the area of multiple polygons on a map that intersect with another overlaid polygon

I have a shapefile downloaded from the Ordnance Survey that gives electoral ward (division) boundaries for a county of the United Kingdom. I have successfully used R to load the shapefile and plotted ...
0
votes
1answer
57 views

Optimum set up for large data sets such as mobile service coverage maps [closed]

When serving up large data sets such as mobile coverage maps (custom tile) mashed up with MapQuest maps and MapQuest POIs, is there any performance benefit to using shape file VS WMS tile PNGs? Any ...
1
vote
1answer
268 views

Version problems with Geotools CSV2SHP example

I'm trying to use the CSV2SHP tutorial. I spent some time trying to get it to run but using v10.x of Geotools causes the shapefile to be output with no geometries. For instance if I open it in QGIS, ...
0
votes
2answers
264 views

Geotools writing shapefiles without geometries [duplicate]

When I am writing a shapefile according to CSV2SHP tutorial, it contains features without geometries. I use version 10-SNAPSHOT. For example the result of ogrinfo looks like below: D:\>ogrinfo ...
4
votes
2answers
649 views

Is it possible to route shapefiles using python and without ArcGIS, QGIS, or Pgrouting?

The question is pretty much in the title. Is there a way to route through a road line shapefile using python and some library without having to resort to converting the data into PostGIS/pgrouting or ...
1
vote
2answers
98 views

Load .shp file in Hive(Hadoop)

I need to load .shp files in Hive more precisely in HortonWorks sandbox through Beeswax, can anyone provide example of Hive commands or steps for Beeswax ?
3
votes
1answer
171 views

How to match google openlayer and shapefile data?

i've installed openlayers plugin and opened google satellite layer in qgis. for a point in beijing china. it's show 12961957,4852605 coordinate in blew status bar. and it should be ...
0
votes
0answers
71 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 ...
0
votes
0answers
40 views

How can you calculate the union/merge two polygons in ogr2ogr?

I want to calculate the union/merge two overlapping polygons using ogr2ogr (as I have 300+ to do). I want the output to be the same as you would get if you used the 'Merge shapefiles to one' command ...
0
votes
1answer
39 views

Adding custom shapes to a new shapefile

I am using ArcGIS 10.1 and I drew a rectangular shape to designate a junction on a map and i would like to add that to a new shapefile. Could you please give me some ideas.
1
vote
1answer
43 views

how to separate a list of features from its shapefile_

I tried to copy all features in a list of dictionaries. the code looks as follows: def iterate_features(self): feature_set = arcpy.SearchCursor(self.address) for feature in feature_set: ...
0
votes
0answers
35 views

Where can i find Shapefiles of city along with the world file (.jgw) and the jpg image?

Are there any links where i can download a shapefile of a certain city along with aerial view jpeg image and the corresponding world file (.jgw) ? I need it to test an algorithm. Thanks,
0
votes
1answer
71 views

Repairing link between shapefile and layer file?

every time I open the same lyr file I have to do data/repair data source (link to the shp file). I tried to save/export that shp file again, and create the new layer file as well, but every time the ...
5
votes
2answers
150 views

Postal codes in shapefile overlapping

I downloaded some shapefiles from the Australian Bureau of Statistics (ABS). Its basically showing a bunch of suburbs when I view the shapefile through a GIS tool. The GIS tool that I am using at ...
2
votes
1answer
116 views

Wrong projection high quality shapefile for the coastline of Helsinki region (Finland)

I did some spatial interpolations in R and I need a support for those. Looking for shapefiles online the best I could find was and it looks really horrible, the same area in ggplot looks like . I ...
0
votes
0answers
26 views

Is there a way to retrieve/query country data from a shapefile programmatically using map coordinates in GeoTools?

I am using Geotools to parse and draw a shapefile. Now; when I draw that map I receive coordinates with this bit of code for my Flight Line button. void selectFeatures(MapMouseEvent ev) { ...
1
vote
1answer
47 views

shape file into DataSet in postGIS using openJUMP, but getting error

I am new to this field and I want to save my shape file into DataSet in postGIS using openJUMP, but I'm getting an error...can anybody tell me solution for this?
0
votes
0answers
17 views

shp2pgql: how to omit the git column?

I am importing a series of shapefiles with shp2pqsql that already have a unique identifier attribute. Since shp2pqsql creates a new column called gid I am ending up with two unique identifiers per ...
3
votes
3answers
566 views

Do you know of any sites where I could find some cool recreational shapefiles?

Do you know of any sites that I could find some cool recreational shapefiles? An example would be shapefile of the golf courses, ski resorts, or maybe baseball fields in the united states?
0
votes
0answers
28 views

How do I break up a shape file into contiguous area?

I've got a shapefile which is a union of non-contiguous shapes. I'd like to be able to break them up into individual groups. For example, suppose I have a polygon of the entire US, currently only ...
1
vote
2answers
77 views

csv to shp python and formating a row

I´m doing a script to convert csv to shp, but I want to format one of the columns. It´s a string then I´d like to format like this a[8:10]+' / '+a[11:16]+' UTC' being a the value in the column. ...
0
votes
0answers
13 views

plot shp files like pnm? (Statistical Data Analysis Explained example) [duplicate]

Weird subject? well I'm confused so in advance: sorry for this wavy question: I'm trying to do what the authors of Statistical Data Analysis Explained (ISBN: 978-0-470-98581-6) have done in figure ...
1
vote
2answers
75 views

2 shape files plots together in a GIS, but not in R

I tried plotting these two files and a set of points (dropbox folder) in QGIS and MapInfo. They align pretty good (not perfect though). But in R, only the data from www.naturalearthdata.com can plot ...
1
vote
1answer
43 views

Simulating historic GPS data on map [duplicate]

I have some really basic newbie questions. I have following data with me: ESRI Shape files (.shp, .shx, .dbf, .prj, .sbn and .sbx) KML/KMZ files GPS coordinates (~400k) of some cars (~50) tracked ...
3
votes
1answer
69 views

Are ESRI Shapefiles and KML files two different ways of representing data?

I have a really basic newbie question. I have following data with me: Esri Shapefiles (.shp, .shx, .dbf, .prj, .sbn and .sbx) KML/KMZ files Are Esri Shapefiles and KML files two different ways of ...
13
votes
7answers
3k views

Free tool to simplify parcel shapefiles?

Is there any tool available which let's me run millions of parcel shapefiles and simplify them?
0
votes
1answer
33 views

Dynamically cutting shapefiles based on an eliptical or polygonal form

I have been trying to cut a shapefile in small parts in order to reduce the processing of the graph created based on that map. I did find the ogr2ogr clipsrc option however, as far as i know, that one ...
0
votes
1answer
29 views

Updating Shape File Datastores on Geoserver

I am a web developer working with GIS guys who are concurrently working on a vector layer that updates every week or so, however, on our mapping application there are about 30 layers that would need ...
0
votes
0answers
40 views

MapInfo “shape” file vs. naturalearthdata.com shape file

When i load this map shape file (exported from MapInfo as a shape file) shp.WashingtonLand<-readOGR("C:\\...\\Maps","WLmap2_polyline") R replies: OGR data source with driver: ESRI Shapefile ...
1
vote
1answer
31 views

Is it possible to create shapefiles in ArcGIS and convert into SpatialNET?

I'm looking at the prospect of working for a client who has implemented a SpatialNET solution. I have never used SpatialNET and primarily have experience with ESRI and Autodesk products. The client ...
0
votes
1answer
65 views

Why do I get an error when I try and clip a shapefile to a shapefile using ogr2ogr?

I want to clip a shapefile to a shapefile. The input shapefile is a 1 m vector grid generated in QGIS. The tile I'm clipping to is just a simple polygon (the geometry is contained within the 1 m ...
0
votes
0answers
82 views

Where can I find block (sub-district) level boundaries for India?

I'm looking for block (sub-district) level shapefiles for India. The GADM database only has files for the 2300 Tehsils, whereas I'm looking for the about 5500 Census blocks (sub-districts) for any ...
9
votes
4answers
30k views

How to open the Shape files and extract the data from these files?

We are in need of US highway data. We found it for Florida at the state GIS website . We downloaded the data for Florida highway intersections from here (this is a zip file) . We do not know how to ...
1
vote
1answer
69 views

How to transpose reclassified field values from one polygon shapefile to identical polygons of another shapefile?

I used vector output from modeling software as clip features for ecoregion input. I reclassified and dissolved the clipped layers into 3 subunits, and now would like to transpose those simplified ...
1
vote
1answer
28 views

How to limit GEOjson data to specific area?

I am currently working with a shapefile from the United States Drought Monitor that countains all drought data from all of the states in the US. I am converting it to geojson with ogr2ogr and would ...
3
votes
1answer
36 views

nx_spatial does not read all shapefile features

I have a polyline shapefile for a road network. The roads are split at every intersection (node), e.g. if two roads intersect at one point, then they are split into four links(edges). So using the ...
11
votes
3answers
719 views

Which data format typically displays fastest in ArcMap?

My organization is working on an application running on ArcGIS Engine. Previous versions of the application used primarily Shapefiles for displaying roads, parcels, buildings, etc. Since I was ...
1
vote
1answer
313 views

Looking for a GeoJSON describing the french departments

Is there any place where I could find a GeoJson describing the borders of the french departments, or do I have to convert a .shp file?
0
votes
1answer
31 views

Joining Textfile to Shapefile Arc 10 and 10.2 Differences

I am trying to join a textfile generated in stata that includes caoname, caoid, and fips. The fips code should match to a shapefile county map that matches to the cntyidfp category. In ArcGIS 10.0, ...
3
votes
2answers
2k views

ogr2ogr srs options: where is the well known definition determined?

In the ogr2ogr documentation it says that when using -a_srs srs_def: Srs_def can be a full WKT definition (hard to escape properly), or a well known definition (ie. EPSG:4326) or a file with a WKT ...
20
votes
3answers
4k views

Simple thematic mapping of shapefile using Python?

I wish to visualize geographical data in Python, without using ArcGIS/ArcPy, and make a map. On the internet I found how to make a thematic map using Python: Here is some code that I tried: ...
17
votes
10answers
17k views

Best way to add Attribute data to a shape file

Hei GISers!! Thanks for your help with my previous question. My apology if this may be too simple a question for this site, but I am still learning the various aspects of GIS. Now that I can ...
0
votes
0answers
18 views

Shape file generation [duplicate]

Is it possible to generate a shape file with lines and polygons using only the image for which it has to be generated ? I need the lines,polygons feautres of the shape file in an algorithm which i am ...