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 (2)

1
vote
1answer
112 views

How to display shapefile without map in Android?

I have a shape file which has some building data and I want to display that building structure in android I have checked nutiteq sdk but they are providing shp file on map not only shape file can I ...
3
votes
2answers
1k views

What is the best way to get from wkt to shapefile in Python?

I am querying tables from a SQL-Server database and would like to convert the table into a shapefile. It has wkt geometries and wkb as columns in the table, along with other attributes that need to ...
3
votes
1answer
98 views

How to set decimal precision in shapefile via javacode

we are using the below code : SimpleFeatureTypeBuilder builder = new SimpleFeatureTypeBuilder(); builder.setName("Location"); String wkt = "GEOGCS[" + "\"GCS_WGS_1984\"," + " DATUM[" ...
1
vote
1answer
44 views

Operations between shape layer and csv layer

I've got a question for you! I have a .shp layer containing point geometry with xy coordinates in the attributes (left) and a .csv layer containing a square Origin/Destination matrix(right): I ...
1
vote
2answers
373 views

Worldwide High-Resolution Water Body Shapefiles with Consistent Scale

Where from your website can I access worldwide vector water body shapefiles that have better resolution than the generic SRTM 90m data? Do you have coastlines and inland features (lakes, estuaries, ...
4
votes
3answers
167 views

Can you recycle shp and shx files in shapefile fishnet (vector grid) where only dbf data changes?

I'm periodically getting data from an external partner that is bound to a very large fishnet (vector grid) in shapefile format. The fishnet itself sits at around 400~ megabytes, but the only data that ...
5
votes
4answers
1k views

Now that NationalAtlas.Gov is retired/removed, where is the largest source of public shapefiles for the USA?

I used nationalatlas.gov for many years, downloading various shapefiles regarding water, roads, boundaries, environmental factors, and more. NationalAtlas.gov was a central public site that many GIS ...
3
votes
4answers
2k views

How to create a new Shapefile with the same attributes as an existing one?

It is quite a frequent occurrence that I want the data I'm about to add to a new shapefile, to have all the same attribute fields as one I created in a previous project. For example, I might have ...
3
votes
1answer
1k 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 ...
2
votes
0answers
70 views

Shapefile name specific failure with Append in ArcGIS 10.2

Can anyone tell me why the append (Desktop Management) function is not working on my 64 bit Windows 7 machine with ArcGIS 10.2.2 under the specific conditions described below? All tests on my machine ...
0
votes
1answer
226 views

Error Applying Symbology to Shapefiles

I'm trying to apply symbology to my dataset after it is populated to the map display, but I am getting the following error. Have I placed the ApplySymbologyFromLayer code incorrectly? Traceback ...
1
vote
1answer
258 views

Creating an online form with intergrated google maps

Not sure if anyone can help, but i am looking at creating an online form that includes a map (google or something similar) where the user can draw a poly and when the user hits submit, i get all the ...
3
votes
2answers
341 views

shapefile record has no attribute named bounds

This is the code that I am using to print the bounds of my shapefile. import fiona import shapely import shapely.geometry fc = fiona.open("filename.shp") shapefile_record = fc.next() shape = ...
4
votes
0answers
253 views

How to set Vertical Coordinate system when creating a 3D shapefile?

I'm working with GDAL v1.11 and am seeing the vertical CS stripped when exporting a 3D shapefile (from oracle spatial). This is the command I'm running: ogr2ogr -f "ESRI Shapefile" B_POINT.shp ...
2
votes
1answer
2k views

How can I relocate a georeferenced image, shapefiles and grid using Spatial Adjustment tool?

I somehow georeferenced an image about 120 miles east of where I should have georeferenced it. This should be a simple fix, except that I then proceeded to digitize that extremely detailed image ...
2
votes
1answer
44 views

Clip_Management seems to delete shapefile?

We have some python code that clips a very large shapefile for further processing. We can see the process create all the output files, but then just as the process is finishing, they get deleted. ...
4
votes
2answers
3k 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 ...
15
votes
1answer
6k views

Instantiating spatial polygon without using a shape file in R

So, the usual way we read a shapefile in R is via the maptools package, like this: sfdata <- readShapeSpatial("/path/to/my/shapefile.shp", proj4string=CRS("+proj=longlat")) However, I have a use ...
2
votes
1answer
108 views

How can I properly clip a shape file to get the section I want using QGIS?

I've tried the other "how to clip" instructions here, but consistently get an empty shapefile from the clip. QGIS Version: 2.4.0-Chugiak OS: MacOS 10.10 Input File: San Diego (South Map) 1999 Topo ...
1
vote
2answers
372 views

How can I generate a SVG file of Mexico and USA at states level (Admin1)? Kartograph fails

I am trying to include a US map at the state detail on top of this maps: http://crimeinmexico.org/ I am using Kartograph for the small map. I have installed kartograph in Mac OS X and I am able to ...
5
votes
1answer
928 views

Automating plan report generation using ArcGIS Desktop? [closed]

i have shapefile that contains a lot of parcels "parcel has like fields (n° parcelle,proprietaire, cin) see picture : and i want for all parcels to generate this plan : take a parcel and ...
1
vote
0answers
165 views

Converting *.asc to *.shp without using ArcGIS for Desktop or QGIS?

I am trying to perform file conversion programmatically, using C#. I have read the ESRI Shapefile Technical Description (An ESRI White Paper—July 1998). I cannot calculate records for *.shp file ...
1
vote
1answer
205 views

Best way to show shape file in a layered map

I'm creating my first app using maps and shape files. I have some shapefiles with attached dbase databases and I would like to show these shape files as an overlay on a map. I have JavaScript code ...
3
votes
1answer
488 views

Are polygons stored clockwise or counterclockwise in a shapefile? [duplicate]

I'm working with polygon coordinates in QGIS using PyQGIS using ESRI shapefiles as input data. My question is, are the polygon vertices (I'm referring only to the outer boundary in the case of ...
3
votes
1answer
210 views

Using Geodatabase Annotation in ArcView 3.2?

I've been asked to take a parcel layer (shapefile) that contains house numbers and create an annotation layer so the house numbers are displayed in a separate annotation layer rather than a label to ...
2
votes
1answer
152 views

Clip raster by shapefile in parts

Please help write .sh script command to clip raster by polygonal shapefile. Shapefile have name field with unique name of polygon feature. On the output must be rasters with name of polygons in ...
4
votes
1answer
269 views

Looking for shapefiles for Canadian shale plays with labels and/or meta data about the plays

I work for a company in the oil and gas industry. We are making a geospatial map with mapbox and leaflet. Our task is to show shale plays in relation to other industry items like well sites. We ...
1
vote
1answer
57 views

Unable to add features in QGIS 2.4.0

QGIS beginner problem. I can no longer create features with "Add Feature" in QGIS. The info triangle message is "Transform error caught: forward transform of (0.000000, 0.000000) PROJ.4: ...
3
votes
2answers
99 views

Digital Elevation Model and Shapefile not aligned in openWind

I have a digital elevation model and a shapefile containing point features for the location of wind turbines. These two layers appear to be aligned in QGIS but when I open them in openWind, they are ...
2
votes
0answers
44 views

OpenLayers preview problem?

I just want display shapefile (.shp) that I have made in QGIS in openlayer geoserver. but There is a strange object that appears. I want to ask how to get rid of the strange object.
2
votes
0answers
27 views

Path on network returning wrong results

I have created a shapefile of polylines that represent a path with multiple intersections. Then I have used the networkx python library to create a network. At the first the results were satisfactory. ...
2
votes
1answer
299 views

Plotting Postal Codes from .csv Files in QGIS

I have Canadian postal code data that I would like to plot. This data is currently stored in a simple .csv file. At the moment the only other data I have is FSA data from Statistics Canada. Is ...
2
votes
1answer
130 views

Opening shape file in OpenWind

In QGIS I have used the OpenLayers plugin to locate a wind farm. I have then used the add feature function to place a point at the base of 7 turbines. I have saved the shape file as an ESRI Shapefile. ...
2
votes
0answers
199 views

Kartograph - AttributeError: _Shape instance has no attribute 'parts'

I am new to GIS and open source tools so bear with me. I am attempting to convert a shapefile to svg by running kartograph as a python module. My source file (provided by the local GIS ...
4
votes
1answer
32 views

raster statistics by line shape (vector)

I have a georeferenced area where I created 7 raster maps (classified with suitability values from 1 to 5) as I have 7 factors to check e.g. natural reserves, floods, slopes etc. From there I did a ...
2
votes
0answers
102 views

Place an image svg into an R plot [duplicate]

I have a set SVG icons (weather icons ) and I want to create a figure with svg superimposed images representation of a Shapefile. below my shapefiles and points representing the position where I ...
3
votes
3answers
928 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 ...
4
votes
2answers
250 views

Is there a command line tool for converting projection in .prj and GeoTiff to EPSG codes?

Is there a command line tool to convert a shapefile projection in the .prj file into corresponding EPSG code? I know that there is website http://prj2epsg.org/search for doing this online, but I ...
0
votes
2answers
158 views

Unable to plot values for individual fields in my table using ArcGIS for Desktop?

I'm having problems adding tabular data to an ArcGIS project and need some help! Example of my table is below (please note that the fields have been edited since the capture was taken to remove any ...
2
votes
4answers
1k views

Shapefiles of Central America and Mexico coastlines?

Does anybody know/has a shapefile of Central America + Mexico (WSG84) (with no administrative boundaries) at a low resolution that could share with me? I'm looking for a very simple shapefile without ...
2
votes
1answer
113 views

Uploading large files to ArcOnline

I am trying to upload a large shapefile to ArcOnline, however I found out ArcOnline won't upload any shapefile that has more than 1000 features. My 30 shapefiles have over 1,000,000 features each. ...
3
votes
2answers
2k views

Reprojection of shapefile in R and final extraction of values

I need to extract values from some raster files (stack) using a shape file. to bring both of them in the same CRS, I first transformed the shapefile using the EPSG codes. Opening it in an GIS software ...
2
votes
1answer
373 views

How to create a shapefile or gml from a Oracle database using SDE.ST_Geometry?

I have a ORACLE database 10g(Oracle Database 10g Enterprise Edition Release 10.2.0.3.0) with a SDE.ST_Geometry field and i want to make a program in python so i can create several shapefiles based on ...
3
votes
1answer
828 views

Converting QGIS Labels to a Polygon Shapefile

I am trying to create an annotation feature from labels and then export this out as a polygon shapefile (the resulting shapefile can then be loaded into ArcGIS online to basically have labels without ...
2
votes
1answer
8k views

Error: cannot acquire a lock when editing in ArcMap 10.1

We have a problem with a shapefile feature class. Periodically it will not save edits with an error message as the following: Cannot save edits; cannot acquire a lock Working in 10.1 with a ...
5
votes
3answers
1k views

Adding a GIS feature to existing database entry with QGIS

I've built a database with postgreSQL with tables, which include geometry columns. When I add some data to my non-geometry columns, I can see them in QGIS when I connect to my database using postgis. ...
2
votes
0answers
581 views

How To Bulk Export Shapefiles Into Microsoft SQL Server using QGIS or PostGIS

Hey all thanks so much in advance for your help I have been researching this issue for a while. I have found two popularly suggested ways to preform this task: ogr2ogr - just take a shapefile and use ...
2
votes
1answer
2k views

Getting “Points of LinearRing do not form a closed linestring”

I downloaded the data provided here as KML, exported to ESRI Shapefile format, checked it on QGIS and everything looked fine. Upon trying to use the layermapping utility of Geodjango I am getting ...
0
votes
1answer
2k views

Opening shapefiles with geotools

Trying to make a simple class that will read shapefiles and eventually be able to pull out the coordinates/attributes for each feature (working with points here). But can't quite figure out geotools. ...
0
votes
1answer
439 views

Where to download shapefiles of interest for Honduras

Where can I download free Shapefile data for Honduras including: roads departments municipalities points of interest