"Convert" usually tags questions where a change of physical file format or of coordinate representation is needed.

learn more… | top users | synonyms (1)

4
votes
1answer
2k views

Shapefile to MSSQL with ogr2ogr fails to make connection

I am using ogr2ogr from OSGeo4W on my Windows 7 box to import a shapefile into a SQL Server database on one of my servers. I was able to successfully complete the conversion using shp2sqlserver, but I ...
4
votes
4answers
8k views

Tool for converting .shp file to .tab file?

I am searching for any free tool which can convert ShapeFile (.shp) to MapInfo (.tab) file.
3
votes
2answers
442 views

Extract PostGIS line features to GPX

I have a request to provide GPX files of certain trails (around 100) that are present in OpenStreetMap. Given a local PostGIS install with OSM data, I think the process would be something like: ...
3
votes
2answers
7k views

How to convert a shapefile to WKT?

I'm trying to convert a shapefile into the simple Well Known Text (WKT) format in the example below (from http://en.wikipedia.org/wiki/Well-known_text). MULTIPOLYGON (((40 40, 20 45, 45 30, 40 40)), ...
3
votes
2answers
1k views

How to read MapInfo .tab files in ArcPy?

I want to use arcpy (the ESRI install of python 2.65) to analyse tab files...can this be done directly or do I need to convert them to shp files...if so would it be possible to do something like ...
2
votes
3answers
2k views

QGIS - Convert Vector points to GPS waypoints and route

I'm new here. I have a shape file with a series of points (around 300) using British National Grid. I need to put them on my Garmin Etrex 10 as waypoints. Can someone tell me how to convert this ...
1
vote
5answers
1k views

Batch convert xy to shapefile

I have about 300,000 CSV files which I want to convert to shapefiles, but ArcGIS and QGIS can only convert one CSV at a time. Are there any ways to batch convert my CSVfiles? x y z1 z2 z3 z4 1 2 3 ...
0
votes
1answer
226 views

How do I convert coordinates to raster (bsq, bil) lookup?

I have a .bil file, which has interleave = bsq in the hdr file. I'm having trouble finding any insight into how I would essentially do a lookup on the file. I have no problem reading a specific ...
4
votes
3answers
4k views

GDAL_translate: converting ESRI GRID to Geotiff in batch

The Challenge: To batch convert 1000 rasters in ESRI Grid binary to Geotiff using either using a batch file or Python 2.7 without ArcGIS/Arcpy module. The Tools: Win7Pro, GDAL 1.9.2 (via OSGeo4W), ...
3
votes
4answers
5k views

How to convert SHP to GPX or to 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
3answers
1k views

How can I convert a set of ShapeFiles to an OSM file?

How can I convert a set of ShapeFiles to an OSM file?
2
votes
3answers
736 views

Rasterize line shapefile

I'm trying to convert a line shapefile to a raster image at QGis, but my attempts have been unsuccessful. I've tried to use Raster/Conversion/Rasterize and SAGA/Grid - gridding/Shapes to grid, but to ...
2
votes
1answer
2k views

How can I export elevations from AutoCAD in a format that ArcMap can read?

I have elevations in Autocad, I can shift between a triangles, contours etc if it makes any difference. How can I export these into something I can use in Arcmap? I have tried the Make shape function ...
1
vote
1answer
1k views

Python GDAL: degrees to meters without reprojecting

I am trying to get senseful results in my Python script. I want to measure distance between features in a shapefile. I'm working with the SRS: GCS_WGS_1984, so my units are in degrees. But for the ...
0
votes
1answer
102 views

Converting tif to format for TIMESAT using BEAM VISAT or ERDAS IMAGINE?

How can I convert tif image into a format for TIMESAT software to create a time series? I am using BEAM VISAT or ERDAS IMAGINE program.
0
votes
2answers
457 views

Preserving attributes during kml2shp conversion in ArcGIS for Desktop?

Looked online and found the two links below on preserving attributes when doing a kml2shp conversion. Thinking there might be a newer better way of accomplishing this using ArcGIS 10.1 for Desktop? ...
0
votes
1answer
523 views

How to convert drawn vector feature from EPSG:900913 to EPSG:4326

My script allows you to drawn shapes on an openlayers map, and then to get the WKT information from that shape, except the returned coordinates are in 900913 and i need them to be in lat/lon. thanks
0
votes
1answer
275 views

