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

0
votes
1answer
12 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
41 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
24 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
39 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 ...
4
votes
0answers
17 views

How to check spotheight in closed polyline contour data using ModelBuilder or ArcPy?

I'm new in using ModelBuilder or Python script. So, i have a set of contour data and a good contour data should contain a spotheight* in every closed polyline contour data. Is there any solution to ...
1
vote
2answers
205 views

How to delete empty fields from a Shapefile with QGIS or ogr2ogr?

I have a Shapefile with a lot of empty columns but many of them are empty. Using QGIS or ogr2ogr, how do I remove all attribute columns where everything is NULL?
3
votes
1answer
53 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 ...
2
votes
3answers
392 views

From OSM to shape. Parsing problem

I'm working at OpenStreetMap project for android at the moment. I want to retrieve OSM data from my app(nodes, markers and paths) and convert it to shape file (.shp, .dbf and .shx). Later, I'll load ...
0
votes
0answers
14 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
18 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
17 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 ...
0
votes
0answers
11 views

Shapefile imports appears without error until saved as map then disappears

I imported shapefile for 1942 European Borders obtained from Geocommons. After adding missing .prj, import was successful. Dataset looks clean in both table and map, but when I save the dataset as 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 ...
15
votes
4answers
8k 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 ...
8
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
52 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
10 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
22 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
57 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 ...
-2
votes
0answers
25 views

Where I can find shp (polygon) with relief units in Slovenia? [closed]

Where I can find shp (polygon) with relief units in Slovenia? By relief units I mean area and name of this, by exemple mountains, plateau, plain ...(name). Just Poligon, no elevation, format shp. ...
1
vote
2answers
24 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 ...
2
votes
1answer
129 views

pgsql2shp ERROR: incompatible mixed geometry types in table

I have multi-linestring in .shp files and I split the lines with postgis, but that result is only geom column. It does not works with shape file exporter error: incompatible mixed geometry types ...
1
vote
1answer
20 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
374 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
23 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
39 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
25 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
12 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
46 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
28 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 ...
0
votes
1answer
23 views

Google Earth Pro to ArcGIS 10.2 WITH Attribute table

I'm trying to use a publicly available map of NYC's CSOs from Google Earth Pro in some GIS analysis. I've saved the file as a KML, and uploaded to GIS by converting it to a SHP, but the attribute ...
2
votes
0answers
26 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
28 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
83 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
9 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
302 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
327 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
23 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
115 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. ...
0
votes
1answer
400 views

Continents geometry data / extracting contours of continents from country geometry

I have an ESRI Shapefile data from Natural Earth (Admin-0 Countries). I converted it to geoJSON format. There is no world or continents geometry there, only the county one. And I'd like to extract eg. ...
3
votes
2answers
124 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
649 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 ...
4
votes
1answer
152 views

What does it mean that shapefiles are “mostly” open specification?

Esri Shapefiles are commonly considered the standard format for GIS vector data. I noticed on Wikipedia and the OpenStreetMap wiki it is noted (emphasis mine): The shapefile format is a popular ...
0
votes
1answer
30 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
25 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
67 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
47 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
30 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
51 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 ...