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
18
votes
4answers
13k views

Finding centrelines from polygons in QGIS?

I was wondering if there is a way to create centre lines from polygons in QGIS? I have a polygon layer, but ideally need the centrelines as a separate file.
48
votes
8answers
86k views

Converting projected coordinates to lat/lon using Python?

I assume this is a basic question but I can't seem to find or recognize the solution. This site returns Point: X: -11705274.6374 Y: 4826473.6922 when you searching with the first key value of ...
33
votes
4answers
9k views

Bulk load multiple shapefiles into PostGIS

I've got over a hundred data layers in shapefile format that I want to upload into a PostGIS database. They are all in the same projection, but represent different data layers so they do not have the ...
97
votes
24answers
114k views

Converting between KML and shapefile (SHP) format?

My users are sending me point data that were digitized using Google Earth. How can I convert their KML to a shapefile?
37
votes
15answers
100k views

Converting MapInfo TAB and/or MIF to SHP using free tools or ArcGIS for Desktop core product?

How do I convert MapInfo TAB and/or MIF files to SHP using only free tools or ArcGIS itself? I've not had much luck trying to do this in the past and I don't want to have to shell out for the ArcGIS ...
25
votes
8answers
18k views

Using ogr2ogr to convert all shapefiles in 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 ...
31
votes
12answers
49k views

Converting shapefiles to text (ASCII) files? [duplicate]

How can I convert a shapefile (GIS) to text, or, how can I extract the information in a shapefile?
12
votes
3answers
19k views

Generating DEM from contour Shapefile using QGIS?

I want to create a DEM from depth contours (shapefile) in QGIS. I've been trying to work out how to do this based on this previous question, notably from this link from that page, however I'm stuck, ...
26
votes
4answers
68k views

Converting vector layer to raster using QGIS?

In qgis in the raster menu there is an item "convert vector to raster". This behaves strangely - I do not understand how it is supposed to work. I can select a vector file, an attribute and an ...
22
votes
5answers
20k views

Manually transforming rotated lat/lon to regular lat/lon?

First I should clarify I don't have previous experience with the field, so I don't know the technical terminology. My question is as follows: I have two weather datasets: The first one has the ...
13
votes
2answers
15k views

Understanding terms in Length of Degree formula?

Online calculators such as http://www.csgnetwork.com/degreelenllavcalc.html (view page source) use the below formulas to get meters per degree. I understand in general how distance per degree varies ...
33
votes
10answers
16k views

Seeking options for Spatial ETL (Extract, Transform, Load)?

I am interested in the pros and cons of various spatial ETL (extract, transform, load) tools. If you have used the items listed here (or add your own), I seek your opinions and experiences. In ...
26
votes
9answers
17k views

How can I convert an excel file with x, y columns to a shapefile?

