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
0answers
15 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
24 views

How to add polygon layer into raster data?

I performed a supervised land-use classification with Erdas. Landsat data was used in ArcGIS to Digitize urban areas as polygon shapefile. I want to insert these polygons into the land-use raster ...
0
votes
1answer
23 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 ...
2
votes
1answer
31 views

How to rename PostgreSQL/PostGIS columns while importing Shapefiles?

I discovered shp2psql to successfully import geospatial data from ESRI Shapefiles into PostgreSQL/PostGIS. Now I would like to automatically rename the target column names. Is there any mechanism ...
0
votes
0answers
30 views

how to create a shapefile containing attributes from a list?

I have a list of features and each feature is a dict in that list. following you can see the structure: [ {"FID": 0, "Shape": polyline, "Nodes": [0,1]}, {"FID": 1, "Shape": polyline, "Nodes": ...
1
vote
0answers
14 views

Debugging ogr2ogr “AddGeometryColumn failed” and “Terminating translation prematurely after failed translation of layer”

As noted in the title, I'm getting the following error: ERROR 1: AddGeometryColumn failed for layer pretty_polys, layer creation has failed. ERROR 1: Terminating translation prematurely after failed ...
0
votes
0answers
15 views

Exporting ArcSDE feature class to shapefile using OGR?

I'd like to export data from ArcSDE for SQL Server to SHP. I've tried first to run this python script in QGIS: http://trac.osgeo.org/gdal/browser/trunk/autotest/ogr/ogr_sde.py But finally I've got ...
2
votes
1answer
17 views

OGR DeleteDataSource not working properly in Python

I have a small Python script which is supposed to delete a shapefile in case the file is empty. import sys from osgeo import ogr drv = ogr.GetDriverByName("ESRI Shapefile") ds = drv.Open(inData) if ...
1
vote
1answer
51 views

Changing field / alias names in a shapefile using ArcMap10.2

I have a query regarding changing field and alias names in a shapefile. ArcGIS info for 10.2 says: ...For example, you can do any of the following: Define an alias for a field name so the field ...
0
votes
1answer
37 views

How to convert *.shp files to *.gmt format type files?

I am new at using GMT (Generic Mapping Tools) and I am wondering if it can use a shapefile of a hydrographical network. Can I perhaps change my .shp to .gmt format and combine it with a GMT map? If ...
0
votes
0answers
21 views

Unable to load shapefiles fully using shapefile.py

I am trying to load my shapefiles directly via Python rather than loading them from Arc Catalog to ArcMAP. I load these modules first: import sys import os import arcpy import numpy Then I add a ...
1
vote
0answers
38 views

Switching from ArcDesktop to ArcGIS Online

I have many GIS files that I was using to create some maps for my work. Our desktop version of ArcGIS expired and we decided to move to the basic online version. I am unable to upload any of my ...
0
votes
0answers
19 views

ArcGIS for WPF - load Shapefiles and access attributes (dbf file contents)

I'm loading various shapefiles using ArcGIS for WPF and displaying them on a map (the mechanism for doing this is taken from the ArcGIS WPF runtime examples - see ...
0
votes
1answer
29 views

Clip a shapefile based on raster extent with high accuracy

I am trying to clip a shapefile based on the extents of a smaller raster. I find the extent of the raster using this code: Extents = arcpy.sa.Raster(MyRaster).extent` Then, I use these lines to ...
0
votes
1answer
33 views

Select Layer by location does not work

I am having trouble using the "Select Layer by Location" tool. I want to select everything from shapefile A (green) that overlays with Shapefile B (red). Here is the raw data: This is what my ...
0
votes
1answer
31 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 ...
0
votes
1answer
20 views

Converting .fdshape to .shp or other QGIS readable format

I have been searching for a solution to being able to read .fdshape extension files in QGIS with no luck. It seems that the data had to be converted from .shp to .fdshape in the first place so I was ...
1
vote
1answer
51 views

Why does QGIS add decimals when a csv is saved as a shapefile?

When I save a csv as shapefile the fields with decimals are saved adding decimals, then the new table in some case has new values. Old Table (CSV) ALTURA ELI ALTURA ORT 1.94 39.6 -11.19 ...
-3
votes
2answers
60 views

How to add .shp file to ArcMap? [closed]

Ive spent the last 12 hours trying to figure out how to use ArcMap. Ive made about 2% progress. I attached the link to the .shp files at the bottom. Ive been exporting .shp files via Pathfinder ...
0
votes
1answer
31 views

Creating a 10-mile radius buffer zone that averages a variable in my shapefile?

I´m trying to create a "buffer zone" for every polygon in my shapefile, which will identify a 10 mile radius around the centroid of each polygon, and calculate the AVERAGE "demand for services" (one ...
0
votes
1answer
17 views

gdal_rasterize : getting area not in or touching polygon (options -at and -i)

I would like to capture the area that is not in a polygon (option -i) and that doesn't touch that polygon. gdal_rasterize -at will return the polygon + edges, but gdal_rasterize -at -i will not ...
0
votes
2answers
23 views

How to update postgis layer from shapefile in QGIS?

My usual workflow with updating layer from shapefile was to: Open DB Manager; Load SHP files into QGIS; Open DB Manager; Import file (with drop option). Now my problem is that I have created ...
1
vote
2answers
18 views

Is convention to denote Building Elevation with respect to ground or sea level?

Have a query on shapefile. I have a shapefile containing a number of polygon features representing buildings. I am trying to extract the elevation of the building. I would like to know if the usual ...
0
votes
0answers
11 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 ...
0
votes
1answer
23 views

FME Workbench: Merging Multiple Shapefiles into One Database Table

I'm new to FME Workbench, but have used Quick Translator for a while. What I have is a directory: C:\Mexico\Maps\Rural where I’ve extracted the Shapefiles for multiple states. Nothing else is in that ...
4
votes
1answer
52 views

Allowing user to download shape files via geoserver

We provide layers via shape files and/or PostGIS PostGreSQL Database in geoserver-2.x.x with GCS Geometry. geoserver-2.x.x itself uses this shape files to render maps. The shape files are located on ...
0
votes
0answers
27 views

How to convert Mapinfo “.Map” file (without .TAB) into SHP?

I've got several MapInfo files but i don't have the .TAB. I only have: M044.DAT M044.ID M044.IND M044.MAP I need to convert these files to SHP. I tried to read those files with MapInfo ...
3
votes
1answer
41 views

Statistical Analysis of Shapefile Proximity within Raster Image - ArcMap10.1

I have a raster image that has been reclassified into 15 equally incremented values/levels. This raster represents "sinkhole risk" in a certain county. So level 1 is the lowest risk region and level ...
0
votes
1answer
33 views

Adding custom shapes to a new shapefile

I am using ArcGIS 10.1 and I drew a rectangular shape to designate a junction on a map and i would like to add that to a new shapefile. Could you please give me some ideas.
1
vote
1answer
41 views

how to separate a list of features from its shapefile_

I tried to copy all features in a list of dictionaries. the code looks as follows: def iterate_features(self): feature_set = arcpy.SearchCursor(self.address) for feature in feature_set: ...
0
votes
1answer
53 views

Optimum set up for large data sets such as mobile service coverage maps [closed]

When serving up large data sets such as mobile coverage maps (custom tile) mashed up with MapQuest maps and MapQuest POIs, is there any performance benefit to using shape file VS WMS tile PNGs? Any ...
0
votes
0answers
35 views

Where can i find Shapefiles of city along with the world file (.jgw) and the jpg image?

Are there any links where i can download a shapefile of a certain city along with aerial view jpeg image and the corresponding world file (.jgw) ? I need it to test an algorithm. Thanks,
0
votes
0answers
31 views

How can you calculate the union/merge two polygons in ogr2ogr?

I want to calculate the union/merge two overlapping polygons using ogr2ogr (as I have 300+ to do). I want the output to be the same as you would get if you used the 'Merge shapefiles to one' command ...
1
vote
2answers
66 views

Load .shp file in Hive(Hadoop)

I need to load .shp files in Hive more precisely in HortonWorks sandbox through Beeswax, can anyone provide example of Hive commands or steps for Beeswax ?
0
votes
0answers
21 views

Is there a way to retrieve/query country data from a shapefile programmatically using map coordinates in GeoTools?

I am using Geotools to parse and draw a shapefile. Now; when I draw that map I receive coordinates with this bit of code for my Flight Line button. void selectFeatures(MapMouseEvent ev) { ...
0
votes
0answers
34 views

Radius based search with Leaflet maps

Using leaflet I have created a simple map, played around with markers (adding/removing) and have added some GeoJSON data polygons etc. I now need help with implementing a radius search. For example I ...
0
votes
0answers
17 views

shp2pgql: how to omit the git column?

I am importing a series of shapefiles with shp2pqsql that already have a unique identifier attribute. Since shp2pqsql creates a new column called gid I am ending up with two unique identifiers per ...
0
votes
1answer
59 views

Repairing link between shapefile and layer file?

every time I open the same lyr file I have to do data/repair data source (link to the shp file). I tried to save/export that shp file again, and create the new layer file as well, but every time the ...
2
votes
1answer
105 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 ...
0
votes
0answers
28 views

How to extract, rename, and move files via scripting [migrated]

I am a beginner in Python, so this problem is really daunting. I am using ArcGIS 10.2 with Python 2.7 I have about 3,000 zip files (Winzip) which each contain four shapefiles describing different ...
0
votes
1answer
30 views

Recreation data for Ontario (Canada)?

I am aware that a similar question has been asked HERE but I am looking for comprehensive sources of recreational data (specifically for the province of Ontario, Canada). Land Information Ontario ...
1
vote
1answer
36 views

shape file into DataSet in postGIS using openJUMP, but getting error

I am new to this field and I want to save my shape file into DataSet in postGIS using openJUMP, but I'm getting an error...can anybody tell me solution for this?
0
votes
0answers
12 views

plot shp files like pnm? (Statistical Data Analysis Explained example) [duplicate]

Weird subject? well I'm confused so in advance: sorry for this wavy question: I'm trying to do what the authors of Statistical Data Analysis Explained (ISBN: 978-0-470-98581-6) have done in figure ...
1
vote
1answer
36 views

Simulating historic GPS data on map [duplicate]

I have some really basic newbie questions. I have following data with me: ESRI Shape files (.shp, .shx, .dbf, .prj, .sbn and .sbx) KML/KMZ files GPS coordinates (~400k) of some cars (~50) tracked ...
3
votes
1answer
67 views

Are ESRI Shapefiles and KML files two different ways of representing data?

I have a really basic newbie question. I have following data with me: Esri Shapefiles (.shp, .shx, .dbf, .prj, .sbn and .sbx) KML/KMZ files Are Esri Shapefiles and KML files two different ways of ...
0
votes
1answer
24 views

Updating Shape File Datastores on Geoserver

I am a web developer working with GIS guys who are concurrently working on a vector layer that updates every week or so, however, on our mapping application there are about 30 layers that would need ...
1
vote
2answers
65 views

2 shape files plots together in a GIS, but not in R

I tried plotting these two files and a set of points (dropbox folder) in QGIS and MapInfo. They align pretty good (not perfect though). But in R, only the data from www.naturalearthdata.com can plot ...
0
votes
1answer
29 views

Dynamically cutting shapefiles based on an eliptical or polygonal form

I have been trying to cut a shapefile in small parts in order to reduce the processing of the graph created based on that map. I did find the ogr2ogr clipsrc option however, as far as i know, that one ...
0
votes
0answers
34 views

MapInfo “shape” file vs. naturalearthdata.com shape file

When i load this map shape file (exported from MapInfo as a shape file) shp.WashingtonLand<-readOGR("C:\\...\\Maps","WLmap2_polyline") R replies: OGR data source with driver: ESRI Shapefile ...
0
votes
0answers
19 views

How do I break up a shape file into contiguous area?

I've got a shapefile which is a union of non-contiguous shapes. I'd like to be able to break them up into individual groups. For example, suppose I have a polygon of the entire US, currently only ...