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
54 views

Download WFS as Shapefile using ArcGIS Server

I've been looking everywhere for a way to output a shapefile in ArcServer. A sample ArcServer WFS getCapabilities says all the output is either in GML, KML, or JSON. This is is very easy using ...
1
vote
1answer
44 views

How to create a layer from existing attribute data of another layer?

I am using Arc Map 10.2 and I have a shapefile consisting of parcel data. I would like to create a shapefile/layer from the existing parcel shapefile by using a table that consists of a list of ...
2
votes
1answer
65 views

Defining projection using readOGR if the shapefile doesn't have it?

I think that by using readOGR to import a shapefile renders worthless to put proj4string to the script since if any coords are available in the shapefile, it will be transported through the readOGR. ...
11
votes
2answers
3k views

How to add custom Feature attributes to Shapefile using Python?

I am seeking a way to take an existing Shapefile that has a Feature set of 200 countries. Each country Feature has an attribute of "NAME." My objective is to create a Python script that adds an ...
1
vote
0answers
91 views

Import shapefiles into PostGIS using Python with psycopg2

I want to import shapefiles to PostGIS using Python with arcpy & psycopg2 to connect to PostGIS. I don't want to use the existing shapefile loader nor ogr, just write my own import tool. My steps ...
0
votes
1answer
78 views

Can't import shapefile to PostGIS

Sorry if my question is double post with the previous. I have tried to browse but I think I still can't find the solution. I am using postgresql 9.4.1 and postgis 2.1(pg 94) and also qgis 2.4.0. All ...
3
votes
1answer
115 views

Reading and plotting shapefiles with a custom function in R?

I have this piece of code that want to turn into a function r<-readShapeSpatial("roads") b<-readShapeSpatial("buildings") lc<-readShapeSpatial("landcover.shp") here is the preparation ...
0
votes
0answers
33 views

Import ArcGIS feature class to IDRISI

I have created several feature classes in ArcGIS and organised them in a number of File Geodatabases. I am now thinking of migrating to IDRISI. Anyway, I need to get at least my feature classes ...
0
votes
0answers
28 views

How to convert dc to shp with free software?

Someone can tell me how to convert data from a .dc file (DesignCAD file) to a shp file or postgresql with free softwares? I can do that easily with all versions of dxf or dwg files but not with dc.
1
vote
1answer
57 views

Using layer file to apply symbology to shapefile with ArcPy?

I have code that doesn't work at the moment: # Import arcpy module import arcpy # Script arguments Input = arcpy.GetParameterAsText(0) if Input == '#' or not Input: Input = "frame" # provide a ...
4
votes
1answer
4k views

How to add field in attribute table using ArcPy?

I have researched How to add attribute field to existing Shapefile via Python without ArcGIS? but could not implement it. Can give me examples of how to add field name in attribute table? I have ...
17
votes
4answers
9k views

How to add attribute field to existing Shapefile via Python without ArcGIS?

I have a Python script that adds an attribute field to a Shapefile if doesn't exist. This is easy to do with ArcGIS (graphically or via Python), but I'm looking for something that doesn't depend on ...
9
votes
3answers
10k views

How to create shapefile from lat/long values using ArcPy?

How can I create a shapefile using Python in ArcGIS 10? I have lat & long. From this I need Python code which will create a shapefile in ArcGIS Desktop 10.
0
votes
0answers
54 views

Shapefile to ArcGIS JavaScript JSON format? [duplicate]

Possible Duplicate: How to convert SHP into GPX or JSON? We're in the proces of adding a new feature to our Web Application where we employ the use of ESRI's ArcGIS Javascript API alongside ...
0
votes
0answers
17 views

Different KML size from ArcGIS and Ogr2Ogr

I have been converting shapefiles to KML. It seems that using ArcGIS to make a KML (by converting shapefile to feature layer and then using feature layer to kml tool) results in a much larger sized ...
1
vote
1answer
32 views

I have a shapefile with polygons/areas, and a point (lat,lon). How to figure out which polygon/area this point belongs to?

