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

QGIS Export Shapefile

i am trying to export selected feature using pyqgis. till now i have tried these codes. after using this i can select feature but dont know how to export selected feature to new shapefile. canvas= ...
-4
votes
0answers
18 views

How to export shapefile as KML file using GeoTools?

I have a shapefile i need to export the shapefile as a *.kml file to fit in Google Maps how can i do with GeoTools. Please help me with at least one simple example or procedure to do that?
-1
votes
0answers
21 views

Missing 'grounds' (bottom) of buildings as multipatches [on hold]

I have a model of buildings in shapefile (Multipatch). Buildings are not closed on bottom - they don't have a ground. I would like to ask if there is a workflow or how to do that automatically?
0
votes
3answers
74 views

Converting file geodatabase feature class to KML without using Esri software?

Admin boundaries are available in https://www.humanitarianresponse.info/en/operations/federated-states-micronesia/dataset/micronesia-federated-states-admin-level-1-boundaries as a file geodatabase ...
0
votes
0answers
7 views

Shapefile not displaying in ArcGis Android SDK 10.2.6-2

I am trying to load a shapefile (not displaying at the moment) using the following: Hardware: Android rugged tablet running Android 4.2 SDK: ArcGis 10.2.6-2 Shapefile: ...
-5
votes
0answers
23 views

why there is Difference in area [on hold]

area difference when calculating in utm projection wgs 1984 45 zone and wgs 1984 web Mercator (auxiliary sphere) which one is correct
1
vote
1answer
59 views

Changing colours in GeoPandas?

