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.
1
vote
1answer
14 views
How to publish shapefiles with GeoServer?
I have multiple shape files of my country, its states and cities. I want them to display in map i.e. First layer is country, then states-layer and then cities layer. I only know that to do this, first ...
0
votes
1answer
27 views
Trying to use clip tool but keep getting ERROR999999?
The layer being used as the 'clip features' has been used before and worked fine, so i assume the issue is the layer im trying to clip (Input Features) - I keep receiving the same error when running ...
0
votes
1answer
21 views
How to show .shp file on Mapview(ArcGIS Android SDK 2.0.0)
I'm using ArcGIS Android SDK for first time. I have worked on a sample project and am able to get a World map using this..
map = (MapView) findViewById(R.id.map);
map.addLayer(new ...
3
votes
1answer
36 views
Is it possible to use UTF-8 characters for shapefile attributes?
I heard that according to a specification shapefile attributes stored in dbf-files cannot have UTF-8 as encoding.
And then I found out that an additional file with the ending CPG can be used to define ...
2
votes
3answers
47 views
How to preserve text when converting from .dxf to .shp?
I have tried using dxf2shp converter in QGIS but the text in dxf file is being lost during the conversion process, despite selecting export text labels.
I would be grateful if someone can help me ...
1
vote
1answer
33 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
23 views
If I've given two different layers the same CRS, why won't they overlay one another?
I have a "towns" and "state" shapefile for Massachusetts as two separate vector layers in QGIS. I've set the project coordinate system to WGS 84 at the bottom of the screen (next to the "coordinate" ...
1
vote
1answer
31 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
1answer
24 views
Writing iso19139 compliant xml metadata from a spreadsheet
I am looking at a way to migrate the metadata from a spreadsheet into iso19139 compliant xml metadata documents for a collection of shapefiles. I can parse the data out of the spreadsheet into strings ...
0
votes
1answer
34 views
Opening specific area only
I have a Shp file loaded of a County boundary, but i would like to open another shp file but only show the lines etc within that area and automatically delete anything outside.
Thank-you
2
votes
2answers
63 views
Built a query for polygon Shapefile in R
I use the package maptools to read in Shapefiles in R. I would like to know if there is a function that can built up a query/subset to select only some Polygons based on a specific attribute in the ...
0
votes
0answers
52 views
Grass won't import shapefiles
I have a problem involving the import vector data command, specifically importing shape files. I installed QGIS on a pc at work and there I could import shape files into GRASS GIS 6.4.3RC2 (which is ...
2
votes
1answer
66 views
File size limitation for shape file
I am going through File size limitation for shape file esri support article (this article applicable for ArcGIS 9.X version not for 10.X ) I know may be same article will applicable for 10.x version
...
10
votes
5answers
424 views
Should I use File Geodatabase (*.gdb), Personal Geodatabase (*.mdb) or shapefiles?
I am a bit confused on the topic of databases. For me, this far, I have used databases as an easy way to keep all files together rather than having dozens of shapefiles all over the place. And it's ...
0
votes
0answers
24 views
catchment delineation
I am trying to use qgis to delineate between three sub-sub-catchments.
I have contour shape file of 20 meter height.
Sub-catchment is about 12 square kilometers area but consist of three ...
2
votes
2answers
49 views
Where to download USGS DOQQ boundaries?
I downloaded a shapefile of USGS DOQQ boundaries a few years ago and cannot seem to find one now. The attached image shows an example of the shapefile I'm looking for (green polygons showing the ...
0
votes
0answers
13 views
MapInfo8.0 is not letting me edit layers imported from the server? [duplicate]
I have imported 4 layerts from my server for use in MapInfo, when i went to edit these layers the edit tool for each of these layers is grey and non accessible.
Any suggestions would be greatly ...
-2
votes
0answers
49 views
How to convert shape file to .map format
i have made a .shp file from the srtm data for contour making.I need to get the output as >map format,with elevation details.If i am trying to convert into .bna there is some error happens along with ...
0
votes
2answers
50 views
Splitting Shapefiles [duplicate]
I am trying to create a code that will accept the input of a shapefile, and separate each of its features into separate shapefiles into a specified directory location. Can anyone help ? I am trying to ...
0
votes
0answers
19 views
NYC Building Perimeter Shapefile after 2011
I've been using the following NYC building perimeter shapefile from the DOTT for some work. This file however dates back to 2010. Is there a newer one available, and if so where?
I have found this ...
3
votes
2answers
65 views
How to calculate the shared area between a raster and a shape file in ArcGIS 10?
I have a raster file with 5 classifications developed from habitat modelling algorithms. I'd like to know how much of 2 classes of the raster is covered by the network of protected areas (Shape file). ...
1
vote
1answer
31 views
Web map tool with high interactivity [duplicate]
I'm looking for an ArcGIS Online alternative. It needs to be
linked to a private MySql server
Use shapefiles
Display attribute data and charts upon click/hover
Toggle shapefile to display/disappear
...
0
votes
0answers
25 views
How to modify the coordinates of a SHP geometry using Geotools?
I have a shapefile with some polygons. I would like to change the height for this elements using Java. The rest of the attributes should be the same. I've thought using GeoTools but I haven't found ...
1
vote
2answers
60 views
How to Add Shapefile with Symbology from Layer File to ArcMap MXD using ArcPy/Python?
Say I have a Shapefile:
C:\DATA\points.shp
A layer file:
C:\SYMBOLOGY\symbology.lyr
And a map document:
C:\MAPS\map.mxd
How can I add points.shp to map.mxd with the properties of symbology.lyr ...
0
votes
0answers
139 views
Problem reading attribute with Python using osgeo.ogr
I am working thru "Python Geospatial Programming" and I have a problem in a program in Chapter 6 that I cannot seem to solve.
The small program:
import osgeo.ogr
shapefile = ...
1
vote
1answer
45 views
Incorrectly Projected PostGIS data in TileMill
When I bring PostGIS data in EPSG:900913 into TileMill, my layers end up on other continents.
This is my workflow:
(1) Save shapefiles in QGIS to EPSG:900913
(2) Import the shapefiles using PostGIS ...
0
votes
0answers
37 views
Tectonic / G-Plates, export of shapes [closed]
Whatever I've tried, neither can I compile a running "gplates" on Ubuntu 12.04, nor can I make the windows version run using wine or similar windows emulators.
So what I'd like to ask/please:
Is ...
3
votes
2answers
109 views
Csv to Shp conversion? [duplicate]
I am working on a really big script right now where I have a csv file that I have removed rows and columns from, and edited the headers. I need to create one big shapefile for the entire csv file then ...
3
votes
0answers
56 views
Shapefile and DEM: check rivers behaviour
I'm working with shapefiles representing rivers (rivers.shp), and DEM for the terrain elevation (terrain.tif).
Basically, I want to check that my rivers (stored as polylines in my shapefile) behave ...
1
vote
3answers
72 views
Converting Categories to shapefiles [duplicate]
I have created 2 Categories in a feature using classification.Now how do I convert them into new shapefiles?
1
vote
1answer
154 views
Find and replace unicode character in a shapefile
I've found several example of script and blog posts on working with unicode characters, but I haven't been able to make anything works so far... It's a little frustrating
I have a shapefile encoded ...
1
vote
0answers
74 views
Google Earth export from QGIS
I'm using Quantum GIS. Is there a way to export a shapefile to Google Earth format (*.kmz) using QGIS?
Thanks.
1
vote
0answers
21 views
Projection issue: mismatching .shp even if with the same SCR [closed]
I have a problem with some .shp from ARCgis (point and polygone) that appear on QGIS with mismatching SRC. When I change and save the new SRC (even by doing "save as") to make them match nothing ...
0
votes
1answer
68 views
Kartograph Open Street Maps
Firstly, congratulations to Gregor Aisch for creating such a wonderful library, thank you!
I am having a little trouble rendering an svg from some osm data. I downloaded the Sweden transportation ...
6
votes
1answer
121 views
Where can I find municipal-level administrative boundary data for India?
Does anyone know how to find a shapefile with boundaries of Indian municipalities? I have tehsil boundaries as for year 2001, but I would like boundaries of municipalities. Ideally, also historic ...
3
votes
2answers
73 views
Is it possible to create CAD file from shapefile and also create CAD blocks from the database fields
I am trying to find out if there is any software or plugin/code that I can bundle that will take a shapefile and export it to a CAD file with CAD blocks generated so our CAD mappers can just move the ...
1
vote
1answer
33 views
Postgis invalid geometry from shape file
I'm having trouble converting a Feature class (shape file) to a DB table (Postgresql 8.4/Postgis 1.5). This is the command in the pg log:
INSERT INTO "public"."distritos" ("Shape" , "DEPARTAMEN" , ...
6
votes
1answer
101 views
How to rename field names in a shapefile?
I need to rename the field names (attributes) in a shapefile. Is there an easy way to do this from the command line?
0
votes
1answer
69 views
How to calculate polygon areas in acres or square miles instead of feet?
I have a layer in State Plane NAD83. When I use "Vector|Geometry Tools|Add/export geometry columns" or Field Calculator they both create the area in feet. What if I want acres or square miles? Thanks
...
0
votes
4answers
152 views
preferred source format for OGR conversion to GeoJSON
I'm relatively new to OGR and GIS in general. Most of the sources I look at give a choice of ESRI shapefile and MapInfo formats. I'm using ogr2ogr to convert these to GeoJSON for import into ...
0
votes
1answer
36 views
Arcpy CreateUniqueName usage: keep original input names
This is a continuation of the question I asked here:
At this point I'm really just trying to get everything in one place and keep the original shapefile basename. I'll tackle merging like-named ...
4
votes
0answers
47 views
Can I edit shapefile while using a definition query in QGIS?
Is it possible to edit shapes while using a "definition query" or "query builder" in QGIS? I'm trying to do this in the same way I used to in ArcGIS.
Thanks!
0
votes
1answer
19 views
Is it possible to update layer source in qgis
I've loaded a few shape files as layers in qgis, and I'd like to make a duplicate of the project and all associated shape files into a single directory. However, all of the layer sources are still ...
1
vote
1answer
71 views
How to dissolve polygons and aggregate their data in QGIS?
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 ...
2
votes
1answer
68 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")
...
0
votes
1answer
55 views
ST-Links convert Feature Class to DB Table error
I'm using ArcMap with the ST-Links SpatialKit Conversion tool to convert a Feature Class to a DB Table. But I'm getting an error: ERROR: 42601: type modifier is not allowed for type "geometry".
I ...
2
votes
0answers
74 views
How to avoid creating corrupt Shapefiles during Editing?
I have one of my GIS technicians digitizing some lines in QGIS in shapefile format. I don't know how he did it (and neither does he), but somehow the shapefile became corrupt. It was creating random ...
0
votes
1answer
34 views
I want to change using C# the style of a set of shapefiles once I have uploaded them or while I am uploading them
I am using C# and the WebRequest class to create a worksapce and then another WebRequest to create a datastore and upload a folder full of shapefiles to a geoserver. However, I would also like to ...
2
votes
1answer
37 views
Force dimensionality with shp2pgsql
After invoking:
shp2pgsql -W "latin1" theshape.shp > thesql.sql
My console responds with:
Shapefile type: PolygonZ
Postgis type: MULTIPOLYGON[2]
Note the shapefile type is PolygonZ. The result ...
1
vote
1answer
60 views
British National Grid to KML results in offset polygons
I have a shape file of English wards from ONS.
It is similar to the files available here:
http://www.ons.gov.uk/ons/guide-method/geography/products/census/spatial/2011/index.html
except I had to ...



