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
2answers
151 views

Selecting a suitable GIS for my project

I need to develop a web-based map using existing shape files. Using the web-map, we must be able to select a region and produce contours for that selected region. Can any one suggest the best open ...
6
votes
1answer
1k views

How import a shapefile on-the-fly and have GeoServer render it instantly?

I am tasked with adding one feature to an existing app. It was built with OpenLayers and GeoServer. The task is to import a shapefile on-the-fly and have GeoServer render it instantly. However, I ...
0
votes
1answer
103 views

Raster and shp overlap not working with user CRS mercator

I created a GeoTiff raster in python, that is projected with the following CRS: *"+proj=merc +lon_0=34.9586601257 +k=1 +x_0=-0 +y_0=1453756.01544 +a=6370997 +b=6370997 +units=m +no_defs"* When I load ...
2
votes
1answer
402 views

QGIS apply style to shapefile

I'd like to create a Categorized style in QGIS, classify with it data in a shapefile and then save the shapefile with the new categorized style. Is it possible?
1
vote
2answers
178 views

How to have a nullable field included in a shapefile using the Geotools library?

I am trying to add a new field to a shapefile and need it to store null values. But by using SimpleFeatureTypeBuilder from the Geotools library and then using the Add command, it is not giving the ...
0
votes
0answers
51 views

ESRI 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 ...
1
vote
3answers
564 views

Automatically assign numbers to point file in various order in QGIS

I know how to automatically assign numbers to a new point files using the $rownum function in the field calculator. However it does it from the top-left over and down like reading a book. I could ...
6
votes
2answers
939 views

Is it possible to change the field length of a shapefile to over 255?

The maximum field length that I can specify is 255 and because of that I'm having problems with the input attributes, which have a size greater than 255. What alternatives are there for having longer ...
3
votes
2answers
5k views

How to convert bearing, distance, xy coordinate measurements to point shapefile?

I have a natural resources dataset where individual seedlings in canopy gaps were recorded from a center "legacy tree" within each canopy gap. Each sapling has the following measurements associated ...
2
votes
1answer
1k views

Basic User Questions: Tracing a Border in QGIS

The project: I'm plotting a dilapidated cemetery, I'm using GPS waypoint data to plot the headstones in QGIS. The map I'm making is to show the orientation of the graves, and who is in them. I ...
1
vote
3answers
814 views

Update shapefile data source with wildcard using python

I am attempting to update a layer's data source in Arcmap using python for lyr in arcpy.mapping.ListLayers(mxd, "*", df): if lyr.name == "project_whl": ...
2
votes
2answers
818 views

Unable to create shapefile using shapefile.py

I am trying to create shapefile from csv data using shapefile.py but i am constantly getting this error, Traceback (most recent call last): File "createShp_Davis.py", line 31, in <module> ...
3
votes
2answers
362 views

Eliminate small polygons from shapefile

I downloaded GTOPO30 *.DEM files, and extracted a contour line at 2000m altitude using gdal_contour. In the resulting shapefile, I have many small polygons in areas where the altitude is close to that ...
4
votes
1answer
899 views

How to use DotSpatial to project/reproject shapefiles on the fly

I would like to use DotSpatial to reproject shapefiles on the fly before loading them to GeoServer. I've been looking for tutorials on how to get started with this in vain. Any pointers on where I can ...
2
votes
1answer
398 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
1answer
290 views

How to generate thumbnails from shape file and display them on my website?

I tried to generate thumbnails from shape file and display them on my website(using jsp).I had been read this and this question .Very similarity questions ,but I know nothing about python... Is ...
4
votes
1answer
686 views

How to upload shapefile to PostGIS using cURL and GeoServer REST API

The GeoServer REST API docs here does not detail how to do this. I'd like to create a PostGIS table and corresponding featureType in GeoServer using the REST API, without having to chain requests. ...
5
votes
1answer
816 views

Working examples of Leaflet/Polymaps with GeoJSON tiles generated from Tilestache using Shapefiles?

