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

Python - GDAL : Polygon to point shape file

I want to read all the points in a polygon shape-file and use their coordinates to make a new point shape file. then find the min and max of the X coordinates. So here is the code I wrote for the ...
3
votes
2answers
700 views

Python: how to create a point shape-file from a text file

I'm writing a python code to read the points in a polygon shape-file and save them in a point shape file. I'm not sure about my approach so if you have a better idea (even if it is totally different ...
5
votes
1answer
2k views

Extracting Lat/Lng from Shapefile using OGR2OGR/GDAL [closed]

I'm trying to extract lattitude/longitude values for the streets in this shapefile: http://gispub02.sfgov.org/website/sfshare/catalog/stclines_streets.html I've seen it reommended in many places that ...
2
votes
1answer
1k views

getting error while reading shape file (The following locker still has a lock)?

I am working with reading and writing shapefiles. I can read and write a shapefile but while reading it the warning message below is coming in the console, no error is coming. reading 29 Aug, ...
2
votes
1answer
194 views

Fast zipcode detection from latitude/longitude

I need a way to get the zipcode of a lat/long pair fast (<10 ms), and at a high rate (thousands of qps) I've loaded a shapefile from the US Census Bureau into a mysql database with spatial ...
-1
votes
1answer
71 views

How can I reproject a shp file in NAD_1983_UTM_Zone_15N to something more standard

I have a public shp file data set which is in a format that doesn't contain actual latitudes and longitudes (prj file below). I'd like to load it into SQL and be able to utilize the latitude and ...
0
votes
1answer
90 views

Error in shapefile?

I have been provided a set of shapefiles (a couple of thousand). I don't own any GIS software but I would like to convert the shapes to KML and Google's encoded polyline. I have put the shapefile ...
1
vote
1answer
305 views

Change kml tag structure [closed]

I am working on google-maps kml. I have several shapefiles and using QGIS i have converted it to kml files. When i export the kml (save as kml in Qgis). It contains tag like <SimpleData ...
4
votes
1answer
290 views

How to join data from NHGIS to make choropleth maps in R/ggplot2?

I have downloaded shapefiles of county/state boundaries and census data keyed to those shapefiles from the NHGIS. Both the shapefiles and the census data have a GISJOIN column to be used for merging ...
1
vote
2answers
283 views

Shapefile point coordinates to lonlat

I'm currently trying to parse a shapefile (http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf) with c++. While I have no problems parsing all the data I need, there is a problem with the ...
3
votes
3answers
232 views

programmatically add field to shapefiles and insert shapefile name in every row of field

situation We have a folder containing 1 sub-folder for every participant in a study. The subfolders are named with the participants' ID, e.g., 1000, 1001, 1002, 1003. Every participant folder ...
0
votes
1answer
98 views

Shapefile rotated after displayed on Bing Maps

I took shapefile of country here http://thematicmapping.org/downloads/world_borders.php Then opened in QGIS, after that save needed layer to KML file and took coorditaes for displaying polygons var ...
4
votes
2answers
626 views

What is the cause of 'tearing' of polygons (artifacts) using R, ggplot and geom_polygon?

Thanks to the answer given in this question I have been able to subset and draw a map of electoral divisions in part of the UK, in this case Pembrokeshire. The resulting data frame is large and ...
2
votes
2answers
880 views

How to select specific filenames nested within several folders?

I have hundreds of shapefiles that are stored in separate folders, which are nested within several other folders. Among the shapefiles I only need the ones that are named 'POINT*.shp' How do I get ...
2
votes
2answers
118 views

Where can I find cellmast data in the UK?

I am looking for a shapefile containing the locations of cell masts that provide phone coverage in the UK. On sites like Orange, O2 etc they have an interactive signal checker ...
1
vote
1answer
92 views

OpenLayers World coverage

I gave a demo this afternoon and it couldn't have gone any worse :( I checked everything was working before I started (apart from the external internet connection).... My dependency on an external ...
0
votes
1answer
214 views

Can I use GeoTools with Gradle?

I am going to implement shapefile uploading from a webform, and ingestion into PostGIS. One problem I am having is that my project is using Gradle for dependency management. I am unfamiliar with ...
2
votes
1answer
81 views

Northern Ireland Roadway Network shapefile

Does anyone know of an open-source alternative to the £7k+ offering in the Ordinance Survey map shop?
2
votes
0answers
113 views

AIS Data Transformed or CVS Format

I am looking for AIS Shipping Route Data. I have not had much luck finding it in either SHP format or even in CVS format does anyone have a real good source of finding this type of data? To add to my ...
1
vote
1answer
45 views

Is it possible to extract many municipalities out of a state map at once?

Is it possible to extract many municipalities out of a state map at once? I mean not to have to do the QUERY for each and one of them? Thanks in advance.
0
votes
2answers
181 views

Calculating distance to a feature from a reference line

I have multiple shapefiles, each containing a coastline for a specific year. I want to calculate the perpendicular distance to the shoreline from a fixed vertical reference line. Please recommend me ...
1
vote
1answer
76 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? Thanks!
1
vote
1answer
119 views

Changing border thickness QGIS

Does any one know how to stylish a map using QGIS? Im working on some maps but when I project them in Stat Planet Plus the lines look very pointy, not curvy at all and it looks really unprofessional. ...
5
votes
4answers
1k views

Export to a Shapefile and maintain Domain Coded Values

I maintain a complex parcel fabric that uses coded value domains for a few fields. These are short integer fields with values from 1 - 6. These values represent say 1:Integrated Registered Survey ...
2
votes
2answers
73 views

Accessing features via arcpy

i try to use arcpy to accessing the features of a shapefile. I tried to use a searcheCursor, like that: cursor = arcpy.da.SearchCursor(Points, ["SHAPE@XY"]) for row in cursor: x, y = row[0] ...
1
vote
0answers
317 views

Problem importing ESRI shapefile information to MySQL

I recently updated to Qgis 2.0 and therefore the "exporttomysql" plugin does not work anymore. What I want to do is exporting the geometry information of a shapefile(Polygon) into a MySQL database. I ...
0
votes
0answers
102 views

Import csv file and use “toggle editing” and “field calculator” without Saving it as a Shapefile.

I am importing a .csv file in QGIS and I have also made the *.csvt file where I have specified my data types. I still cannot use "Toggle editing" and "field calculator".Whether I must save it as a ...
1
vote
0answers
90 views

How to join attributes by location with command line

I would like to joint the attributes of 2 shapefiles by location but with a command line (linux). This feature is easy in QGIS but it is VERY slow. Is there a way of doing this with ogr or pyqgis ? ...
4
votes
1answer
563 views

Geotools: Efficiently writing a GeoJSON stream into a Shapefile

I've been trying a few solutions to efficiently convert GeoJSON into a shapefile without having to store all features in memory. I'm using GeoTools 9.2. The problem is not so much in how to stream ...
0
votes
0answers
103 views

Exporting XY data to .shp and I lose my points

I have coordinates (sampling points) as part of a larger excel file that I am trying to convert to a .shp file to overlay on a map. When I add them to Arc as XY data they display just fine, but when ...
2
votes
1answer
323 views

Convert MineSight (*.msr) files to Shapefiles or Feature classes

How would I convert the Minesite(*.msr) files to Shapefiles. Minesite files are used in Minesite Software which is used for creating block models in 3D. Thanks in advance for your responses. ...
0
votes
1answer
54 views

How to Get a Vector Layer to add to a QGIS Project

I used QGIS a little bit a few years ago and used some layers for my city that I had. I have a simple project that I would like to use it for and am having a little problem. I would like to simply get ...
0
votes
0answers
231 views

How to read vector datasets using GDAL library

Up to now, I have used GDAL in order to read raster information and geotiffs and show them with the help of OpenGL. Now I have a vector dataset, and by that, I mean I have the files with types: DBF ...
0
votes
1answer
171 views

add wkt representation of the geometry as field in qgis

I have the shapefile of boundaries loaded in qgis. I want to add a field in the file which is WKT representation of the feature. Update As Nathan W answered I used geomToWKT( $geometry ) and got ...
3
votes
1answer
188 views

How to get around the 10-character limit when converting from kml to shp with ogr2ogr

I'm trying to create custom .shp files by drawing polygons on a new layer in Google Maps Engine, exporting that .kml file, and then converting that file to a .shp file with ogr2ogr. If I run a ...
3
votes
1answer
103 views

Attribute manipulation on shapefile

I have a shapefile which contains landuse types. The Landuse types are written in a field called "Type" and contain also the area in m² and a landuse code. Some polygons contain more than one landuse ...
4
votes
1answer
82 views

Update Grid cell value with Point attribute

I have a 4km gridded dataset with each grid cell value as a measurement of precipitation. I would like to update it with a point shapefile of more precise precipitation values. Aside from ...
1
vote
0answers
61 views

Hunting map for personal use (or to publish)

Okay, I do not know anything about GIS. I just downloaded it today to try to get a jump start on my GIS experience for a class next semester. I want to start off by making something useful so I want ...
3
votes
2answers
5k views

How to convert bearing, distance, xy coordinate measurements to point shapefile?

I have a natural resources dataset where individual seedlings in canopy gaps were recorded from a center "legacy tree" within each canopy gap. Each sapling has the following measurements associated ...
0
votes
2answers
127 views

Do I have to convert a line shapefile to points to store it in another database?

This is the surprisingly the first time I've come across this. If I wanted to export a line shapefile from ArcGIS to another database (say Access) would I first need to convert the vertices to points ...
1
vote
1answer
840 views

How to change the pixel value of a raster dataset which overlaps a polygon featured shapefile in ArcGIS

I have a raster data of 1992 and a 'shapefile' of Los Angeles county. I want to reclassify the pixel value of the raster data set to 'no data' or zero in the region where the raster and the ...
0
votes
1answer
330 views

Shapfile created in QGIS does not fit in ecognition project

I have various shapefiles - some created by others, some created by my self. They should all have the same size of the underlying Raster file. The shapefiles have been created on top of a Raster file ...
1
vote
2answers
184 views

Merge shapefiles

I am a new user of ArcMap. I have several shape files of various portions of the West coast of India (boundary and contour files). I need to combine all these files into one shape file so that I can ...
1
vote
2answers
806 views

Suburb shapefiles from the Australian Bureau of Statistics (ABS) hass missing suburbs, unsure how to fill the holes

I downloaded the latest suburb shapefiles from the latest census at http://www.abs.gov.au/AUSSTATS/abs@.nsf/DetailsPage/1270.0.55.003July%202011 from the link "State Suburbs ASGS Non ABS ...
1
vote
3answers
829 views

Can I have two kinds of point geometry in a shapefile or I should create multipoint shapefiles?

Following my previous question, can I have a mixture of two kinds of geometry in a shapefile of type point. Just like I have about shapefiles of type polygon or I should always create a shapefile of ...
0
votes
1answer
306 views

Writing iso19139 compliant xml metadata from a spreadsheet

I am looking at a way to migrate the metadata from a spreadsheet into iso19139 compliant xml metadata documents for a collection of shapefiles. I can parse the data out of the spreadsheet into strings ...
0
votes
1answer
158 views

How to map and color localities (provinces) with an external CSV using Quantum GIS

I use a Swiss shape file map (called PLZO_PLZ) available on http://www.cadastre.ch/internet/cadastre/fr/home/products/plz/data.html (ZIP file Shape LV03) PLZO_PLZ contains a column called PLZ which ...
2
votes
2answers
260 views

Problem with Coordinate Tolerances when I export my .shp files to .mdb

When I export my shapefile to a personal geodatabase using ArcMap, the result is not the same as the original database. I do not know how to solve this problem.
-3
votes
1answer
79 views

How can I use ogrinfo to reach information anout a .shp?

How can I use ogrinfo? where should I write it? In the visual studio's command prompt or somewhere else? Can you make some examples? when I use ogrinfo in the windows or visual studio's command ...
0
votes
1answer
432 views

Transform ssf to shp [duplicate]

Good Morning Do you know a free program that transform *.ssf to *.shp files? Thanks Eduardo Abade