Questions tagged [shapefile]

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.

584 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
480 views

Wrap the set of points to the minimum polygon

Given I have a set of points which represents the circles which are intersected. As result I'm trying to receive the boundary which represent the polygon which wraps all circles. Please take a look ...
2
votes
0answers
39 views

Basic statistics function on certain attributes stops at 6% on certain layer in QGIS?

I am trying to use the basic statistics function in QGIS on an attribute in a vector shapefile but it reaches 6% and then gets stuck and does not load anymore. It works fine on other layers/other ...
2
votes
0answers
290 views

Filtering Small Areas of Shapefiles Using R

I'm trying to use the method proposed by the @ialm in the Question "How to speed up the plotting of polygons in R?" There, he loads the maps using getData from the raster package, I tested and it ...
2
votes
0answers
46 views

Programatically populate field_4 after choosing values from other fields?

I'm working with QGis 2.8, editing the attribute table of a SHP file, named "myTable". I need to populate field_4 with the conditions listed below: For 1 to n (it runs across records of myTable) ...
2
votes
0answers
128 views

Load shapefiles stored in web page in QGIS?

I prepared a map with QGIS and published it via QGIS cloud free. Some layers are quite big, and the cloud size 50MB limit has been reached. If the layer sources could be stored in my web page --- ...
2
votes
0answers
1k views

Change default “save as” folder QGIS