I'm looking to create choropleths using GeoJSON tiles generated from ESRI Shapefiles by TileStache(or similar), in either Leaflet or Polymaps. So far reading and drawing GeoJSON from both Leaflet and ...
6
votes
1answer
2k views

Why does QGIS Simplify Geometries delete entire polygons?

I am reducing the size of a world timezone shapefile, http://efele.net/maps/tz/world/tz_world_mp.zip But at a 0.01 tolerance, entire countries disappear Anybody know a way round this? QGIS shows ...
4
votes
1answer
1k views

Move .SHP from .MXD to gdb [duplicate]

Possible Duplicate: How to move SHP to gdb with ArcView license? Let's cut it short, I have numerous mxd with layer coming from .SHP and various servers WMS that I need to move to a gdb. ...
7
votes
3answers
5k views

How to include variable in where clause of arcpy.Select_analysis?

I am trying to loop through a shapefile, selecting each feature in turn and copying it to a temporary shapefile to by included in a union analysis. I'm using a cursor to find the ID name for each ...
3
votes
1answer
2k views

Upload Shape File using GeoServer REST API and C#

I'd like to upload shape files using GeoServer REST API and C#. So far, I can create workspaces using the REST API and C#. From GeoServer documentation (specific to cURL), the difference between ...
2
votes
0answers
677 views

How to draw an overlay using KML on our own app in Android?

Repost from here Hi there, I want to draw an overlay using .kml files, just look like this. But on my own app in MapActivity. 31.kml, display district in Jakarta, Indonesia or the example that I get ...
4
votes
1answer
194 views

Arcmap: subset A.shp based on B.shp, then partially update B.shp

Okay, so I have 2 shapefiles: US states outline file (very coarse/simple outlines) Global Self-consistent Hierarchical High-resolution Shorelines, Level F (much finer spatial resolution) I am ...
1
vote
0answers
375 views

how to get ascii grid from corine land use data?

I'm trying to get ascii grid with land use data (by one parameter - CODE_00). Afterwards I will import it into simulation tool. But I cannot figure out how to convert ascii grid from shapefile. ...
2
votes
3answers
984 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 ...
3
votes
3answers
2k views

How to generate a shapefile containing an UTM grid (graticule)?

I'm looking for a shapefile containing an 1000m or 2000m UTM grid ("graticule"). All I was about to find on the web is a 10000m UTM grid (here: http://en.giswiki.net/wiki/UTM) and I am aware that a ...
13
votes
2answers
6k views

ogr2ogr converting to shapefile - how to select feature types?

Shapefiles can only have one geometry type, but many other formats (kml, geojson) can have multiple types. When converting to shapefiles, is it possible to to tell ogr2ogr to create multiple ...
2
votes
2answers
468 views

How do I set custom spatial reference/coordinate sys to my shapefile

I have a python code which converts JSON text file to a shapefile. I have to set coordinate system to this shapefile created. I do not want to access the .prj file from my computer as this code will ...
0
votes
1answer
431 views

shp2MySQL GIS Import Coordinates Not Correct

I'm attempting to import the Chicago Neighborhood Boundaries into a MySQL database from the shape files available at ...
4
votes
1answer
1k views

Write out a WKT file from a loaded shapefile

We are looking to load and display a shapefile, simple polygons, then write out a WKT string of that shapefile and have the user save it somewhere. Does anyone have some code snippets of that very ...
5
votes
1answer
3k views

How to programmatically add shapefile to data frame in Arcmap

I have a toolbox with python script which creates a shapefile from JSON txt file, but it does not show the generated shapefile in arcmap, i have to add it from the output location. What code shall I ...
1
vote
1answer
3k views

Looking for vector data for the country Turkey

specifically roads, railroads, and rivers shape files.... no cost would be nice, but it needs to be more detailed and accurate than mapcruzin's free data. Something under $500 would also be ...
2
votes
4answers
4k views

How to convert SHP into GPX or JSON?

I would like to convert the tree inventory shape files of London (Canada) into a GPX file and if possible into a JSON file. You can download the archive from their Open Data website. It contains the ...
2
votes
2answers
194 views

