Questions tagged [convert]

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

Filter by
Sorted by
Tagged with
14
votes
3answers
3k 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
3k 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 ...
13
votes
2answers
26k views

How to convert data from a .gdb into a shapefile without ArcMap?

I have a .gdb folder with LOCK Files, FREELIST Files, ATX Files, GDBINDEXES Files, GDBTABLE Files, GDBTABLEX Files and, SPX Files. I want to convert the parcel data within this folder into a ...
20
votes
1answer
4k 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?
11
votes
3answers
11k 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
9answers
32k views

Creating shapefile from file with coordinates

How can I make a shapefile of an CSV file with coordinates?
5
votes
2answers
4k views

Convert ESRI Shapefile to Raster using R - biggest polygon area to raster cell value?

I want to create a raster from an ESRI shapefile. Multiple polygons may exist in one raster cell. If so, I want to assign the attribute variable which occupies the biggest area of the raster cell. If,...
9
votes
1answer
9k 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
3answers
6k 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 open-...
9
votes
3answers
3k views

How to convert a string field to a date field

I have a layer with points which represent the fatal road accidents and the field "dates_14_D" contains their date but its type is string. I would like to convert this string field to date field but ...
9
votes
4answers
4k views

Importing KML and style information into Geoserver

So I'm working on a project that's been in development for over a year, but I only recently got involved. My task involves converting roughly 2,500 KML files into another format, importing these files ...
7
votes
5answers
11k 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 ...
7
votes
2answers
7k 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.
7
votes
2answers
761 views

Convert a geotiff web-mercator into an azimuthal equidistant projection

I have a geo-referenced tiff file, in the web-mercator projection; and I need it converted to an azimuthal equidistant projection. I'm new to GIS and can't figure out how to do this. I'm open to ...
5
votes
2answers
658 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
3k 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 ...
3
votes
5answers
4k views

Converting CSV file to GeoJSON while preserving data types?

Assuming said csv file is properly structured with Latitude and Longitude. I'm having problems find converters that won't mess up the data types (putting string around integers).
3
votes
2answers
28k views

How to calculate Distance, Azimuth and Dip from two XYZ coordinates

