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)

4
votes
2answers
2k views

How can I export data from a feature layer in ArcGis Server?

I'm using a public ArcGis server with some data I would like to export to shape or some other format. I know I can make a program (I'm a developer) that could query the server for all the features on ...
0
votes
1answer
23 views

Slow in zoom, pan

I am working on GIS tool but it is very slow when try to zoom, pan or open attributes. can any one suggest is there any way to make it fast?
1
vote
1answer
38 views

Public GIS data for lots within sections of township and range for NM, USA

Anyone know where to find a publicly available shapefile/fc of lot divisions within sections for township and range of New Mexico? I've been to several government websites that offer this type of ...
2
votes
0answers
43 views

How to create dynamic maps based on updated attributes in SHP file

I am novice GIS'er. I can create maps and do basic transformation of the SHP file using QGIS. I also succesfully applied formatting based on attributes. I am able to add new attributes to SHP file in ...
-1
votes
1answer
72 views

How to create a Network Topology in a shapefile that contains only nodes(geometry points)?

I want to use pgrouting with the shapefile but when I use : alter table network.publictransport add column source integer; alter table network.publictransport add column target integer; select ...
1
vote
1answer
53 views

Why does ArcGIS Online project my files right where they should be but, ArcGIS for desktop does not

When loading shapefiles into Arc Map 10.2.2 I get the message saying "unknown spatial reference", then my files are not projected where they should be and are usually too small to see regardless how ...
1
vote
0answers
22 views

Region partitions (shapefiles) comparison in ArcMap 10

I have 2 shapefiles, in each file the region is divided into zones. Each zone from 1st ("large") file is "almost" a union of a few zones from 2nd ("small") file. Specifically, for each union in ...
-1
votes
0answers
8 views

How to make my drop down box can zoom to area that selected? [duplicate]

Why my drop down box didn't work? Ext.BLANK_IMAGE_URL = 'mfbase/ext/resources/images/default/s.gif'; Ext.namespace('toolbarExample'); toolbarExample.app = function() { var map, ...
0
votes
1answer
55 views

How to set feature coordinates to values in attribute table?

I have some shapefiles that were produced programatically, and everything came out okay EXCEPT that the geometry information was not written correctly. The coordinates for each feature are null. ...
2
votes
2answers
161 views

Where to find Vietnam administrative level 4 shape file?

I am new to mapping, and would like to make a custom map using Vietnam's administrative boundaries shape file. I found a great source at gadm.org, but it is licensed for non-commercial use only. I ...
2
votes
0answers
46 views

SHP, SHX and DBF files became empty (zero byte) overnight on QGIS

This literally happened overnight. I was working on a shapefile in QGIS 2.4 last night but my files (SHP, SHX and DBF) all become zero byte this morning. Has this happened to anyone before? How ...
-1
votes
0answers
17 views

Extracting nodes and links from shapefile in ArcGIS?

Can anyone please tell me how to extract the node data and link data separately from a shapefile using ArcGIS or any other software. And also suggest me if anyone has an idea of any code for this.
2
votes
1answer
61 views

Is it possible to render a large number of shapefiles to a pdf document using Python?

I'm extremely new to GIS, and recently made a map by loading a bunch of shapefiles into QGIS using a python script. However, it took 15 mins to scroll in or out on the image, and the pdf export ...
2
votes
1answer
60 views

Where can I find a shapefile of hexagons that covers the world?

I'd like a persistent .shp that covers the world in hexagons (preferably of a decently small area)–does anybody know where I could find something like this, or perhaps what software I could use to ...
1
vote
1answer
44 views

Geotools create/save shapefile has no geometry information

When I create and save a shapefile in GeoTools, then open it in ArcGIS or QGIS, it doesn't show up on the map, even though the features are there in the attribute table (and all attributes I added ...
2
votes
1answer
336 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 ...
5
votes
1answer
456 views

Ogr2Ogr exported this boundary 90 degrees incorrectly

I've got some GEOGRAPHY data in my Sql Server 2008. I wish to export it as a shapefile (so I can import it into QGIS) and when I do, it's rotated 90 degrees to the left and then flipped 180 degrees to ...
2
votes
1answer
51 views

Convert Layer to Shapefile without losing Feature definitions

I have created a worldmap with custom defined Features, representing State/Zip-Code sales areas. I want to convert them into a Shapefile, so I can convert the Shapefile into a polygon definition file ...
6
votes
3answers
794 views

Using Google Earth Enterprise & ArcGIS platform together?

I have been fielded a few questions about Google Earth Enterprise (GEE) -which I don't know anything about, I'm having a time finding answers to the two following questions, which can probably be ...
0
votes
0answers
47 views

Fiona write crashes

I am trying to write a new shapefile with fiona but after creating the features, i keep getting this output after the program crashes: The program '[6668] python.exe' has exited with code -1073741819 ...
4
votes
1answer
55 views

What versions of Dbase does shapefiles support and where can I find a specification of these formats?

I have been looking around like crazy, not finding any specification which versions of DBase shapefiles support (ESRI shapefiles). I found that GeoTools uses DBase III only, and Wikipedia says DBase ...
1
vote
1answer
39 views

Geoserver strange inverse polygon rendering

I found strange behaviour of rendering one particular polygon on Geoserver. Red polygon in the link. If you compare SHP data from ZIP file in some desktop software like QGIS and rendering from ...
1
vote
1answer
36 views

Change the data type of a field in multiple shapefiles

Is there a way I can change the data type of a field (possibly using the python window). I have about 25 shapefiles which are all named differently, but the name of the fields I want to change from ...
3
votes
2answers
40 views

Running Point To Raster has output coordinate system different from input?

