Tagged Questions

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)

1
vote
1answer
34 views

Filtering out a subpart of a polygon shape file

I have ArcGIS 10.1 for Desktop software. I am working with a polygon shape file (having n rows) in ArcMap. The project demands splitting this file into two polygon shape files having n1 and n2 rows ...
2
votes
1answer
88 views

Unicode Decode Error for shapefile in Python

I have Python script for converting shapefiles to Geojson. My code works well if I use some usa data, but when I want to use some other encoding, it gives me this error: Traceback (most recent ...
2
votes
1answer
25 views

Cant find Define Line Portion tool

I am following the procedure on this help page: http://resources.arcgis.com/en/help/main/10.1/index.html#//00390000002z000000 However when at step 3, I can't seem to find the Define Line Portion ...
1
vote
2answers
36 views

Drawing the boundaries on coordinate file and classifying the points

I have imported the data on coordinates in Excel which are classified into 3 types: Class 1, Class 2 and Class 3. When I Add delimited text layer, I get the following output: I have two basic ...
2
votes
0answers
39 views

Generating a map from a shapefile using ms4w mapserver [duplicate]

I am trying to generate a map from a shapefie. Through some initial searching, I wrote the code below but I am getting just a white page. Below is my code: MAP # To enter comments into a mapfile ...
3
votes
1answer
65 views

How write query in “Select_analysis” that compare string from one column with another column?

I have a shp file (s.shp) with column "A" and column "B". I try copy from this file only that rows where string value from column "A" is part of string value from column "B" e.g. A 0.1 0.2 0.3 ...
2
votes
0answers
154 views

How to convert shp to csv

I am trying to convert my shape files to csv through a batch processing in Java using Geotools. The problem is I have more than 500 shape files (point features). The code is working fine for a small ...
1
vote
0answers
28 views

GIS files for US Special Districts?

I'm looking for GIS files (shp, geojson, kml...) for US special districts, but I can't find them anywhere. Special districts are single-purpose local governement distinct from counties and ...
1
vote
1answer
62 views

Box cropping shapefile based on particular latitude and longitude using QGIS? [duplicate]

I have a shapefile and I need to crop/clip it based on a rectangle of particular latitude and longitude using QGIS. If it is possible, how do I do that?
2
votes
4answers
405 views

Shapefile for India which includes Telangana (state)?

I need a shapefile for India which is up-to-date to display the regional borders. By up-to-date, I mean that it includes Telangana as a state. Many shapefiles that I downloaded do not have Telangana ...
1
vote
1answer
119 views

Converting shapefile to KML using JavaScript or PHP?

My client needs to generate maps from shapefiles. Through my initial search, I came to know that we need to convert shapefiles to .kml then we can generate maps from google maps. So I searched for a ...
-2
votes
1answer
80 views

Identifying projection for shapefile with unknown coordinate system, no z values and no measures? [duplicate]

I am attempting to create a GIS Project with multiple Brazilian cities. I have been collecting, and am interested in, shapefiles that delineate the neighborhood boundaries of said cities. One city's ...
1
vote
0answers
17 views

European Rail Freight Map (shapefile or other ArcGIS format)? [duplicate]

I need European Rail Freight Map (shapefile or other ArcGIS format) for a GIS project. Does anyone have this data?
2
votes
1answer
49 views

GeoJSON and HTML/JavaScript vs Shapefile and Silverlight

I'm developing a map application (Several shapefiles with OpenstreetMap or BingMap on background and some dynamically generated features on the map). I'vs created some part of it with Telerik RadMap ...
0
votes
0answers
75 views

Convert series of WKT to Shapefile

I have seen am ability in SQL Server 2008 Spatial Tools here that saves result of query as shapefile..I am intrested in how to do this task using C#..Is there any way to do this?I found ways to ...
3
votes
1answer
119 views

Creating .shp from .dbf in ArcMap?

How do I create a shapefile using the latitude and longitude information in my dBASE table? I am using ArcMap 10.1
3
votes
1answer
57 views

Lambert_Conformal_Conic: converting from shapefile to geojson fails

I have a shapefile that also contains a proj file that looks like so: PROJCS [ "MGI_Austria_Lambert", GEOGCS [ "GCS_MGI", DATUM [ "D_MGI", ...
0
votes
3answers
199 views

Import shapefiles on my postgis table using R

Using R, I would like to import shapefiles that are in a directory on a geometric table i have on postgresql / postgis. What is the instruction that allows me to do it? EDIT: here is my code to ...
1
vote
1answer
46 views

Merge polygon based on other line shape file PostGIS

I have a polygon shape file and a line shape file. I would like to merge two polygons which shares the same border along with line shape. Finally the line should be removed in polygon shape file. In ...
1
vote
2answers
49 views

Row-crop field boundaries

I'm on the hunt for field boundary coordinates in the US in the form of GeoJSON, a Shapefile or any structured format that I can use to overlay on a map. I've tried looking at the US Department of ...
3
votes
1answer
67 views

How do I save a polygon once I have created it in editor?

I am attempting to create a new polygon. I go to ArcCatolog>New>Shapefile and make sure Feature type is set to polygon. I create the polygon and if I click save edits or stop editing, it disappears. ...
1
vote
2answers
38 views

Adding polygons from an existing layer to a new layer (shapefile)?

I have an existing shapefile that contains parcel data. I would like to add some of the existing parcels to a new shapefile. I am using ArcMap 10.1.
3
votes
2answers
383 views

Importing .shp to postgreSQL

I want to import a shp file to postgreSQL. First I create sql file and then run PostgreSQL. To create sql file, I run this command in windows cmd: shp2pgsql -s 4326 worldCountries.shp worldcountries ...
4
votes
1answer
48 views

Summarizing different (local) shapefiles/sources into one centralized database using ArcGIS for Desktop?

Using ArcMap/ArcCatalog 10.2, is there a way, to summarize a huge number of widely spread shapefiles/sources (different servers, different hard drives etc.) into one centralized database, in order to ...
-1
votes
1answer
46 views

Displaying Shapefiles using Python? [closed]

I have some shapefiles, which I want to display in Python. Is there any code for that?
1
vote
1answer
27 views

How to show number of patches in a neighbourhood?

Given one raster file containing only one zone that indicates patches of vegetation in a city and a shape file containing neighbourhoods for the city, explain how you could create a map that shows the ...
1
vote
1answer
59 views

Postgres/PostGIS: Dissolve multiple fields with COUNT (Point shape)

I have loaded point .shp feature classes into Postgres 9.3 db, and enabled postgis,plpgsql,postgis_topology extensions. I'm looking to dissolve multiple fields within a single table 'TABLE1' and add ...
4
votes
2answers
202 views

Merge uniquely named point shapefiles in 50,000 different folders into a single layer

I have point shapefiles in 50,000 different folders (each shapefile file name is unique) - about 33,400 shapefiles (not all folders will have a point shapefile). I like to open the point shapefile in ...
2
votes
2answers
74 views

Group adjacent polygons with similar (but not same) attributes

In ArcMap 10, I have a few dozen tiffs with cells that represent habitat area that has been burned. Each burned cell has a Julian date of the fire associated with it. I want to end up with polygons ...
2
votes
1answer
57 views

Converting .multiple shapefiles into Image Pyramid?

I have multiple shapefiles, and I want to import them as image tiles. How do I convert a shapefile into image format and then convert that single image file into an image pyramid such as that of ...
1
vote
2answers
96 views

Converting Shapefile data to GeoJSON

I have access to some open data for which I want to obtain some coordinates to put onto a map. Unfortunately, the data is in the Shapefile format which is rather difficult to work with. I am trying to ...
1
vote
0answers
55 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
47 views

Merge shapefiles to one tool not working?

When using the data management tool "Merge shapefiles to one" in QGIS why is it copying one of my shapefiles instead of merging the two together as it should?
2
votes
1answer
78 views

Where can I find a shapefile of the Indian electricity grid?

Does anybody know where I can find a shapefile of the major components of the Indian electricity grid? Ideally, I'd get transmission/other high-voltage lines, substations, generating units, and ...
2
votes
2answers
84 views

How to export all the layers from Table of Content to shp file?

I have got lots of different layers in the Table of Content panel in ArcMap. I want to export them all in shp format in one go. How can I do that? So far I have been doing it one by one by right ...
2
votes
0answers
37 views

Memory layer or QgsVectorFileWriter Error?

Currently this excerpt of code will not save to file (as it is supposed to). The memory layer is visable and editable. Yet even when manually saving the layer, any priorly added features ...
2
votes
1answer
108 views

How to use pgsql2shp when PostGIS extensions installed in a separate schema as geometry

I have the PostGIS extension (postgis functions and spatial_ref_sys table) added to a specific schema called postgis. I'm wanting to run the pgsql2shp utility with a select query on geometries stored ...
3
votes
1answer
95 views

SHP File to .NET Conversion

I have been a .NET programmer for 13 years but I have absolutely no GIS experience and I need a starting point. I have to take some shape files and overlay them on a graphic of a static map. With the ...
1
vote
3answers
131 views

PostGIS importing shapefile error w/ official manager

I'm having some trouble when trying to import an shapefile of the Sao Paulo Brazil's state (I downloaded it from the web and I'm using the own PostGis manager to import it). Here's an image! The ...
1
vote
0answers
12 views

Proper updating of new memory layer geometry?

Current workflow for a toolbar button: -create memory layer -save memory layer to shapefile Then the user uses the built-in QGIS tools to add geometry and finally saves changes via the auto prompt ...
1
vote
1answer
38 views

Add multiple fields to attribute table by python, with a prompt window for parameters

I know how to add field to arcmap shapefile using Python: import arcpy arcpy.env.workspace = "H:\pythonexercise\NZL_rds\NZL_roads.shp" arcpy.AddField_management("NZL_roads", "LENGTH", ...
1
vote
0answers
66 views

Copy parts from several attribute tables in shapefiles?

I have several shapefiles from which I wish to take parts from their attributes tables to make a new attributes table. Is this possible without destroying the original attributes table? I have ...
5
votes
2answers
126 views

Locating shapefile of European railways for goods transportion?

We are trying to make a project about European goods trade so we need railway data in shapefile format. More specifically, we are trying to find the potential of mine products being exported from ...
0
votes
0answers
21 views

Adding attributes to a hexagonal grid generated with MMQGIS

I generated a hexagonal grid with MMQGIS, and I need to add some attributes to each hexagon. Is there a convenient way to do this or I have to work with the dbf file? In that case, what is the meanign ...
2
votes
2answers
137 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 ...
0
votes
2answers
94 views

How to show shapefiles with Bing map in asp.net

I want to display my shapefile data on bing map using ASP.NET. Its an web application. I don't want to use any third party tool for shapefile conversion.
-1
votes
2answers
71 views

Converting *.kml file to *.lyr file so Google Earth can create spatial data to use in ArcGIS for Desktop? [duplicate]

Want to convert the .kml file into .shp file so that I can create new the point, line and polygons data to work in ArcGIS. Actually I want to use Google Earth to make data for ArcGIS.
1
vote
0answers
29 views

How do I export only additions when running export-diff to a shapefile in geogit (geogig)?

I currently have two commits in my GeoGit (GeoGig) repository. I'm running the following command on the two commits to get the differences exported to a shapefile. geogit shp export-diff [commit1] ...
1
vote
0answers
86 views

What's the difference in these two shp files?

I'm trying to plot points on these maps in R, with points from "Coordinates" in the same folder. The WL.shp plots fine with the data, but the NG.shp (which should only be larger and of the same area ...
1
vote
2answers
76 views

Unable to load shapefile as feature class into geodatabase file, with only 3 of the fields

I'm trying to automate importing census boundary shapefiles to feature class in a Geodatabase File, but somehow could not get it to work with this code: ### ======================== load boundary ...