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
507 views

Help building SQL query to get a list of streets of a city

From two layers in PostGIS (osm_places and osm_roads), I would need to have the roads belonging to a certain city. It would be fair enough to get the street names of all streets in a radius of X ...
3
votes
1answer
3k views

How to resize shapefile features proportionally in QGIS?

In Quantum GIS (1.8.0-Lisboa) on Windows (OSGeo4W Install), how exactly would you resize a feature proportionally. The only way I've found to do this is by hand using either the Freehand Editing ...
1
vote
2answers
917 views

How to select features in layer using dataset statistics (stdev and mean) and ModelBuilder?

I am trying to solve following problem. I need to select features from the shapefile by attribute in Model builder. The attribute should be a statistics which you can calculate by the tool :"Summary ...
2
votes
0answers
478 views

Geoserver - empty native SRS field

I'm converting layers from shape files to postgis with the below command: shp2pgsql -s 22175 -c -W "latin1" path/file.dbf' table_name db_name | psql -d db_name Next, I add this layer to the ...
1
vote
1answer
769 views

How to add Shapefile to map?

How to Add Shapefile to map in ArcGIS Silverlight application runtime ? I published the shapefile feature as map service on arcgis server and consumed it my SL Application through the service Url ...
6
votes
5answers
2k views

Automate SHP to JPG creation

Does anyone know of a way to batch convert shapefiles to jpegs or another common image format? edit: I should have clarified that I would like to apply a styling to each shapefile, and then export ...
0
votes
1answer
300 views

Problem with showing Shape file in Geoserver

I have a number of Shape files from a customer. I can read them with both ogrinfo and QGIS. They don't have a prj-file, but I know that the projection is EPSG:3006. When I add them as layers in ...
0
votes
1answer
208 views

Can't convert geometry from Dgn file to Shape file?

I am using below codes to try convert geometry from a Dgn file to Shape file. But, I can't exit the Feature reading loop. Are there anyone know why and how to fix it ? Please download the dgn file ...
1
vote
1answer
349 views

QGIS Crashes when I try and overwrite a shapefile using QgsVectorFileWriter.writeAsVectorFormat (QGIS 1.8, MacOS 10.7.5) [closed]

I'm somewhat new to this, and working on a plugin. My plugin will create a points memory layer, which is then written out as a shape file using QgsVectorFileWriter.writeAsVectorFormat. self.writer = ...
1
vote
1answer
459 views

Python GDAL/OGR: WGS84 & meters units

I'm dealing with shapefiles projected in: GEOGCS["GCS_WGS_1984", DATUM["WGS_1984", SPHEROID["WGS_84",6378137,298.257223563]], PRIMEM["Greenwich",0], ...
2
votes
1answer
933 views

How to merge multiple ADF files to a single shape file? [duplicate]

I have a set of adf file which use the same structure. How can I merge all ADF to shp file? Does the ogr2ogr command can help in this case?
0
votes
0answers
145 views

Convert shapes in CSV to shape file

I have a csv file in which one of the fields contains a "shape" polygon in ESRI format. The other fields are textual, numerical, ext. How do I go about creating a layer from only the polygons in the ...
1
vote
2answers
551 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?
25
votes
3answers
9k 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: ...
1
vote
1answer
135 views

How to rescale vector data? [duplicate]

I've got some old maps in dxf format. QGIS imports them correctly but with a nonsense scale. It can export the data it gets to shp of course. Does anyone know how to rescale vector data so it can be ...
4
votes
1answer
104 views

Why do I need to know what “endianness” is?

I'm just learning about GIS and shapefiles. I am a total newb right now. I'm probably going to get into some SQL Spatial stuff and I'm just reading about what shapefiles are. I keep on seeing a lot ...
0
votes
1answer
106 views

Comparing ShapeFile Data in C# [closed]

I have made a List containing all the original data (.shp files), and I have another List containing the modified data. I basically want to check all the modified file data against the original... So ...
2
votes
2answers
574 views

