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
1answer
28 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 ...
2
votes
0answers
25 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 ...
1
vote
1answer
90 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\\...
0
votes
0answers
15 views

Create a histogram from a raster with no attribute table

I converted an ASCII file to a raster. I had to use the float raster because it is continuous elevation data so there is no attribute table. I need to make a histogram in GIS of the elevations to ...
0
votes
1answer
19 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 ...
1
vote
1answer
51 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 ...
0
votes
2answers
23 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 ...
0
votes
0answers
67 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....
1
vote
0answers
90 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 ...
2
votes
1answer
102 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 ...
1
vote
1answer
57 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 ...
0
votes
1answer
469 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://...
0
votes
0answers
51 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 ...
0
votes
0answers
31 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?
0
votes
1answer
54 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 ...
0
votes
1answer
229 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 ...
0
votes
1answer
135 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 ...
0
votes
1answer
161 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 ...
1
vote
1answer
161 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 ...
0
votes
1answer
280 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 ...
1
vote
0answers
245 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. ...
1
vote
1answer
226 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 ...
3
votes
2answers
1k 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 ...
1
vote
1answer
55 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 ...
0
votes
0answers
205 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 ...
1
vote
1answer
178 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:...
1
vote
1answer
95 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 ...
2
votes
0answers
108 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 ...
1
vote
1answer
434 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)...
0
votes
0answers
529 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....
0
votes
1answer
49 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, ...
1
vote
1answer
975 views

data ASCII to .TIFF batch conversion (translate) error -QGis

I have multiple ASCII file that i want to convert into .iff file. They are saved in a separate file on my pc. I have also importet the all in QGis. To convert them to .tiff format i have used: raster ...
1
vote
1answer
353 views

Any workaround to extract plain text data in ASCII from `netCDF` file in R

I am wondering about how to proportionally split or subset the gridded dataset in netCDF format where data sources were provided by European Climate Assessments and dataset (link for data source). ...
0
votes
1answer
200 views

Converting .grd to .asc using MapBasic in MapInfo 16

Can someone please provide an example to show how this would work. For example, I am trying to convert from .GRD to .ASC, would my MapBasic code look like this: public void Convert(string "C:\Users\...
0
votes
1answer
345 views

Importing EarthVision ASCII to ArcGIS Desktop?

How do I import a surface map from Petrel in EarthVision ASCII Format to ArcGIS? I have a file from surface map in Petrel that I want to export to ArcGIS Desktop. I used the tools 3D ASCII to ...
4
votes
1answer
71 views

QGIS Raster Visualization Problems from a self-produced .asc file

I have been creating .asc raster files by saving a numpy array with numpy.savetxt and the following header: header = "ncols %s\n" % ncols header += "nrows %s\n" % nrows header += "...
1
vote
0answers
114 views

Setting cell size when converting from GeoTIFF to ASCII

I would like to convert a GeoTIFF file to a .asc file using the translate option. When I use the translate tool in QGIS it converts it, but my cell size is something like 0.0002 (the pixel size of the ...
5
votes
1answer
438 views

ASCII-data source is not supported

I am using QGIS 2.18.15. I got some trouble to add an asc-file as a raster layer into QGIS. I tried to add the raster layer the normal way via the tool bar bottom. It did not work. (“The file source ...
1
vote
1answer
843 views

Error saving raster file in R

I've been on this site blogging about raster files over the week, & this community has proved to be a lot of help I currently have a map (see below), that I have converted to a raster file, ...
1
vote
0answers
75 views

Getting bathymetric slope data on ArcGIS Desktop from ASCII file? [closed]

I have a project in which I have to project XYZ ASCII file data to get a DEM. It's my first maritime map, any ideas which tools should I use? I have already tried the Spatial Analyst Tools and haven'...
4
votes
1answer
1k views

Change shapefile encoding to ASCII in QGIS

I want to convert my shapefile encoding source to ASCII but unfortunately, it is not given in the encoding source type. Maybe it is given with a different name or it is not supported in QGIS? ...
1
vote
0answers
201 views

ASC outputs for Circuitscape don't work

I'm preparing a raster layer of combined resistances of landcover, roads and rail and a second raster layer of 'focal nodes' for a Circuitscape Analysis. I prepped the files in R and they look fine in ...
2
votes
1answer
51 views

ASCII ID,Lat,Lon,Hgt to raster min. distance in QGIS

I am new to QGIS, and I would like to know how I can create a raster colour map displaying (through colour) the minimum distance between each of the pixels of the raster and a set of geographic points ...
2
votes
2answers
208 views

Edit RGB values of 0,0,0

I am VERY new to ArcMap and GIS in general. I converted some lidar data to a GEOTIFF, using a program called CARIS (it was an .csar file) and imported this into ArcMap. There are some areas that are ...
1
vote
1answer
33 views

ASCII Grid file doesnt have data matching NCOLS

I have an ASCII Grid file that states the following in its header: ncols 2205 nrows 653 . . . nodata_value -9999 But when going through the rows, the max number of cols is 12 and the number of rows ...
1
vote
1answer
284 views

Converting ASCII data to GeoTIFF for ArcGIS Desktop?

I have a data file that gives me a porosity value and the lat/long that it applies to as a box. For example Porosity=14.58 90.0 0.0 90.0 360.0 89.0 360.0 89.0 0.0 I need this data in a ...
5
votes
1answer
320 views

Geocoding address involving non-ASCII characters in PyQGIS

I have installed the "GeoCoding" Plugin in QGIS and it worked well even though I have used non-ASCII characters to geocode (i.e. Hacettepe Üniversitesi). However, when I tried to do the same ...
0
votes
0answers
93 views

Z value rounded by ArcGIS while executing “Add XY coordinates”

I have a large vectorda (point) dataset in ArcGIS Desktop 10.3.1 File Geodatabase that consists of 1,2 billion points that I created, converting it from ASCII file by "ASCII 3D to Feature Class tool". ...
8
votes
1answer
281 views

Dealing with NODATA_VALUE of ascii grid in qgis2threejs plugin?

For a project I have modelled the upper and lower boundaries of geologic layers in the subsurface. The resulting rasters are stored as ASCII files with a NODATA_VALUE of -999. However, when I ...
2
votes
0answers
2k views

ASCII to RASTER failing with comma syntax error?

ASCII to RASTER fails with comma syntax error, but data appears correctly formatted with no commas I'm trying to use the ASCII to RASTER tool (ArcMap V10.4.1) on PRISM rainfall data. The file ...