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.

553 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
332 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
0answers
49 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
397 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
359 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
788 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
0answers
504 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
144 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
104 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
914 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
271 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
168 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
743 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
681 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
236 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
295 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
367 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
154 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
307 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
594 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
407 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
437 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
392 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
452 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
788 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
205 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
323 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
157 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
339 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
292 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
933 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 ...
2
votes
0answers
163 views

Geotools throws “Cannot encode multilinestring (yet)” while Shape import on Linux

I've encountered a strange platform-dependent SHP import problem. Everything works fine on Windows, shapefiles are converted fine to database. There is although small little warning: [[ACTIVE] ...
2
votes
0answers
109 views

Determine which points fall within a 3D polygon and export this subset to a flat file

I am working in ArcMap 10 and will have a 3D representation of a zone of transmission. I would like to determine which GPS points fall within this polygon and then export this subset out to a flat ...
2
votes
0answers
894 views

QGIS Layer Properties Field Tab

When I setup my layer properties I selected some of the attributes to be hidden on the Fields tab. I would like to change the EDIT WIDGET from hidden to a different function however some of them are ...
2
votes
0answers
137 views

How to fix Graphserver warning “osmdb has no edges!”?

I'm really new to GIS. I have some shapefiles data that I'm trying to import in graphserver. I'm doing: gs_osmdb_compile output3.osm output3.osmdb And the result is: WARNING: osmdb has no edges!. ...
2
votes
1answer
757 views

How do I read the attribute data associated with my SHP?

I'm using DotSpatial to aid in processing some geospatial data. I'm using the code below to determine if a point (lat/lon location) is within a polygon contained in the SHP. If the point is in a ...
1
vote
1answer
14 views

Adding data from KML/shapefile/GeoJSON to OSM nodes

I have data of streets which is marked with the osm way/node ids. I would like to add speed limit data which is available in KML, shapefile, or GeoJSON to these OSM wayids (OSM wayid with start node ...
1
vote
0answers
14 views

Google Earth Engine: Export table with values over time for multiple regions of a shapefile

I'm trying to quantify land use change over time in my region of interest, which is a part of Europe divided into subregions. For this, I'd like to count the pixels of each type of land cover in every ...
1
vote
0answers
16 views

Can QGIS be used to calculate the up-slopes (total area draining to a specified point) of multiple separate points simultaneously?

I am trying to calculate the area draining to a point of 240 separate points using QGIS. At the moment I'm using the Saga - Upslope Area algorithm to individually work this out for each of the 240 ...
1
vote
1answer
51 views

Shapefile not showing in proper location

Working in QGIS 3.0.1; I just switched to QGIS and am trying to get used to it. I have a shapefile from SW Maps app of a track walked on hiking trails, and am attempting to make a basic map using ...