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
0answers
150 views

ArcGIS for WPF - load Shapefiles and access attributes (dbf file contents)

I'm loading various shapefiles using ArcGIS for WPF and displaying them on a map (the mechanism for doing this is taken from the ArcGIS WPF runtime examples - see ...
0
votes
1answer
53 views

gdal_rasterize : getting area not in or touching polygon (options -at and -i)

I would like to capture the area that is not in a polygon (option -i) and that doesn't touch that polygon. gdal_rasterize -at will return the polygon + edges, but gdal_rasterize -at -i will not ...
0
votes
2answers
251 views

How to update postgis layer from shapefile in QGIS?

My usual workflow with updating layer from shapefile was to: Open DB Manager; Load SHP files into QGIS; Open DB Manager; Import file (with drop option). Now my problem is that I have created ...
0
votes
1answer
324 views

Example using sharpmap in mvc asp.net

I am wanting to open shapefile files in a ASP.NET MVC application, was researching and found sharpmap but have not found examples of how to implement the MVC. Does anyone have any examples to help me ...
0
votes
0answers
182 views

How to convert Mapinfo “.Map” file (without .TAB) into SHP?

I've got several MapInfo files but i don't have the .TAB. I only have: M044.DAT M044.ID M044.IND M044.MAP I need to convert these files to SHP. I tried to read those files with MapInfo ...
0
votes
0answers
49 views

Where can i find Shapefiles of city along with the world file (.jgw) and the jpg image?

Are there any links where i can download a shapefile of a certain city along with aerial view jpeg image and the corresponding world file (.jgw) ? I need it to test an algorithm. Thanks,
0
votes
0answers
78 views

Is there a way to retrieve/query country data from a shapefile programmatically using map coordinates in GeoTools?

