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)

3
votes
1answer
714 views

How to save a newly created shapefile in PostGIS?

I am creating shapefile using shapefile.py and my database has records more that 65k which is the limit of the shapefile. How can I create shapefiles then? Is it possible that somehow I am able to ...
3
votes
2answers
400 views

mapserver displays raster image in mirror

I've installed Mapserver and used a map file to set a raster layer and vector(shp) layers on top of it. However, although displayed in the expected order, the png file is displayed in mirror(compared ...
2
votes
1answer
43 views

Valid values of mollweide projection in QGis

i just imported a vectorlayer (without any reference points) to qgis as mollweide projection to save it to longlat. What i am wondering about is a mathematical problem: Not every x,y coordinate on the ...
2
votes
1answer
113 views

Why is shapefile not drawing in expected location after (or before) using Define Projection tool? [duplicate]

I have downloaded this zipped shapefile of bus routes from the City of Houston data portal. I then performed these steps in ArcGIS Desktop 9.3.1: Extracted the shapefile from the *.zip Added this ...
2
votes
2answers
170 views

Convert shapefiles in nested folder to geodatabase

I currently have approximately six hundred old .mxds, and all the data source links are broken due to an upgrade in the GIS computer. In the past, all the spatial data was stored as shapefiles in ...
2
votes
2answers
145 views

How to convert Point coordinates into CSV format?

The GDAL documentation describes how to convert a ShapeFile into CSV data. The layer create options (-lco parameter) allows to prepend the coordinates of Point features to the actual attributes ...
2
votes
1answer
103 views

Problem converting coordinates

I'm trying to convert punctual values from lat/long to EPSG:6372, a projection for Mexico, defined by the Instituto Nacional de Estadística y Geografía (INEGI). I found a converter online but somehow ...
2
votes
4answers
925 views

Export to a Shapefile and maintain Domain Coded Values

I maintain a complex parcel fabric that uses coded value domains for a few fields. These are short integer fields with values from 1 - 6. These values represent say 1:Integrated Registered Survey ...
2
votes
1answer
1k views

How to resize shapefile features proportionally in QGIS?

In Quantum GIS (1.8.0-Lisboa) on Windows (OSGeo4W Install), how exactly would you resize a feature proportionally. The only way I've found to do this is by hand using either the Freehand Editing ...
2
votes
1answer
254 views

OGR - Weird GeomType -2147483645 on polygon shapefile

I am trying to import a shapefile (multipolygon) in an app with ogr but I got an error about invalid geom type. If I inspect the data with ogr like this: datasource = ogr.Open("c:\\temp\\data.shp") ...
2
votes
3answers
7k views

How to convert shape files (.shp) to Cad (.dwg ) format using Quantum Gis 1.7.0?

How to convert shape files to .dwg format using Quantum GIS 1.7.0 ? Thank you
2
votes
2answers
500 views

Problems converting CSV to Shapefile using pyshp

I have a python script which converts csv data to shapefiles. It converts but won't get angle from csv. Can anyone help me? The CSV data looks like this: fid_nr;x;y;angle ...
2
votes
1answer
528 views

How to meassure the length of common edges between polygons?

I have a shapefile that contains several polygons which in fact represent the limits of several counties. My task is to find each length of each shared border. So in other words I want to know how ...
2
votes
2answers
1k views

Create points from lines

I used the Bearing Distance to Line command (Data Management) in arc to convert UTM coords (i.e. of a plot center), bearing and distance to the figure shown below. The end of each line represents a ...
2
votes
1answer
383 views

Uploading unprojected shape files using GeoServer REST API

I have a number of shapefiles that lack the .prj file. I'm able to upload them to geoserver using the rest api. However, I'm unable to serve them after upload. Which brings me to the question as to ...
2
votes
3answers
929 views

Transforming a polygon to ESRI shapefile?

First, apologies - I am a complete newb at this stuff and don't know what I don't know. I may use incorrect language. Essentially, I want to convert the shapes in a Microsoft Visio diagram into a ...
2
votes
1answer
319 views

How to calculate the Zone of Impact using OpenWind

After downloading OpenWind, I am trying to calculate the ZVI for a single Turbine. There is no documention regarding this from the developers. At this point I just want to compare the output of the ...
2
votes
5answers
4k views

Error importing Shapefile to PostGIS using Importer GUI

I'm trying to import a shapefile into a PostGIS database using the graphical importer. I just installed POSTGRESQL, and PostGIS. The GUI looks like this: After testing that my database worked, I ...
1
vote
1answer
103 views

Mapnik + OpenStreetMap + Shapefile with Raster Images + Mod Tile + PostGIS

I am new to GIS. I have a Shapefile (.shp, .shx and .pbf). The .pbf file contains path to PNG files located on my machine only. I was able to save the Shp data to PostGis via Shape2Gis tool. Now ...
1
vote
2answers
75 views

2 shape files plots together in a GIS, but not in R

I tried plotting these two files and a set of points (dropbox folder) in QGIS and MapInfo. They align pretty good (not perfect though). But in R, only the data from www.naturalearthdata.com can plot ...
1
vote
2answers
105 views

How to fix shape file projections

