As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [ascii]

The American Standard Code for Information Interchange (ASCII) is a character encoding scheme for text representation in computers. For questions about .asc files, use the [esri-ascii-raster] tag instead.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

MaxEnt error java.util.NoSuchElementException

I am new to using MaxEnt (and Java) and after selecting my presence-only data in .csv and my environmental variables in .asc, when I try to run the analysis, I get this error message: Error reading ...
smartinm's user avatar
1 vote
0 answers
21 views

Exporting interpolation (IDW,OK,UK…) prediction from gstat in ASCII format

I am trying to export an interpolation (IDW, OK, UK, etc.) prediction generated using the gstat function in the R package. Specifically, I would like to save the resulting map as an ASCII file format ...
Kanon Guede's user avatar
2 votes
0 answers
111 views

ASCII to Raster conversion issues

I am struggling to convert (modified) ASCII files to rasters (examples attached + image of error message). Original ASCII files (which I don't have) were delimited using Excel after which they are tab ...
Mirko Barada's user avatar
0 votes
1 answer
51 views

QGIS .asc header

I have two .asc that I would like to aggregate (with a python's script) but the problem is: The header are different because the cellshape are different and I would like to modify the cellshape of one ...
Edouardo's user avatar
0 votes
0 answers
24 views

Is there any way to identify what does the value in point cloud text file represent without contacting the one who generated it?

I have a point cloud text file that I obtained from the internet and it contain 6 type of value. I assume the first three value represent xyz values but I do not know about what the other three ...
Gaby John's user avatar
0 votes
2 answers
92 views

Finding error in corrupt ASCII

I downloaded several DEMs for Bavaria as ASCII file from here: https://geodatenonline.bayern.de/geodatenonline/seiten/dgm_info several of those files won´t be loaded into QGIS. The error message is: ...
Lukschn's user avatar
  • 115
0 votes
1 answer
106 views

Convert nodata values to 'nan' in QGIS

I have a raster layer that I want to use in a software program. The program requires nodata values to be 'nan', rather than a number. Currently the no data value is 1,000,000,000. (I'm not sure why ...
Melanie Baker's user avatar
5 votes
1 answer
117 views

Issue formatting ASCII file

I am trying to open an ASCII file in QGIS but I am having some difficulties with the formatting. I know the X and Y field names must be selected, but under 'sample data', the data appears under one ...
T1230321's user avatar
0 votes
0 answers
58 views

Merging .asc without conversion to GeoTIFF

I have a lot of LiDAR data in the format of .asc, however not all of the data is needed for my study area. To get just the data I want, I have merged the .asc files before clipping them with a mask ...
James the Flooded Roads Guy's user avatar
0 votes
0 answers
30 views

IBERAULA - DEM file not working

When using Iberaula, I'm trying to use the data from Defra or OS Terrain 50 as this is UK data. However, I'm trying to import the DEM data through RTIN > Create RTIN > Mesh and import the DTM ...
Wreqeh's user avatar
  • 1
0 votes
0 answers
92 views

Open manipulated ASC files in rasterio

Background: The German Meteorological Service offers some data in an .asc format that is somewhat off the standard. Which means that some lines with extra metadata in the header are added, which have ...
Sebastian H's user avatar
0 votes
0 answers
430 views

Maxent error : java.lang.NumberFormatException : For input string « nan »

I'm doing predictive distributions for some species using Maxent and QGIS. I downloaded my environemental data from : https://worldclim.org/data/cmip6/cmip6_clim30s.html They are multibands data so I ...
Lddc's user avatar
  • 1
2 votes
1 answer
281 views

Calculating water depth from ASCII file in QGIS

I downloaded ESRI ASCII file for bathymetry from GEBCO. Now I loaded the file as raster, then I clip the raster file according to my vector images (Image 1), then I did symbology, where I did single ...
Kazi's user avatar
  • 151
0 votes
1 answer
319 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 ...
scln's user avatar
  • 1
0 votes
1 answer
109 views

How to bulk ASC files into GRASS

I am trying to import some LiDAR files (.asc) into a binary raster map layer using the r.in.gdal module from GRASS. As I have multiple files to import, I would like to batch import them. It is ...
David Garcia Casas's user avatar
0 votes
1 answer
19 views

Error using RSAGA multi.local.function - incompatible input grids

I'm trying to apply a gam model (called "modelo" below) to a stack of grids using multi.local.function through RSAGA, just like in the following code. multi.local.function(in.grids = c("...
Ana de Angelo's user avatar
2 votes
2 answers
549 views

Converting shapefile to ASC or LAZ format

Eire/Ireland data is available to buy, and I have a sample file. It seems to be a zip of some files with SHP, PRJ, SHX and DBF extension. I am trying to convert this data to LAZ format. I can open ...
Steve Hibbert's user avatar
1 vote
0 answers
29 views

Edit single pixel in ASCII grid

I converted DTM Data from LAZ to ASCII. Now I got some artifacts with an obviously wrong cell values. Is there a simple way to edit just a single cell? I tried looking for the cell value in Notepad++, ...
DTM_guy1337's user avatar
1 vote
1 answer
23 views

Add default classification to Esri ASCII Raster?

I have some .ASC data files from Wales Govt. LiDAR data. I converted it to LAZ using LasTools, but when I try to use the data in a third party app, I get an error saying that the data is unclassified....
Steve Hibbert's user avatar
0 votes
0 answers
1k views

How to convert a GRIB file to CSV/ASCII

I have downloaded the ERA5-Land hourly-ECMWF climate reanalysis data from Copernicus. The data come in .grib format. It would be easy for me to manipulate the data in .csv or ASCII format. The idea is ...
corp_guy's user avatar
0 votes
1 answer
227 views

Error saving .asc bias file in R

I used the following code to create a bias file in R for MaxEnt. I am able to create the bias file, but I am not able to save it as ascii (see error message). My lat/lon csv file contains only points ...
Mary's user avatar
  • 1
3 votes
0 answers
47 views

Raster to ASCII tool in ArcMap returning different max and min values

I am using Raster to ASCII conversion tool in ArcMap 10.7.1, and the issue is reproducible in 10.6.1, and 10.8.1. I have two raster files in TIFF format. When I used the tool for one raster the output ...
Yogesh Chavan's user avatar
1 vote
1 answer
2k views

How to read multiple ASCII files in R

I'm trying to read multiple .asc files in R so I can perform some analyses later on them. I'm using this code: library(raster) list_file <- list.files ("C:\\Users\\Areej\\Documents\\...
Areej's user avatar
  • 27
0 votes
1 answer
60 views

How to import large ASCII into GIS (Grav/Mag) data?

I need to import two ASCII files (one for gravity data and one for magnetic data) into ArcMAP, but I can´t find any tutorial on how to do this, especially when the file is so large that I cant open it ...
Barbara's user avatar
1 vote
1 answer
85 views

ArcMap, QGIS 3.10.7, QGIS 2.12.3 all interpret ASCII file values differently

I have QGIS 3.10.7 and QGIS 2.12.3. I am loading the same ASCII (.asc) file into both versions of QGIS. QGIS 3.10.7 says the values in the ASCII file range from 186.573 - 1458.33. QGIS 2.12.3 says the ...
nateroe's user avatar
  • 243
0 votes
2 answers
68 views

Need to assemble a matrix from several ASCII GRD files

I am totally new to GIS software. I would like to consolidate 205 ASCII GRDs files (the file format of Golden Software's "Surfer") into a single big GRD file or just a big matrix of (about 2400 rows ...
Pablo Faundez's user avatar
0 votes
0 answers
180 views

Batch converting ASCII text-files to shapefiles in QGIS

Here is a sample of my source data. 682575.040,5769613.850,153.410,87 682575.990,5769611.700,153.470,91 682575.850,5769613.340,153.530,95 682580.120,5769612.860,153.480,88 682580.270,5769613.760,153....
Rick Pope's user avatar
1 vote
0 answers
273 views

Opening ASC file in QGIS

I'd like to open a .asc file in QGIS from this website: Monthly mean tropospheric NO2 from TROPOMI I suspect there's a problem with the headers or something, but can't figure it out. Using the ...
Esther Roosenbrand's user avatar
2 votes
1 answer
260 views

Cannot extract data from raster in QGIS

I'm trying to extract climate variables in QGIS for sample points with a raster dataset. The raster comes from ClimateNA (https://adaptwest.databasin.org/pages/adaptwest-climatena) and is available as ...
Brian Allen's user avatar
1 vote
1 answer
133 views

Error message when using v.in.ascii in GRASS

I'm trying to follow the this GRASS tutorial and I'm already stuck at the first step. I have acii points in an .xyz and supposed to import them with v.in.ascii. However, I get the following error ...
DGIS's user avatar
  • 2,467
0 votes
1 answer
2k views

How to convert .dat file to raster?

I am very new to GIS and I've looked everywhere for a solution but to no avail. I want to analyze Himawari 8 Gridded Data. I am following the steps to process gridded data, link below. http://...
user avatar
0 votes
0 answers
166 views

Exporting shapefile/feature class polygon to XY pairs/ASCII

For a polygon shapefile, I'm needing a polygon vertex coordinate output file like this for a legacy program: polygon1, AUTO -120.3434 34.694354 -120.3750 34.694354 -120.3750 34.713433 ...
dbo's user avatar
  • 141
0 votes
0 answers
50 views

Creating Raster ASCII file with `nlayar` and `layer_span` in ArcMap

Is it possible to create this ASCII file with nlayar and layer_span in ArcMap 10.2?
Rusdan Abdillah's user avatar
0 votes
1 answer
235 views

Convert large ASCII file to an image file [closed]

I have a file of 5gb in a .asc form. The first lines are ncols 43200 nrows 18000 xllcorner -180 yllcorner -60 cellsize 0.0083333333333333 NODATA_value -9999 It is ...
GeoF's user avatar
  • 371
0 votes
1 answer
652 views

How to convert a raster file to .asc without losing spatial reference in ArcMap10.5

I am trying to convert several raster files (some with continuous and some with categorical data) into .asc files. I have used the "Raster to ASCII" tool, but when I click on properties of the newly ...
Ursy's user avatar
  • 1
0 votes
1 answer
265 views

Creating DEM raster from ASCII .xyzi LiDAR [duplicate]

I was passed along some LiDAR data that is in .xyzi ASCII format. I am having trouble figuring out a way to build a TIN or DEM from this data. I brought it in using "ASCII 3D to feature", and ...
geojasm's user avatar
  • 21
0 votes
1 answer
484 views

Zonal Statistics as Table: 999999 Error

I am receiving a 999999 error each time that I attempt to run Zonal Statistics as Table. I am attempting to overlay population data from an asc file with a shp file with French Alsatian municipal ...
Dante Povinelli's user avatar
1 vote
1 answer
315 views

Load ASCII rasters in QGIS as singleband pseudocolor by default

I'm loading over 400 ASCII rasters into QGIS. They all get displayed as 'singleband grey' by default. Is there a way to change the style to 'singleband pseudocolor' by default? I also want to set the ...
Jan's user avatar
  • 171
0 votes
1 answer
566 views

How to convert an ASCII file (with lat,lon coordinates) to a shapefile using OGR?

I have an ASCII file with the following columns : ID, longitude, latitude, value Is it possible to use OGR (ogr2ogr or ogrinfo) in command line in order to open the ASCII file and convert it to a ...
nat's user avatar
  • 259
1 vote
0 answers
537 views

Converting .asc files to points?

I have multiple wind data at varying heights in .asc-file format. I want to interpolate them in QGSI but it seems I can't even display the points even if I click add raster. It's still on a table. ...
Michelle Ucat Baltazar's user avatar
1 vote
1 answer
339 views

Can GRASS export an ESRI ASCII?

I have a raster in GRASS GIS and want to export it as a ASCII file following the ESRI format. This is my code r.out.ascii --overwrite input=XX@PERMANENT output="...\XX.asc" null_value=-9999 The file ...
Juan Ossa's user avatar
  • 594
3 votes
3 answers
3k views

Error when clipping raster in QGIS: "'ascii' codec can't encode character"?

I have done it many times (clipping a raster with a polygon layer or by extension) but today I got an error for the first time and I don't know how to solve it. I am always using the same type of ...
Ferran's user avatar
  • 31
1 vote
1 answer
130 views

How to get the header values for an ASCII raster if the input raster is QgsRasterLayer type?

I'm trying to develop a QGIS plugin for converting the input raster to QgsRasterLayer type and, however, I don't know how to get all the header information to write it in the output raster. This is ...
scf's user avatar
  • 63
0 votes
0 answers
338 views

Importing multiple ASCII text files in ArcGIS as Rasters

I have a big number of ASCII text files which have the Esri ASCII Grid format but have been stored as .txt files rather than asc. I am trying to import them simultaneously as rasters to obtain mean ...
George Vittis's user avatar
1 vote
1 answer
622 views

Feeding gdalwarp with binary data instead of ascii, how to specify header information

I have a working pipeline where I download a tar.gz file which contains multiple binary files in the german RADOLAN format (Translate PNG obtained through RADOLAN from DWD's projection to EPSG:...
Daniel F's user avatar
  • 166
1 vote
1 answer
195 views

Using UK Government Data in QGIS?

I've downloaded some .asc files from the UK Government. They are 1m resolution LIDAR tiles. Apparently. When I load them into QGIS, they appear with the nice thumbnails and everything. But I get ...
Otispunkmeyer86's user avatar
2 votes
0 answers
149 views

Points and bioclim layers plot correctly in R, but not in Maxent.jar

I am trying to use Maxent.jar. This program uses a CSV file of points and ascii bioclim layers (basically, a map of the Americas with climate data) and overlays them on top of one another. I find ...
TPegan's user avatar
  • 21
1 vote
1 answer
862 views

Using datatype option from writeRaster with ascii files

I have to build a 8 bits raster as ascii (.asc). I'm trying to use R writeRaster fonction, however it is not working: Reproducible example: library(raster) rr <- raster(matrix(sample(1:100, 100)...
Bastien's user avatar
  • 547
0 votes
0 answers
1k views

Shapefile conversion to ascii grid

I'm working with shapefile files, but I need to convert to ASCII grid, and I was trying to use QGIS, but the following error occurred: File "/usr/share/qgis/python/plugins/GdalTools/tools/dialogBase....
Emanoel's user avatar
  • 101
0 votes
1 answer
77 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, ...
cataloop's user avatar