Questions tagged [shapefile]

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.

Filter by
Sorted by
Tagged with
0
votes
1answer
585 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 ...
0
votes
2answers
5k 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
0answers
459 views

Creating layer with geom type wkbGeometryCollection with gdal python?

I am having trouble creating a layer with geom type as geometry collection. Thus I am unable to output to a shapefile. I have attached code below. dstLayer is null. This does not happen if geom type ...
0
votes
2answers
314 views

Creating outline shapefile georeferencing existing map/pictures [closed]

I need to create shapefiles (that need to be adapted and transfered for other programs) with the district outline of a couple of Caribbean countries. Is georeferencing (using the Georeferencing ...
0
votes
0answers
128 views

Why can't I save a line shapefile?

I'm working with qgis v. 2.0.1. I have some data points and I just wanted to create a new shapefile with line geometry. In the new vectorlayer-window, I added some attributes (approx. 10) and klicked ...
0
votes
0answers
63 views

GPS Coordinate Handling

I have a text file with consecutive coordinates of gps data for ongoing and incoming route(on Same road). i want to convert them in line format. how can i normalise those extra coordinate so that i ...
0
votes
2answers
327 views

How to join CSV data to SHP without ArcGIS?

I'd like to create a chloropleth map displaying quantitative data for an upcoming event. Using TileMill, MapBox. I am having trouble joining my data to a .shp because the #'s correspond to COUNTY ...
0
votes
0answers
153 views

Export additional data with ogr2ogr

I am trying to import my ESRI-shapefile with OGR2OGR to an existing mysql table. This works fine but unfortunately only the featureID and the geometry data is exported. How do I add the labels of the ...
0
votes
0answers
234 views

Administrative boundaries worldwide [duplicate]

I am searching for a downloadable database of administrative boundary shapes, best would be worldwide data. I have found GADM but it seems a bit outdated, also the OSM site defining the ...
0
votes
0answers
931 views

export from .shp to .gpx and .kml fails

I've just upgraded to QGIS Dufour and I am having some problems with the exportation of a simple track from .shp to .gpx and .kml format. I imported from mi smartphone a .gpx track (SR WGS84 EPSG:4326)...
0
votes
1answer
366 views

calculate least cost pathways for a region and create distance rasters to rivers [duplicate]

How do you calculate all the least cost pathways that exists for a region? I would like the output map to display all routes (and was wondering whether this can be done in one set of operations). I ...
0
votes
0answers
77 views

Calculating mean and standard deviation for raster values using whole pixels within a polygon [duplicate]

I have a raster image and a corresponding shapefile. I would like to calculate the statistics of the values within polygons which have a common attribute but only using pixels which are fully ...
0
votes
0answers
106 views

Merge (a lot of) features using QGIS or other open source

I have one shape-file with a lot of features (polygons) and if I try to merge these into one big polygon in QGIS it takes days to complete the merge. So I wonder if there is another way? I saw this ...
0
votes
0answers
142 views

Why does a shapefile shift after transformation?

I have a shapefile created in the raster package (ER_14.3_2000_poly). > #read in a raster file > ER_14.3_2000<-raster('E:/Ecoregions Models/Outputs/ER_14.3/ER_14.3_ConsensusMap3.asc') > ...
0
votes
1answer
270 views

I want to change using C# the style of a set of shapefiles once I have uploaded them or while I am uploading them

I am using C# and the WebRequest class to create a worksapce and then another WebRequest to create a datastore and upload a folder full of shapefiles to a geoserver. However, I would also like to ...
0
votes
1answer
251 views

Saving part of OSM shapefile in QGIS as GeoJSON strips 'name' field to 25 characters long [duplicate]

I want to copy part of OSM data in ESRI Shapefile (downloaded from http://download.geofabrik.de/europe/ukraine.html ) and save in in GeoJSON to style later in Tilemill. After saving, I see that ...
0
votes
0answers
257 views

Help in GRASS/QGIS/Python

I have Idea about ArcGIS, and a bit of QGIS and zero programming knowledge, which I am trying for thesedays. I saw GRASS GIS and have started working with shapefiles, which are not being loaded... :( ...
0
votes
0answers
66 views

How to convert ArcMap *.shp to MapInfo *.tab file? [duplicate]

Possible Duplicate: Tool for converting .shp file to .tab file? I have files in ArcGIS format, I want to export some layers to Mapinfo files as tab file
0
votes
0answers
79 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 CSV ...
0
votes
0answers
75 views

Shapefile to ArcGIS JavaScript JSON format? [duplicate]

Possible Duplicate: How to convert SHP into GPX or JSON? We're in the proces of adding a new feature to our Web Application where we employ the use of ESRI's ArcGIS Javascript API alongside other ...
0
votes
1answer
573 views

shapefile and multiple lines of census data QGIS [duplicate]

Possible Duplicate: How to join multiple records to single feature? I am hoping to be able to link in the attribute table more than one line of data from a census entry per polygon. for example ...
0
votes
1answer
447 views

What is the correct projection to use with tm_wgs84_sans_antarctica.shp?

I am using tm_wgs84_sans_antarctica.shp with mapnik to generate tiles. I am using the tiles with Google Maps Javascript API V3. But the projection is way off. Here is roughly what my code looks like: ...
0
votes
1answer
255 views

identifying single overlaping features from a GeoServer layer

I'm trying to use GeoServer to display features from a PostGis table the url will look similar to this. Example URL Localhost:8080/geoserver/cite/wms?service=WMS&version=1.1.0&request=GetMap&...
0
votes
1answer
446 views

Why does collapse dualline to centreline only create an outline of the dataset?

I'm trying to collapse all divided roads in one centreline and to integrate any other spurs or errors in the dataset to create one set of centrelines. I have used Merge Divided Roads but it leaves a ...
0
votes
0answers
410 views

Extract Points from a Shapefile [duplicate]

Possible Duplicate: Shapefiles to Text I have several shapefiles from which I need to extract all of the points, with all of their attributes, including position coordinates. I only have access ...
0
votes
1answer
384 views

Can't read shapefile in Python

I'm trying to read in a shapefile and keep getting a File Not Found error and this exception: ShapefileException: Unable to open /Users/name/Documents/shapefile.shp Here's what I've got: import ...
0
votes
1answer
104 views

Progmatically remove unwanted fields from shapefiles without using disk

I want to remove specific fields that I don't need from multiple shapefiles stored directly in memory (the raw file data stored in a variable). Unfortunately I haven't found any way to do this ...
0
votes
1answer
673 views

Is there any way to automatically update a shp layer in QGIS?

I work with a vectorial layer (shp) created from a a CSV file which periodically changes its content. The issue I'm raising is the following: every time I perform changes in the CSV file, I have to ...
0
votes
1answer
317 views

IDW Interpolation in QGIS gives weird values

I'm trying to do an IDW interpolation with QGIS tool. But i'm really surprised by results. Interpolation values aren't similar as shape values. I used a power of 0.2 to get a smooth raster. Somebody ...
0
votes
1answer
409 views

How to create vector roads center lines from raster?

I need to know how to create roads vector center lines from raster using ArcGIS. I have tried to use Iso Cluster Unsupervised classification tool to classify raster and set it to 30 classes. After ...
0
votes
1answer
70 views

creating many Shapefiles from from a single multi-polygonal shapefile using ArGIS tools [duplicate]

I have a country shapefile with many districts polygons which are administrative boundaries, I want to have a shapefile for each of the district, which tool in ArcGIS can I use to accomplish this
0
votes
1answer
2k views

How I can convert mbtiles to shapefiles

I downloaded from OpenStreetMap country victor data with (mbtiles) format from this website: Openmaptiles I need to know how I can convert this file to shapefiles so I can use it in ArcMap.
-1
votes
3answers
7k views

How to merge line and polygon?

Is there anyway to merge a line Shapefile Feature Class and a polygon Shapefile Feature Class? ERROR 000468 Input shape types are not equal
-1
votes
2answers
8k views

How to convert a raster image to vector shapefile in qgis? [closed]

Please show the detailed conversion process.
-1
votes
3answers
23k views

How to add a field to a shapefile using R [closed]

This question is trying to make sense of a post that already exists that looks good, but is failing in practice. The second ranked answer uses the foreign package to read a shapefile attribute table ...
-1
votes
2answers
10k views

Converting CSV to shapefile

I have a CSV file with lat and long coordinates, is there a way I can convert it into a shapefile so as to generate a mobile network coverage map like the AT&T image I have attached.
-1
votes
3answers
581 views

Where can I download public data set, especially shapefile? [closed]

The places I know include: http://www.weogeo.com/ http://geocommons.com/ http://koordinates.com/ Any other suggestions?
-1
votes
1answer
725 views

Drawing points on a fictional map in QGIS [closed]

I have a map of a world created in a novel. It's currently a JPEG. I imported it into QGIS as a raster layer. Now I want to add points to it and some data so that I can color code them etc. I ...
-1
votes
1answer
187 views

Saving point layer as shapefile? [closed]

I am working with a layer created from a csv file, upload it by means of python. Now I need to save the layer that is loaded with the points like a ShapeFile. Do you know if this is possible and ...
-1
votes
1answer
51 views

Getting three exactly different results when using buffer analysis tool in similar ways

Three-times inputs are showed on pictures. Buffer of Export_Output_2_Buffer2 (green one) is exactly what I'm looking forward (undissolved buffers)to get. So I'm wondering why does it happen, and if I ...
-1
votes
3answers
147 views

Viewing large shapefiles in ArcMap? [closed]

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.
-1
votes
1answer
53 views

Opening specific area only [closed]

I have a shapefile loaded of a County boundary, but I would like to open another shapefile but only show the lines etc. within that area and automatically delete anything outside.
-1
votes
1answer
10k views

Editing shapefiles in QGIS? [closed]

I have shapefiles which were created in ArcGIS Desktop and I want to edit them in QGIS. If this is possible, how do I open and edit shapefiles in QGIS?
-1
votes
1answer
166 views

Inserting shapefile in AutoCAD Workspace?

How can I insert an ArcMap shapefile in AutoCad or how can I save the shapefile so as to put it in Autocad Workspace? Even a tool in ArcMap that exports shapefile in a form which can be inserted in ...
-1
votes
1answer
80 views

Points don't show up on an overlaying shapefile?

library(ggmap) library(rgdal) cities<-c("city A","city B") country<-readOGR(dsn=".",layer="country") gc<-geocode(cities,source="google") gc$names<-c("city A","city B") coordinates(gc)<-...
-1
votes
1answer
257 views

QGIS exporting shapefile with proper projection

Can someone walk through the proper way to set a projection and export the shapefile so it will properly open up in another GIS program? I'm having trouble.
-1
votes
1answer
309 views

Finding the area of a polygon feature in a shapefile [closed]

Excuse the very simple question. How do i find the area of a selected polygon feature in a shapefile?
-1
votes
1answer
912 views

Python - Creating a shapefile from a bounding box coordinates list [closed]

There is already few existing questions about this topic, but I unfortunately did not find something that could fix my problem... I have a point Lat, Long coordinate i.e. Lat= 10 and Long = 10. I ...
-1
votes
1answer
181 views

Shapefile DBF Editing in Stata for ArcMap?

I am trying to edit shapefile in ArcMap. How I can keep or clean some information from shapefile in ArcMap? In my shapefile, I have information about street type such as road, route, highway, ...
-1
votes
1answer
55 views

Getting error while trying to save

I am getting error when I am trying to write out the file. Can somebody help me with this? import shapefile w=shapefile.Writer(shapefile.NEW_SHAPEFILE) w.point(2,5) w.point(2,2) w.point(3,5) w....