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
3
votes
2answers
27k 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 ...
5
votes
4answers
4k 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 ...
2
votes
2answers
3k views

Extraction of DEM from netCDF file into ASCII XYZ format

I need to extract a DEM of a waterbody from a netCDF file so I can ultimately convert the DEM into xyz format. I'm not sure how to go about doing this, and so far, I have tried to create raster layers ...
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 ...
5
votes
1answer
1k views

Formatting OGR VRT file to convert CSV to KML?

I am attempting to get a nice KML for simple review of POI/geocoding from a CSV. I a using ogr2ogr and a VRT. You can see the VRT file below, with two attempts to get this right. Basically, the issue ...
2
votes
1answer
512 views

proj/pyproj converted coordinates offset

I'm using pyproj to convert some coordinates from WGS84 to OSGB36. When mapped out the converted and unconverted don't map to the same places on a map. The OSGB36 coordinates are mapped about 100 ...
2
votes
2answers
3k views

How to convert a GeoSerie to a GeoDataFrame with Geopandas

I'm new in Geopandas and I try to creat my first script. I succeeded to open a shapefile and maked a union of all entity and an envelope. As it said in Geopandas doc, after these 2 geometric ...
0
votes
0answers
38 views

Daily averages in local time from UTC

It has been almost 2 weeks since I started getting familiar with netCDF files and operators (NCO) and climate data operators (cdo) and I am not an experienced programmer. I have a folder which ...
2
votes
1answer
64 views

Converting Degrees Minutes Seconds to Decimal Degrees for coordinates?

I have a list of coordinates I'm trying to put into a csv and then convert to points in ArcMap. I tried converting them to decimal degrees because at first they appear to be in DMS. When I plotted the ...
1
vote
1answer
161 views

Converting multiple geometry KML to Shapefile

I have a KML file with multiple geometry, points and polygons. I want to convert it to a point Shapefile and a polygon Shapefile. Using OSGeo4W Shell I tried this : ogr2ogr -where "OGR_GEOMETRY='...
2
votes
2answers
442 views

PyQgis convert screen to map coordinates

With PyQgis how can I convert absolute screen coordinates (say, 123,456) into map coordinates of the iface.mapCanvas? It would be no problem if I had screen coordinates relative to the iface....
2
votes
1answer
45 views

Converting Lat Long CSV file to meters using ArcGIS Desktop?

I have a large file in a CSV or excel format and want to convert the Lat longs into Northings and Eastings in order to then put them into ArcGIS Desktop and convert those Northings and Eastings into a ...
-1
votes
0answers
21 views

The mathematics and algorithm behind converting between UTM (Northing, Easting) and Lat and Lon [duplicate]

I know there are a lot of tools and software for this. But for my own knowledge, I wanted to ask what is the general procedure behind the conversion (i.e a pseudo-code).
-1
votes
1answer
51 views

Converting Northing and Easting to Lat and lon using QGIS

I have a shapefile and I want to export it to a CSV file, with the difference, that I want it to have Lat and Lon instead or in addition to the easting and northing columns. I've tried changing the ...
1
vote
0answers
27 views

How to specify file format of Split Vector Layer in QGIS [duplicate]

I'm attempting to use the Split Vector Layer tool in QGIS (see screenshot below) in order to separate a larger shapefile into its constituent components by object ID. The tool accomplishes this ...
1
vote
2answers
48 views

Convert GeoJSON directly to geodatabase

I'm looking for a way to convert a GeoJSON File (from overpass-turbo.eu) directly into a Feature Class in an Esri geodatabase. Normally I'm doing this by loading the GeoJSON into QGIS, Export it to a ...
47
votes
8answers
84k 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 ...
3
votes
1answer
196 views

SVY and QDC files from Quickdraw Contours in QGIS

I am trying to view data collected from a Garmin sonar unit in QGIS. The data on the Fishfinder shows or creates the contours but I can't seem to find a way to convert it to a format that QGIS can "...
8
votes
2answers
7k 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 ...
2
votes
0answers
59 views

