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
1 vote
0 answers
39 views

In QGIS change DEM elevations values from positive to negative

I have a DEM that currently has positive elevation values for bathymetry and negative values for those above sea level. How can I convert these cell values to negative for bathymetry and positive for ...
user avatar
  • 11
0 votes
1 answer
31 views

Converting points to latitude and longitude values in R

I have a .tiff file with some coordinate data associated with temperatures that I need to convert into latitude and longitude, using R. I used the following code to read the original file: testlat<-...
user avatar
0 votes
2 answers
32 views

Displaying X/Y data in ArcMap

I am very new to GIS. I am unfamiliar with the terms so I may not have found similar queries. I just want to display my XY data on a layer. However, whenever I import my CSV/XLS file to ArcMap, the ...
user avatar
0 votes
1 answer
23 views

Reprojecting a raster from long/lat to UTM take 2

This thread Reprojecting raster from lat/lon to UTM in R? was of no help to me. I have the following raster which I first need to create in lat/long in order to crop it to rworldmap. However, I then ...
user avatar
1 vote
0 answers
26 views

Convert from CAD file DWG to geodatabase features

How can I convert CAD file with different layers to specific feature classes for ex. Layers 2000 , 2001 ,2002 I want to convert them together to a polygon feature class with name buildings , and ...
user avatar
2 votes
1 answer
45 views

Speeding up a TIN to MultiPolygonZ conversion in PostGIS

I have a TIN record in a PostGIS database. It contains between 50'000 and 100'000 triangles: Based on this answer: https://gis.stackexchange.com/a/209845/65370 I'm trying for the moment to dump the ...
user avatar
  • 6,698
1 vote
2 answers
70 views

Converting XYZ file to shapefile using Python

I have numerous XYZ files, which aren't gridded and I'd like to use Python to convert them to shapefiles. I'm not quite sure how to go about this?
user avatar
0 votes
1 answer
24 views

CAD file to polygon Using feature to polygon

I have cad layer file and I want to use feature to polygon. I want use arcpy to do this but it dosnt work. import acrpy arcpy.env.MResolution = 0 arcpy.env.MTolerance = 0 arcpy.env.outputZValue = 0 ...
user avatar
3 votes
2 answers
118 views

How do I translate MapBox GL JS GPS coordinates into SWEREF 99 TM ones?

I have to deal with this: https://minkarta.lantmateriet.se/?e=493056&n=6795776&z=3&profile=karta&background=1&boundaries=false This is a URL which uses "e" and "n&...
user avatar
0 votes
1 answer
30 views

ogr2ogr - "Unable to open datasource" error while converting shp to mif in code. Works fine when running command in console

I'm tyring to convert a shapefile to MapInfo using ogr2ogr. (C#/.NET 6) I get the following error when running the code below: Unable to open datasource [directory path]\file.mif. However, If I open ...
user avatar
0 votes
0 answers
18 views

How to convert a series of Google Maps links into decimal coordinates

I have a series of links of the following types: https://goo.gl/maps/{17 characters) https://maps.app.goo.gl/{17 characters) Is there a way to batch-convert them to decimal coordinates?
user avatar
2 votes
0 answers
103 views

Converting Velocity ECEF to NED or LLA/Geodetic

I'm able to get a correct position from ECEF to Geodetic to NED with a relative footpoint and can verify using online conversion tools: https://www.oc.nps.edu/oc2902w/coord/llhxyz.htm https://www.ngs....
user avatar
1 vote
0 answers
35 views

Convert KML to shapefile using GDAL/OGR2OGR to include all attributes from description field

I'm currently trying to develop a workflow for converting KML to shapefile using OGR2OGR command within GDAL. The conversion seems to work fine for some KMLs that have basic information included ...
user avatar
1 vote
1 answer
28 views

OGR_G_ForceToPolygon() doesn't produce polygon - GDAL C API

Using the C APIs for GDAL 2.2.2 (within Swift app) I have a very simple OGRGeometryRefH that is a wkbLineString. I'm creating the wkbLineString and attempting to convert it to a wkbPolygon geometry by ...
user avatar
-1 votes
1 answer
47 views

Editing a WMS layer

For a school project, I'd like to represent the public transport network of our city (using QGIS). I found a WMS layer from an official source, but some bus lines are missing, and others don't exist ...
user avatar
  • 11
1 vote
1 answer
110 views

Workflow to convert Python script without UI file into QGIS Plugin

There is a 'startup.py' file with Python script (1200 rows) written by somebody. It works like a QGIS Plugin, see image below. What are the steps needed to convert this script into a proper QGIS ...
user avatar
  • 22.6k
0 votes
0 answers
25 views

Retrieving raster images for FLDAS evapotranspiration via GEE and converting units [duplicate]

I am using GEE for retrieving FLDAS evapotranspiration data (NASA/FLDAS/NOAH01/C/GL/M/V001) for my study area. For my model, I need one evapotranspiration raster image for each year between 1986 and ...
user avatar
  • 3