I am using Geotools to parse and draw a shapefile. Now; when I draw that map I receive coordinates with this bit of code for my Flight Line button. void selectFeatures(MapMouseEvent ev) { ...
0
votes
0answers
139 views

Radius based search with Leaflet maps

Using leaflet I have created a simple map, played around with markers (adding/removing) and have added some GeoJSON data polygons etc. I now need help with implementing a radius search. For example I ...
0
votes
0answers
21 views

shp2pgql: how to omit the git column?

I am importing a series of shapefiles with shp2pqsql that already have a unique identifier attribute. Since shp2pqsql creates a new column called gid I am ending up with two unique identifiers per ...
0
votes
0answers
13 views

plot shp files like pnm? (Statistical Data Analysis Explained example) [duplicate]

Weird subject? well I'm confused so in advance: sorry for this wavy question: I'm trying to do what the authors of Statistical Data Analysis Explained (ISBN: 978-0-470-98581-6) have done in figure ...
0
votes
0answers
77 views

MapInfo “shape” file vs. naturalearthdata.com shape file

When i load this map shape file (exported from MapInfo as a shape file) shp.WashingtonLand<-readOGR("C:\\...\\Maps","WLmap2_polyline") R replies: OGR data source with driver: ESRI Shapefile ...
0
votes
1answer
332 views

Creating records in output shapefile using Python

I have a list (output from a previous loop) containing attributes from an input shapefile. What I am stuck with is inputting those attributes to a new shapefile. I have plotted the point data using ...
0
votes
0answers
36 views

Openstreet map loosing information

I succesfully created a shapefile from openstreetmap with the OpenStreetMap tool in QGIS 2.2. When I try to create a polyline layer, it says that there are 8000 values in the db file for the property ...
0
votes
0answers
36 views

Copy queried attributes of a shapefile to a new shapefile [duplicate]

I have a polyline-shapefile, which I have successfully read into python using pyshp module. My problem is to save the 2nd node of every line feature into a separate, single point file. I have ...
0
votes
0answers
148 views

Extracting rooftops using MATLAB

I am using Matlab to extract rooftops of buildings and I want an orthoimage i.e. a .jpg file, a world file .jgw and a shape file .shp as input. A mask is needed to "hide" the pixels of the image ...
0
votes
0answers
12 views

SHP to DWF with centerline and annotation (labels) [duplicate]

I am looking for a way to dump a street network (shp) into CAD but also include a text layer for street names (labels). Is this possible? I feel like there is likely an easy solution but I can't seem ...
0
votes
0answers
54 views

How do I convert a VMAP to a shapefile using GDAL?

This is my first time trying to convert a VMAP to a shapefile and the examples online aren't as straightforward to me. Any guidance is appreciated.
0
votes
0answers
54 views

Converting/clipping KML to shapefile in QGIS without truncating field information (data)?

While I am clipping KML file by using polygon shapefile in QGIS, filed information (data) are truncating .Anybody can suggest a solution for this one.The same data losing issue occurring, at the time ...
0
votes
0answers
124 views

Generating XML to create a file geodatabase table from an existing shapefile DBF

I am writing a C# .NET application to convert a folder of shapefiles into a file geodatabase. Basic Info Windows 7 64 bit VS 2010 - Application is being run as 64 bit. Version 1.3 of the File ...
0
votes
1answer
75 views

Change Attirbute Name (Fiona)

I have a shapefile that has 2 attributes named "X" and "Y". I want to change this to "Lon" and "Lat". My (limited) experience tells me that I should read in the original shapefile, preserve the ...
0
votes
0answers
22 views

Overlay Shapefile and Raster layer in R [duplicate]

I have a raster layer with climate data from the north of Mexico, part of Canada and the US mainland. I am trying to restrict the climate data to only the zone of the US mainland. To do this I thought ...
0
votes
0answers
90 views

QGISCloud in mobile QGIS

I’m new with QGIS mobile, I can’t open shapefile on QGISCloud using samsung note 8. Does anyone know how to do that? I haven’t found qgis plugin for mobile yet. Thank you
0
votes
0answers
15 views

Plotting two shapefiles using R? [duplicate]

I'm not familiar with using R for GIS. I was wondering if you can help me figure out how to plot different shapefiles at the same time. I'm using the "map" function to generate a map in order to get ...
0
votes
1answer
131 views

Creating TopoJson from shapefile with the Shape Escape (shpescape)

Does shpescape really work for creating TopoJson from shapefiles? I always get errors if uploading there zipped shapefiles. The usual error message is: OSError at ...
0
votes
0answers
191 views

How to import SRTM data for the whole planet into TileMill

I need to get SRTM elevation data for the whole planet into TileMill. I already walked through the instructions on Steve Bennett's blog and it worked fine for small areas. The problem is now that for ...
0
votes
1answer
80 views

Add attributes to an output shapefile schema (via meta)

I am trying to copy the schema of an existing shapefile and add to it in an output shapefile. Somehow I am not getting anywhere with this...though the docs seem very clear (and the download page : ...
0
votes
1answer
115 views

Blank Shapefile output?

When executing the following command string in the active browser, Qgis projects the triangle polygon and associated attribute table correctly. Upon reopening the shapefile in a new browser, the ...
0
votes
1answer
129 views

How to simplify shapefiles without losing attributes?

I want to simplify a huge shapefiles using mapshaper. However whenever I simplify the shapefile I loose a lot of data attributes. how can we simplify the shape files while retaining at least some of ...
0
votes
0answers
61 views

Is it possible to use custom (non-circle) buffer shapes?

I have a shapefile containing points. I'd like to replace each point by the same shape, centered around the point, like the "Buffer" tool with shapes other than circles. How can I do that?
0
votes
1answer
22 views

Using QGIS, how can I create attributes within a polygon layer based from a selection in that layer?

I'd like to add a column, or attribute rather, to selected rows within a polygon layer. I would simply like to make a binary system, where those that are selected receive a "1,' let's say, and all ...
0
votes
2answers
762 views

How to convert from .SHP to .MAP for mapsforge?

We are using mapsforge, a Java component for Android. This component use a proprietary format file (.map) that can be download from OpenStreetMap (OSM). I need to use .shp maps, so I want to know how ...
0
votes
0answers
155 views

QGIS: field calculator is not working with shapefile created manually

I have an issue the field calculator of GIS 2.2 field calculator. I've not encounter problem to update values with the field calculator (I'm using the $row_num function) if the shapefile was created ...
0
votes
0answers
95 views

need help creating layer with geom type wkbGeometryCollection with gdal python

I am having trouble creating a layer with geom type as geometry collection. Thus I am unable to output to a shapefile. I have attached code below. dstLayer is null. This does not happen if geom type ...
0
votes
0answers
31 views

I want to make a table that displays shapefile information

I have a parcel I'm working with that has multiple layers laid over it. I'd like to make a table that displays various attributes of those different layers. For example, within that shapefile, I'd ...
0
votes
0answers
139 views

Convert Shp to KML error org2org Error4

I am attempting to convert Shp file to Kml using command line org2org application. I have used this in the past to convert more simple shp files and was sucessful. However I get an error message when ...
0
votes
0answers
50 views

How to raster vector- and shape-files correctly

does anybody know how to convert vector- and shape-files correctly? Doesn't work with tab Raster/convert/vector to shape files. The output always contains strange input-data (wrong and strange ...
0
votes
2answers
135 views

Creating outline shp - georeferencing existing map/pictures

So I need to create shapefiles (that need to be adapted and transfered for other programs) with the district outline of a couple of Caribbean countries. Is georeferencing (using the Georeferencing ...
0
votes
0answers
47 views

Why can't I save a line shapefile?

I'm working with qgis v. 2.0.1. I have some data points and I just wanted to create a new shapefile with line geometry. In the new vectorlayer-window, I added some attributes (approx. 10) and klicked ...
0
votes
0answers
35 views

GPS Coordinate Handling

I have a text file with consecutive coordinates of gps data for ongoing and incoming route(on Same road). i want to convert them in line format. how can i normalise those extra coordinate so that i ...
0
votes
1answer
351 views

geopandas error when writing to_file() “ValueError: 'long' is not in list”

I'm having a problem getting the "to_file()" function to work with geopandas import geopandas as gpd f = gpd.read_file('fin.shp') f.to_file('fout.shp') Error Output: ...
0
votes
0answers
47 views

Connection refused for upload shapefile database

I'm a student and I'm approaching to QGIS. I use QGIS 2.0.1 Dufour. I can't have no more axcess to the university shapefile data base. I fill the space for the login and for the password, but the ...
0
votes
0answers
770 views

How to convert .shp to .dgn (V8i) including attributes AND geometry?

looking for open source solution using GDAL / OGR solution looks more promising , even before someone recommended me but not not sure on how to use then QGIS 2.0.1 Dufour SHP file Left / Right ...
0
votes
2answers
150 views

How to join CSV data to SHP without ArcGIS?

I'd like to create a chloropleth map displaying quantitative data for an upcoming event. Using TileMill, MapBox. I am having trouble joining my data to a .shp because the #'s correspond to COUNTY ...
0
votes
1answer
94 views

Extract longitude and latitude from shapefile

I want to create a media wiki page with map option where polygon required the following format. What is name of this format and how can it possible to extract this format from shapefile? ...
0
votes
0answers
83 views

Export additional data with ogr2ogr

I am trying to import my ESRI-shapefile with OGR2OGR to an existing mysql table. This works fine but unfortunately only the featureID and the geometry data is exported. How do I add the labels of the ...
0
votes
1answer
918 views

How to extract geo data out of a polygon shape file into csv kwt [duplicate]

I have a polygon shape file that contains all the neighborhoods in the Netherlands. My aim is to export the neighborhoods and coordinates to csv file (KWT). Without success I tried (with QGIS) these ...
0
votes
0answers
255 views

Publishing Shapefiles via ArcGIS Server

I have some OSM's shape-files and running ArcGis Server 10. Would I be able publish it as Map Service without the using ArcMap or another ESRI clients? Also I want to use my shapes with prepared SLD ...
0
votes
0answers
287 views

export from .shp to .gpx and .kml fails

I've just upgraded to QGIS Dufour and I am having some problems with the exportation of a simple track from .shp to .gpx and .kml format. I imported from mi smartphone a .gpx track (SR WGS84 ...
0
votes
0answers
256 views

Looking for java (or python) APIs to read shapefiles

Consider a work flow which receives a data field, e.g. “basemap” as shown in the image, and fills polygons with color on the basis of its numeric values. I am interested in java programming to carry ...
0
votes
1answer
174 views

calculate least cost pathways for a region and create distance rasters to rivers [duplicate]

How do you calculate all the least cost pathways that exists for a region? I would like the output map to display all routes (and was wondering whether this can be done in one set of operations). I ...