Converting historic map data (raster) into polygon format? [closed]

How do I convert historical buildings from map data (raster) into a polygon format? The historic maps that I am referencing are the Sanborn Fire Insurance Maps. Here is the link to an example in case ...
1
vote
2answers
39 views

Convert a tab (Mapinfo) file to ESRI Shapefile with ogr2ogr

I want to convert a tab file created with MapInfo to an ESRI Shapefile (.shp) using ogr2ogr in command line. I did the following ogr2ogr -f 'ESRI Shapefile' "file.shp" "file.tab" but it gives an ...
0
votes
0answers
36 views

Retaining co-ordinate values with 6 significant figures when converting shapefile into Excel spreadsheet?

Using ArcGIS-desktop, I converted a shapefile, into an Excel table through the conversion tool Table to Excel, however my co-ordinates previously were specific to the 1x10-6 (i.e. 9.078627) but in the ...
1
vote
1answer
45 views

Python: Convert shapefile to GeoJSON whilst stripping and renaming fields

I'm writing a Python script to convert shapefiles into GeoJSONs but I would like to remove many of the fields as they are redundant and rename the ones I am retaining. Here's an extract of where I ...
1
vote
2answers
72 views

Need a specific field in FME KMZ to shapefile conversion

I am converting a KMZ to shapefile and need to see a field called "Type Name", but it is not in any of the shapefiles' attribute tables. I have every name exposed in Format Attributes in the Reader ...
0
votes
0answers
26 views

Convert KAP files

I've got some .KAP files which are missing spatial data and as such, I cannot convert them into something more useful like a .TIF image. I've been using FME which errors on these files with "Failed to ...
1
vote
1answer
2k views

Converting mercator meters without UTM zone?

I've been attempting to extract track information from Humminbird (Side Imaging Sonar) binary files and have hit a stumbling block with the coordinates it provides. The values are apparently in ...
1
vote
1answer
576 views

Improving accuracy of mercator meters conversion to lat/lon?

My question is an extention to Converting mercator meters without UTM zone? While the answer in the previous Q&A got me so far, I've now come to an impass. While the conversion I do from Mercator ...
2
votes
0answers
49 views

Conversion to_string provides NULL in QGIS

I've been trying to convert a decimal row into a string row using a few methods. Below is my CSV file: also, note that csv header has been updated too, State;AverageRainfall;ProbabilityBelow;...
3
votes
2answers
74 views

QGIS - Convert a text field to a clickable hyperlink, hotlink, or URL?

Just starting out learning QGIS, on version 3.6.3 Windows 64 bit. I have imported some data into QGIS. When I click the parcel I would like for the "WIC" field attribute to be a clickable hyperlink, ...
1
vote
3answers
53 views

Error in Converting XY Coordinates to Lat-Long Using r proj4 Library

I am trying to write a script that will allow my colleagues to easily convert XY coordinates into lat and long. The idea here is to take a spreadsheet with only X and Y available and create a new ...
1
vote
2answers
2k views

Convert MineSight (*.msr) files to Shapefiles or Feature classes

How would I convert the MineSight (*.msr) files to Shapefiles. MineSight files are used in MineSight Software which is used for creating block models in 3D.
0
votes
2answers
268 views

Projection conversion with Python/Pyproj: Canada Albers Equal Area to WGS

How do I get the geographical coordinates (lat and lon) from x,y values in Canada Albers Equal Area projection? The range of x and y values as follows: min(x) = -5171461.906673405 max(x) = 3372679....
0
votes
1answer
66 views

How do I convert an Est file to a shapefile?

I need help converting an Est(Streets and Trips) file to shapefile or some other format that ArcGIS can read. I haven't been able to find any luck using Google and my go to program Alteryx can't read ...
2
votes
2answers
161 views

How to rasterize ungridded XYZ (LiDAR) files?