I would like to change the default path for saving layers ("save as" in the main layers panel). Now the default is C:\Program Files\QGIS Lyon\bin (in which I even don't have the rights to save ...
2
votes
0answers
455 views

Ogr2ogr: Shape to MySQL. Delete (or ignore) “geometry_columns” and “spatial_ref_sys”

I'm exporting a shapefile to my MySQL database. But as standard it also add the additional metadata tables: "geometry_columns" and "spatial_ref_sys" Is there a way to either delete these tables or ...
2
votes
0answers
346 views

How to remove projection in terminal from .shp file with valid .prj available

I have .prj, .shp, .sbn, .sbx, .shx, .dbf files where the content of the .prj file is the following: PROJCS["S-JTSK_Krovak_East_North",GEOGCS["GCS_S_JTSK",DATUM["D_S_JTSK",SPHEROID["Bessel_1841",...
2
votes
1answer
1k views

Converting XML to polyline shapefile?

I want to convert this XML file to a polyline shapefile. <?xml version="1.0" encoding="utf-8" standalone="yes"?> <ci nc="BMSKDMA10" nl="BMskDMA10" mt="6" ct="DM" dtt="17342" dtu="15/01/2016 ...
2
votes
0answers
50 views

Shapes & categories

I am very new to this so please only smile if a dumb question. I have divided the oceans into 31 regions. Each region has various sub regions, example I have region 08; of which it is further broken ...
2
votes
0answers
413 views

Using a file .shp with ESRI Geo Tools for Hadoop

I've a file .shp that I would like to load into a TABLE using HIVE with ESRI Geo Tool for Hadoop. These tools read JSON files and I've tried to convert my file into a .json format using GDAL Library ...
2
votes
0answers
402 views

converting shp to fileGDB with ogr2ogr changes geometry type?

I'm converting a shapefile to file geodatabase with GDAL 1.11.3 and the ESRI FileGDB driver. ogrinfo on the .shp gives: $ ogrinfo NED1_Index.shp INFO: Open of `NED1_Index.shp' using driver `ESRI ...
2
votes
0answers
839 views

Importing shapefile problem, unknown geometry type in QGIS

I have used ArcGIS extensively, but am at a new job with only access to QGIS. I am trying to import a few shapefiles and am having some problems. First, I opened the shapefiles in esris free browser, ...
2
votes
0answers
1k views

NetCDF to Shapefile with Python and GDAL?

I need to save my outputs, which are netcdf files or panda python tables, to shapefiles. They cannot be rasters because the software I am loading them into accepts shapefiles only. I have googled ...
2
votes
1answer
534 views

Searching for UN regions/sub-regions shapefile

for a visualisation project I need the boundaries of the UN regions as defined here : http://unstats.un.org/unsd/methods/m49/m49regin.htm That's 21 polygons for the sub-regions. I have been looking ...
2
votes
0answers
149 views

UK Postcode and London destination

New to this site... I'm working with Postcode regions in the UK and was wondering if anyone know if there is a dataset which give you postcode region and the most likely station destination within ...
2
votes
1answer
111 views

Pre-1998 Indonesia Kabupaten (Level 2) Shapefile

I am trying to find some "old" (pre-1998) Indonesia boundary files at the Kabupaten and province levels. It is important that they are pre-1998, or at least dating before the peak of the secession of ...
2
votes
0answers
959 views

Has anyone implemented the leaflet.shapefile plugin?

I'm trying to implement the leaflet.shapefile plugin to enable a user to upload a zipped shapefile and overlay it on my webmapping site as can be done in the demo version of the site. http://leaflet....
2
votes
0answers
282 views

DLLs or examples to support writing a shp, shx, dbf file as memory stream for uses on Azure website?

I'm trying to read/write shapefiles for a web service for an azure website and I do not have the luxury of accessing the local file storage (which means that reading/writing from/to disk is out of the ...
2
votes
0answers
2k views

GeoPandas save to shapefile issue: Unable to open EPSG support file

When I try to use to_file() to write a GeoPandas GeoDataFrame to a shapefile I get the following error. df3.to_file('~/Desktop/testout.shp', driver = 'ESRI Shapefile'); ERROR:Fiona:OGR Error 4: ...
2
votes
0answers
212 views

WFS-T with Geoserver and a Shapefile

I have read that Geoserver fully supports WFS-Transactions. But for example here somebody also mentioned that shapefile-datastores would not be the best choice for using Transactions in Geoserver, and ...
2
votes
0answers
171 views

Merge Spatial polygons from shapefiles

I have downloaded the shapefiles from the following website: http://download.geofabrik.de/europe/france.html Each zip contains a "landuse" shapefile and I want to merge all of them in one single ...
2
votes
0answers
764 views

Using a ShapeFile spatial index with ogr2ogr and ogr.DataSource.ExecuteSQL()

I created a spatial index foo.qix for a foo.shp with ogrinfo -sql "CREATE SPATIAL INDEX ON foo" foo.shp However, when I do a query with ogr2ogr and look at it in strace, it doesn't use that index: ...
2
votes
0answers
101 views

What is the most suitable way to get the boundary of a state or a country or the whole world dynamically?

I am working on a project where I have to create filled map charts based on the data client has provided. The data has latitude and longitude information. Based on the selected level (city or state or ...
2
votes
0answers
2k views

Export to shapefile error in QGIS from POSTGIS table

I am attempting to export a postGIS layer to a shapefile in QGIS 2.6.1 Brighton. The table has 244,674 rows. The data displays perfectly well in QGIS but when I attempt to export to shapefile I get ...
2
votes
0answers
699 views

MS Access to Google Earth Pro

I am embarking on a new project and hoping for some pointers. I am reasonably tech savvy but definitely in the "advanced beginner" category for coding... but keen to test myself. I am trying to find ...
2
votes
0answers
241 views

Geotagging photos with Point Shape via Time Stamp

I have waypoints which I marked with a GPS device - unfortunately no track/route. And I have photos which I took at the same day. Now I want to interpolate the points to line and use this line to ...
2
votes
0answers
303 views

Reconstituting features from E00 format, without ArcGIS

Recently I used OGR to convert an ESRI E00 format file to shapefiles. I am dealing with vector data, many polygon features per file. I was dismayed to find that none of the resulting shapefiles(you ...
2
votes
0answers
373 views

MapInfo : Can not load table

I've generated a shapefile using .NET DotSpatial library, when I try to open the file in MapInfo I face below error, "Cannot open table. unable to open table road." How do I determine what's the ...
2
votes
0answers
105 views

Divided road segments from XTools Pro need unique, informative IDs

I can divide segments with my road using XTools Pro, but I want to give a useful identifying number to each segment. For example: If D100 road has been divided into 20 segments, the segments must ...
2
votes
0answers
155 views

Converting pre-ADF coverages to current shapefiles?

I have a set of old coverage files, published at 1995-1996 in a CDROM by an official mapping authority. They were, therefore, made with ArcView 1.x and don't have the ".adf" extension. The files that ...
2
votes
1answer
1k 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 ...
2
votes
0answers
102 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 ...
2
votes
0answers
314 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 ...
2
votes
0answers
39 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
0answers
609 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 ...
2
votes
0answers
410 views

Exporting feature class from Geodatabase to shapefile, shortens/abbreviates field values in resultant file?

I'm exporting feature class (File Geodatabase) to shapefile, after exporting the field values in resultant shapefile is shortening, like if a field value is Andhra Pradesh then in Feature class ...
2
votes
0answers
446 views

Neighborhood boundaries and building footprints for Johannesburg?

Are there any sources for free (or commercial) and distributable neighborhood and building footprint datasets for Johannesburg out there? I've already looked on: Google OpenStreetMap joburg.org.za ...
2
votes
0answers
396 views

Ecoregions shapefiles: subsetting, extracting and summarizing data from raster

I am attempting to subset and project an ecoregions shapefile from : EPA ECOREGIONS my data set is found here: SHAPEFILES and RASTER When I run this code, two major problems occur: 1) I cannot get the ...
2
votes
0answers
458 views

Global height data as polygons — Natural Earth doesn't have it?

I love the bathymetry data from Natural Earth. I've been looking for the last few days for the same basic data but for land. I'm trying to find general elevation shapefiles, as polygons. I don't need ...
2
votes
0answers
791 views

Shapefile From Excel Sheet Crash When Selected Spatialy or By Attributes

Using ArcGIS 10.2, I am receiving an Excel sheet, on a daily basis, which contains 105 columns(Fields) and includes has X and Y values. For whatever reason (which I cannot understand) all data types ...
2
votes
0answers
107 views

ArcGIS - Table columns lose formatting when I make a new copy of shapefile (Decimals, Thousands separator, Highlighting)

When I make a copy of a shapefile or I join two shapefiles and then create a subsequent shapefile, my number type columns (in the attribute table) will default back to numbers with many decimals and ...
2
votes
0answers
214 views

Is there a way to build topology and work with topology relations in PyQGIS?

Is there a way to build topology and work with topology relations in PyQGIS? I'm asking because I need to run some custom generalization algorithms on my data, and I need to preserve topology. ...
2
votes
0answers
2k views

Coverting annotation into a shapefile

I have created an annotation feature class in Arc10 and when viewed within the database, looks great. However, whenever I go into catalog and export the annotation feature class to a shapefile, it ...
2
votes
0answers
333 views

How can I retrieve/query data from shapefile for forms/grid in website?

I've made a site using OpenLayers and GeoServer. Currently I'm serving WMS layers from GeoServer (shapefiles). I want to add in my site a search form that the user can search for data (which I have in ...
2
votes
0answers
159 views

Applying depth to Shapefile

Apologies if this question has been answered before. I'm digitizing a historic coastline and would like to add a single depth figure to it in order to merge it with a current contour model. Is there ...
2
votes
0answers
170 views

How to cut lines in a shapefile following a GPX-source?

I have a OSM-Shapefile containing all roads of a given area. I need an overlay cut out of this source-Shapefile that contains only some routes that I want to highlight on my map. I have some GPX-...
2
votes
0answers
342 views

How can I merge postcode sector polygons into larger territories in QGIS?

I'm new to GIS so patience might be required :-) I'm building a basic web-based mapping tool for business use, to be used as a demo to show that we need one but managers don't know it yet! So far I'...
2
votes
0answers
293 views

KML files to IPad securely? Altitude and shape problems in Google Earth

Does anyone know any options for maintaining privacy of the files and getting them onto iPad using Google Earth? Using Google account to link to Google Earth, privacy settings in Google my maps are ...
2
votes
0answers
935 views

How to draw an overlay using KML on our own app in Android?

Repost from here I want to draw an overlay using KML files, just look like below but on my own app in MapActivity. 31.kml, display district in Jakarta, Indonesia or the example that I get from ...