How can I convert an excel file with x, y columns to a point shapefile? There are some somewhat optional requirements in addition to the correct creation of a shapefile: Column types (as per Excel's ...
18
votes
6answers
11k views

Converting GeoPDF to vector format like CAD or shapefile?

I want to convert a GeoPDF that has vectors entity in it to a vector format and preserve the real coordinates of these vectors. The GeoPDF has been exported from ArcMap and has layers in it. I have ...
13
votes
4answers
11k views

Converting geometry to WKT using ArcPy?

I would like to be able to convert a single feature (or potentially many features) in an ArcGIS layer into Well Known Text (WKT) format during a geoprocessing operation using Python and ArcPy (no non-...
6
votes
1answer
1k views

Convert point XY to page units XY using arcpy?

I am using arcpy to export PDFs from my ArcGIS Server application. I want to move a TextElement in my layout view to the centroid of a selected feature. I can get the centroid of the feature, but that'...
39
votes
2answers
37k views

How can I convert data in the form of lat, lon, value into a raster file using R?

I have a data set of values over a km grid in the continental U.S. The columns are "latitude", "longitude", and "observation", e.g.: "lat" "lon" "yield" 25.567 -120.347 3.6 25.832 -120....
27
votes
5answers
28k views

How to convert image of map into vector format?

What is the best way of converting a gif of a map into a vector format, such as a shapefile? The only relevant parts that I am interested in are the outline of the island so I realize some manual ...
21
votes
4answers
20k views

Importing SVG into GIS?

I have a PDF file, with a Map as a vector graphic. I want to get this into GIS. (I use ESRI's ArcGIS, but any FOSS solution is also fine). I know that it is not possible to directly get the PDF into ...
18
votes
5answers
37k views

Convert Shapefiles to GeoJSON?

I'm trying to convert Shapefiles from the State of Texas Senate Districts website into a GeoJSON file for use with Google Maps API. I'm using QGIS to facilitate but I can't get the projection/...
11
votes
6answers
14k views

Creating duplicate features based on many-to-one conversion of related table?

I need to create duplicate features (in this case parcels), using a related table to populate ID fields. In essence, I need to use a related table of parcel owners to create duplicate parcels, each ...
15
votes
3answers
8k views

Converting SimpleGeo Places GeoJSON file to shapefile?

SimpleGeo has recently made their "Places" data set freely available which is GREAT, because now we can use it for our own purposes, even offline. So I went about downloading the 2GB dataset, which ...
6
votes
2answers
10k views

Seeking tool to generate Mesh from DTM?

Are there any tools that can take a DTM, in asc or geotiff format and generate a mesh from this that can used in meshlab or similar software. I have asc DTM file that I need to convert to a ply mesh ...
10
votes
3answers
17k views

Creating lines from points pair coordinates with ArcPy?

I've got some points pair coordinates (start and end points) which I have to transform into lines. Until now, I used an append of both the coordinates in a pippo.Point(), a pippo.CalculateGeometry() ...
4
votes
2answers
17k views

convert geotiff to simple xyz elevation file?

I have looked everywhere and can not find a tool to convert a geotiff file to a simple ascii elevation file... did I miss something? thanks for any pointers!
36
votes
2answers
14k views

Convert GeoJSON to TopoJSON

Question How do you convert GeoJSON data to TopoJSON? Why Topojson files are often smaller than geojson and the conversion allows you to incrementally simplify a dataset, if you wish.
10
votes
2answers
19k views

How to convert Distance, Azimuth, Dip to XYZ?

I have an excel spreadsheet with header and survey drill data. Header data contains hole ID, and location coordinates, and the survey data contains related downhole survey with Distance, Azimuth and ...
13
votes
5answers
6k views

How to build a geographic database of GPS logs?

On our aerial wildlife surveys we typically generate dozens of GPX files, and usually convert most of them into shapefiles for display in a GIS application. GPX files are a terrific way of keeping all ...
10
votes
6answers
19k views

Batch convert GeoTIFF's to KMZ files

I have about 600 GeoTIFF map files, each about 140 mb in size that I'd like to convert to KMZ files so people can download them and use them with Garmin GPS units, Google Earth, etc. Anyone know an ...
10
votes
9answers
10k views

From .shp to .kml to .shp Without Losing Attributes

I've converted a shapefile with attributes to a .kml for a client. The .kml and attributes were then edited within google earth. I received the updated .kml and now I need to get it back to .shp. ...
12
votes
5answers
12k views

Convert XY points to a line?

Someone mistakenly saved a GPS track as waypoints and then sent them along to me in a .csv file. They want a line back (shapefile). What's the simplest method to convert this to a line? Available ...
7
votes
5answers
23k views

Georeferencing CAD files in ArcMap?

I've definitely got at least a couple of grey hairs while trying to convert some dwg. files to shapefiles. I've seen that this subject has been disscused a lot, but hope someone will have the ...
5
votes
3answers
10k 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), ...
1
vote
5answers
5k 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 ...
10
votes
3answers
27k views

Converting LiDAR files from LAZ to LAS format

I'm trying to convert LiDAR files from the LAZ format (the compressed version) into LAS (the uncompressed version) using LASzip software. However, I am not really sure how it works. I created a new ...
37
votes
10answers
30k views

Open Source Tool capable of reading Esri File Geodatabase (.gdb)?

I have an ESRI File Geodatabase (.gdb) file that I would like to convert to shapefile (or any other non-proprietary format). Are there any Open Source tools to do so?
14
votes
3answers
40k 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. ...
8
votes
2answers
8k views

Converting CSV file of WKT data to shapefile using ogr2ogr?

This question is related to Converting shapefiles to text (ASCII) files?. I have a CSV file, with one column, where all the rows correspond to WKT POLYGON()'s: WKT POLYGON(...) POLYGON(...) ... I'm ...
13
votes
4answers
9k views

Exporting features with attachments for use outside ArcGIS?

ArcGIS 10 features the new ability to add attachments to individual features to feature classes stored in a geodatabase. One use of this would be to add multiple pictures to a specific location, fire ...
7
votes
2answers
940 views

Creating Ellipse in WGS84, but with metric parameters

I have the function --Ellipse(x,y,rx,ry,rotation,#of segments in 1/4 of ellipse) SELECT ST_Translate( ST_Rotate( ST_Scale( ST_Buffer(ST_Point(0,0), 0.5, $6), $3, $4), $5), $1, $2) I have points in ...
7
votes
4answers
14k 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.
6
votes
1answer
2k views

Converting LAS 1.4 to 1.2

LIDAR files were released for major part of Slovenia few months back in zlas format. Decompressed LAS format is 1.4 version. I have tried many options how to generate DEMs and had some success in ...
6
votes
5answers
6k views

Converting csv to kml/geojson using ogr2ogr or equivalent command line tools? [duplicate]

I've just unsuccessfully tried to use ogr2ogr to convert CSV into KML like so: ogr2ogr -f "KML" output.kml input.csv The csv has "latitude" and "longitude" columns. The attributes are all loaded ...
4
votes
1answer
2k views

Convert GeoPDF with GDAL

I'm attempting to convert a USGS US Topo GeoPDF in Windows. I'm using GDAL 1.11.1. My initial attempts were with this Python script, which automates the process by feeding a command to the Windows ...
9
votes
0answers
3k views

Open source alternative to FME from Safe Software for Spatial ETL? [duplicate]

Just wondering if there is any open source solution which comes close to safe FME? I would like to integrate it into my workflow, but it´s just another few thousand which my employer has to give out ...
3
votes
1answer
985 views

Help with “projected XY to screen xy” conversion algorithm?

I'm trying to convert coordinates from any given coordinate system (be they the coordinates of a graph figure or a map, meaning they can span across both negative and positive values across any of the ...
3
votes
2answers
2k views

Converting from shapefile or raster formats to LAS? [closed]

I am looking for a solution to convert either from ESRI shapefile format to LAS or from a common raster format to LAS. I have access to following software: ArcGIS 10.2 for Desktop (arcinfo with ...
3
votes
2answers
14k views

How to produce a CSV file from .tif file with elevation data? [duplicate]

just want to ask, I have a .tif file that contains all the elevation of a country. How can I convert that to a CSV file that contains x,y,z values where x and y are the latitude longitude respectively ...
11
votes
1answer
14k views

WMTS : Convert geolocation (lat, long) to tile index, at a given zoom level?

I wanted to know how to get the indexes (x,y) of a WMTS tile for a given geolocation (latitude, longitude) and zoom level. For exemple, I have a POI located at (48.675, 2.7), I want to get the ...
13
votes
1answer
40k 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 45....