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)

0
votes
0answers
26 views

“Phantom” features showing up in QGIS 2.4

I tried searching for this, but am unsure exactly what my problem is. I am using QGIS 2.4 on Windows 8.1. I have a project in which I have been digitizing from OpenMaps. Last night I was doing some ...
3
votes
2answers
36 views

How can I export data containing umlauts from PostGIS to shapefile, without losing the umlauts?

I am exporting my Finnish (Finland) data from PostGIS to esri shapefile. I am using the PostGIS Shapefile Import/Export Manager and I don't see any way to specify the encoding of the shapefile's ...
3
votes
1answer
53 views

Shapefiles - Polygon type - is it in fact multipolygon?

I'm wondering about the ESRI shape file with shape type 5. When reading the spec I see that "A polygon may contain multiple outer rings.". Does this mean that these outer rings must be combined to ...
1
vote
1answer
63 views

how to allow null values in a feature-layer

I'm using ArcDesktop 10.2. I have 30 x,y locations that have 20 fields of numeric data, stored in an Excel spreadsheet. Some cells have no data, and I want those cells to be represented as null values ...
1
vote
0answers
21 views

How i can have the same xMin,yMin for vector files in Qgis 2.4

i have a .shp file(polygon) in EPSG:2100 - GGRS87 / Greek Grid and an other .shp(points) in the same system(EPSG:2100 - GGRS87 ) but different xMin,yMin. The first has xMin,yMin 583309.00,4152885.94 ...
0
votes
1answer
44 views

How to link a shapefile with points to a shapefile with lines?

I have a shapefile with points (nodes) and a shapefile with lines (pipeline) which I have extracted from a water distribution network. I have been able to transform the points into the right ...
0
votes
1answer
32 views

How to save time without date in shapefile's DATE filed using ArcGIS 10.2?

I am trying to save a time in a shapefile's DATE field (without a date, because shapefile can only store something one simultaneously - date or time). I use field calculator with PYTHON parser. I am ...
0
votes
1answer
21 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
25 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 ...
1
vote
0answers
33 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
vote
1answer
48 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
21 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
57 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
0answers
40 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
14 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.
0
votes
1answer
45 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
1answer
56 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 ...
0
votes
1answer
21 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
51 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 ...
2
votes
1answer
44 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 ...
4
votes
1answer
53 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
38 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 ...
0
votes
0answers
42 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 ...
0
votes
1answer
34 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
0answers
106 views

Geotools shapefile and geotiff displaying problem in JMapPane

I'm trying to get a JMapPane to show up in a JPanel, but without success. Below is the JPanel instance containing the map. I am importing a geotiff and a shapefile layered in that order. Not only does ...
-1
votes
2answers
56 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 ...
1
vote
1answer
54 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 ...
1
vote
1answer
32 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
40 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
2answers
38 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 ...
3
votes
0answers
22 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
47 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. ...
3
votes
1answer
42 views

PyQGIS: Speed up for adding features and attribute arrays?

Context: I'm writing a dynamic import tool for QGIS (2.2 to 2.5) with python. Datatype: Binary Datasets with environmental simulations from HPC which might contain millions of features and terabytes ...
0
votes
2answers
44 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 ...
1
vote
1answer
35 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
28 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 ...
0
votes
1answer
35 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
20 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
67 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
36 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
24 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 ...
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 ...
3
votes
1answer
34 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[" ...
3
votes
2answers
74 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 ...
1
vote
2answers
37 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
4answers
595 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
363 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 ...
1
vote
2answers
98 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 ...
1
vote
1answer
99 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. ...