Use FME to delete records from PostGIS before loading new records

I have some shapefiles. Each shapefile contains the data on a topic for a county. I have data for 26 counties. In the filename of the shapefile, the county ID is given. I load these shapefiles into ...
1
vote
1answer
216 views

How to iterate all input folders (containing coverages) using Python with ArcGIS 9.3?

I'm trying to write python scripts to batch convert thousands of coverages to shapefiles in arcgis 9.3. The coverages files are in different folders: d:/area_A/building d:/area_B/building ...
2
votes
3answers
2k views

How to convert a txt file to shp?

I've got a txt/csv file with the utm coordinates and the hights. Now I want to upload this into qgis. This is not a problem so far. The problem is to create a shapefile out of the data with an ...
3
votes
3answers
4k views

Install the Pgadmin3 shapefile importer plugin on a Mac(10.8)?

I'm new to GIS related things and I'm setting up a Postgre/Postgis database for geospatial queries. I'd like to import various shapefiles into the database and I found that Pgadmin3 has a shapefile ...
8
votes
1answer
6k views

R : convert a spatial polygon objet to spatial polygon data frame

My goal is to modify an existing shapefile by merging certain polygons. After importing the shapefile and using the UnionSpatialPolygons command, I get the polygon outline that I want. However, this ...
3
votes
5answers
2k views

How to convert KML with tracks to Shapefiles?

I downloaded a KML track from Google Latitude. The service allows to download the tracked route from the user's profile providing a link such as: ...
0
votes
3answers
5k views

How to compare differences in two shapefiles? [duplicate]

I am a new user to Arcmap 10. I've been trying to figure out how to compare two polygon shapefiles. I need to figure out what the difference is from 2007 - 2013 (increase/decrease) in a couple of ...
2
votes
3answers
180 views

Breaking a continuous contour shapefile into smaller parts?

I created this contour shapefile and I need to break it into smaller parts so its better to manage. I also have a line shapefile of where I want the breaks. Is there a way to intersect and break them? ...
3
votes
1answer
115 views

Attribute manipulation on shapefile

I have a shapefile which contains landuse types. The Landuse types are written in a field called "Type" and contain also the area in m² and a landuse code. Some polygons contain more than one landuse ...
0
votes
2answers
86 views

Python to get ids from shp dont return all records

I have some Python code to get the ids and georeference from a shapefile: canvas = qgis.utils.iface.mapCanvas() allLayers = canvas.layers() nos = QgsFeature() for i in allLayers: if ...
0
votes
1answer
106 views

How to convert geometry of SHP to decimals

I try to create a line with two points. These points are obtained in a SHP layer. How can i convert that points to decimals? Thank you
1
vote
1answer
558 views

How to truncate field names to 10 characters in model builder

Apologies that I have not posted an image of my model, I am away from my computer for a while but am trying to sort this out anyways. I have a number of different animal GPS location points, and a ...
1
vote
2answers
434 views

How to publish shapefiles with GeoServer?

I have multiple shape files of my country, its states and cities. I want them to display in map i.e. First layer is country, then states-layer and then cities layer. I only know that to do this, first ...
1
vote
3answers
3k views

Why does Clip keep giving Error999999: Error executing Function Invalid Topology [Topoengine Error]?

The layer being used as the Clip Features has been used before and worked fine, so I assume the issue is the layer I am trying to Clip (Input Features) - I keep receiving the same error when running ...
0
votes
2answers
818 views

How to show .shp file on Mapview(ArcGIS Android SDK 2.0.0)

I'm using ArcGIS Android SDK for first time. I have worked on a sample project and am able to get a World map using this.. map = (MapView) findViewById(R.id.map); map.addLayer(new ...
3
votes
1answer
280 views

Is it possible to use UTF-8 characters for shapefile attributes?

I heard that according to a specification shapefile attributes stored in dbf-files cannot have UTF-8 as encoding. And then I found out that an additional file with the ending CPG can be used to define ...
0
votes
2answers
415 views

