Tagged Questions

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
0answers
46 views

How can I make PROC GMAP (SAS) run is less time?

I am trying to create a map of Australia, by Local Government Area (LGA), with shaded regions displaying the population for each LGA. The shape file can be downloaded from the Australian Bureau of ...
2
votes
1answer
86 views

Why is this .prj file causing the shapefile to render in meters instead degrees?

So I've got a shapefile that has polygons of countries, with coordinates in decimal degrees: Country (String) = Algeria POLYGON ((6.928073999999953 36.88360652, 6.949973999999969 ...
0
votes
1answer
135 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: ...
0
votes
1answer
62 views

Creating a new shapefile based on an existing problematic shapefile

I have a large floodplain shapefile and would like to create a new shapefile based on coverage. I'm having major problems with the original (intersections and other errors) which I've been unable to ...
2
votes
3answers
244 views

How can I work with very large shapefiles (~1 GB) in QGIS?

I'm performing some basic spatial analyses on a large database of traffic injuries in California between 2003 - 2011. Because the dataset is large (nearly 1 GB of points), I'd like to first cut it ...
1
vote
0answers
44 views

from shape files to a database

I've previously converted simple shape files to WKT so that I can store them in RDMS that has spatial capabilities. I'm a new user to QGIS, which I'm using to browse a shape file. But now I have a ...
1
vote
1answer
242 views

Geodjango - trying to get points within a polygon

I'm going through the Geodjango tutorial and trying to implement in my own project - I have loaded data from a shapefile into my model/database and I have a separate model that has a PointField. I am ...
3
votes
1answer
109 views

Join CSV using gdal/ogr

I'm trying to use gdal/ogr to join a shapefile called myshape.shp with a csv called mycsv.csv. The join field in the shape in joinshp and the join field in the csv is joincsv. I've found this command ...
1
vote
1answer
39 views

Importing a Shapefile in SpaceStat with GeoTools [duplicate]

I've just discovered the GeoTools tutorial to generate a Shapefile from a CSV containing a list of cities. I've managed to make it work but when I try to create a new Geography in SpaceStat, importing ...
0
votes
1answer
31 views

GDAL: Update spreadsheet from polygons in a shapefile

I am a beginner with GIS data, and have been looking for an answer but have not yet found it. I have a spreadsheet with lat/long points. I also have a shapefile with several numbered polygons over a ...
0
votes
0answers
54 views

Find a polygon by attribute Google map engine

I created a map via Google map Engine, (not the lite/pro). And then added an uploaded shapefile given to me as a data source. I've successfully published the map and access links are now available, ...
1
vote
2answers
65 views

Reduce shapefile to outline

I have a shapefile consisting of 10 contiguous polygons. I want to reduce this to a single polygon encompassing the entire area of the existing 10. I don't need to retain data. I've googled but ...
1
vote
1answer
66 views

Recovering shape layer which was accidentally overwritten?

I duplicated a layer set, as it was more convenient (same style and attributes). It was working fine and both the original and new layers were showing. Then I open it up another day and the original ...
0
votes
1answer
37 views

Adding a Vertex To Exisiting Feature(linear) Using OGR Python

I am working on a project that involves finding the intersection of linears in a shapefile, if that vertex(the found intersection) doesn't already exist for each(or one) of the features, then that ...
1
vote
1answer
36 views

Setting the Geometry with sql query

I am trying to merge data from a U.S. states shapefile with data on each state. I used this SQL query which is supposed to work: SELECT * FROM child_poverty_by_state UPDATE child_poverty_by_state ...
2
votes
2answers
593 views

How to convert data from a .gdb into a shapefile without ArcMap?

I have a .gdb folder with LOCK Files, FREELIST Files, ATX Files, GDBINDEXES Files, GDBTABLE Files, GDBTABLEX Files and, SPX Files. I want to convert the parcel data within this folder into a ...
1
vote
1answer
124 views

How can I convert WKT to SHP?

Using ArcGIS, ArcInfo and fme, I would like to transform data which contains wkt geometries (points, lines and polygons) into SHP. Has anyone a workflow for doing such a transformation?
2
votes
1answer
89 views

How to convert xml into readable gis format

I have data in xml format which contains a child element "GEOM" which has coordinates in the following format POINT (9.9632253030540205 52.9569277022282421) POLYGON ((9.7423702151211078 ...
0
votes
1answer
81 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
48 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 ...
2
votes
1answer
279 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
3answers
188 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
45 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": ...
3
votes
1answer
173 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
42 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
28 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 ...
2
votes
1answer
173 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
160 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
44 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
55 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
60 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
58 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
2answers
69 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: And one example of ...
0
votes
2answers
94 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
62 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
58 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
73 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
86 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
32 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
69 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
32 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
130 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
150 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
131 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
77 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
63 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
45 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
50 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
71 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
39 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,