I have a very simple map (http://www.nyc.gov/html/dcp/download/bytes/nybb_15b.zip) and I have never before worked with shapefiles in any way. Can someone tell me what I need to do in order to change ...
2
votes
1answer
62 views

some shp to dxf converted lines don't show in Autocad

I have a group of vector files that I intend to convert to "DXF" format. But after the conversion, only contour lines(white lines in the red polygon) are not displayed in Autocad. I read some related ...
2
votes
3answers
411 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
40 views

Merge shapefiles heatmap

I have to merge few shapefiles into one and create a heat map out of it in qgis. I'm a first user of the QGIS, I tried to do it there: vector-management tools-merge files into one, but it kept to make ...
0
votes
1answer
23 views

Converting mapsforge .map file to OSM or shp

I have found solution for converting OSM file into .map file but is there a way for converting .map file back to osm or shp or any other well-known vector file type? by .map file i mean mapsforge ...
0
votes
0answers
22 views

Open source library to display offline shapefiles in Android?

I am involved in developing a Android application that needs to be able to make use of Esri Shapefiles. Hardware used will be 7" Android rugged tablets running Android 4.2 or later. It is an offline ...
5
votes
1answer
451 views

Convert coordinates from readShapePoly in R to long-lat coordinates

I'm trying to find some centroids of a shapefile for Danish municipalities and afterwards find the driving time between them. I use R's readShapePoly function from maptools combined with the ...
1
vote
1answer
444 views

Continents geometry data / extracting contours of continents from country geometry

I have an ESRI Shapefile data from Natural Earth (Admin-0 Countries). I converted it to geoJSON format. There is no world or continents geometry there, only the county one. And I'd like to extract eg. ...
2
votes
6answers
102 views

Area missing in polygon (Shapefile)

I'm working with ArcGIS and the following image is showing the polygons that I have in my shapefile. The seleted polygon should actually be this selected one + the blank area right below it. This ...
0
votes
1answer
24 views

Distance to coastline?

I have a shapefile of Ireland. I know I can calculate distance to the coastline using the near tool. But is it possible to calculate distance to the coastline using the shapefile? I do not know ...
-1
votes
0answers
21 views

Dissolve administrative boundaries in shape file

I cannot find a shapefile that gives me only the outline of Ireland, instead they include different regions/divisions. I only want the outline of the island itself i.e the coastline How do I dissolve ...
0
votes
1answer
93 views

R using fortify to project shapefile on google map gives wrong results

I have a shapefile that looks like this > str(FieldsMap) Formal class 'SpatialPolygonsDataFrame' [package "sp"] with 5 slots ..@ data :'data.frame': 3 obs. of 2 variables: .. ..$ id : ...
0
votes
2answers
26 views

MapInfo Universal Translator turning integer columns to decimal

I've got a TAB file that I am using FME Universal Translator in MapInfo 12.5 to turn into a SHP. The input TAB file has a variety of columns, some are floats and some are integers. The output ...
1
vote
1answer
37 views

New Delhi, India, town level boundary files for GIS

I'm trying to find boundary files for New Delhi to map religious diversity (data here: http://www.censusindia.gov.in/DigitalLibrary/MFTableSeries.aspx), and I have downloaded the GADM files and tried ...
0
votes
1answer
25 views

Where can I find world map shapefiles/GEOJSONs/KMLs for 1950-2015?

I'm looking for world maps showing countries from 1950-2015. Are there shapefiles, KMLs or GEOJSON files of these?
3
votes
1answer
41 views

Overlay Analysis in QGIS (or Preferably Python)

I would like to perform an overlay analysis in Python or QGIS to output a list of each shapefile that falls within certain boundaries. I have unsuccessfully tried to use the Spatial Join, Intersect, ...
3
votes
2answers
1k views

The maximum record length exceeded?

I downloaded some census tract data which are stored in .gdb. I am able to open them in ArcGIS as shpfiles. I selected some tracts and tried to export them into another folder. But I kept getting this ...
0
votes
2answers
1k views

Merging multiple polygon shapefiles

I want to merge two polygon shapefiles in one without losing the attributes using ArcMap 10.1. To be exact I am creating a geological map and have some geologic formations in one shapefile and some ...
0
votes
0answers
18 views

MultiPatch Shapefile import into PostGIS Database

I have geometry of buildings in Shapefile MultiPatch format. I want to import it into PostGIS database in the same format. Is that even possible? If yes, then how?
2
votes
3answers
138 views

Shapefile of Baden-Württemberg and Rhineland-Palatinate with district boundaries

Can anyone help me find shapefiles of German states Baden-Württemberg and Rhineland-Palatinate (including their districts)?
1
vote
1answer
35 views

What value to place for data which has no lat/long value?

i'm trying to create a shapefile from an excel spreadsheet. the spreadsheet contains some data such as "unknown record" for which no lat/long can be obtained while the rest of the data is related to ...
1
vote
0answers
30 views

Loading .shp file into QGIS gives error message

When I add vector layer I select the .shp file and nothing happens When I add vector layer and I select the folder it gives error message "not a valid or recognized data source" The pop up box queries ...
0
votes
0answers
27 views

Obtaining NDVI data from selected area

I need to analyse NDVI (-1/1) change between years (05-10y). But still only under selected shapefile. To analyse the extent of each NDVI category. Any tips? I have tried to make vector from the NDVI ...
1
vote
1answer
27 views

QGIS Coverage help

I am using QGIS 2.8.2 and everytime I try to load in a coverage type Shapefile, like forest density or population density it all comes up as the same color, but has the sections marked for the ...
-2
votes
0answers
36 views
6
votes
3answers
2k views

Check if shapefiles exists in folder

In ArcGIS modelbuilder I want to check if a shapefiles exists, if not I want to create the shapefile in that folder. I guess the calculate value tool within ArcGIS modelbuilder can be used, but I need ...
0
votes
1answer
23 views

How to input Shapefile point data into a raster and have the raster adjust to the new data?

I have a shapefile with elevation data at specific points. I also have a raster that has incorrect elevation values, but the transition between pixals is what I need. Is there a way to put the values ...
1
vote
1answer
48 views

What coordinate data could this ASCII file represent?

I have a ASCII file titled coastline.dat.It is read by a FORTRAN file and converted into NETCDF output. A MATLAB file plot displays the coastlines of Europe. There is no documentation whatsoever on ...
2
votes
3answers
399 views

Plot shapefile with matplotlib

I am trying to read a shapefile and plot it using matplotlib. Here is the code: import matplotlib.pyplot as plt import shapefile shpFilePath = "D:\test.shp" listx=[] listy=[] test = ...
2
votes
0answers
57 views

Shapefile downloaded from GeoServer has attribute data (in Farsi) changed? [closed]

I added many shapefiles and PostgreSQL database into GeoServer! However, when I downloaded this Shapefiles again why is my attribute data not legible in Farsi characters?
0
votes
1answer
54 views

Check Geometry Type of a Shapefile Using GeoTools?

I want to get the type (point, line, or polygon) of shapefile using GeoTools but so far I haven't found any code. Any other Java library also works for me.
14
votes
8answers
18k views

Where can I find Canadian postal code geometries?

Where can I find the shapefiles for Canadian postal codes?
2
votes
0answers
22 views

Show dimensions on polygons

I have a shapefile that contains all of the property parcel lines in King County, WA. We are currently displaying this data through mapbox on our site with no issues. We would like to be able to show ...
0
votes
1answer
41 views

in R : get a SpatialPolygonDataFrame from gIntersection{rgeos] with sub-area as attribute?

I am using gIntersection (package rgeos) to intersect a polygon shapefile containing 20 buffers zones, with another polygon shapefile containing "ground occupation mode (GOM)" (an area divided in ...
2
votes
1answer
165 views

pgsql2shp ERROR: incompatible mixed geometry types in table

I have multi-linestring in .shp files and I split the lines with postgis, but that result is only geom column. It does not works with shape file exporter error: incompatible mixed geometry types ...
6
votes
3answers
3k views

Converting osm file to shapefile (or data frame) in R

I was looking for a road shapefile for Australia today. I ended up going to Geofabrik. Open Street Map has data in .osm format. But they do not have one in .shp for Australia. If possible, I want to ...
3
votes
2answers
37 views

writeOGR with a spatialpolygon simplified by gSimplify

I'm using gSimplify (rgeos package) to simplify the geometries of a shapefile. The funcion works good, but now I can't write the output in a new shapefile. I tried some ways: writeOGR(simplyshape, ...
4
votes
3answers
138 views

Shapefile layers in QGIS don't display unless I zoom out

I have two shapefile layers in a Qgis project that have problems with zooming. One is a line I copied/pasted in a new layer from a set of height contours and the other one is a polygon layer I created ...
2
votes
2answers
69 views

Creating a really large shapefile without eating all the virtual memory

I am doing something similar to below to create a really large (large than memory on my machine) shapefile: shapes = shapefile.Writer(shapefile.POINT) shapes.autoBalance = 1 shapes.field('MyId','N') ...
0
votes
2answers
253 views

How to update postgis layer from shapefile in QGIS?

My usual workflow with updating layer from shapefile was to: Open DB Manager; Load SHP files into QGIS; Open DB Manager; Import file (with drop option). Now my problem is that I have created ...
0
votes
1answer
18 views

Can I calculate an average height from a contour dataset?

Hi all first time posting here, however have had a lot of help from this forum! Basically I have a contour dataset and need to find the average height.. seems simple but I cannot seem to find an ...
1
vote
0answers
52 views

Export shapefile from spatialite

I am using a spatialite db to perform a union and dissolve over a vector file. The vector inside the db looks like this: when I export the table with: ogr2ogr -f "ESRI Shapefile" -overwrite ...
1
vote
2answers
66 views

Can I merge a polygon and a point Shapefile?

I have two shape files that I want to merge. One is of polygons, the other is a point file. The polygons are missing information in the attribute table that the point file has. In general, the two ...
1
vote
2answers
29 views

On line shapefile, how to compare attribute between consecutives edges

I have a line shapefile with speed restriction attribute on each edge. I like to verify differences between two consecutive edges for all shapefile edges. Example: One line has speed restriction set ...