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)

4
votes
1answer
2k views

Mapnik Style Filter on River/Lakes Shapefile attributes (from Natural Earth Data)

As a followup to this question, I downloaded the vector data here: http://www.naturalearthdata.com/downloads/10m-physical-vectors/ and I successfully created the rasterized water/land mask I ...
3
votes
1answer
578 views

Mapnik + OpenStreetMap + Shapefile with Raster Images + Mod Tile + PostGIS

I am new to GIS. I have a Shapefile (.shp, .shx and .pbf). The .pbf file contains path to PNG files located on my machine only. I was able to save the Shp data to PostGis via Shape2Gis tool. Now ...
3
votes
1answer
919 views

Is there a QGIS bezier curve tool?

I'm a recent convert to QGIS but have been confused about the lack of support for drawing curved shapefiles, especially when Arc has almost too many. A lot of the work that our consultancy do is based ...
3
votes
3answers
1k views

QGIS - Convert Vector points to GPS waypoints and route

I'm new here. I have a shape file with a series of points (around 300) using British National Grid. I need to put them on my Garmin Etrex 10 as waypoints. Can someone tell me how to convert this ...
3
votes
2answers
326 views

Extract PostGIS line features to GPX

I have a request to provide GPX files of certain trails (around 100) that are present in OpenStreetMap. Given a local PostGIS install with OSM data, I think the process would be something like: ...
2
votes
2answers
854 views

Intersect Shapefiles using Shapely

What I'd like to try and do is intersect some point buffers with census tracts, maintain their ID's and the tracts attributes. I found a sample from ...
2
votes
1answer
180 views

QGIS show gdal_polygonized file in EPSG:54004 instead of EPSG:3857

I am polygonizing a TIFF with the gdal_polygonize.py and the resulting Shape is shown in QGIS in the wrong projection - EPSG:54004 instead of EPSG:3857. I have a TIFF in EPSG:3857 and polygonize it ...
2
votes
2answers
169 views

Wrong projection high quality shapefile for the coastline of Helsinki region (Finland)

I did some spatial interpolations in R and I need a support for those. Looking for shapefiles online the best I could find was and it looks really horrible, the same area in ggplot looks like . I ...
2
votes
2answers
135 views

Why OSM data has different attribute values from the same element and same time frame?

Here is my question: Does anyone know why OSM has different attribute values from the same element and same frame time? The example explains itself, when I try the Shapefile from different mirrors ...
2
votes
1answer
192 views

Converting Coverage files into shapefiles?

I am attempting to convert coverage files into shapefiles using arcpy. This is not the e00 files, but the bin files. ArcGIS help suggests that it can be done using ...
2
votes
1answer
157 views

Update postgres/postgis point data attribute from another enclosed polygon shapefile in QGIS

I have a placename point table in postgis with 'district' column. a districts polygon shapefile with district name in 'Name' column. See the image below. I would like to update the 'district' ...
2
votes
2answers
530 views

Are British National Grid (BNG) 1km grid shapefiles displayed accurately in ArcMap?

I have downloaded the UK Ordinance Survey's 1km grids in shapefile format for ArcMap. If you need to download them to have a look first you can find them here look for link in the first Answer to the ...
2
votes
2answers
4k views

Exporting shapefile to PostGIS database in QGIS

How do I export a vector shapefile to PostGIS database? I am asking what format I have to export it.
2
votes
1answer
3k views

Find and replace unicode character in a shapefile

I've found several example of script and blog posts on working with unicode characters, but I haven't been able to make anything works so far... It's a little frustrating I have a shapefile encoded ...
2
votes
2answers
1k views

How to incorporate drop-down list within cells of shapefile attribute table using ArcGIS Desktop?

A question has been brought to my attention. When working with a shapefile within either 10 or 10.1. Is it possible to create a python script or some sort of programming language to accomplish this ...
2
votes
1answer
755 views

World map shapefile including disputed areas

