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

1
vote
1answer
53 views

Inserting spatial data into existing postgis geometry column from shape file based on ID

I have an existing postgresql database table "city_data" with Non-spatial data in the following format: City_ID as varchar, City_name as var_char, pop as int,.... I have enabled the postgis ...
0
votes
1answer
30 views

Ogr2ogr unable to export S57's Symbol to Shapefile

I am using ogr2ogr tool to convert the S57 files to shapefile. However in the resulted shapefile, I am unable to show the original icons from the S57. For example, the SOUNDG layer be represented by ...
0
votes
1answer
37 views

How I can show details a marker in openlayer through MapServer?

I have a problem but no solutions. Can you help me? I have a mapfile read from shapefile: MAP IMAGETYPE PNG EXTENT 779275 2222000 788430 2233835 SIZE 800 800 SHAPEPATH ...
1
vote
1answer
32 views

Combining 3 shapefiles indices to a single index in a single shapefile in ArcGIS 10.1

I have different polygon shapefiles, each having an index of accessibility within an administrative region ranging from 0 to 1 as an attribute. The suitability increases from 1 to 0. How can I ...
4
votes
1answer
98 views

Polygon inner rings/holes issue

I am working on a script to smooth polygons. Essentially it, separates the inner and outer rings/polygons and send the coordinates to a smoothing def/function. The "smoothed" coordinates are then ...
0
votes
2answers
51 views

Point feature plots in wrong place in QGIS?

I am using QGIS 2.12 on Mac OS X Yosemite 10.10.5. I have a single point with given latitude and longitude. I want to create a new vector layer (shapefile) which will plot one point on the map ...
0
votes
1answer
18 views

get attributes with Latitude and Longitude in shape file as a csv file

i have some shape files of geodata. i need to add that in to a database and access attributes with Latitude and Longitude in shape file. so how can i solve using any type of programming language and ...
1
vote
0answers
60 views

Divide polyline shapefile using R

I am very new to GIS in R. I have a question that may seem simple but so far I have had no luck. I am trying to split every line in a polyline shapefile into segments of three. My original file has ...
0
votes
0answers
103 views

Dissolve using GDAL/OGR?

I'm trying to dissolve a shapefile according to a field using Python 2.7.10 and I don't want to use ArcPy. Is there any way to do this using GDAL/OGR?
0
votes
0answers
25 views

Annotation Conversion from into .shp file with appropriate Fonts Format in attribute table

My Drawing file (.dwg file) is contained with Annotation with Gujarati Text in many type of fonts(eg. Gujarati Saral, Nilkanth, Shruti...). After Conversion of Annotation to .shp file, Attributes are ...
1
vote
2answers
49 views

Global Shapefile with USA Administrative Only

I'm trying to build a simple web application to display service coverage information worldwide. I have been using Datamaps/D3 to build the application. I downloaded the Natural Earth shapefiles for ...
3
votes
0answers
34 views

Is possible to create a shapefile with a specific encoding using ArcObjects?

I have the code to create a shapefile programmatically, something like this 28310 - Create a new empty shapefile programmatically moreover I am able to put the data from a layer in it. It works ...
1
vote
0answers
21 views

Move the position of shape file objects systematicly

I have a shape file with a big number of polygon objects. The problem is that these objects have a systematicly shift. Is there any possibility to place them all at the right position automaticly? ...
2
votes
1answer
63 views

Source for shapefiles or geo-referenced data for Madhya Pradesh, India