FME: Identify a string within a field and populate another field with that same string

I have a shp which needs to be split according to attributes in a field. The problem is that the field contains other Characters and dates. For Example the Field is called "Landtype" and contains the ...
3
votes
3answers
876 views

How to preserve text when converting from .dxf to .shp?

I have tried using dxf2shp converter in QGIS but the text in dxf file is being lost during the conversion process, despite selecting export text labels. I would be grateful if someone can help me ...
1
vote
1answer
703 views

Display Shapefile on website (Java or PHP)

i have to write an application where similar to Google Maps where i have to display a shapefile in a web application. My available technologies are Java (frontend framework: Apache Wicket) or PHP. It ...
2
votes
1answer
273 views

If I've given two different layers the same CRS, why won't they overlay one another?

I have a "towns" and "state" shapefile for Massachusetts as two separate vector layers in QGIS. I've set the project coordinate system to WGS 84 at the bottom of the screen (next to the "coordinate" ...
2
votes
3answers
424 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 ...
0
votes
1answer
399 views

Writing iso19139 compliant xml metadata from a spreadsheet

I am looking at a way to migrate the metadata from a spreadsheet into iso19139 compliant xml metadata documents for a collection of shapefiles. I can parse the data out of the spreadsheet into strings ...
0
votes
1answer
37 views

Opening specific area only

I have a Shp file loaded of a County boundary, but i would like to open another shp file but only show the lines etc within that area and automatically delete anything outside. Thank-you
2
votes
2answers
2k views

Built a query for polygon Shapefile in R

I use the package maptools to read in Shapefiles in R. I would like to know if there is a function that can built up a query/subset to select only some Polygons based on a specific attribute in the ...
0
votes
0answers
162 views

Grass won't import shapefiles

I have a problem involving the import vector data command, specifically importing shape files. I installed QGIS on a pc at work and there I could import shape files into GRASS GIS 6.4.3RC2 (which is ...
3
votes
1answer
144 views

File size limitation for shape file

I am going through File size limitation for shape file esri support article (this article applicable for ArcGIS 9.X version not for 10.X ) I know may be same article will applicable for 10.x version ...
40
votes
7answers
15k views

Whether to use File Geodatabase (*.gdb), Personal Geodatabase (*.mdb) or shapefiles?

I am a bit confused on the topic of geodatabases. Previously, I have used geodatabases as an easy way to keep all files together rather than having dozens of shapefiles all over the place. And it's ...
0
votes
0answers
243 views

catchment delineation

I am trying to use qgis to delineate between three sub-sub-catchments. I have contour shape file of 20 meter height. Sub-catchment is about 12 square kilometers area but consist of three ...
2
votes
2answers
1k views

Where to download USGS DOQQ boundaries?

I downloaded a shapefile of USGS DOQQ boundaries a few years ago and cannot seem to find one now. The attached image shows an example of the shapefile I'm looking for (green polygons showing the ...
0
votes
2answers
364 views

Splitting Shapefiles [duplicate]

I am trying to create a code that will accept the input of a shapefile, and separate each of its features into separate shapefiles into a specified directory location. Can anyone help ? I am trying to ...
3
votes
2answers
519 views

How to calculate the shared area between a raster and a shape file in ArcGIS 10?

I have a raster file with 5 classifications developed from habitat modelling algorithms. I'd like to know how much of 2 classes of the raster is covered by the network of protected areas (Shape file). ...
2
votes
1answer
126 views

Web map tool with high interactivity [duplicate]

I'm looking for an ArcGIS Online alternative. It needs to be linked to a private MySql server Use shapefiles Display attribute data and charts upon click/hover Toggle shapefile to display/disappear ...
2
votes
1answer
337 views

How to modify the coordinates of a SHP geometry using Geotools?

I have a shapefile with some polygons. I would like to change the height for this elements using Java. The rest of the attributes should be the same. I've thought using GeoTools but I haven't found ...