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
1answer
52 views

How to generate a tiled map from a spherical mercator SVG?

I'm not a GIS person; this is really just a side task, so I probably have terminology/strategy incorrect; I would ask that you please bear with me. I have the following requirements for a Qt-based C++ ...
3
votes
2answers
247 views

GDAL in C++: Reading a ShapeFile

I am trying to use the GDAL Lib to read a ShapeFile (.shp). I followed the instructions of http://www.gdal.org/ogr_apitut.html - But it doesn't work! #include <gdal_priv.h> #include ...
0
votes
1answer
19 views

Points shapefile resulting in MultiPoints table in PostGIS

I have a Points shapefile. When opened with QGIS, the type is 'Point' (right-click on the layer and check properties). When imported in PostGIS using pgAdmin III plugin 'PostGIS shapefile and DBF ...
0
votes
1answer
108 views

export list as shp in R

I have a list of coordinates with which i can create a path and I want to export this list as shp. I have "shapefiles" package but I didn't find the way to do this. Is there a way to do this with this ...
1
vote
0answers
44 views

Unknown coordinates in Shapefile, projecting doesn't give expected results

I'm reading a Shape file (four files actually, .dbf, .prj, .shp and .shx) containing polygons representing certain areas in my neighborhood. For this I use C# and a library called DotSpatial. I can ...
0
votes
0answers
38 views

Downloading data after clipping

I have an issue with downloading data from GeoServer after clipping layers: 1. I can download vector layers as GeoJSON and GML, but cannot download as shape-zip: file becomes corrupted; 2. I cannot ...
3
votes
3answers
181 views

Computing population exposure

I am new to ArcMap. I have polygon layer, which represents buildings, and each polygon has number of inhabitants in Attribute table. Then, i have a layer which shows noise levels in the area, ...
2
votes
1answer
69 views

Convert shapefile to LonLat (R)

Just a small disclaimer: I don't have any background in cartography, hence I might have missed the answer to my question in search just because I didn't even know the keywords to look for. So, I am ...
0
votes
1answer
50 views

Recovering layer (*.lyr) file that is missing shapefile?

Somebody in the office deleted a point shapefile that has a lyr file as well. How can I recover it? Is there a Script that allows me to recover it?
0
votes
1answer
40 views

Shapefiles do not store times so how do I create time intervals for use in Torque?

I created a bunch of time intervals in a file geodatabase with the intention of using them in Torque to create an animation based on those time intervals. However I can't upload a .gdb to my ...
0
votes
1answer
94 views

How can I convert ESRI personal geodatabase (.mdb) to shapefile using OGR in C#?

I have to create a class in C# in which I would like to insert a function that converts an ESRI personal geodatabase, extracting that features it contains in shp using OGR. I looked at library ...
0
votes
0answers
28 views

Stack profile - polyline length

I have created a polyline that stretches from one side of a beach to the other (vertically). I have lidar data for 2005 and 2013. I am trying to compare the changes in morphology of the beach from ...
4
votes
1answer
66 views

How to Specify FID column name in shp2pgsql

In ogr2ogr I can specify the name of FID column using the option -lco FID={columnname} when importing a spatial data in PostGIS database. I am using shp2pgsql in case of shapefile and cannot find a ...
1
vote
1answer
47 views

How to add neighborhood names from shp to csv data points QGIS

I'd like to add the neighborhoods listed in a shp file to the data points in a csv Link to shp Link to csv Here are the data points overlaid on the shapefile map of the neighborhoods. I'd like ...
2
votes
1answer
95 views

Combine Shapefile with address information

I downloaded a UTM32 shapefile (.cpg, .dbf, .prj, .shp, .shx file, where other available georeferences are GK3 and TM32) that shows the exclusive division of Germany in its municipalities. Above, I ...
1
vote
1answer
98 views

How to load *.shp.xml file into shapefile for ArcGIS for Desktop?