I have a project with several shape files. The files overlapping however. I have to go to unusable extents to even see the file on the same screen. I have tried using to project to as suggested here ...
1
vote
2answers
266 views

Are British National Grid (BNG) 1km grid shapefiles displayed accurately in ArcMap?

I have downloaded the UK Ordinance Survey's 1km grids in shapefile format for ArcMap. If you need to download them to have a look first you can find them here look for link in the first Answer to the ...
1
vote
0answers
40 views

How to load or query data directly to R from a PostGIS database using RPostgreSQL and rgdal [duplicate]

Is it possible to load/query a shapefile to R, which is stored in a postgres/postgis database? I've built up a connection to my postgres database via DBI, RPostgreSQL and I want to make some ...
1
vote
1answer
918 views

QGIS conversion of Microstation .DGN to .SHP

I'm attempting to convert a .dgn file to .shp. I'm reading that support is only provided for v7 microstation files, is this still the case? I've been using ogr2ogr -f "ESRI Shapefile" output.shp ...
1
vote
1answer
356 views

How to truncate field names to 10 characters in model builder

Apologies that I have not posted an image of my model, I am away from my computer for a while but am trying to sort this out anyways. I have a number of different animal GPS location points, and a ...
1
vote
1answer
417 views

Display Shapefile on website (Java or PHP)

i have to write an application where similar to Google Maps where i have to display a shapefile in a web application. My available technologies are Java (frontend framework: Apache Wicket) or PHP. It ...
1
vote
1answer
804 views

How to dissolve polygons and aggregate their data in QGIS? [duplicate]

I have a shapefile (one layer) with my country but I have a problem. It is divided into 4 entries (prefectures), and I want it as one, not 4. Also, there is a table with some data, and I want to ...
1
vote
2answers
860 views

How to style a shapefile in GeoServer?

I have a shapefile data of buildings. I added it to GeoServer and serve it as a WMS layer. When I check my own maps in the browser my polygons of building appear black color and I want to change it's ...
1
vote
2answers
209 views

How to remove shapefile from PostGIS

I added a shapefile to the PostGIS using, ogr2ogr -f PostgreSQL PG:"host=server_ip user=username dbname=dbname password=password" yourshapefile.shp; Now I want to remove it. What is the command ...
1
vote
3answers
509 views

Where can I find shapefiles for New Zealand Cities and Suburbs/Neighbourhoods?

I'm trying to find some shapefiles (administrative boundaries) of New Zealand CITIES and SUBURBS/NEIGHBOURHOODS. I've found some boundaries for the Country, Regions, Districts (not useful for me) .. ...
1
vote
0answers
318 views

QGIS: opening a shapefile without an exclusive file lock [closed]

UPDATE: I did some analysis of what happens with the locking and it looks like QGIS doesn't use an exclusive lock. It just requires (non-exclusive?) write lock to the file. So this C# code fails: ...
1
vote
3answers
2k views

How to convert projection

I got sample shape files with the following *prj file content: ...
1
vote
1answer
458 views

Using kriging with data in GDB

I have series of data in my GDB I am running the program under VBA and what I want to do is using the data by the tool Kriging. This is what I thought: First, Kriging needs data that must be a ...
1
vote
2answers
1k views

“Item not found in this collection” when trying to set the Shape on IFeatureBuffer

I'm working on code to open a 3rd party data file and convert it into a collection of features in a custom layer based on FeatureLayer. I have had no issue importing the data itself (nodal data for ...
0
votes
2answers
44 views

shapefile terminology for key-value pair

In an .osm file, there are <TAG ... /> elements like <way visible="true" id="-4409" timestamp="1970-01-01T00:00:00Z" version="1"> <nd ref="-21845"/> <tag k="fcc" ...
0
votes
0answers
130 views

Save label edited shapefile and convert to Microstation DGN

Usually i use FME converter to convert any file but now with the above, how to: SAVE / EXPORT the .shp file including the changes made to LABELS ( to best of my understanding, the edited lines are ...
0
votes
0answers
15 views

How to Create Consistent Grids using different Projections [duplicate]

I would like to be able to create highly accurate and consistent grids to be used in my simulations. I will need to create 200m2 grids for the UK. The processing software will need data in Lambert ...
0
votes
1answer
54 views

How to compose WFS GetFeature link from WMS capabilities definition?

This publication of geoinformation provides download links for GetCapabilities documents via WMS. The platform also runs a WFS service as can been seen here. I wonder if it is possbile to compose a ...
0
votes
1answer
298 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
138 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
3answers
2k views

How to compare differences in two shapefiles? [duplicate]

I am a new user to Arcmap 10. I've been trying to figure out how to compare two polygon shapefiles. I need to figure out what the difference is from 2007 - 2013 (increase/decrease) in a couple of ...
-1
votes
4answers
294 views

How can I clip a shapefile?

I have a SHP that includes the entire county and want to downsize it to a specific area...how??
-3
votes
1answer
77 views

How can I use ogrinfo to reach information anout a .shp?

How can I use ogrinfo? where should I write it? In the visual studio's command prompt or somewhere else? Can you make some examples? when I use ogrinfo in the windows or visual studio's command ...