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
2answers
44 views

shapefile terminology for key-value pair

In an .osm file, there are <TAG ... /> elements like <way visible="true" id="-4409" timestamp="1970-01-01T00:00:00Z" version="1"> <nd ref="-21845"/> <tag k="fcc" ...
0
votes
1answer
62 views

Creating TopoJson from shapefile with the Shape Escape (shpescape)

Does shpescape really work for creating TopoJson from shapefiles? I always get errors if uploading there zipped shapefiles. The usual error message is: OSError at ...
0
votes
0answers
84 views

How to import SRTM data for the whole planet into TileMill

I need to get SRTM elevation data for the whole planet into TileMill. I already walked through the instructions on Steve Bennett's blog and it worked fine for small areas. The problem is now that for ...
1
vote
1answer
82 views

Converting Coverage files into shapefiles?

I am attempting to convert coverage files into shapefiles using arcpy. This is not the e00 files, but the bin files. ArcGIS help suggests that it can be done using ...
1
vote
3answers
232 views

How to get shapefile of river from OpenStreetMap?

I dont want to download whole map of an area. I just want rivers and other waterbodies present in an area in shapefiles so that I can use them in Qgis. I tried geofabrik but it is giving whole map and ...
0
votes
1answer
70 views

Opening shapefiles with geotools

Trying to make a simple class that will read shapefiles and eventually be able to pull out the coordinates/attributes for each feature (working with points here). But can't quite figure out geotools. ...
0
votes
1answer
29 views

Add attributes to an output shapefile schema (via meta)

I am trying to copy the schema of an existing shapefile and add to it in an output shapefile. Somehow I am not getting anywhere with this...though the docs seem very clear (and the download page : ...
0
votes
1answer
50 views

Blank Shapefile output?

When executing the following command string in the active browser, Qgis projects the triangle polygon and associated attribute table correctly. Upon reopening the shapefile in a new browser, the ...
2
votes
1answer
43 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 ...
0
votes
1answer
76 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
64 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
72 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
53 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
68 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
61 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
49 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
44 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
117 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 ...
0
votes
0answers
40 views

Geoserver Choropleth Map with Shapefile and MySQL Database

I'm learn to use GeoServer and i would know if it possible to bind Shapefile with MySQL Database ? (GeoServer) I would like get an choropleth map. I use this shapefile : ...
0
votes
1answer
17 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
74 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 ...
0
votes
1answer
34 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
50 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
82 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
35 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 ...
0
votes
0answers
20 views

Is it possible to sort by Layer Name when adding vector data from file geodatabase in QGIS?

Is it possible to order the data alphabetically when adding data from a file geodatabase in the Select vector layers to add... window in QGIS? It is ordered by the Layer ID number, with no way to sort ...
2
votes
0answers
76 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. ...
0
votes
0answers
38 views

How to cut a shapefile using a batch?

I would like to cut a shapefile using a batch (like in the photo): But I have some problems because I don't know what do I have to put in field "extent" and after putting somthing like ...
0
votes
0answers
18 views

Why is QChainage not assigning linear referencing sequentially from start to finish?

I have a simple linear feature representing a pipeline that needs linear referencing every kilometer. When I add the specifics to the tool it runs fine but my result does not count sequentially from ...
1
vote
2answers
137 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
167 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, ...
3
votes
2answers
167 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
133 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
50 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 ...
1
vote
2answers
108 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 ...
2
votes
1answer
41 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
71 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 ...
0
votes
2answers
79 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 ...
1
vote
1answer
249 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 ...
0
votes
1answer
97 views

Import Shapefile on postgis doesn't show in QGIS

I'm currently working on a project about a database and some shapefiles. The database is built on PostGis with tables including some dots as geometry type columns. Once imported them on QGIS, I can ...
0
votes
1answer
53 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
41 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
69 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 ...
3
votes
1answer
174 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
44 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
33 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 ...
1
vote
2answers
81 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
40 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
84 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
58 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 ...