I am using DRASTIC model and ArcGIS mapping for my thesis of groundwater assessment. I need to generate maps which includes Net Recharge map. For that I need to export a landuse map and from the ...
2
votes
1answer
62 views

Keeping symbology style in a polygon shapefile when converting to KML

I have a polygon shape with 23 classes and have created patterned symbology styles which I will like to have retained when I open in Google earth pro. Is there any how I can achieve this in either ...
2
votes
1answer
33 views

Overlay a shape into a gridded shape and determine the percentage of each cell that are overlapped

I would like to know how I can overlay a shapefile (A) into another gridded shapefile (B) and extract the information about which shapefile (A) polygons falls in each cells (B). And, more ...
1
vote
1answer
45 views

Error uploading SHP file to CartoDB [closed]

Trying my first map by uploading a SHP file. The instructions tell me that I can upload a SHP file, but I get an error that they are not allowed. This happens whether I upload by browsing a local ...
0
votes
3answers
83 views

Exporting QGIS polygon shapefiles to Trimble Juno or similar

I am considering buying a Trimble Juno or similar hand-held field computer to assist with vegetation survey. My main need is to be able to see on it shapefile polygons drawn on my home PC in QGIS. I ...
1
vote
0answers
36 views

Geoserver does not show some shape files using Add Store [closed]

Apologies for this basic question, but I can't find an answer through Google. I am working the geoserver tutorials from Intro to Geoserver via Packt Publishing. I'm trying to add a shape file via ...
1
vote
0answers
37 views

Reconstituting features from E00 format, without ArcGIS