I need to transform a DEM from a Point-Feature-Class (Shape) to raster (GRID). For that I'm using the tool 'point to raster' and it works perfectly. The only problem is that it seems to change the ...
0
votes
1answer
47 views

Get shape file polygon attribute value at a specific point using Python (e.g. via PyShp)

I have a shape file comprising multiple polygons. These polygons have attributes. I am trying to write a script in Python that takes a co-ordinate point, determines in which polygon it falls, and ...
0
votes
2answers
100 views

Convert shapely polygon coordinates

I am trying to work with a shapefile using shapely, fiona and python. The original coordinate system is in latitude and longitude that I am trying to convert to state plane system. So I want an ...
2
votes
2answers
150 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 ...
1
vote
1answer
73 views

Creating new shapefile after merge operation using unionSpatialPolygons

I only recently started playing with shapefiles and R packages for manipulating them. I am looking at creating a new shapefile based on merged polyons by following this example, however, I cannot seem ...
2
votes
2answers
377 views

Are British National Grid (BNG) 1km grid shapefiles displayed accurately in ArcMap?

I have downloaded the UK Ordinance Survey's 1km grids in shapefile format for ArcMap. If you need to download them to have a look first you can find them here look for link in the first Answer to the ...
12
votes
2answers
11k views

Adding shapefile as layer in ArcGIS Desktop using Python/ArcPy?

I am trying to automate various tasks in ArcGIS Desktop (using ArcMap generally) with Python, and I keep needing a way to add a shape file to the current map. (And then do stuff to it, but that's ...
1
vote
1answer
41 views

GeoJson based on shapefile : large coordinates

I'm quite new to GeoJson (for use with d3), and in need of some help. When I convert my available shapefile (.shp) with ogr2ogr to a GeoJson-file, the resulting coordinates are very big numbers (in ...
1
vote
3answers
44 views

Lossless conversion from shapefiles to XML/JSON/Text

I'm a software developer and I need to create a custom tool that imports ESRI shapefiles (shp + shx + dbf), manipulates the content and then exports new shapefiles. To avoid a complex binary reading ...
3
votes
0answers
28 views

What is the area that OGR extracts from the (geometry) shp files for polygons?

The ESRI July 1998 technical documentation for polygon shapefiles at page 10 makes no mention of either area measures or length measures (apart from byte/record-layout matters). Yet OGR enables me to ...
3
votes
0answers
49 views

Algorithm to find the boundary grid points [duplicate]

Let us consider a set S consisting of a collection of grid locations (i,j),i,j=1,\ldots,n, in 2-dimensional gridded plane. Here the point (i,j) corresponds to a rectangular grid in the X-Y plane. ...
2
votes
1answer
525 views

Parameter values to create a vector grid with 1km x 1km cells?

I created a shapefile from WKT in QGIS using the values from this link. I want to create a vector grid with 1kmx1km cells but I can't figure out what values need to be set for the X and Y parameters. ...
0
votes
1answer
134 views

Why do I get an error when I try and clip a shapefile to a shapefile using ogr2ogr?

I want to clip a shapefile to a shapefile. The input shapefile is a 1 m vector grid generated in QGIS. The tile I'm clipping to is just a simple polygon (the geometry is contained within the 1 m ...
0
votes
3answers
1k views

How to convert contours and raster surface from Petrel to shapefiles and rasters that can display in ArcGIS?

We have Petrel which is used to produce a surface of a geological horizon below the earth's surface. In Petrel we have contours (vectors) and a raster image of the same area, also visualising ...
2
votes
1answer
87 views

Writing shapefile metadata with geotools

Using GeoTools, I'm able to write features to a shapefile by essentially passing a SimpleFeatureCollection to a ShapefileDataStore. The feature collection provides both a schema and features including ...
0
votes
2answers
48 views

Given a shape file, how can I return the polygon containing a lat/lon location?

I have a shapefile generated by the ESRI product suite. I do not have any ESRI products and my budget does not support their purchase. Aside from fiscal issues, there may be technical limitations with ...
37
votes
21answers
44k views

Are there any free administrative boundaries available as shapefiles?

After learning about the US Census's TIGERLines datasets I'm addicted to GIS :) I've working with the following layers, from the USA data Country boundaries State boundaries County boundaries City ...
1
vote
1answer
39 views

Exporting selected records from a shapefile

I have a shapefile consisting of insurance data and point features. I select the features I want, and then I try to go to Data - Export, and a new .shp file. The process seems to run, but the output ...
0
votes
0answers
49 views

Google Tracks convert kml to shape and preserve attributes

I've been attempting to convert a Google Tracks kmz file to an ESRI shapefile using the GDAL and libkml(http://www.gdal.org/drv_libkml.html) which I built on my Ubuntu 14.04 (64-bit) system. The kml ...
1
vote
1answer
150 views

Calculating distance between latitude and longitude by using python

I have a database of 2000 points, which is in csv format of latitude and longitude. I want to find distance between these points all at once. And also showing these points in Map by using only pyQGIS. ...
5
votes
3answers
459 views

Can we merge shapefiles with different geometries (point and polygon) to get a single layer which shows both geometries?

I want to merge two shape files in which one is of point geometry type and other is polygon type in order to get a single layer containing both points and polygon in a single map.
1
vote
2answers
1k views

QGIS conversion of Microstation .DGN to .SHP?

I'm attempting to convert a .dgn file to .shp using QGIS. I'm reading that support is only provided for v7 microstation files, is this still the case? I've been using ogr2ogr -f "ESRI Shapefile" ...
1
vote
0answers
385 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
40 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
23 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
87 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
41 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: ...