I have a large set of ungridded xyz text files (LiDAR point cloud) and want to export them to any raster format (tiff, asc, gridded xyz...) for further GIS processing. The source: https://www....
0
votes
0answers
27 views

How can I convert a MULTILINESTRING geodatabase file into a coordinate system with lat / long for individual points in a CSV file?

I have tried ogr2ogr, and QGIS but nothing seems to work for converting a MULTILINESTRING into individual lat/long coordinates. I am doing this in order to get it into a flat file so I can rearrange ...
0
votes
1answer
23 views

Degrees Minutes delimited Seconds conversion

How do you handle delimited seconds? I can find a bunch of stuff on converting degrees minutes seconds. That is easy enough. My question is what about when there is a 4th set of numbers for example, ...
3
votes
3answers
737 views

Convert ARC BIL to netCDF

We are interested in using a dataset created by a fire lab. The data is in ARC BIL format. Is there a way to convert this into netCDF?
0
votes
1answer
32 views

Divide all values in ASCII table (or raster file)

I have a pile of ASCII files representing 5min radar precipitation sums. The information is given in 1/10 mm which I need to convert into mm for further processing. Is there a way of doing this, ...
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.
3
votes
2answers
72 views

Extracting desired values from KML file using QGIS?

I have a kml file of roads that I would like to convert into a shapefile using QGIS, I understand that this should be a straightforward task however I am running into the issue of extracting necessary ...
2
votes
1answer
54 views

Conversion of CSV to DBF is getting error message, why?

My code import arcpy, os, shutil, re from arcpy import env arcpy.env.workspace = "R:\GIS_Data\Earthquake_Data\Updates\Eq_updates.mdb" path = r"R:\GIS_Data\Earthquake_Data\Updates" In_path = r"R:\...
1
vote
1answer
109 views

Assigning intersecting line length dependent value to raster during polyline conversion using ArcMap?

I am converting a road network polyline into raster format- my polyline shapefile has an exhaust emissions rate attribute which is in kg/km What I want to achieve is a raster that has (at say 5m ...
0
votes
0answers
24 views

Convert Mapbox vector tiles to GeoJSON in browser

Although Mapbox's vt2geojson is fine for node use, I need to convert vector tiles to JSON in the browser. I haven't found a browser based solution for this. Is there one? Possibly the solution is ...
1
vote
0answers
124 views

Converting vector in NED to ECEF? [closed]

I have a geodetic WGS84 position, lat, lon, alt, and direction cosines from the same point, uN, uE, uD. I'm brand new to geodetic/ecef conventions. How do I take a vector (say, a unit vector with ...
5
votes
2answers
13k views

From coordinates find country using Python

I have tweets with coordinates. I'm trying to bucket the tweets by country using the coordinate information. I know that I can achieve this using some hosted web services but all of these have API ...
1
vote
1answer
71 views

How to convert a jpeg map of borders into a shapefile?

I have a map of French departments from the 19th century (impossible to find in shapefile format) in jpeg format and I would like to convert it into a shapefile in order to regroup raster data and ...
1
vote
2answers
3k views

Converting local Coordinates to lat/long Coordinates using QGIS?

I'm using QGIS to do some data analysis and visualization for my newspaper and I'm a basic/novice user at all this. I received some x,y coordinates from the City of Minneapolis that I can use to ...
0
votes
0answers
24 views

Error in points or military academy dataset?

I travel regularly to sites around Vietnam reported in declassified Australian military documents. All grid coordinates are reported in abbreviated MGRS and are usually quite accurate. In recent ...
2
votes
0answers
35 views

Is it possible to merge two polygons with a single touching point into one?

Is my understanding correct, namely that two polygons touching at a common point cannot be merged because the result would be a self-intersecting polygon? I know there are dozens of Q&A threads ...
3
votes
2answers
2k views

Convert area in pixels to acres?

I'm writing some software that allows users to draw polygons over the raster from a geotiff file. I can calculate the area of the polygon in pixels; in fact, this calculation is a byproduct of ...