I am looking for a global shapefile that allows you do show data for all disputed areas (like Waziristan, Spratlay Islands, Kahsmir, etc.). Do you have any idea where I can find a shapefile with not ...
2
votes
0answers
503 views

How to overlay geographic data from multiple sources?

Being a newbie to GIS, I am trying to create a map using shapefiles and addresses found online, as an exercise. The steps are below: I downloaded a shapefile of Connecticut from the following link ...
2
votes
1answer
1k views

What is the most efficient way to create a shapefile from resultset using geotools

I am facing a problem to write to shapefile (geotools) with respect to time, memory etc. My workflow is something like reading spacial data from database Oracle with attributes and coordinates (can ...
1
vote
2answers
822 views

Shapefile to GeoJson conversion using C#

I have some shapefile which I want to convert to GeoJSON and store in MongoDB for querying. Is it possible to take a shapefile and convert it to GeoJSON format in C#? I have been able to convert ...
1
vote
1answer
322 views

Multiple input shapefiles for ogr2ogr sqlite spatial operations

I'm running up against an issue doing a spatial operation requiring multiple input shapefiles using ogr2ogr and sqlite. I have: ogr2ogr -f "ESRI Shapefile" output.shp input.shp -dialect sqlite -sql ...
1
vote
2answers
850 views

How many interior and exterior rings can a polygon have in a standard ArcGIS shapefile?

working with GDAL/OGR library and studying these two slides about geometries and vector data in the OGR library: slide 1 slide 2 I found that a polygon can have an exterior ring and lots of ...
1
vote
3answers
685 views

Merge Zip Codes to Create new sales Markets

Let me preface this question by saying I am very novice with respect to GIS. With this in mind, I am looking to merge zip codes into sales territories. Instead of plotting data by zip code, I want to ...
1
vote
1answer
798 views

Last edited information missing when used QGIS - Dxf to Shp

I am doing as constructed drawings which require the information to be in a GIS system and more specifically drainage as constructed drawings. I must have a separate file for Pipes and Pits. First I ...
0
votes
2answers
511 views

Convert shapely polygon coordinates

I am trying to work with a shapefile using shapely, fiona and python. The original coordinate system is in latitude and longitude that I am trying to convert to state plane system. So I want an ...
0
votes
1answer
109 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
111 views

How can I delete dangling paths after merging features

In my previous question I've asked how to can I merge different polygons while converting to GeoJSON and TopoJSON. After a day of researching I've realized that, rather trying to do it command line, ...
0
votes
0answers
297 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
4answers
351 views

How can I clip a shapefile?

I have a SHP that includes the entire county and want to downsize it to a specific area...how??
-3
votes
2answers
182 views

Batch Conversion software for latitude and longitude into shapefile format [closed]

I have a huge list of latitude and longitude and I want them to be converted into a shapefile format using some batch processing.
16
votes
3answers
8k views

Free tool to convert ArcGIS layer package (*.lpk) to shapefile (*.shp)?

I have received a *.lpk file from Esri's ArcGIS platform that I would like to convert to a shapefile. How can I do this, using only free software?
8
votes
2answers
3k views

How to count points in shapefile within polygons of another shapefile?

I'm creating a map with two shapefiles. One is a polygon of counties. The other is points of cities. I used the function intersect to group the cities in each county. I'm trying to get the number ...
7
votes
3answers
5k views

How to delete multiple selected polygons at once?

I'm new at this, a novice at best. I'm using QGIS 1.7.3. I simply want to select a large number of polygons on screen and hit the delete key to delete them and resave the shapefile. Can this be done?
7
votes
3answers
3k views

Create Shapefile with auto increment primary key in QGIS

Is there a way to create an auto increment primary key column when creating a new Shapefile in QGIS?
6
votes
2answers
1k views

GeoServer: Shapefile or PostGIS?

I'm going to build a web application, which will render around ten maps using GeoServer. I will be also changing the attribute data in the application for some layers. So, what is the recommended ...
6
votes
1answer
2k views

Updating Lat/Longs and actual position of point shapefile

Greetings everyone, quick question regarding lat/longs and updating a point features actual location. I have a point shapefile with over 3000 points that are updated frequently, when they are updated ...
5
votes
2answers
1k views

How to access Shapefile metadata using OGR?

I'm trying to use ogrinfo to get some details on a shapefile I downloaded. Currently, the only way I know how to do this is to load it into QGIS and manually click around to find any information on ...
5
votes
1answer
411 views

ogr2ogr selecting features by attributes

I am writing a shapefile after some processing; however, in the final step I need to do some selection by attributes from the the shapefile. I am using the command in a shell with the aim of using it ...
5
votes
3answers
777 views

Can we merge shapefiles with different geometries (point and polygon) to get a single layer which shows both geometries?

I want to merge two shape files in which one is of point geometry type and other is polygon type in order to get a single layer containing both points and polygon in a single map.
5
votes
1answer
861 views

Buffer polygon inward by percentage of area [duplicate]

I would like to buffer a polygon inward by a percentage of its area, using the polygons below as an example. How could I shrink each polygon inward resulting in a 35% reduction of area? I am using ...
5
votes
1answer
940 views

Using ArcPy to batch merge based on shapefile name?

ArcGIS 10 SP4 Python 2.6.5 I have quite a few shapefiles that are in many different directories. I'd like to pull out groups of like shapefiles, merge them, and move the results into a FGDB. I've ...
5
votes
2answers
642 views

Data security for GIS Data (shapefiles,AutoCAD files)

This is regarding security for GIS Data (in Esri & open source) (Esri shapefiles, AutoCAD files etc.) Does anyone know how to assign a password to or encrypt shapefiles OR CAD Data? I have found ...
5
votes
3answers
1k views

Producing singlepart featureclass with unique IDs for each spatially non-connected polygon?

What is the best method to convert a singlepart shapefile (i.e. one record that contains several non-connected polygons) into a mutlipart shapefile? For clarification the original question asked how ...
5
votes
1answer
1k views

Move .SHP from .MXD to gdb [duplicate]

Possible Duplicate: How to move SHP to gdb with ArcView license? Let's cut it short, I have numerous mxd with layer coming from .SHP and various servers WMS that I need to move to a gdb. ...
5
votes
2answers
1k views

Shapefiles for U.S. Area Codes (NANP)

I have a bunch of telephone numbers (just the area codes), and I'd like to geolocate them and make a map, but I haven't had too much luck googling for shapefiles for Area Codes. Surely these are in ...
5
votes
4answers
3k views

Where can I find a shapefile for the coastline of North America?

I am looking for a shapefile representing the coastlines of North America, such as something like this: http://www.diva-gis.org/gdata Does anyone have any suggestions?
5
votes
4answers
1k views

Why doesn't the split tool return any records in the attribute table?

I've been trying to split a large land use shapefile using a set of study area polygons as the split feature, but when the function finally finishes running (the land use dataset is quite large), all ...
4
votes
4answers
2k views

Updating 30 Shapefiles, adding attribute and populating based on data

I need to add an attribute to each shapefile attribute table in ArcMap, I was thinking to do it in SQL, but I'm not sure how to go about doing it since I'm very new to ArcMap. Can someone explain to ...
4
votes
2answers
2k views

merge shapefile using ogr2ogr and retrieve the attribute of both

Ciao, I have two shape files that I want merge (overlay/intersect) having in the destination the attributes of the two sources file. ogr2ogr file_merged.shp tl_2010_us_uac10_conus_albersUA.shp ...
4
votes
1answer
997 views

How to save a newly created shapefile in PostGIS?

I am creating shapefile using shapefile.py and my database has records more that 65k which is the limit of the shapefile. How can I create shapefiles then? Is it possible that somehow I am able to ...
4
votes
1answer
4k views

Converting tax map polygons from Shapefile to table of map number and corner coordinates

Fairfax County, Virginia provides a Shapefile here which shows the boundaries of the tax maps as polygons. Each polygon simply consists of four corners, and what I'd like to do is create a table ...