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

When I publish a layer(shapefile or postgis) with TileMill, 200 meters moves

I hope someone can help me. Not if you know the TileMill application I'm working with her to publish layers look more beautiful. Well, first I have posted directly loading the shp file., But when ...
1
vote
1answer
106 views

generate massive shapefiles

I have a shapefile with 1475 records, and I want to generate a shapefile for each record. What can I do to generate them avoiding selecting and exporting each record to do that?
1
vote
1answer
157 views

How to close spaces within a polygon in QGIS 2.2?

I have a shapefile displaying the borders of several city units. One of its polygons, however, had free space consisting of four vertices in it. I created another polygon inside the free space and ...
2
votes
0answers
251 views

Ecoregions shapefiles: subsetting, extracting and summarizing data from raster

I am attempting to subset and project an ecoregions shapefile from : EPA ECOREGIONS my data set is found here: SHAPEFILES and RASTER When I run this code, two major problems occur: 1) I cannot get the ...
0
votes
1answer
182 views

How to simplify shapefiles without losing attributes?

I want to simplify a huge shapefiles using mapshaper. However whenever I simplify the shapefile I loose a lot of data attributes. how can we simplify the shape files while retaining at least some of ...
0
votes
1answer
178 views

SQL Make Table (from .mdb) to Point Shapefile

For my school assignment, I must compose an SQL statement which retrieves data from a database in .mdb format. I have no problem developing the SQL statement. It is a requirement that we have an ...
1
vote
1answer
239 views

How to convert geospatial data with a custom SRS into ESRI Shapefiles?

I want to convert geospatial data stored in a .csv file into GeoJSON or ESRI Shapefiles. The problem is that the coordinate reference system is not in the database of EPSG codes. The originator ...
0
votes
0answers
67 views

Is it possible to use custom (non-circle) buffer shapes?

I have a shapefile containing points. I'd like to replace each point by the same shape, centered around the point, like the "Buffer" tool with shapes other than circles. How can I do that?
1
vote
0answers
165 views

Merging shapefiles to one, rearrange columns?

I am trying to merge two shapefiles which both contain polygons representing properties in QGIS 2.2. One problem is that the names of some of the columns in the attribute table differ between the two ...
0
votes
1answer
1k views

Using Fiona to write a new shapefile from scratch

I am new to Fiona, and trying to wrap my head around reading a csv file and writing out an ESRI shapefile. I have most of it down, but am missing two things; (1) defining the projection/spatial ...
1
vote
1answer
28 views

Using QGIS, how can I create attributes within a polygon layer based from a selection in that layer?

I'd like to add a column, or attribute rather, to selected rows within a polygon layer. I would simply like to make a binary system, where those that are selected receive a "1,' let's say, and all ...
1
vote
0answers
738 views

How to convert an XML to Shapefile using FME?

I am looking to convert XML to shapfiles using FME. The XML files are user generated while they draw points and lines (mainly) of interest on a web map. We generate the XML in the backgroung ...
1
vote
1answer
68 views

How do add attributes from shapefile to list of lat/long-coordinates using QGIS?

In QGIS I have a csv-file which contains lat/long-coordinates and population data for each coordinate. I also have a shapefile containing certain regional districts, in my case US counties. Now I ...
0
votes
1answer
347 views

Want to get an SHP file for my coutry Algeria

H everyone , i'm running a clustering test on my country with R, but the problem the clustering doen't look good because of the map i have, i hant to get a bigger map of my country 'ALGERIA' in an SHP ...
1
vote
1answer
887 views

Rotating the coordinates of a layer by 90 degrees