ArcGIS 10.0 Running Python function CADToGeodatabase() crashes ArcMap/ArcCatalog

My code: import arcpy, csv from arcpy import env dgnfile = str(arcpy.GetParameterAsText(0)) outFeatureClass = str(arcpy.GetParameterAsText(1)) #the fc in my fgdb template to be ...
0
votes
2answers
1k views

How to find the proper coordinate reference system with two sets of data using different measurements or too convert one system into another

I have two different entries of data in two different spread sheets. One of the spread sheets uses a coordinate reference system that I have no idea what the units of measurement are. the properties ...
12
votes
3answers
1k views

ogr2ogr fails to convert GeoJson file > 200MB

As a followup to my previous question (Converting SimpleGeo Places GeoJSON file to shapefile), I am now struggling with what I perceive might be an ogr2ogr "memory" limitation, but I cannot be sure. ...
6
votes
2answers
2k views

Automating batch load of multiple GPX files into PostGIS

I've got 50+ GPX files that I would like to "batch load" into a PostGIS database. All of the track_points data would be loaded into a "track_points" table (with typical GPS fields like lat, long, ...
10
votes
2answers
24k views

Shapefile attributes to Autocad Annotation

How can I export the attribute information for the shapefile/feature class to Autocad Annotation/Text. I'm able to export the shapefile to autocad but unable to get the attributes in annotation. Need ...
4
votes
1answer
7k views

Converting geographic coordinate system in R

I have points in geographic coordinate system and I wanted to convert them to swiss grid (CH1903+). Sample data: id lon lat 2 7.173500 45.86880 3 7.172540 45.86887 4 7.171636 ...
3
votes
1answer
2k views

Which plugin can draw topoJson right within Leaflet without conversion?

I already have asked how to reduce file size and increase performance for publishing spatial data on the web using Leaflet, here. A conversion to TopoJSON has reduced the file size by approximately ...
15
votes
1answer
2k views

How to rename field names in a shapefile from the commandline?

I need to rename the field names (attributes) in a shapefile. Is there an easy way to do this from the command line?
7
votes
1answer
1k views

Bringing GIS data into Minecraft

A little off the beaten path...: Denmark has built a 1m:1block Minecraft World using real GIS data. Here's the home page, in Danish: http://gst.dk/emner/frie-data/minecraft/, and an ArsTechnica ...
7
votes
5answers
10k views

I am struggling to convert .dwg to .shp, ideas?

Any ideas as to how can I convert dwg to shp? I tried Kosmo and gvSIG. gvSIG kind of worked but it seems like I lost information.. in addition everything was converted into lines, no polygons. I can ...
4
votes
1answer
3k views

Convert 32 bit image to 8 bit image in QGIS

I want to convert my images from 32 bits to 8 bits. I'm using otb to calculate texture and the raster output is on 8 bits, I'm going to use this information as a layer stack for my multispectral image ...
4
votes
9answers
18k views

Creating shape file from file with coordinates

How can I make a shape file of an csv file with coordinates?
3
votes
2answers
1k views

Convert from img to geotiff

Using gdal translate, would it be possible to convert from IMG to GeoTIFF? We have very little experience with gdal and would really be grateful for some insight.
3
votes
1answer
2k views

ArcObjects 10.1 .NET Convert Point from WGS1984 to OSGB1936

Please can someone help me convert a point in WGS1984 to OSGB1936, I have followed all the documentation (or so i think...) and yet have not made any headway into this problem. This is my code : Type ...
2
votes
1answer
317 views

Appropriate pixel size when converting vector to raster

I am converting vector polygons into raster datasets. Is there a standard calculation for converting the scale of the vector into an appropriate pixel size (e.g. 25 metres)? My vector has been ...
13
votes
2answers
3k views

How can I fix my complex Polygons so they show correctly in Google Maps?

Problem: I'm trying to find a way to fix some broken polygon shapes and I'm not sure how I can do this. Details: I've got a number of polygons which I basically imported from TIGERLINES a while ...
9
votes
2answers
540 views

What is the correct way to convert a USGS Orthoimage from WorldImage format to tiled GeoTiff for GeoServer?

USGS provides different resolution orthoimage quadrangles in the WorldImage format (*.tif with an accompanying *.tfw world file). Some of these quadrangles can be used by GeoServer (2.1.0 - 2.1.2) by ...
8
votes
1answer
5k views

