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
386 views

how to get ascii grid from corine land use data?

I'm trying to get ascii grid with land use data (by one parameter - CODE_00). Afterwards I will import it into simulation tool. But I cannot figure out how to convert ascii grid from shapefile. ...
1
vote
1answer
41 views

Iterate through a shapefile

How do i iterate through a shapefile using shapely. This is my code but it keeps outputting the same id. I think that it keeps looking at the same record. fc = fiona.open("file1.shp") print fc.schema ...
1
vote
0answers
26 views

Convert CSPro .map to ArcGIS shape file?

I have census data that uses the widely-established CSPro software. It also comes with a Map viewer and the data files are .map and .mdf extensions. Does anyone know how to convert these into an ...
2
votes
1answer
88 views

Calculating area of polygon inside region?

I am new to geographic information systems and i need to calculate the area of a a polygon ( a circle to be precise) that falls inside the boundaries of a region, say a state or a country. For ...
1
vote
0answers
42 views

Assign a IGeometry to Feature.Shape

I'm trying insert a feature into a FeatureClass, but when I try to assign the geometry to featurebuffer the app return the next Error: The remote procedure call failed. (Exception from HRESULT: ...
1
vote
1answer
36 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
88 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
42 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
34 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 ...
0
votes
0answers
17 views

Is it posible to export an attribute to a separate shapefile? [duplicate]

Is it possible to export an attribute to a shapefile? I have generated several polygons with the ‘Strip Map Index Features’ tool. Unfortunately I have to export every polygon manually to a separate ...
1
vote
2answers
48 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
141 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 ...
4
votes
4answers
620 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
482 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 ...
2
votes
1answer
218 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
43 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 ...
1
vote
2answers
106 views

How to draw polygons in shapefiles

I've hit a snag and realize this is probably a very simple and basic question, but how do I draw a polygon in a shapefile that I've created from joined points of 2 .csv files? Which specific tool do I ...
21
votes
2answers
25k views

How to calculate polygon areas in QGIS?

Hi I would like to simply calculate areas of a area-shape file in square meters or in acres (ha). I didn't find that functionality in the vector tools. Could anyone here help me with that?
0
votes
1answer
39 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
31 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
59 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 = ...
3
votes
0answers
48 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
0answers
63 views

How complete are the Fusion tools in QGIS?

How complete are the Fusion tools in QGIS? I have them installed and (vaguely) working, but there are only about ten of them. Is the idea of having just a few tools available, that one can use ...
2
votes
1answer
857 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
37 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. ...
2
votes
2answers
200 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 ...
11
votes
1answer
3k 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
42 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
1answer
58 views

ArcGIS Javascript API: Adding a shapefile with more than 1000 points

I am able to add shapefiles with less than 1000 points by using the ArcGIS Portal REST API as shown in this example: https://developers.arcgis.com/javascript/jssamples/portal_addshapefile.html ...
0
votes
0answers
15 views

pgsql2shp converting nulls to spaces

Why does PGSQL2SHP convert null values to spaces when exporting a table? I would have expected empty strings in the shapefile (dbf).
1
vote
0answers
25 views

How to use GIS data with CGAL?

I read a few posts here at GIS.SE that points to useful algorithms in CGAL. I'd like to test algorithms in CGAL such as medial axis transformation/polygon skeleton extraction, but the examples on the ...
1
vote
2answers
48 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
518 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 ...
0
votes
0answers
48 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 ...
2
votes
1answer
71 views

pgsql2shp ERROR: incompatible mixed geometry types in table

I have multi-linestring in .shp files and I split the lines with postgis, but that result is only geom column. It does not works with shape file exporter error: incompatible mixed geometry types ...
0
votes
0answers
19 views

How to get attribute details from shapefile in ms4w?

server through my initial search I do some basic coding. Now my problem is how to show the attribute details from shapefile. I can able to get map but I am not able to get names. below is my code: ...
1
vote
1answer
55 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 ...
1
vote
1answer
70 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 ...
2
votes
5answers
252 views

Unable to export data to ShapeFile in ArcGIS

I've imported an Excel sheet into my ArcGIS project but am unable to convert this to a ShapeFile. When I try, via export data, I get an error message saying either 'output name is not valid', whatever ...
3
votes
1answer
185 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 ...
3
votes
0answers
67 views

Issue with dissolving a polygons layer in QGIS 2.4

I downloaded a dataset of roads and parks from OSM. I then buffered the roads and merged with the parks. Now - all i want is to dissolve / union all the features in the merged layer. I fail to do it ...
2
votes
4answers
693 views

Shapefile for India which includes Telangana (state)?

I need a shapefile for India which is up-to-date to display the regional borders. By up-to-date, I mean that it includes Telangana as a state. Many shapefiles that I downloaded do not have Telangana ...
2
votes
1answer
72 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 ...
2
votes
4answers
222 views

Polygon Shape Data for North America

Does anyone know where I can get data like this for north America (for use in SSRS). It does not have to be exploded. If I add Bing maps my 36 page PDF is 250MB when exported!
3
votes
1answer
52 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 ...
2
votes
0answers
39 views

does the census bureau provide clipped / water-bounded files as nice as certain cities?

this question says they do but when i compare what i can find in the cartographic boundary files section of the census bureau's gis page, they don't look as good as certain shapefiles provided by the ...
1
vote
3answers
5k views

Merging Two or More Layers using ArcGIS for Desktop?

I am working with three clipped layers that are shown in the TOC. I created these layers from a large watershed shape-file. However, each clipped layer includes the layer before it and only expands on ...
1
vote
0answers
62 views

How to clear areas outside map in R

I succeeded thanks to the eblonde in the disscution (problem with polygon smoothing in R) to smoothing polygons in R. Code: inter1= read.table("c:/inter2.csv", header=TRUE) #add a category ...
1
vote
1answer
33 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
46 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 ...