I have a shapefile with areas (eg. a simple world map with countries - polygons, epsg:4326). I also have a point (lat, lon coordinates). What's the simplest/easiest way to figure out in which ...
3
votes
2answers
86 views

Divide grid in smaller cells

My dataset: a shapefile containing squares of 1km size. It's huge, this is just a sample: My aim: divide each cell so that the end result would be the same grid with 500m each cell. Something like ...
1
vote
2answers
106 views

Reducing Size of KML file (After converting from Shapefile)

I have a shape-file of size 224 mega byte. I am using ArcGis to convert it to a KML file. The process involves converting the shapefile to a feature layer and then converting the layer to KML. An ...
1
vote
1answer
33 views

Cleaning shape file with multiple boundaries defined more than once

I have a shape file which contains a lot of polygons which define airspace. These polygons overlap and this is fine (e.g. different airspace configurations for the same airport). My problem is that ...
3
votes
1answer
458 views

Shapefile to table within python

I was just curious as to whats the best way within a python script to get the output a dbf file/ table while the input is a shapefile. (if possible which i'm assuming it is) Is there a way of ...
0
votes
0answers
24 views

Selecting polygons using another polygon? [duplicate]

Hi, How is the best way or fastest(if there is) of selecting polygons of a different shapefile using a polygon of another shapefile. exercise example: i want select all the light brown polygons ...
1
vote
1answer
61 views

Shapefile doesn't fit in CartoDB basemap

When I import some shapefiles in CartoDB they don't fit properly at street level, as you can see in the screenshot. In this case, the shp was generated in QGis with CRS EPSG:29193 - SAD69. I have ...
0
votes
1answer
54 views

Latest shapefiles of Indian states

I need shapefiles of Indian states that of 2011 which has almost 671 districts of India. Can anyone please help me?
1
vote
0answers
36 views

Displaying shapefiles on IOS app

I need to write a simple app for IPad that displays maps I was given. All maps are in one folder and they are shapefiles. I am able to open them in ArcGIS for desktop, however I am unable to attach ...
0
votes
1answer
50 views

opening many nested shapefiles

I have a large number of shapefiles (>500) representing species' ranges for North America. I am wondering how I could open them all automatically, without having to open them one at a time in ArcGIS? ...
0
votes
1answer
69 views

Hyperlink Script to Open Shapefile in ArcMap?

I'm new to Python and need some help please. I have a shapefile (Index.shp) that is used as an index for the world splitting it into 264 areas (polygon). I'm trying to create a Python script (for the ...
2
votes
0answers
53 views

QGIS's “Points in Polygon” counts zero in every census tract

I am mapping the location of incidents of asthma using QGIS. I would like to count how many points are in census tracts to better understand the areas where asthma occurs most frequently. My map ...
1
vote
0answers
46 views

“Official” delineation of North American mountain ranges

I need to subset mosaics of remotely sourced data to the extents of several prominent North American mountain ranges, starting with the Sierra Nevada. After searching for the boundaries of the range ...
5
votes
4answers
141 views

Converting shapefile from Shift_JIS to UTF-8 when the usual methods fail

Long story short, I'm trying to import this ESRI shapefile of Japan into CartoDB. (Sorry, no direct link: to download, click on the orange ファイルのダウンロード button, check 同意する to agree to the T&C, then ...
0
votes
0answers
12 views

Environmental and health indicators for Slovakia?

I'm looking for a free source of environmental and health indicators, whether its WMS or shapefiles, specifically for a Slovakia. Couldn't find anything on WHO website, although they say it's there. ...
3
votes
2answers
416 views

Where to find Vietnam administrative level 4 shape file?

I am new to mapping, and would like to make a custom map using Vietnam's administrative boundaries shape file. I found a great source at gadm.org, but it is licensed for non-commercial use only. I ...
1
vote
2answers
363 views

How to convert Shapefile to TopoJSON with grouping neighbor shapes by some criteria

I have a shapefile with countries, which I convert to GeoJSON using ogr2ogr and then converting that json to another TopoJSON, using topojson command-line tool. Everything works like charm, but now I ...
0
votes
0answers
38 views

ogr2ogr re-projection produces empty shapefile

I use the following to re-project a shapefile to EPSG 4326 using ogr2ogr: ogr2ogr -s_srs "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" -t_srs "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" ...
5
votes
1answer
126 views

Making a 3D map with shapefiles, lidar and aerial image data

I want to try to make a simple 3D map for a small area (10 square miles) with some housing, some roads and some vegetation on it. My geodata is as follows: shapes with houses/roads/vegetation. ...
3
votes
2answers
153 views

Calculate geometry on some features have same X and Y for start and end?

I did "Calculate Geometry" on a line shapefile to obtain the coordinates X and Y for the start and the end of all the lines of the shape. But some lines resulted with the same X on the start and on ...
3
votes
2answers
779 views

Join a CSV file to shapefile using gdal/ogr?

I have a shapefile with several attributes, for example YEAR, COUNTY, and AREA. I also have a CSV file with more fields that I want in the shapefile, such as POPULATION. Both the shapefile and the CSV ...
0
votes
1answer
33 views

How to take only relevant rows from database, based on common codes

I have a shp file that is missing some data, e.g. attributes. I have the missing data in a csv file. How can I get ONLY the relevant rows from the csv file added to the current shp file's data table? ...
1
vote
3answers
33 views

How to find which areas/regions a list of lat/lons are in?

The Australian Bureau of Statistics (ABS) issues Esri shapefiles or MapInfo files which have a code # for each geographical area at various 'resolutions' and I have a database with a column of ...
0
votes
2answers
86 views

Free hosting of shape files to make an interactive map?

What is a free site where I can upload shapefiles and make my own interactive map to share with others by a link?
1
vote
1answer
51 views

How to turn a shapefile into a table?

How do you completely turn a shapefile (created with QGIS, including .shx and the other 4-5 files) into one tabular dataset. I am actually doing this when I import the shapefile into Postgresql ...
2
votes
0answers
54 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
1answer
58 views

Why don't shapefiles online contain the coastline (country borders)?

I have searched everywhere and Geofabric has the best packages of shps yet doesn't have the coastline of countries. I'm talking about the line that demarcates a country i suppose they are called ...
1
vote
1answer
27 views

Shapefile One-to-Many Relationship in R

Is there any way to append a shapefile in a one-to-many relationship with its attributes that R can read? I understand the fix that resides in ArcInfo by creating through MakeQueryTable, but as this ...
0
votes
0answers
24 views

open source data European gas grid

I am researching the off grid LNG market for which I can only use open source data, but since I do not have experience with open source data, this is a difficult task for me. I am looking for open ...
0
votes
0answers
13 views

OGR2OGR converting Interlis to Shapefile fails

I tried an convert of a Interlis 1 file to Shape. For each table there is the following warning: Warning 1: No field definition found for table: Biens_fonds__PosPoint_limite I used different ...
0
votes
2answers
41 views

Importing and exporting KML into and from DashDB for Geospatial Analysis

I am a recent convert to IBM's DashDB, and I considering proposing to use it at my work. My case would greatly be bolstered if I could show good, easy integration for geospatial analytics data, namely ...
0
votes
1answer
52 views

Source postcode shapefiles & census data for The Netherlands

I would like to do some GIS mapping of the Netherlands, but I am having trouble finding official data files for the following: ESRI shapefiles for postcodes. Census (population) data for postcodes. ...
1
vote
1answer
73 views

error importing shp into postgis using ogr2ogr

I run an automated script that copies a number shapefiles into PostGIS. I have a problem with one dataset which fails during the export. As the roads.shp dataset is maintained by someone else, I ...
4
votes
2answers
259 views

Are mixed geometry types allowed in a shapefile?

Does the shapefile support mixed geometry types (ie. point and polygon all in the same file)?
0
votes
1answer
62 views

Automatically split KML into point, line and polygon SHPs?

I have a lot of KMLs that include points, lines and polygons together, is there a way to automatically parse them into separate shapefiles (one for point, one for line, one for polygon) in QGIS or ...