Questions tagged [esri-ascii-raster]

Use for questions about Esri ASCII Raster format (i.e., files with extension .asc)

Filter by
Sorted by
Tagged with
3 votes
1 answer
113 views

Importing text file Arc/Info ASCII GRID into QGIS

I am trying to import gridded data from BOM into QGIS. The data is available as an Arc/Info ASCII GRID which is a text file with no accompanying files (unlike in this question Convert ESRI Integer ...
Aisep's user avatar
  • 33
2 votes
0 answers
231 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
197 views

Modify .TIF and then export it as .ASC with Rasterio several times

First time asking here in Gis StackExchange. I'm working with a .tif file that I read with rasterio, then I take its values as a numpy array and then I have to modify it several times. I can do that ...
Alonso Ogueda Oliva's user avatar
1 vote
1 answer
261 views

Creating separate rasters from NetCDF with multiple time steps

I have a NetCDF of daily precipitation, where I need each time step as a separate ASCII file. I can import the NetCDF into ArcMap using the "Make NetCDF Raster Layer". When I try running the ...
Nisha's user avatar
  • 71
0 votes
3 answers
321 views

Define extent of asc file

I downloaded the soilAtlas2M zip file, uploaded the .shp to arcgis, created a raster and clipped to my area of interest and made the map to show each soil type(map unit) to be a different colour, ...
pbt's user avatar
  • 11
1 vote
1 answer
286 views

Raster NA Error in R - Error in { : task 5 failed - "0 (non-NA) cases"

I'm trying to conduct a landscape genetic analysis through the R Package ResistanceGA on some environmental rasters. However, I keep running into the error Error in { : task 5 failed - "0 (non-NA)...
cuspatial's user avatar
2 votes
1 answer
327 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
1 vote
1 answer
109 views

No data holes between raster mosaic elements in ArcGIS Desktop

I have several ASCII grid files (ARC/INFO ASCII GRID format). All with the same 32 bit floating point pixel type and 5 m resolution. I want to merge this files to the one file with 5 m resolution. I ...
Tomek Bartuś's user avatar
0 votes
0 answers
105 views

QGIS raster band value differs according to zoom/scale when using ascii and GeoTIFF versions of same raster

I converted an ascii raster to GeoTIFF (for the first time), then inspected the result in QGIS seeking confidence in my achievement. What fails: "Identify Features" returns different band ...
golfalot's user avatar
  • 101
2 votes
1 answer
164 views

Can I create .las or .laz files from .hgt, .tiff, .gpx/kml or .asc files?

I have got into a golf simulator game and want to recreate my home course. Problem here is that the only import way for height information is a LAZ or LAS file. So I am looking for a way to work ...
Stephan W's user avatar
3 votes
1 answer
132 views

Two .asc in theory together, far away in QGIS

I am putting two .asc's into QGIS (DEM from Spain with resolution at 5m and DEM from France with resolution at 5m) and instead of putting them together (they are DEMs from different countries that ...
Ibai's user avatar
  • 33
0 votes
0 answers
96 views

When saving an ASCII grid as a GeoTIFF in QGIS, the resulting raster has slightly different cell values than the input file

My input raster is a Arc ASCII grid that I drag into QGIS. It has a cell size of 1. If I try to convert that to a GeoTIFF by going Export>Save as> GeoTIFF, and using the same extent and cell ...
Karyn's user avatar
  • 217
0 votes
0 answers
37 views

Calculating cellsize of EsriASCⅡ data

I'm having trouble to calculate the cellsize of Esri ASCII data. I would like to use meteorological data from JMA following data with QGIS3 software which is used in my workplace. http://database.rish....
Kouhei Tsuji's user avatar
0 votes
1 answer
263 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
2 votes
2 answers
3k views

Open and plot a large raster with Python xarray

I have an ASCII Esri file of the type: ncols 5201 nrows 4001 xllcorner -65 yllcorner -35 cellsize 0.025 NODATA_value -9999 -9999 -9999 -9999 255 256 -9999 -9999 ... -9999 -9999 -9999 -9999 -9999 -9999 ...
gioarma's user avatar
  • 133
0 votes
1 answer
375 views

How to normalize a large point cloud using lasheight and a .tif DTM?

I am normalizing a large point cloud (>16 GB), for which I'm using a preprocessed DTM that I store as .tif. For smaller amounts of data, I would use an R script that lets me do this: library(lidR) ...
Honeybear's user avatar
  • 2,062
1 vote
1 answer
91 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
3 votes
1 answer
972 views

.prj files from ESRI aren't WKT

We are seeing .prj files from our users that don't look like the normal WKT formatted ones we've seen up to this point, instead, they match the format illustrated at "Esri Grid format". When we ...
Nick Griffiths's user avatar
0 votes
1 answer
73 views

Overlaying multiple rasters covering the same area with a single band

I have a data set that contains rainfall values for every 5 mins of a day in different rasters (each raster has rainfall for 5 minutes - ie 12*24 = 288 rasters per day). I want to overlay all the ...
Yarak216's user avatar
0 votes
3 answers
469 views

Loop ASCII to Raster

I need to transform multiple ASCII files into a .tiff. I started by created the following python script but I don't see what I'm doing wrong. Maybe It's something with the loop? Does anyone have any ...
M. Heynen's user avatar
2 votes
1 answer
652 views

QGIS creating a DEM using OS Terrain 50 data - component tiles not matching

I'm attempting to create a DEM from OS Terrain 50 data (ASCII Grid data) in QGIS. The data is provided as multiple zipped folders representing sub divisions of OS grid squares. Each zipped folder ...
flyhigher's user avatar
2 votes
0 answers
75 views

QGIS CRS not set correctly [duplicate]

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

Convert Esri ASCII grid raster format to GeoJSON

I received data as *.asc file. How can I convert the ASCII data into a *.GeoJson file including polygons and the band data? I've tried various approaches with rasterio and gdal but they always ...
Stücke's user avatar
  • 509
1 vote
1 answer
5k views

Conversion of raster file into a ASCII grid file using QGIS 3.4.15

I know this question was already asked on here, but the answer from the link below did not work, at least on this QGIS, as no ASCII option was available when clicking on the files of type option. ...
AQGIS's user avatar
  • 21
0 votes
1 answer
3k views

Reading ASCII Grid file cell value for given long/lat coordinates [closed]

I am trying to write a Python script which takes a set of long/lat coordinates as input and returns the cell value corresponding to these coordinates The ASCII Grid file is from PVGIS and contains ...
nik's user avatar
  • 9
0 votes
0 answers
166 views

Importing multiple Esri ASC files into GRASS, then exporting to Unreal Engine

I'm trying to import LiDAR scan data from Defra in the UK into Grass. The data appears to be in Esri ASC format, in multiple separate files. As this is the first time I've used GRASS I'm struggling ...
ChrisOxon's user avatar
1 vote
3 answers
175 views

Unable to select a region of a raster

I've been tasked with generating some samples from a larger raster file to use as inputs to a computer model. Since we already have rasters prepared, the hope was that this would just be a matter of ...
user avatar
0 votes
0 answers
309 views

Changing coordinate systems of asc file in Python

I am working with asc files and what I need to do is do change the coordinates from Lambert Equal Area to WGS 84. I’ve tried a few things (xarray, rasterio, GeoPandas...) but nothing seems to work ...
Anita Zolles's user avatar
2 votes
1 answer
95 views

Where to extract Esri ASCII Raster Files?

In my spare time I am working on interpolating algorithms for Digital Elevation Models in C++. I always obtained my elevation data set as the ESRI ASCII Raster format because it is super simple. ...
Zaragesh's user avatar
0 votes
1 answer
212 views

Which tools can reproject ASCII grids? [closed]

I need to reproject my ASCII Grid data. My data format is EPSG:32629 and I need to reproject this data to WG64 format. Someone knows any reprojection tool?
Ivan Mariño's user avatar
0 votes
0 answers
29 views

The picture is getting cut when I put my ASC file of altitude variable

I am trying to project my ASC file of altitude variable on QGIS. But its picture is getting cut and a visual cuts and bruises are seen in the picture. Can you please tell me why is it happening?
Snehangshu's user avatar
2 votes
1 answer
775 views

Any Open Source Web Mapping App importing ASCII grid?

I'm using QGIS were its easy to import my noise mapping data through a raster layer file in ESRI ASCII (ASCII grid) format. I want to do the same online, without exporting from QGIS, because I want ...
David Santos Domínguez's user avatar
0 votes
1 answer
699 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
1 vote
1 answer
102 views

Exporting multiple, consistently sized raster files

I'm working with a computer that uses multiple ASCII raster files and ran into an issue with the file alignments. As you can see in ArcMap, the rasters are being aligned correctly. However, upon ...
user avatar
2 votes
1 answer
126 views

Summing mulitple GridCoverage Objects using GeoTools?

I'm working in Java and GeoTools to process some ASCII rasters. At present, I'm trying to get the rasters summed onto one large grid. I've tried a couple of methods but I seem to be having some ...
Sam Brett's user avatar
1 vote
1 answer
356 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
0 votes
1 answer
84 views

Problems with raster to point operation in QGis 2.18.17

I tried to make points of IDW or Kriging interpolation. From point csv-file I made .asc raster file, then I tried to make "raster value to points".At first QGIS wrote me about the error: ascii' ...
Владимир Кузовкин's user avatar
0 votes
1 answer
703 views

Merge multiple ASCII files into single GeoTIFF file with multiple bands [closed]

Is there a way to combine multiple ASCII (text) files into a single TIFF file with multiple bands (Band1, Band2 ...) using GDAL or Python?
shahryar's user avatar
  • 684
1 vote
2 answers
5k views

Converting .tif to .asc for MaxEnt

I want to convert some .tifs to .asc to use in MaxEnt. I have tried using both ArcGIS 10.5.1 (the "Raster to ASCII" tool) and QGIS 2.14.3 (Raster > Translate tool). Both give .asc files, but when I ...
EcologyTom's user avatar
0 votes
2 answers
150 views

Create a seamless raster from multiple polygons?

I have been attempting to create a total cover map of a 4x4 km target area. I clipped the target area to my desired size and used the create polygon feature of ArcGIS to define all of the areas as '...
William Vannoy's user avatar
2 votes
1 answer
2k views

Can an ASCII Grid contain a CRS or projection?

I recently discovered the raster library in R. With that library one can define a raster's coordinate reference system (crs) or projection. For example, to set the projection as NAD83 UTM 10N: crs(...
Evan's user avatar
  • 175
0 votes
0 answers
233 views

ArcGIS raster ASCII range not displaying as expected?

On ArcGIS, I have initially used the mosaic feature to join a number of .asc files. The mosaic output displays the same range (max and min) of these .asc files. I now need to convert the raster ...
user120256's user avatar
4 votes
1 answer
680 views

Importing multiple .asc files into PostGIS violates check constraint. Why?

I am importing thousands of .asc files into PostGIS into this table: CREATE TABLE stg.COUNTRY_1M(rid serial primary key, rast raster); CREATE INDEX ON stg.COUNTRY_1M USING gist (st_convexhull(rast)); ...
Randomize's user avatar
  • 261
0 votes
1 answer
2k views

Use of Leaflet to display raster layers in Django [closed]

I'm using Django to create a webserver that can gather user inputs, produce simulations and output the results with Leaflet. So far I can produce simulations in Farsite using prepared inputs, however ...
David Baião's user avatar
0 votes
1 answer
1k views

Difference between files of extension .asc, .asc.aux.xml, .aux and .rrd?

I have received ASCII data from a client. These ASCII files have been created from LiDAR data. For each tile there are 4 different file types: Filename.asc Filename.asc.aux.xml Filename.aux ...
Mike's user avatar
  • 424
0 votes
2 answers
1k views

Converting ASCII file to DEM using SciPy?

ArcGIS does not employ a pure linear interpolation algorithm, so I turned to python and specifically scipy to perform the interpolation. I found out I can create an ASCII file containing the ...
Nikos's user avatar
  • 380
5 votes
1 answer
678 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 ...
K. Friday's user avatar
1 vote
1 answer
5k views

Python - How to Get lat lon information from .asc file

I have a .asc climate data file at hand and want to explore it to extract some information. Based on searching, some general read methods have been tried as, import it as python pandas or numpy ...
wflwo's user avatar
  • 53
1 vote
1 answer
1k 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, ...
Andy's user avatar
  • 165
1 vote
2 answers
1k views

Obtain GeoTIFF with ASCII files

I´m trying to obtain GeoTIFF files to use them in Photoscan from ASCII files. My process is as follows: I have 200 ASCII files more of less, I use the ASCII to raster tool in batch mode process in ...
Juan Cordoba's user avatar