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)

1
vote
1answer
10 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
11 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 ...
2
votes
1answer
55 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 ...
0
votes
1answer
21 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 ...
-1
votes
0answers
16 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
23 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: ...
3
votes
2answers
19 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 ...
1
vote
1answer
93 views

Where to Dowload Village layers for India with census 2011 information?

Does anyone know where I could download a layer of all villages in India together with their populations (hopefully from the 2011 census)?
2
votes
1answer
43 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) ...
2
votes
0answers
34 views

Shapefiles from ArcGIS for Desktop to Google Maps API?

Can you add a large shapefile made in ArcGIS for Desktop to Google Maps? I have added it to ArcGis Online and it takes a long time to load. I need to buy credits to put the shapefile tiled to ArcGIS ...
0
votes
0answers
17 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?
1
vote
1answer
16 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 ...
3
votes
2answers
106 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 ...
1
vote
2answers
541 views

ArcPy and centroids/points shapefile?

I'm trying to create a point shapefile from a grid index polygon shapefile I created using ArcPy at ArcGIS 10.0 . I know this is simple, but could anyone give a few pointers out there. Here is what ...
0
votes
0answers
18 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). ...
4
votes
1answer
38 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
1answer
66 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
57 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 ...
3
votes
2answers
63 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 ...
3
votes
2answers
690 views

keep the same field headers after joining a table to a shape file in QGIS

I noticed that after joining a table to a shape file the headers of each fields in the table used for the join are changed by QGIS and they are attributed to a different name. For instance, i had a ...
40
votes
21answers
46k views

Are there any free administrative boundaries available as shapefiles?

After learning about the US Census's TIGERLines datasets I'm addicted to GIS :) I've working with the following layers, from the USA data Country boundaries State boundaries County boundaries City ...
1
vote
1answer
311 views

Z value (height,altitude) from 3D multipoint shapefile in QGIS

Is there a way to get Z value/height/altitude from 3D multipoint shapefile in QGIS? All I found is way through SpatiaLite or PostGIS as explained here: ...
3
votes
1answer
395 views

“topo to raster” tool

is there any analogue of "topo to raster" tool (ArcGIS) in QGIS? I need to creates surfaces from shp for some cases from points and for some from lines and this instrument is very convenient.
1
vote
2answers
35 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 = ...
0
votes
0answers
17 views

Convert Postgis tables to DWG

Is there a simple way of converting a postgis table to DWG for a given table name? Regards,
0
votes
1answer
200 views

ST-Links convert Feature Class to DB Table error

I'm using ArcMap with the ST-Links SpatialKit Conversion tool to convert a Feature Class to a DB Table. But I'm getting an error: ERROR: 42601: type modifier is not allowed for type "geometry". I ...
0
votes
1answer
166 views

Example using sharpmap in mvc asp.net

I am wanting to open shapefile files in a ASP.NET MVC application, was researching and found sharpmap but have not found examples of how to implement the MVC. Does anyone have any examples to help me ...
1
vote
2answers
33 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 ...
4
votes
3answers
64 views

How can I export data containing umlauts from PostGIS to shapefile, without losing the umlauts?

I am exporting my Finnish (Finland) data from PostGIS to esri shapefile. I am using the PostGIS Shapefile Import/Export Manager and I don't see any way to specify the encoding of the shapefile's ...
0
votes
1answer
199 views

Polygon grid shape file for landmass

I am interested in generating a polygon grid shape file for the landmass of the world. What I have presently is two tables in postgreSQL. Table 1: Coastal area shapefile ...
3
votes
0answers
33 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
2answers
64 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 ...
2
votes
1answer
30 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 ...
0
votes
1answer
25 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
291 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 ...
1
vote
2answers
54 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
3
votes
3answers
3k views

How do you add file name to an attribute field?

Does anybody know how to add the shape file name to a field in the file's attribute table? I've found a description: 'You have to use inline variable in CalculateField like %Name% in expresssion ...
1
vote
0answers
10 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 ...
0
votes
1answer
103 views

40k+ points from Shapefile, clustering them and populating on Google Maps/Webapp

I just started a new Python/Django webapp job related to GIS (and i'm totally new to GIS). Here is my task and what i have found so far, and i am stuck as to finding out what's the best way or the ...
1
vote
2answers
126 views

How to plot Storm Prediction Center (SPC) Shapefile using python

I am trying to make a plot of the SPC's thunderstorm outlook using Python. I have downloaded the shapefile from this website http://www.spc.noaa.gov/products/outlook/day1otlk.html. Then I use this ...
1
vote
1answer
58 views

How to load geographic data into Hadoop (Hive) and then to be able to call spatial functions on them?

I need to load some geographic data into Hadoop (Hive), and then, to be able to call some spatial functions on them using Hive. My input data format is ESRI shapefiles (but could be another format, I ...
3
votes
1answer
106 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
16 views

All queries on wkb_geometry column return null regardless of input ( ST_Point, ST_Intersects )

I am new to Postgis and I don't know if I am doing something wrong with my query, or if there is a problem with the data. I have been running queries on tiger shape files from the US Census site, I ...
2
votes
1answer
84 views

Why does vector grid creation crash?

Im trying to create a vector grid for a municipality. Do you know why does it crash? The scale I'm using is 1:1000000. Any tips?
1
vote
0answers
124 views

Interpolating shapefile of points to grid using Java?

I am looking for a method/prog/library(java) to interpolate points from a shapefile to a grid (file). I have seen arcgis can do that but i am looking for something free. More specific: i have ...
2
votes
1answer
50 views

Questions about EPSG:6372

I'm using QGIS 1.8.0 and as CRS EPSG:6372 a projection for Mexico, defined by the Instituto Nacional de Estadística y Geografía (INEGI). I have the following questions: If I measure the minimum ...
4
votes
6answers
223 views

How do I make a SHP file from waypoints?

I have a Garmin etrex 20 and I want to convert my waypoints into a shapefile for QGIS. The waypoints need their name and background information with them in the shapefile.
0
votes
0answers
11 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?
2
votes
0answers
36 views

Is there a QGIS alternative for ArcMap's Append (to Shapefile) Data management tool?

Is there something out there for QGIS that is similar to the Append Tool in ArcMap? Reason I am looking: I am currently working on a storm drainage project that involves GPSing Storm drain lids. My ...
2
votes
2answers
2k views

Create points from lines

I used the Bearing Distance to Line command (Data Management) in arc to convert UTM coords (i.e. of a plot center), bearing and distance to the figure shown below. The end of each line represents a ...