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 (2)

0
votes
1answer
42 views

How to choose a shapefile interactively in R

I am writing a function in R where i want the user to choose a Esri shapefile from its destination folder. Since a shapefile is made of several files how can i select them. For a point feature class i ...
1
vote
1answer
24 views

Create statistics by features in QGIS [duplicate]

I've a polygon layer for parcels in a landscape protection area and a point layer, contains zoological data (e.g species, entities, etc.). How can I make a statics for each polygon, contains the list ...
1
vote
0answers
57 views

Export shapefile from spatialite

I am using a spatialite db to perform a union and dissolve over a vector file. The vector inside the db looks like this: when I export the table with: ogr2ogr -f "ESRI Shapefile" -overwrite ...
1
vote
1answer
60 views

How can I eliminate leftover border/boundary in QGIS?

I am trying to generate a shapefile which contains the unincorporated areas of St. Louis County, Missouri. I'm using two shapefiles: St. Louis County from the 2012 census, followed by St. Louis ...
0
votes
0answers
28 views

How to build .vrt of shapefiles?

I've a huge number of shapefiles and I would like to create a VRT as I do with gdalbuilvrt for raster. I find here https://github.com/dwtkns/gdal-cheat-sheet that it should be possible and the format ...
1
vote
2answers
43 views

Is there any shapefile (or other format) of Russia's time zones after 2014 changes?

According to for example Wikipedia, Russia changed its time zone boundaries in 2014, moving areas between existing zones and defining new ones for the Crimea area. Is there any shapefile or other ...
1
vote
0answers
46 views

How to clip a big shapefile from another shapefile's extent

I am working on mangroves in Sundarbans (Bangladesh / India), using Landsat pictures. I need to equalize them in reflectance, before classification, for the evolution of the biomass in this region. I ...
1
vote
1answer
58 views

Is there a way to export the style, along with a shapefile, to a kml in QGIS?

I see there were plugins in the past that may have done this such as qgis2kml and qgis2google, but they no longer exist.
0
votes
1answer
19 views

Join line segments sharing a common attribute, using GDAL

I'm having trouble rendering a shapefile consisting of trail routes broken down into many short segments. So I'd like to combine them into a small number of line features, which share a NAME and touch ...
0
votes
1answer
51 views

Grid-type shapefile from raster GeoTIFF

I need to produce a shapefile from a raster. I need to be able to specify either an interval, or manually define the intervals. The input file is a GeoTIFF. I would like to use GDAL and/or Python. ...
1
vote
2answers
46 views

Replacing shapefiles in MXDs using only Python options available prior to ArcPy?

I am trying to come up with a python script that will go through a designated folder, locate all MXD files within the folder, and then check each MXD to see if it contains a specified shapefile, which ...
0
votes
0answers
15 views

calculating total area of multiple polygons in qgis [duplicate]

I wish to know the total area of all polygons within a shapefile layer. So far I have added a new column to the attribute table that shows me the individual area of the polygons.I tried to copy the ...
1
vote
1answer
36 views

QGIS fails to clip and produces empty shapes

I've seen this type of question a few times and have tried all the different suggestions but no luck. I have 2 layers, one polygon and one line. I want to keep the lines based on a selected polygon. ...
1
vote
1answer
29 views

Trying to limit my shapemap to state boundary lines in R

I have a feeling I'm either trying to do this incorrectly, or I'm just not searching for the correct terms, but I cannot figure out how to do what I want to do. I am trying to plot the ranges of fish ...
-4
votes
1answer
78 views

How to convert inp to shp with Python? [closed]

How would I convert an EPANET .inp file into python lists in order to convert it to .shp files?
0
votes
0answers
40 views

Why is ArcGis change precision of double field after copy?

I create the attribute table of a shapefile and while I copy it by using the "copy features" tool it change the precision from 11 to 14. I create two fields with the name poly_x and poly_y and they ...
0
votes
1answer
33 views

Properly placing my raster over a shapefile on my map

I have an ASCII file that I converted to a raster. My heading on the ASCII file is: NCOLS 156 NROWS 720 XLLCORNER -170989.3011812 m YLLCORNER 1417628.464462 m CELLSIZE 1 ...
1
vote
1answer
48 views

Joining Parcel/Building Attributes Based on Coordinates