I am looking for data sources/shapefiles (demographics, cities, infrastructure, transportation, land cover, geology, etc.) for the state of Madhya Pradesh, India (specifically the Dewas or Khargone ...
0
votes
2answers
77 views

Error when reading in shp file using R

I'm trying to read in a shapefile in R, but keep getting this error: nul character not allowed (line 1). I have tried various shapefiles, all which work fine in QGIS and I have even tried ...
1
vote
1answer
54 views

How to convert a complex project of shape files to a spatialite database?

We have a QGIS project made of ~10 shape file layers. The layers are saved on a shared server, and the project is used on different computers. Recently polygons and polylines have been been ...
0
votes
0answers
6 views

Trouble with graduated symbols after joining shapefile with csv file Again [duplicate]

This question has already been asked: Trouble with graduated symbols after joining shapefile with csv file BUT I do not know how to create a csvt file? Having a lot of trouble with this. Is there ...
1
vote
0answers
38 views

Can transferring a shapefile between local and network drive corrupt the attribute table?

Recently I ran into a troubling issue with ArcGIS (10.2.2) shapefiles. I transferred a shapefile with approximately 10,000 records from my local drive up onto a shared network drive at my office, ...
1
vote
0answers
23 views

Export shapefile layers to svg [closed]

I have an application that exports an SVG after reading in a shapefile (thanks to iant for the exporting bit). You can view the code here: Exporting Shapefile to SVG using Java & GeoTools? What ...
5
votes
2answers
118 views

Is it possible to clip a shapefile to an image() in R?

I am working on mapping some netcdf data in R and have been having a tough time trying to perform a clip with an imported country shapefile that I'm using. Here is my question from yesterday. If you ...
2
votes
1answer
66 views

How to produce outline of a coastline?

I have polygon dataset containing quite a complicated coastline. How can I produce an outline of that coastline? Please see the image: my dataset is in green and the coastline I need to get is in ...
-1
votes
1answer
62 views

Points don't show up on an overlaying shapefile?

library(ggmap) library(rgdal) cities<-c("city A","city B") country<-readOGR(dsn=".",layer="country") gc<-geocode(cities,source="google") gc$names<-c("city A","city B") ...
1
vote
1answer
53 views

Export/Import Shp file records to sqlite table

I am new to python and ArcPy. I need to transfer all the records of a single shapefile to a table created in sqlite3 without the geometry. So far I was only able to retrieve the records using ...
1
vote
1answer
56 views

GPS Babel and shapefile output?

How can I use the mother of all gps conversion tools, gpsbabel, to create shapefiles? It reads and writes almost everything. Shapefile is conspicuous by it's absence. A bit of research turns up that ...
0
votes
1answer
38 views

Leaflet + GeoJSON and ArcMap : Map fails to load if missing variable

I am working on my first web map using the Leaflet API. I have a shapefile that was converted to the GeoJSON format (within ESRI's ArcMap software). The Shapefile contains a field attribute named ...
2
votes
1answer
58 views

Importing shapefile into GRASS, and multiple new rows appear in attribute table

I am importing a GADM Global Administrative Areas shapefile into GRASS (using QGIS 2.8.2 interface). When I do this, multiple additional rows are created in the attribute table. It goes from this: ...
0
votes
1answer
38 views

Openlayers 2.12 upload shp, kml, csv, gml

I'm using openlayers 2.12 and I'm wondering how could upload shp, kml, csv, gml into the browser, just as a temporary layer wich user could see it. Is there any library or way to do it? Thanks!
0
votes
1answer
48 views

Remove 3D geometry in shapefile using OGR

I have a series of shapefiles, that have 3D geometries (ie: points ZM). I would like to remove the 3D geometry so that the files are 2D. Is there a way to remove 3D geometry from a shapefile using ...
2
votes
1answer
64 views

Does joining CSV file to shapefile overcomes the 255 character limitation of shapefile? [duplicate]

I have a CSV file in which some fields contain values greater than 255 characters. I want to ask that wether joining the CSV file with a shapefile overcomes the 255 character limitation of shapefile ...
2
votes
1answer
49 views

Reprojecting Points, Shapes and Rasters using QGIS?

I have a project file that had originally started out with no care to the actual coordinates (we were just using an aerial and displaying the shapes and points on said aerial). Now, I am trying to ...
0
votes
0answers
15 views

Putting shapefile into spplot graph?

I have a spplot with a kriging but I need to put a shapefile into this spplot? How can I do that? I could obtain this with a intersection but I just need the shapefile over this.
2
votes
0answers
27 views

Pre-1998 Indonesia Kabupaten (Level 2) Shapefile

I am trying to find some "old" (pre-1998) Indonesia boundary files at the Kabupaten and province levels. It is important that they are pre-1998, or at least dating before the peak of the secession of ...
0
votes
0answers
67 views

Saving shapefile using GeoTools?

This is my first time dealing with the GeoTools library and not sure how to troubleshoot the issue. I am trying to save a shape file using the library but I get the following stack trace: ...
2
votes
1answer
57 views

Generating Shapefiles from PostGIS as a Plugin

I used to generate shapefile from PostgreSQL database that is installed with PostGIS tables as templates (geometry_columns and spatial_ref_sys) Shapefiles generated just fine using the following ...
3
votes
1answer
169 views

Exporting Shapefile to SVG using Java & GeoTools?

I am currently working on how to read in ESRI shapefiles, parse/edit layers and then export out to SVG (Scalable Vector Graphic) file type. I have been using GeoTools primarily for reading/loading ...
1
vote
1answer
95 views

How to add a layer with city names into QGIS project?

I am new to GIS technologies and I wonder how to add a layer with city names to the QGIS project. I have two layers: (1) Base cartography that is a map without any labels, (2) Delimited text layer ...
1
vote
1answer
54 views

Getting different values for area field calculations using ArcGIS Desktop?

We have self developed application based on ArcGIS 9.3.1 SP2. Our agents use that application to edit parcels. The parcel layer has a field SHAPE_AREA that is calculated by ArcGIS. Our application ...
4
votes
1answer
43 views

Need to combine the lines created by Vector grid in QGIS into one polyline

I am having a fairly specific issue. I am starting off by creating 100m2 squares around specific points on a map by adding a buffer to the point and then using this buffer as the extent for a Vector ...
2
votes
1answer
86 views

Using layer name with accent on letter in ArcPy?

I have a lot of MXDs (more than 200) and all of them use a polygon shapefile "study_area_v00.shp". In the data frame, its name is just "Study Area". Every time we change the boundary of the polygon, ...
0
votes
0answers
40 views

OGR: How to save shapefile to HDD?

I'm new to OGR module and I can't figure out how to save new layer to my HDD. I allready have shapefile with lines and buffer and I want to clip lines with buffer. from osgeo import ogr ...
2
votes
2answers
81 views

Bulk conversion and import of OS MasterMap .gz files to .shp in ArcGIS Desktop

I have 91 .gz files procured from the Ordnance Survey and would like to import them all to ArcGIS as shapefiles. I know that the Quick Import tool in the Data Interoperabilty extension performs the ...
1
vote
1answer
147 views

Create shapefile based on geojson data with geotools (Java)

I'm using Geotools 14.0 for Java and I'm trying to generate shapefile based on data from GeoJSON. Here is my code: try { String url = "geojson.json"; File geojson = new File(url); ...
1
vote
1answer
19 views

Reprojecting a shapefile with ogr2ogr when a line is crossing the international date meridian

I have a line shapefile with a local transverse mercator projection ("+proj=tmerc +lat_0=50 +lon_0=172.5 +x_0=0 +y_0=0 +a=6371000 +b=6371000 +units=m +no_defs") and I want to reproject it into ...
0
votes
0answers
16 views

Showing Polyline attribute in ArcGIS for Android?

I have a polyline shapefile that I am displaying in my android app. (Eclipse ADT java etc) The Shapefile is of a road network and includes attributes such as the RoadID etc. the polylines of the ...
2
votes
2answers
62 views

cannot open shape file

I'm trying to open this shape file with CartoDB or http://geojson.io, but I keep getting different kind of errors. I can open it with qgis, but then I tried exporting it to geojson, kml, esri shape, ...
1
vote
0answers
63 views

Mapnik zoom_to_box for shape

I have used the code from Mapnik python tutorial. Now I want to use zoom_to_box to zoom to certain extent. I want to zoom to Box2d(-180.0, 0.0, 0.0, 90.0), however, after appied zoom_to_box, I saw the ...
0
votes
1answer
94 views

How worked with large shapefile using sharpmap? [closed]

I use sharpmap for working with shapefile. Now shape file is big and sharpmap take a long time to loading layers. Please tell me how i can speed up working with shapefile.
1
vote
1answer
37 views

Converting SHP file of river drainage to TXT using ArcGIS for Desktop?

I need to convert a shp file of river drainage into *.txt to run in another software. I am in trouble since the SAMPLES in ArcMap toolbox is deprecated after version 10.
6
votes
1answer
77 views

How to make a wedge shapefile in R?

I'm quite okay at R programming, but fairly new in GIS (especially in R). I have a set of coordinates and I'd like to create a custom shape around them. What I want to do step-by-step: Create a ...
0
votes
3answers
84 views

Attribute table in shapefile polygon [duplicate]

I have many polygons which represent different areas (with different plant species in each of them). I want to “link” some information to the polygons in order to later be able of seeing which kind ...