How to convert GDB data to shapefiles without ArcGIS?

We've got some data (supposedly it's a simple collection of points--or at least that is all we need to extract) from a 3rd party in a GDB folder (I don't know how to tell what version) but we don't ...
7
votes
3answers
5k views

How can I convert a ascii file to geotiff using Python?

I have a ascii raster format file. For example: ncols 480 nrows 450 xllcorner 378923 yllcorner 4072345 cellsize 30 nodata_value -32768 43 2 45 7 3 56 2 5 23 65 34 6 32 54 57 34 2 2 54 6 35 45 65 34 ...
7
votes
3answers
3k views

Convert Postscript (*.ps), Encapsulated Postscript (*.eps), or Adobe Illustrator (*.ai) files to shapefile?

Are there any programs which can convert from Postscript, Encapsulated Postscript, or Adobe Illustrator file formats to a shapefile? What about adding geo-referencing? I'm also open to recipes using ...
6
votes
1answer
11k views

How to batch convert Garmin GDB to GPX?

I need to convert a lot of garmin GDB files to GPX in order to convert it to another vector format. Is there any tools available can do a batch convert from garmin GDB files to GPX? Using MapSource ...
5
votes
2answers
1k views

How to enclose clustered points with polygon?

I have a raster with forest (1), no forest (2) data. "1" is represent single/few trees and there is gaps between them. I want to create a polygon around these trees to a forest map. It is not a dense ...
4
votes
2answers
369 views

Is it a bad idea to convert a File Geodatabase table to a dictionary?

First, what am I trying to do? I am building a Python script that should be called from an ArcMap 10.0 toolbox. This scripts uses (among other inputs) data contained in huge gdb tables. It processes ...
4
votes
1answer
533 views

How to convert a png with known bounds from Plate Carree to Mercator with GDAL

I have a png image that shows the region defined by the geo bounds UpperLat, LeftLon, BottomLat, RightLon (in degrees & -ve for West Lon and South Lat) in Plate Carree EPSG:4326. I want to convert ...
4
votes
3answers
3k views

Export georeferenced image overlay from KML?

How might one export image(s) from image overlays in a KML file to a standard geo-referenced raster format like geotiff? Use case: NASA's Earth Observatory has a time series of the changing Athabasca ...
4
votes
1answer
1k views

Dimensional analysis/conversion problem: Map scale to image resolution (dpi)

Given a map scale of 1:17,200 and a raster whose cell size is 6 inches, what resolution (dots per inch) should I choose when exporting the map to an image in order to maintain the raster's native ...
3
votes
3answers
2k views

Workflow to convert a DWG CAD file to a shapefile

I'm trying to develop a workflow where I can convert a .dwg file to .shp. I don't have a good understanding of which tools I should be using. My preference is to use software that runs on OSX, is ...
3
votes
3answers
2k views

Creating DSM and DTM from a LAS using a freeware solution

Is it possible to export a surface and terrain model files from an aerial, LiDAR point cloud (LAS) set? I am using SAGA GIS for very basic operations, but I couldn't find this option (and I have a ...
3
votes
1answer
2k views

How to convert (geodetic pose + cartesian offset) to geodetic position

I am in search of an algorithm to solve the first/direct geodetic problem precisely in 3D. The input is: a geodetic (not geocentric) position (WGS84, height is above the WGS84 reference ellipsoid) ...
3
votes
3answers
3k views

How to convert GRIB-1 to GRIB-2?

I need to get data for my database from some GRIB files (binary), I downloaded wgrib2, which can export GRIB-2 files to .csv and csv is very suitable for me, but some GRIB files are GRIB-1, so I used ...
3
votes
2answers
2k views

Conversion of GRIB and NetCDF to my database

. I have downloaded "High Resolution Initial Conditions" climate forecast data for one day, it was in extension .tar.gz so I extracted it in my local directory and I get the files like in the ...
3
votes
3answers
2k views

Batch script converting and resampling orthophotos

I would like to convert more than 300 orthophotos produced at scale 1:8.000 with a pixel size of 0.8m X 0.8m from Ecw format to Tiff format and after resampling pixel values. My aim is to batch ...
2
votes
0answers
92 views

Software that converts from legal description text?

Is there software that takes legal description text as input for conversion to some computer friendly GIS format? For example: Those portions of the North Half of the Southeast Quarter and the ...