GIS noob here: I downloaded a building footprint shape file for a city and imported it as a vector layer in QGIS. I was hoping to see street address information in the attribute table, but there was ...
1
vote
0answers
60 views

Linking to PDFs via attribute field of shapefile for ArcGIS Online?

I am working with some data that cannot be presented in an attribute table. Therefore I would like to attach a specific PDF to each point within a shapefile. Is there a way this can be done in ...
1
vote
1answer
90 views

Clipping LAS data with multiple shapefiles

I am looking for a method to clip with multiple shapefiles (139 shapefiles polygon) a lidar.las file. I'm using the software Fusion, as described in: How to clip LAS data using shapefile polygons ...
0
votes
0answers
16 views

.shp to GMT, fault lines appear connected

I used ogr2ogr to convert a .shp to GMT. Trying to plot fault lines, but when I plot the faults in GMT they all seem to be connected. The .shp data is in log/lat, which is what I want for the GMT ...
1
vote
0answers
65 views

How to import UTF-8 encoded Shapefiles into SQL Server?

I am trying to load a shape file to sql, using ogr2ogr and Shape2SQL tools. The shape file uses UTF-8 encoding, specified in a .cpg file, and confirmed when opening the file with QGIS. However, as ...
1
vote
1answer
45 views

arcgis 10.2 .shp with no projection info but .xml file

I need help opening a shp file which has no projection info in ArcGIS 10.2 I have .shp , .shx , dbf and .xml file. The .xml file details are below . QUESTION : can i make .proj from below ...
1
vote
1answer
49 views

How to adjust a complete shapefile of multiple points on ArcMap taking other few as reference?

I recieved a shapefile with georeferenced trees, but they didn't used a GPS to get the coordinates (not sure how they did it, some traditional stuff maybe?). So, the position doesn't match exactly on ...
1
vote
1answer
64 views

jquery range slider to filter geoserver layer attribute

i would like to apply with jquery range slider a filter to an attribute of a geoserver layer. I prepared the code for the shape topp:state, attribute PERSONS. How is it possible filter the PERSONS ...
0
votes
1answer
57 views

Plotting shapefile on map using ArcGIS API for JavaScript?

We are using dojo framework to develop our portal.We have bind the arcgis map in our web portal.Is there any arcgis JavaScript API which will accept the path of the shape file and plot that shape ...
0
votes
2answers
67 views

How to get average values per coordinates in ArcMap/R?

I have a point shapefile. It has multiple points at different spatial locations. Within each point there are multiple values that I want to get the average of. In this case the new file would have one ...
1
vote
1answer
50 views

How to insert non-spatial features into a Polygon shapefile - FME 2015

Here is the issue: I have the original data (a shapefile with spatial a non-spatial features) which I need to transform: (highlighted those non-spatail features) I need to make some ...
0
votes
2answers
89 views

Using Geotools: How to convert these strange coordinates from a shapefile into regular lat and long?

I use this dataset from the European Union: http://www.eea.europa.eu/data-and-maps/data/administrative-land-accounting-units Opening the shapefile with Java' Geotools, I see coordinates like: ...
3
votes
1answer
68 views

Is it possible to define a custom CRS for a shapefile in QGIS that uses hundredths of a US foot?

I have several polygon shapefiles whose coordinates are defined as 100x their original coordinates projected from the Washington State South HARN State Plane in us-ft (EPSG 2927). I would imagine the ...
0
votes
1answer
56 views

Keeping Properties When Converting JSON to SHP

I'm trying to convert the Nielsen map of DMAs from a JSON to a shapefile. The properties of the json is as formatted like this: "id": 546, "properties": { "name": "dma:", ...
0
votes
0answers
25 views

leica-geo-office unable to export shapefiles without freezing

I’m trying to export shapefiles from leica geo-office to AutoCAD. LGO keeps freezing up whenever it opens a navigation window. Such as when trying to choose the path to save the Fieldwork Report or ...
1
vote
3answers
72 views

pairwise (linear) distance between points of the same shapefile

Given a set of points representing villages stored in a .shp file, is there a way to compute the pair-wise distance (Euclidean) between them? What I would like to come up with is a sort of symmetric ...
0
votes
1answer
28 views

Growing error from west to east when overlaying raster and shape