I have got a dwg file with the plans for a building, with rooms and everything. (There's been some samples taken inside the building which I want to display.) Now, since it's of a building, the person ...
1
vote
0answers
37 views

Reorder rows of shapefile in the file [duplicate]

How do I reorder the rows of the shapefile in the file? I know how to order them in the attribute table view, but I need to actually switch up the order (by descending id) in the file itself. It's a ...
2
votes
0answers
246 views

Convert a classification image to aggregated polygon in shapefile using gdal/python

My goal is convert a 2D numpy array to shapefile. The matrix results from a classification, so the numbers have a meaning. I solved my problem, but the solution is somehow involuted and complicated. ...
1
vote
2answers
1k views

How to clip a lines vector layer to a polygon layer in QGIS?

I've perused through previous questions and haven't been able to find an appropriate solution to my problem yet, so I wanted to post here. I have a lines layer (a contour map of mean annual ...
1
vote
1answer
1k views

MATLAB mapping toolbox: write multiple feature mapstruct

I have a few hundred road segments, described as lines, which I am trying to write to a single shape file using MATLAB's mapping toolbox. However I can only manage to get one feature per shapefile, ...
4
votes
2answers
1k views

Join a CSV file to shapefile using gdal/ogr?

I have a shapefile with several attributes, for example YEAR, COUNTY, and AREA. I also have a CSV file with more fields that I want in the shapefile, such as POPULATION. Both the shapefile and the CSV ...
0
votes
3answers
319 views

Performance problems using big points shapefile in TileMill

I've downloaded all the addresses in Italy from OSM and now I've a shapefile with more 514.000 points (16.065 KBbyte when zipped). I need to publish them with other geospatial information (points ...
2
votes
1answer
125 views

How to count the number of data points in each area in QGIS?

I have a shapefile (.shp file) which defines a large number (several thousand) separate areas. I also have an Excel spreadsheet which contains a large number of data points. Each data point consists ...
3
votes
2answers
631 views

Problem when converting sosi to shapefile with ogr2ogr on Linux

I am trying to convert a SOSI file (Norwegian geodata format) to a shapefile. I have set up gdal, but apparantly there is a lot of things that I dont have support for. When I do a ./configure, this is ...
3
votes
1answer
294 views

changing attributes or names of shapefiles

I am trying to join a subset of two similar shapefiles, one with states from the US and the second with provinces from Canada. The datasets are available here: shapefiles from Geocommons I noticed ...
3
votes
1answer
371 views

Most efficient way to batch clip in FME?

I have one large shapefile and 100 smaller shapefiles that are smaller areas within the large shapefile. Using the Clipper transformer, I want to clip the large shapefile using each of the smaller ...
1
vote
2answers
363 views

Geoserver WFS POST and format_options=PRJFILEFORMAT

I'm using geoserver (2.4.4) to provide users with shapefile downloads. Some of the software the shapefiles are going to be used in requires .prj-files that follows the "ESRI-standard". A bit of ...
2
votes
1answer
2k views

How to open a shapefile using Python in QGIS?

I have tried to open my shape files with the help of a tutorial (http://spatialgalaxy.net/2012/01/27/qgis-running-scripts-in-the-python-console/) but unfortunately I couldn't open my shapefiles for my ...
1
vote
1answer
608 views

Shapefile output customization via WFS in Geoserver?

I'm running Geoserver 2.4 and I've created a layer that I'm using WFS to download as shapefile (or, rather a zipfile with shapefiles). This works fine, and a request like: ...
2
votes
1answer
133 views

Valid values of mollweide projection in QGis

i just imported a vectorlayer (without any reference points) to qgis as mollweide projection to save it to longlat. What i am wondering about is a mathematical problem: Not every x,y coordinate on the ...
2
votes
0answers
168 views

R - how to create a pre-determined number of identical square polygons to use for a choropleth map?

I am trying to plot crime data density (again!) over a city map, say of NY. As a well known problem there are plenty of examples on this ...
4
votes
1answer
2k views

Is there a QGIS bezier curve tool?

I'm a recent convert to QGIS but have been confused about the lack of support for drawing curved shapefiles, especially when Arc has almost too many. A lot of the work that our consultancy do is based ...
0
votes
3answers
75 views

Trying to view large shapefiles

Is there a way of viewing only a part of a shapefile in ArcGIS 10? At the moment if I try to add it the software crashes? Any help appreciated.
1
vote
1answer
129 views

QGIS how to add string field

I have a few point shapefiles. I want to merge them, but first give each point a certain type according to shapefile. How do I add a String field, all with the same word? (changing the field type ...
2
votes
2answers
273 views

Georeferencing Vector Layer (shp) from Mollweide Projection to Custom CRS in QGis

the title might be a little complex. Its part of a massive project: I'm working on a fantasy world; a map, to be more specific. I basicly just started to paint a world map in Photoshop, but over time ...
1
vote
0answers
62 views

PostGIS automatically creating geometries after importing using QGIS DB Manager

I have a shapefile consisting of linestrings, in which some of the features have null geometry. Yet, after importing it to PostGIS, using QGIS' DB Manager, a geometry is created for those features ...
0
votes
1answer
830 views

How can I connect my point pattern shapefile with my polygon window in R?

I would like to do some spatial statistics in R. I have a point layer called '1983' that represents the distribution of one species, and a polygon layer called 'SA-R' that represents the study area. ...
1
vote
1answer
311 views

shapefiles for global border crossings

I am trying to find a shapefile or set of shapefiles that contain global border crossings. Basically, what are the points of transit between one country and another. Does anyone know if this data is ...
0
votes
1answer
130 views

Loading shapefile into CartoDB throws 2001 error?

I've been trying to load shapefiles (that are zipped in windows compressed folder) into CartoDB and I always get an error 2001. These shapefiles were exported out of an ESRI geodatabase (SQL Server). ...
3
votes
1answer
107 views

Looking for advice on getting GIS data into existing AutoCAD site survey

I've got a variety of GIS data from Albemarle County in ShapeFile and DWG format. I'm looking to get the topographic layers and property boundaries together with my existing site survey created by a ...
1
vote
1answer
673 views

Persistent datum conflict error. Datums are the same

I'm clipping a number of features using other feature layers, and was careful to get everything into WGS84 beforehand, using what I thought were the proper datum transformations. Now I keep getting ...
3
votes
1answer
139 views

A python tool like GNU's diff for shapefiles?

I often use the GNU diff tool to compare two files or even two folders for differences. I was wondering if there is a Python based tool out there that does basically the same for shapefiles? In the ...
1
vote
2answers
753 views

How to fix shape file projections

I have a project with several shape files. The files overlapping however. I have to go to unusable extents to even see the file on the same screen. I have tried using to project to as suggested here ...
2
votes
1answer
311 views

Why is shapefile not drawing in expected location after (or before) using Define Projection tool? [duplicate]

I have downloaded this zipped shapefile of bus routes from the City of Houston data portal. I then performed these steps in ArcGIS Desktop 9.3.1: Extracted the shapefile from the *.zip Added this ...
0
votes
2answers
2k views

How to convert from .SHP to .MAP for mapsforge?

We are using mapsforge, a Java component for Android. This component use a proprietary format file (.map) that can be download from OpenStreetMap (OSM). I need to use .shp maps, so I want to know how ...
0
votes
1answer
58 views

help with editing shapefile

I am not sure how this is done but I Have a shapefile with state borders for a country. What I would like is to sort of delete/dissolve the state borders and be left with only the country border. In ...
1
vote
2answers
786 views

How can I create a pdf map at a high resolution while still keeping the file size manageable?

I have numerous layers in shapefile format that contain a lot of data across a large area. I am trying to create a .pdf file that shows all of the area and I want it to be in good quality, so that ...
0
votes
1answer
256 views

How to get feature for a given bbox from shapefile by ogr

I have some features point,line,polygon with shapefile format, now I want to get features for a given boundbox, is it possible to remove the features out of the bbox? And for a polygon, I think it is ...
0
votes
0answers
241 views

QGIS: field calculator is not working with shapefile created manually

I have an issue the field calculator of GIS 2.2 field calculator. I've not encounter problem to update values with the field calculator (I'm using the $row_num function) if the shapefile was created ...
1
vote
0answers
132 views

Shapefiles for all the individual countries in the world [closed]

I'm searching for shapefiles that I can later convert into SVG (with something like kartograph.py). Essentially I'm just looking for the outline with (if possible) a dot where the capital is on the ...
15
votes
1answer
479 views

How to query OSM for all beaches facing west? - QGIS preferred

I want to identify all beaches on this planet (or a given subset of it) that are facing westwards (+/- 20-30 degrees). My idea is to use OSM as the data source. Extracting all polygons that have the ...