Recently I used OGR to convert an ESRI E00 format file to shapefiles. I am dealing with vector data, many polygon features per file. I was dismayed to find that none of the resulting shapefiles(you ...
1
vote
3answers
129 views

Using QGIS2Leaf plugin to export into leaflet but output results into browser crash?

Amateur GIS technician here, Just tried to export my converted cad cities pipelines into a shape files and then export it into leaflet using QGIS2Leaf but the browser crashes before the displaying the ...
1
vote
1answer
46 views

How to toggle selected features by clicking on them in OpenLayers?

This is my website for test: http://www.cv.nctu.edu.tw/shapefile-js-openlayers/ol_simple.html This is my expected result:http://www.cv.nctu.edu.tw/shapefile-js-openlayers/test.html I want to try ...
1
vote
1answer
64 views

How to change color of a layer in openlayers?

http://www.cv.nctu.edu.tw/shapefile-js-openlayers/ol_simple.html this is my website for test. I add two layers in openlayers. And I want to change color in one of two layers. var myStyle = new ...
1
vote
1answer
47 views

How to extract information from several shapefiles in the same time?

I'm using ArcGIS 10.2.1. I have a shapefile for 10 catchments and other three shapefiles for landuse, soil type and rock types. To extract the area of land use types, soil types or rock types for each ...
0
votes
0answers
49 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.
0
votes
1answer
81 views

Plotting an eia shapefile in google maps with R?

I'm trying to plot a eia shapefile onto google maps. I have a code working with the map funciton but can't get it to work with the ggmap function. Where am I going wrong? Working code: ...
1
vote
1answer
26 views

How to add lables/etc with eia shapefiles in R?

I'm trying to create a map of US Shale basins and I'm very new to creating maps. I have downloaded the shapefiles form the eia. I have also, been able to created a basic map with the bases plotted ...
0
votes
0answers
26 views

Is there a way to change the orientation of all text labels at once?

I rotated my extent -45 degree to make it look better. Problem is all the labels that I converted to graphics so I could rearrange them are also at -45 degrees. Any way to change that easily?
3
votes
2answers
41 views

Can GeoServer Mosaic extension footprints be something other than a shapefile?

According to the GeoServer documentation for the Image Mosaic extension... http://docs.geoserver.org/2.4.x/en/user/tutorials/imagemosaic_footprint/imagemosaic_footprint.html It asks for a shapefile ...
2
votes
1answer
158 views

Why my Shapefile is not loaded into OpenLayers?

This is my website for test: http://www.cv.nctu.edu.tw/tonywang/shapefile-js-openlayers/ol_simple.html I want to put my Shapefile in OpenLayers. I found an example at ...
2
votes
1answer
61 views

Construction of a square grid from a given centre (lat,lon) and direction of the sides

Let us consider a point (longitude, latitude) on Earth (location). How to construct a square grid around this point (taking this point as the centre of the square or intercept of the two diagonals) ...
3
votes
2answers
165 views

How is attribute data in the DBF file tied to location data in the SHP file?

I opened a DBF file in Excel and I'm looking at attribute data from a shapefile export. How is the row of attribute data in the DBF file connected to it's corresponding locational data in the SHP ...
0
votes
0answers
20 views

QGIS Convert SHP to KML keep all attributes [duplicate]

I am trying to convert a SHP to KML in QGIS and want to keep all the attribute fields. As far as I can tell when you do this operation, you can only choose 2 fields (DescriptionField and NameField). ...
3
votes
1answer
157 views

Change countries boundaries color in a shapefile with R

I am working with R to create a map with a shapefile. I would like to change the color of the countries boundaries but I don't know how to do that. Is it possible to change the color? Here is my ...
4
votes
2answers
95 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 ...
3
votes
2answers
108 views

Finding the boundary polygon from a set of gridded points (no hole)

Let us consider a set of a 2-D points (longitude, latitude) each of which is centre of square grid (intersect point of the diagonals of the square). I try to make you understand what I want to do in ...
6
votes
2answers
118 views

FME - Writing Large Shapefiles

I've got an FME Workbench (version 2015.0) which searches for shapefiles in a folder tree. The shapefiles are contours which are split into tiles for a particular area. The workbench is fairly ...
0
votes
0answers
39 views

Convert Postgis tables to DWG

Is there a simple way of converting a postgis table to DWG for a given table name? Regards,
2
votes
2answers
224 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 = ...
1
vote
2answers
85 views

Problem in importing shapefile to Postgis with postgis Shapefile manager

i have a problem with importing my shapefile to postgreSQL, it's a poroblem with the encoding, here's the screenshot: i tried to change encodingin "options" buti get this message: "Failed in ...
3
votes
0answers
61 views

QGIS algorithms do not work on copies of shapefiles?

I'm using QGIS 2.6.0. I'm trying to run various algorithms such as "SAGA/Shapes-points/remove duplicates" & "SAGA/Shapes-Grid/Add grid values to points" through the sextant toolbox. When I run ...
1
vote
3answers
129 views

Programmatically adding .shp file to .mxd file

I have spent hours attempting to find the solution to the following problem online, but all answers I have found are quite old, and none work. Here is the situation: I have a variety of .shp files. I ...
0
votes
1answer
69 views

Tools to export shps from Oracle database

What open source tools could be used to export shapefiles from an Oracle database. I have tried using QGIS but it does crash way too much.
1
vote
2answers
108 views

Merging shapefile layers not working in QGIS?

How do i merge different vector layers in to one shapefile layer In QGIS version 2.6
2
votes
1answer
75 views

Software or script for Batch Shapefile to GPX

I am looking for a software that does batch processing of shapefiles to GPX files. I have seen many including Arcmap that will batch gpx to shapefiles but none vice versa. I currently am using DNR ...
1
vote
0answers
23 views

Collecting shapefiles from different users - any rules for quality data/quality control?

Apologies in advance for this very basic question! My company collects market information from forestry projects in an annual survey. This year, we are trying to add a spatial element to our ...
3
votes
1answer
343 views

How to create a missing dbf file for shapefile?

I have a shape file (shp) which is missing its dbf. I tried to load this into Postgis using shp2pgsql and got the could not open shapename.dbf error. I opened it in QGIS, without issue, and ...
0
votes
0answers
34 views

town, village, prefecture shapefiles for China?

I'm looking for boundary files for towns, villages and prefectures in China that are free. I've came across http://chinadataonline.org/, but they are limited. Can anyone tell me where to look?