Switch classes on/off within shapefile in QGIS 1.8

Hei! I got shapefile with 1800 points. They are classified by attribute in 10 classes. How can I display only 1 or 2 classes (like - switch on/off layer)? It seems quite usual function, but I ...
1
vote
2answers
641 views

Why does ESRI make me store my DBF doubles as strings?

As far as I can tell I have to store all numeric values in a shapefile's associated DBF file as strings (yes, the N type is essentially a string). Can anyone confirm that ESRI does not support the use ...
6
votes
8answers
6k views

Splitting shapefile into separate shapefiles for each feature? [duplicate]

I have a polyline shapefile with about 20 kinds of roads. I would like to know how can I create automatically a vector file for each one. I can use ArcGIS for Desktop, QGIS (or GDAL separately).
13
votes
4answers
317 views

Are long lines in shapefiles to be considered geodesics or straight lines in the 2D latlong space?

Is there a definition on how lines connect vertices in the shapefile format? In the simplest case, imagine a line with only 2 points, from 40,-118 to 40,-112 - that's somewhere random in the US - ...
0
votes
0answers
48 views

How we add XY coordinates (in the attribut table) from shapefile (points) using QGIS? [duplicate]

Possible Duplicate: How to get the coordinates in Lat/long from a point layer? I created a new shape file and edited to add points at specific location. Now, I would like to extract the XY ...
3
votes
1answer
204 views

Problem with precision when convert from WKT to shapefile

I have a problem with converting from WKT to shapefile in pygdal. In wkt I have fields with precision (for example real 7.2). When I create a shapefile I have field numeric with no precision (numeric ...
6
votes
7answers
6k views

ogr2ogr convert all shapefiles in a directory

I have a directory with several shapefiles. How can convert all these shapefiles to MapInfo with ogr2ogr. I know how I can convert one file. And I can make a batch script writing a line for each file. ...
2
votes
1answer
360 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 ...
9
votes
3answers
3k views

Divide a complex shape file into a grid

I have a decently detailed shapefile with polygon/multipolygon features (the file is about 500mb). It's actually a shapefile of the entire world, with the features representing coastlines. I need to ...
1
vote
2answers
349 views

How to shift the Map a little bit?

I'm having trouble with two maps, both UTM33N/WGS84. They should be exactly on top of each other but there is a slight shift between them of probably a few hundred meters or so. I Tried to adjust ...
9
votes
2answers
2k views

Shapefile to SVG with ArcMap (while retaining country attributes)

Does anybody know how to export the Natural Earth 1:110m shapefile to SVG with ArcMap while retaining the country attributes? From SVG I'm gonna try to convert it again over to RaphaelJS to achieve ...
6
votes
4answers
967 views

Postal areas for Germany? - Shape?

does anyone of you know how and where I can download postal area districts of Germany in shape files (download free of charge if possible). best regards desputin
4
votes
2answers
2k views

Check if shapefiles exists in folder

In ArcGIS modelbuilder I want to check if a shapefiles exists, if not I want to create the shapefile in that folder. I guess the calculate value tool within ArcGIS modelbuilder can be used, but I need ...
0
votes
0answers
69 views

GIS web development [duplicate]

Possible Duplicate: Steps to Start Web Mapping I want to create a Web GIS using an open source software.Also the software should be capable of importing shape files and kml.I have good ...
4
votes
1answer
638 views

Calculation of average point distances from one another within a polygon grid

I am working with processed LiDAR data of forested areas in ArcMap 10, with various area based statistics extracted for each 30x30m polygon grid-cell in a shapefile. There are approximately 20,000 of ...
1
vote
0answers
333 views

ogr2ogr failed to reproject shapefile error exceeds limits

I cannot get correct transformation from WGS84 to the Hungarian EOV EPSG:23700 (Hungarian Datum 72) using ogr2ogr. I am using ogr2ogr from the fwtools shell. I have a shapefile in GCS WGS84 (epsg ...