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.
6
votes
1answer
520 views
How can I merge adjacent polygons in a shapefile that have been split at tile boundaries?
I'm currently using building data from the Ordnance Survey Vectormap District and I've noticed that a lot of building polygons are split in 2 because of the way the OS split up the shapefile.
This is ...
6
votes
1answer
159 views
Add polygons to existing shapefile in QGIS
I'm completely new to GIS and this is a very basic question about editing existing shapefiles.
I am working off an existing shapefile which was digitized (by a colleague) so that polygons represent ...
6
votes
3answers
690 views
How to read Greek fonts (ISO-8859-7) in shapefile attributes within QGIS 1.8.0?
I'd like to ask whether there is a way to read greek fonts in a shapefile's attribute table within QGIS 1.8.0.
6
votes
3answers
127 views
Are there any open source Python modules compatible with arcpy that will allow complex SQL queries?
I am trying to handle string (non-geometry) duplicates in a large attribute table of a shapefile without having to convert to gdb and back or connect to a postgres db. I need to be able to use a count ...
6
votes
1answer
106 views
Is there a difference between projecting shapefiles then rasterizing & rasterizing shapefiles then projecting?
I currently have a project where I rasterize shapefiles into simple presence/absence (1 & 0) rasters and then add each one to a running total to create a total richness raster at the end. The ...
6
votes
1answer
801 views
Why does QGIS Simplify Geometries delete entire polygons?
I am reducing the size of a world timezone shapefile,
http://efele.net/maps/tz/world/tz_world_mp.zip
But at a 0.01 tolerance, entire countries disappear
Anybody know a way round this?
QGIS shows ...
6
votes
1answer
508 views
How import a shapefile on-the-fly and have GeoServer render it instantly?
I am tasked with adding one feature to an existing app. It was built with OpenLayers and GeoServer. The task is to import a shapefile on-the-fly and have GeoServer render it instantly. However, I ...
6
votes
1answer
340 views
How to connect places (points) without crossing lines?
I have two sets of data. One with placemarks represented by blue dots in image below, and another set of geographic data with lines represented by grey lines.
1) For the first point in drawing, I'm ...
6
votes
1answer
139 views
GIS storage format for better performance - Android device
We have developed an android application which loads different eco-zones and does geo-fencing based on current GPS location.
We have converted a shapefile to KML, then to JSON format, for loading in ...
6
votes
1answer
177 views
Polygon creation (Clockwise rotation or not)
According to "ESRI Shapefile Technical Description An ESRI White Paper—July 1998", Vertices for a single, ringed polygon are, therefore,always in clockwise order. Otherwise,"Dirty" polygons occur when ...
6
votes
1answer
121 views
Where can I find municipal-level administrative boundary data for India?
Does anyone know how to find a shapefile with boundaries of Indian municipalities? I have tehsil boundaries as for year 2001, but I would like boundaries of municipalities. Ideally, also historic ...
5
votes
4answers
249 views
We sent Client Esri Files and Now they want to See Polygons
We are a voter list company. Every ten years new political boundaries are written for federal and state offices. All of the corresponding shape files are ESRI ready.
One of our clients is getting ...
5
votes
6answers
2k views
How to display ESRI shapefile in Android
It's the first time I work with Android and ESRI shapefile. I tried to find but could not find any tutorials to display ESRI shapefile in Android. Somebody can help me about this???
Thank you so so ...
5
votes
6answers
933 views
how to overlay shapefile and raster?
I have a shapefile with polygons. And I have a global raster file. I want to overlay the shapefile's polygons onto the raster grid and calculate the mean raster value for each polygon.
How can I do ...
5
votes
3answers
119 views
GIS file format for space and time data?
I need some advice with GIS file format choice.
Here is my problem:
I have about 100 stations.
At each station water temperature is measured daily for 1 year
I want to load this data to QGIS and be ...
5
votes
1answer
176 views
How to determine optimal windmill placement to maximize production?
How can I add automatically the maximum number of points (dots) with 6m diameter and 100m distance each point from other into an area. The dots will present the windmill base (6m) and I want the ...
5
votes
4answers
300 views
GeoJSON too bulky - what to do?
I am using leaflet.js to allow web users to select a region. Valid regions are US states, Canadian providences, and world countries (except for US and Canada). I constructed a shapefile myself using ...
5
votes
3answers
1k views
How to change field length in QGIS
I have a shapefile I made in QGIS 1.7.4. One of the fields is a String of length 80. I'd like to make the field accept longer stings, but I can't figure out how to change its length. How do I do this?
...
5
votes
3answers
393 views
How to produce a 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?
--EDIT
For clarification the original question ...
5
votes
3answers
2k views
How to create a GeoJSON that works with D3?
I'm simply trying to convert a .shp file to a geoJSON format using:
ogr2ogr -f geoJSON output.json input.shp
After executing the command nothing seems to be wrong. Here's an excerpt from the ...
5
votes
3answers
643 views
FME: Join attributes in text file with attributes in SHAPE file
I have a SHAPE file with points and different attributes - one attribute MyID. I also have a plain text file with several attributes - each in a separated column:
MyID MyValue
1 A
2 B
3 C
...
5
votes
5answers
2k views
How can one execute an SQL script in field calculator in ArcGIS 10?
I am trying to transfer over row data from a table to columns in a shapefile table. There is a common "SA" variable between the two (i.e. the study area number) but there is more than one land use ...
5
votes
3answers
182 views
draw shp files or kml files on ipad?
I need to be able to draw a polygon in the field while the landowner is there to approve it. Is there an app that is easy to use so all of the field hands can operate it? I also need to be able to ...
5
votes
1answer
1k views
How to crop Shapefiles in QGIS?
I need to clip a large and very detailed .shp file in QGIS showing environmental data similar to a temperature map. Is there something like the very simple crop tool alike in photoshop where you can ...
5
votes
1answer
5k views
QGIS - Change unit of measure from degrees to meters
I am running QGIS 1.7.0 on windows, and I donwloaded a shapefile of census block group boundaries from TIGER. This file appears to be in the WGS 84 coordinate system, and when I open it in QGIS the ...
5
votes
3answers
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 ...
5
votes
3answers
472 views
Looking for a .NET Dijkstra component using Shapefile
I'm totally new to stackexchange and i'm in this beautiful informative place for one problem.
I'm a .net programmer and i need to write a program that reads a shapefile and performs routing operation. ...
5
votes
2answers
429 views
Fastest way to merge a feature
I am writing a arc engine application that can take a shapefile, and merge a set of polygons together.
Here is the code that I am using to merge the polygons:
private static void ...
5
votes
2answers
1k views
2010 Census Tiger County shp file with defined coastal land area
I am looking for a 2010 Census Tiger Shape file that hugs the coastline and doesn't include the ocean in county boundaries. I have a pre 2010 file that did this and I can't seem to find a 2010 ...
5
votes
2answers
722 views
Converting feature class with domains to SHP file
I have a feature class which has coded value domain associated with it. The code and the description are different. For example, I have coded value domain for pipe diameter. For pipe diameter of 8" I ...
5
votes
1answer
107 views
Tools for discovering spatial data defects
Spatial data often have defects that may include incomplete polygons, sleathers (non-uniform administrative boundaries), overlaps, having points that belong to more than one polygon, etc. I have a ...
5
votes
1answer
65 views
Where do I append point values with pyshp?
I would like to generate a .shp with five points using shapefile available through pyshp. However, when I loop through my list I get only the last value. This makes sense as I did not append any of ...
5
votes
1answer
251 views
Error when using pgsql2shp
I try to export geographical data from a postgis database to a shapefile with pgsql2shp.
Normally this works fine, but now I receive the following error.
Preparing table for user query... Done.
...
5
votes
4answers
2k views
Why can't I export XY data to a shapefile?
I have added a table from Access to ArcMap, and then used 'Display XY data' to plot points. When I then try to export the Events to a shapefile I get an error message telling me:
"Error exporting ...
5
votes
1answer
547 views
SQL Query to Reverse Geocoding in PostGIS
I try to do Reverse Geocode from my shapefile on the database.
I'd already try with Spatialite and PostGIS to put shapefile (.shp) into it. But I'm still can't delivered my objection about reverse ...
5
votes
2answers
1k views
ogr2ogr kml to shp conversion created 184 shapefiles?! What am I missing?
I'm trying to convert this KML dataset of ice arenas to a shapefile using ogr2ogr (GDAL 1.8). After some initial troubleshooting to get the script running, it's creating 184 different shapefiles (736 ...
5
votes
1answer
719 views
Get shape filename in attribute field using field calculator
I apologize for crossposting against the ESRI geoprocessing forum, but it seems like this one gets answers. I'd like to have a modified append tool (ArcToolbox) that takes multiple shapefiles with ...
5
votes
2answers
766 views
Why is the dynamic text on data driven pages not displaying a value from the grid attribute table?
Relating to my question here, I've been trying to return a value from the attribute table using the following code:
<dyn type="page" property="lu1p"/>
However, even if I try to use a ...
5
votes
2answers
396 views
Calculate stop times/distances of transport lines - tools and procedure?
I need to calculate stop times of bus lines (extrapolation)
I have:
Shape file with all stops
shape file with control points where bus time was taken
Shape file with all bus routes
csv file with ...
5
votes
1answer
2k views
Converting a CAD/DXF file to a SHP file
I need your ideas and suggestions about a problem....
I have a dxf file which was converted from a CAD file. I used QGIS to convert it to a shp file...
This is when I realized that the text ...
5
votes
1answer
147 views
How display outlines in a Map, only from a scale, but the colored polygon in all scales?
I want to display a shape with UMN-Mapserver. It has different coloured polygons and also outlines. But I want to display the outlines only, from a specific scale. I could add MINSCALE 150000, but in ...
5
votes
2answers
667 views
How does shp2pgsql define schema?
Can anyone explain how it is that the shp2pgsql loader for loading shapefiles into PostGIS goes about defining the schema for a table when importing a shapefile?
To further explain, shapefiles are ...
5
votes
1answer
116 views
How is the “place” determined for this Tiger 2010 shapefile address record?
In most cases, an ADDR.DBF record links to an EDGES.DBF record that links to a FACES.DBF record that links to a PLACE.DBF record that contains the place. Sometimes, the place key in FACES.DBF is ...
5
votes
3answers
2k views
Add shapefile from a local file to a JS API map
Using ArcGIS.com's Map Viewer it's possible for the user to add a local shapefile to the map, using an Add Data approach.
Is it possible to add this functionality to an ArcGIS Server map built on ...
5
votes
1answer
651 views
Use python to add layers to TOC
I've been battling with adding layers to the TOC for some time now. I have managed to single layers added but need to loop through a folder and add all layers. Shapefiles I cannot get to add at all. ...
5
votes
2answers
381 views
Importing attributes from Excel file into new Polygons
I have a constantly updated Excel file containing address information which I am currently copying into the attributes of new polygons which I am creating on a daily basis. I am currently doing this ...
5
votes
2answers
751 views
Retain ESRI symbology in Mapinfo TAB
Is there anyway to retain/easily transfer symbology from ESRI to Mapinfo? The only process I found was posted in 2010 - https://groups.google.com/group/mapinfo-l/browse_thread/thread/883223ff4ae56809 ...
5
votes
2answers
280 views
How to get text attributes from shapefile with python / pyshp
I have a shapefile, containing only points in XY-coordinates and a string attribute for each point. I would like to read the coordinates and the attribute for postprocessing in python, but can't get ...
5
votes
1answer
202 views
How can I use fortify() to create a filtered R data frame from a shape file?
I am in the process of building a ggplot choropleth map of population in administrative areas in Wales. I have downloaded the Boundary-Line data from the Ordnance Survey and extracted what seems to be ...
5
votes
1answer
428 views
Issues Accessing ESRI File Geodatabase within Quantum GIS Desktop
I am trying to access ESRI file gdb from Quantum GIS. I am on Windows 7, 64-bit. I have found many useful threads on how to set up this functionality within Quantum GIS. The method I went for is ...