I have two XYZ coordinates and I would like to calculate the Distance, Azimuth and Dip between them. I have come across a similar question on this site that calculates it the other way around (with ...
1
vote
3answers
9k views

Batch convert jpeg2000 to GeoTIFF?

I need to convert approximately 3500 jpeg2000 4-band NAIP images to GeoTiff format without mosaicing. I have access to ENVI, ERDAS and Arc 10--is there an efficient way to batch convert these files ...
15
votes
2answers
5k 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 back....
10
votes
2answers
687 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 ...
7
votes
6answers
31k views

Converting File Geodatabase feature classes to shapefiles in ArcGIS Desktop?

How can I convert a File Geodatabase feature class into a shapefile? I found the help for ArcGIS Desktop 10.1 and it tells me: On the main menu, click Customize > Toolbars > Production Mapping ...
6
votes
2answers
2k 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 ...
6
votes
2answers
8k views

How to export .mdb file to shapefile in MapInfo Professional?

I have received some GIS files, in .mdb format. Is it possible to project this .mdb file onto my map; say by converting it into a shapefile etc? In MapInfo Professional, I could open this .mdb file ...
5
votes
1answer
7k views

How can I compute raster pixel width and height given raster bounds, row count, and column count?

Restated, how do I convert arc degrees to meters? For example, I have an elevation data raster that has the following metadata: WEST LONGITUDE=64.97798789° E NORTH LATITUDE=33.02003415° N EAST ...
5
votes
2answers
4k views

ogr2ogr kml to shp conversion created 184 shapefiles?! What am I missing?

I'm trying to convert this KML dataset of ice arenas to a shapefile using ogr2ogr (GDAL 1.8). After some initial troubleshooting to get the script running, it's creating 184 different shapefiles (736 ...
5
votes
1answer
1k 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
5k 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
2answers
1k views

Change a raster from longitude display (-180, 180) to (0, 360)

Using R software, I want to modify the attached raster in order to visualize it centered on the Pacific Ocean. Indeed, I need to show the entire Oceania: in my opinion I have to shift from (-180,180) ...
4
votes
2answers
930 views

Getting 2147483647 and -2147483647 as min and max output for point to raster, polygon to raster, and feature to raster tools

No matter which feature to raster tool I use (feature to raster, point to raster, or polygon to raster), I am getting a raster output whose min and max values are 2147483647 and -2147483647, ...
4
votes
3answers
6k 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 ...
4
votes
1answer
2k 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

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 ...
3
votes
1answer
188 views

write python ndarray to raster

I think I understood the steps to write an array to a raster file using python. however it doesn't work in my case and I don't know why. I have an array that I want to write to a Geotiff with Swiss ...
2
votes
1answer
15k views

Convert a Tif raster file to vector shp file in QGIS

So I've been trying to convert a georeferenced Tif raster file into a vector shp file using QGIS. It's seems to complete this but it ends up giving me a feature class that has over 500,000 features, ...
2
votes
3answers
1k views

Convert .tiff data to bitmap just when rendering and at runtime by visualC++ code

I need to convert a .tiff image to a bitmap one without saving the bitmap. I know that I should use GDAL_translate but because I'm new, this function's interface is a little complicated for me. Could ...
2
votes
1answer
432 views

Convert raster to polygon

Using ArcMap 10.3, I want to digitized only the pale blue polygons in the raster into shapefile with "Raster to polygon" tool. This is the raster: I get a shapefile with gridcode field, but i don't ...
1
vote
2answers
2k views

Looking for a MAP to SLD converter

Does anyone know where I can find the converter from .map to .sld? I have a big mapfile of styles for OSM and I have the styles mapnik.xml for OSM but I use Geoserver for my work. Or does anyone have ...
1
vote
1answer
8k views

Finding good Mbtiles to png tiles converter?

I'm trying to create a slippy map and I need to obtain png tiles. I have exported a .mbtiles file from TileMill and I tried several python scripts to convert this file into png tiles but I always end ...
1
vote
3answers
10k views

How to convert UTM coordinates into Decimal Degree coordinates?

I work on QGis 2.0.1 - Dufour on Macintosh OS X Mavericks. I have UTM coordinates (XXXX and YYYYY) in a table (with one column of X and an other one of Y). I need this coordinates in Decimal Degree. ...
1
vote
1answer
874 views

Last edited information missing when used QGIS - Dxf to Shp

I am doing as constructed drawings which require the information to be in a GIS system and more specifically drainage as constructed drawings. I must have a separate file for Pipes and Pits. First I ...
1
vote
2answers
17k views

Convert MapInfo raster file (.tab) to use it in QGIS and/or ArcGIS

I am trying to convert raster files from MapInfo (.ecw, .jpg, .TAB) in order to use them with QGIS or ArcGIS. I have access to all 3 softwares. I have tried Data interoperability tools in ArcGIS but ...
1
vote
5answers
25k views

How to convert a double field to a string?

I would like to convert a column in a spreadsheet from a double to a string so I can join the data with a shp file. What is the easiest way to do it?
1
vote
0answers
219 views

Converting symbol style set for ArcGIS Desktop for use in QGIS? [duplicate]

Is there a way to convert a symbol style set for ArcGIS for use in QGIS? There are symbols used in Incident Command I would like to use in QGIS, but can only find a style set for use in ArcGIS. ...
1
vote
1answer
1k views

How to open layers with multiple geometry types in QGIS?

I recently had some difficulties opening some MapInfo TAB vector layers in QGIS because each MapInfo layer contained two different geometry types: point and line. The MapInfo layers had originally ...
8
votes
2answers
3k views

Converting a .dxf to a .shp containing a field with height information in QGIS?

I received two .dxf for my project that represent my area of interest: one of them contains buildings, the other one terrain elevation (they both are 3D). I can successfully convert them to shapefiles ...
5
votes
4answers
5k views

Converting orthophotomap to .ecw file? [closed]

I am looking for a method for convert orthophotomap (.adf files) to ERDAS .ecw file. Have you got any ideas ? Or maybe you have got any other idea how i can reduce a size of orthophotomap .adf ...
5
votes
3answers
11k views

Converting JSON to GeoJSON or CSV?

How do you convert a JSON file to a GeoJSON file or csv. I have a JSON file with lat lon information, but how can I can convert this file to GeoJSON or csv. I have found some online tools to convert ...
5
votes
2answers
3k views

Convert shapefile lines to a polygon in GRASS

I have a shapefile of a map that is the outline of a number of islands. I would like to convert the lines into polygons (ie all islands filled in) using GRASS. I searched on how to do this with GRASS ...
5
votes
1answer
3k views

ArcGIS 10. Convert dbf to csv or similar in ArcPy without cursors

I have many dbf's created by the Spatial Analyst Sample tool. I would like to convert those dbf's into csv's or space delimited (or any text for that matter). I can't seem to find the ArcPy equivalent ...