3 votes
1 answer
80 views

How to create a polygon from a CSV file with coordinates using PyQGIS?

I like a write a script which: Imports a CSV file that contains a series of points (latitude and longitude) into QGIS Lat Long 56.99181358 -111.4801108 56.98924901 -111.4764563 56.98591437 -111....
user avatar
4 votes
2 answers
177 views

Convert date/time format

My shapefile contains a attribute field called "created" (type QString) and this field holds the date and time of every feature in this format: "2022-03-04-13-28-26" (yyyy-mm-dd-hh-...
user avatar
  • 65
0 votes
0 answers
58 views

How to convert/desurvey Directional Survey measurements into XYZM points?

I have a spreadsheet of Wellbore Drill data and would like to generate an XYZM path (LineString) that connects the surface hole location (SHL) to the bottom hole location (BHL) using the actual path ...
user avatar
  • 9
1 vote
0 answers
48 views

QGIS converting my coordinates erroneously

I have a set of data in CSV format where the first, second and third columns are Point #,Coord of X and Coord of Y respectively (in UTM Zone 51N). Then I added a delimited text layer in QGIS 3.16.5 ...
user avatar
0 votes
1 answer
46 views

Retrieving FLDAS evapotranspiration data (NASA/FLDAS/NOAH01/C/GL/M/V001) via GEE and converting units to mm/year

I am using GEE for retrieving FLDAS evapotranspiration data (NASA/FLDAS/NOAH01/C/GL/M/V001) for my study area. In the end, I need a raster image where each pixel has a value for annual ...
user avatar
  • 1
0 votes
0 answers
19 views

Converting jxl-file to sosi version 4.6 in QGIS

I would like to ask if it is possible to convert jxl-file to sosi-file in version 4.6 in QGIS? Usually I use Trimble Business Center to do it, but it creates sosi only in version 4.0. If it is not ...
user avatar
0 votes
0 answers
77 views

Python in QGIS to convert from dxf to shapfile

Within the QGIS python console, I'm trying to convert a dxf file into a shp file. I run this section of code, and am not getting an error but no output file is generated. Wondering if I'm missing ...
user avatar
  • 43
0 votes
0 answers
46 views

Convert GEE object to image?

I have tried to calculate the average precipitation in each cropland. However, it seems I have a problem generating a map of the final result. It does show that "Expression does not evaluate to ...
user avatar
  • 1
0 votes
1 answer
80 views

Wrong UTM zone settings in GPS receiver

I recently made a survey with an rtk GPS in an area within the UTM zone 32 N. Alas, the instrument was set to work on zone 33 N. When I load the points on a map applying the zone 32 projection (EPSG ...
user avatar
  • 1
4 votes
1 answer
64 views

Convering latitude and longitude of starting point of line from Lambert to DMS in QGIS

I know how to convert Lambert to DMS latitude for points in a shapefile, i.e.: y(transform($geometry, 'EPSG:31370', 'EPSG:4326')) It works fine. I want to make a similar transformation for points ...
user avatar
  • 418
1 vote
1 answer
51 views

T-SQL convert a string to geometry data type

I want to convert a string to geometry data type using the following statement: ALTER TABLE tablename ALTER COLUMN geometrie TYPE geometry(Point) USING st_astext(geometrie); I get error: Msg 102, ...
user avatar
  • 11
0 votes
2 answers
201 views

Converting PNG to GeoTIFF using GDAL Python

I want to ask how to convert PNG to GeoTIFF using GDAL in Python. I ran this code but it's not work and I want to export the output into my computer. How can I fix my code? ds = gdal.Open('input.png') ...
user avatar
0 votes
0 answers
28 views

Layers displaced after QGIS update

I am using QGIS 3.16 on a MacOS Sierra 10.12.6. Since I updated from QGIS 2.18 (I was not using this program for a long time) the layers or the base maps are displaced by several meters. The project ...
user avatar
0 votes
0 answers
23 views

How to convert UTC in LMT with field calculator in QGIS?

I have GPS data in shape format in QGIS. But in my attribute table only the UTC time is given in the form of 01.01.2022 05:00. Is it possible to add a new column with the field calculator where I can ...
user avatar
  • 39
1 vote
0 answers
69 views

Converting dbf to shp with QGIS

I want to transform dbf to shapefile with QGIS. I see the polygons in QGIS, but when I try "export", "save as", or from Toolbox "Extract/Clip by extent" - I see the ...
user avatar
  • 11
0 votes
0 answers
27 views

.dem conversion error

When trying to convert a .tif file into a .dem file (for import into sketchup 2017) using QGIS Raster > Conversion > Translate, I get the following error messages with multiple instances of the ...
user avatar
0 votes
0 answers
100 views

Converting GeoTIFF to 3D shapefile?

I have a GeoTIFF in which the data represents flood heights. I want to create a 3D vector that shows the flood heights from the GeoTIFF. Please suggest any methodologies/tools if this is possible.
user avatar
1 vote
1 answer
174 views

Map lat/lon onto polar stereographic projection map based on two known points on map image

I've searched already everywhere but couldn't find anything. I have a "polar stereographic projection" map that is true at 60 degrees latitude north as an image (e.g. https://flightplanning....
user avatar
  • 113
0 votes
1 answer
86 views

Converting float image to 8bit using GEE [closed]

I am working with Google Earth Engine. I would need to convert a float image to an 8-bit image. As stated on https://developers.google.com/earth-engine/guides/image_visualization, "it is possible ...
user avatar
  • 3
0 votes
1 answer
69 views

Converting raster (.tif) to ASCII format using ArcMap [closed]

I am using ArcMap. I have 20 .tif raster files, need to convert them to .asc format. However, when I convert, the values in new .asc layers changed totally and it doesn't look like .tif file (all ...
user avatar
  • 1
0 votes
0 answers
51 views

proj4js convert long, lat to x,y by axis by meters

Can anyone provide right projections for proj4js convert long, lat to x,y by axis by meters? Here is my projections: const fromLatLongProjection = '+proj=longlat +ellps=WGS84 +datum=WGS84 +units=...
user avatar
1 vote
0 answers
79 views

Converting GeoJSON point into polygon in React

I have a JSON file of areas making polygon. I have saved those files in SQL Server database so i convert GeoJSON into CSV and import in my database and now i want to connect database with React.js. ...
user avatar
0 votes
0 answers
34 views

Permission Error When Calling a Function That Takes a Feature Class and Writes Each Row to A csv

When calling this function within the class method export_Tables: def export_Tables(self): ##TODO - Need to Modify This Function To Loop Through Each FC And Export def tableToCSV(...
user avatar
1 vote
1 answer
61 views

Converting shapefile into raster with desired pixels 1km²

I have one shapefile and I want to convert into 1km by 1km pixels in QGIS. Because my raster image is of same resolution so I want to merge and see how many houses are in one cell. I rasterize my tiff ...
user avatar
  • 318
1 vote
1 answer
90 views

Converting coordinates in Harrisburg (Pennsylvania) to WGS84 using GeoPandas

I have points in Harrisburg, PA in a GeoPandas (Python) GeoDataFrame with no CRS. How do I convert them to WGS84? I'm trying to do something like below but don't know what CRS to initially set the ...
user avatar
1 vote
0 answers
19 views

Remove or hide layers in geoPDF for PDF to TIFF conversion

I'm using arcpy to convert a collection of maps in geoPDFs to geotiffs using the PDFtoTIFF conversion. There are several layers in the geopdf that I do not want included in the output geotiff for ...
user avatar
  • 13
1 vote
1 answer
182 views

Converting text file into GeoJSON using Python

I'm trying to take in a txt-file and convert it into data for a GeoJSON dataset with these values. I used this piece of code from this article: Pandas to GeoJSON (Multiples points + features) with ...
user avatar
2 votes
2 answers
115 views

QVariant error when converting DataFrame into attribute table using PyQGIS

I have a df which looks like that: ID Happy 0 Very 1 Little I'm trying to convert it into an attribute table: headers = [col for col in df.columns] fieldlist = QgsFields() fieldlist.append(...
user avatar
  • 167
0 votes
1 answer
34 views

Converting MapSource gdb files to CSV with GPSBabel - stop waypoint names being replaced by waypoint comments

I have multiple .gdb files that I convert to CSV files using a .bat file in Windows. A simplified version is below: FOR %%i IN (*.gdb) DO "C:\Program Files\GPSBabel\GPSBabel" -w -i gdb -f %%...
user avatar
0 votes
0 answers
54 views

How to convert style.json to Mapnik XML

I need to convert a style with JSON format to Stylesheet XML (in Mapnik). is it a way that I can do that? I want to create a custom style map and render it from the OSM (OpenStreetMap) server using ...
user avatar
0 votes
0 answers
44 views

Converting a .MIF file into .TAB retaining symbology of point features in QGIS

How to convert in QGIS a layer from MapInfo .MIF format to .TAB without loosing symbology? QGIS can't save symbology of point features when exporting a layer to .TAB format. (It can save symbology of ...
user avatar
  • 184
0 votes
0 answers
36 views

Saving multiple classes on raster dataset as individual shapefiles using ArcMap

I have this raster dataset (.tif) of land use cover. There are 22 individual classes in total. Is there any way I can separate these classes and convert them each into individual shapefiles? I want to ...
user avatar
  • 3
0 votes
1 answer
368 views

Converting GeoTIFF file into NetCDF file in Python and file is empty [closed]

I am trying to convert a GeoTIFF file into NetCDF file (still remains all the information) using either rioxarray or xarray in python. The file is just empty. But when I checked the GeoTIFF file it ...
user avatar
  • 57

1
2 3 4 5
27