I am using a shape of Austria from gadm.org which I want to overlay with a netCDF file in R. As the netCDF has projected coordinates in EPSG:31287, I have reprojected the shape using FWtools and the ...
2
votes
2answers
106 views

Creating shp from txt files using ArcPy?

I have a txt file like this: Point 0 347172.2 4269952.7 60.9090909091 1 337172.8 4278952.4 85.7334909091 2 344572.3 4547952.2 123.909673091 3 347532.8 8777952.8 456.467809091 END The third column ...
0
votes
0answers
29 views

How to Post Kartograph File on Wordpress?

I can't for the life of me figure out how I can post what I created with Kartograph.py to my Wordpress site. I have the following files and the created the following with Kartograph:
1
vote
1answer
63 views

Trouble Converting from a shp. to gpx file and up loading to GPS

Currently I have a series of random points within a shapefile that I would like to upload to my GPS. Every time I try to upload the points via "Save file" it come up with an error message (posted ...
2
votes
1answer
64 views

How to create a new shape file from jts geometries?

What I use: Java 1.7, JTS 1.13, geotools.api 14 What I have finished: Creating correct JTS geometries from OSM relations, ways and nodes. What I want to achieve: Create a csv file which contains the ...
1
vote
1answer
79 views

Geopandas: counting the number of raster pixels within a shapefile polygon

I have a shapefile that I have loaded as a geopandas dataframe, and it has a geometry column containing polygons and multipolygons. My end goal is to do some zonal computations on a GeoTiff raster, ...
0
votes
2answers
209 views

Cannot open shapefiles in ArcGIS Desktop 10.3

I have shapefiles and mxds that were working fine in 10.1. I then downloaded version 10.3 ArcGIS Desktop Advanced. Now when I open the mxd, all of the data links are broken. when I open properties ...
0
votes
1answer
31 views

Where can I find world map shapefiles/GEOJSONs/KMLs for 1950-2015?

I'm looking for world maps showing countries from 1950-2015. Are there shapefiles, KMLs or GEOJSON files of these?
2
votes
2answers
79 views

Creating a really large shapefile without eating all the virtual memory

I am doing something similar to below to create a really large (large than memory on my machine) shapefile: shapes = shapefile.Writer(shapefile.POINT) shapes.autoBalance = 1 shapes.field('MyId','N') ...
0
votes
2answers
86 views

How to stylize KML layers for Google Maps?

I am using QGIS 2.0 to convert my shapefiles into KML layers. The purpose of converting my shapefiles into KML layers is to bypass the restriction imposed by Google Fusion Maps, which only allows ...
1
vote
1answer
93 views

Batch export all layers in ArcMap document that have selected features?

I have several layers in an ArcMap Document. All of these layers are stored as shape files. Specific features of the said layers are selected. I want to export the data as shapefile programatically. ...
0
votes
0answers
37 views

Can styling be applied to a kml (from a shp) using ogr2ogr

Is it possible to generate a styled KML using ogr2ogr (ie pen width and colour?) I cannot seem to find anything in the ogr2ogr documentation. My code so far is; ogr2ogr.exe -f "KML" prow-kml.kml ...
1
vote
1answer
40 views

portions of edited shapefile will not draw

I edited a shapfile of approximately 1500+ pipe segments yesterday in QGIS. When opened today (first in ArcMAP by another user) only about 10% of the pipes were drawn. The same happened when the ...
1
vote
1answer
61 views

Iterators in model builder - merging nested files with same filename ending

I am trying to merge files that are nested in different folders by their file names. For example folder 1 contains up to 100 subfolders that each contain a set of shapefiles: subfolder1_A.shp, ...
0
votes
0answers
45 views

Regroup SHP files and convert to one MBTiles file

I have a lot of shp files and i want to regroup all of them and export the whole thing in one mbtiles file (and display this with MapBox GL). I tried MapBox Studio but it's crash a lot ! Any ideas ?
4
votes
1answer
100 views

Using different symbols and colors for each row in a shapefile attribute table

I have a shapefile where I have a column of individual locations (ID field below), and then a column of yes/no data for each location. Some locations were visited twice and got different results. I ...
1
vote
2answers
45 views

Is it possible to withhold attribute data from a shapefile?

Basically, what I'm trying to figure out is if its possible to withhold or lock attribute data from a shapefile if you are sending the shapefile to someone?