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
1
vote
1answer
47 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 ...
3
votes
1answer
114 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 ...
0
votes
0answers
28 views

Reading a text string (.asc format) as file with GDAL

I'm trying to read an asc file (asci grid format) as text into gdal (python) for further processing: src = gdal.Open("NCOLS 20\n NROWS 20\n ..") But gdal says NoneType, That text is no more than ...
0
votes
1answer
35 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 ...
0
votes
3answers
54 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 ...
1
vote
1answer
67 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 ...
2
votes
0answers
44 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 ...
-1
votes
1answer
166 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 ...
1
vote
1answer
72 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. ...
0
votes
1answer
195 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 ...
0
votes
0answers
33 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 ...
1
vote
2answers
30 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 ...
0
votes
0answers
100 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 ...
2
votes
1answer
40 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. ...
0
votes
1answer
79 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?
0
votes
0answers
18 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?
2
votes
1answer
274 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 ...
0
votes
1answer
141 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 ...
1
vote
1answer
41 views

How can I export 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 ...
1
vote
1answer
45 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 ...
1
vote
1answer
175 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 ...
0
votes
1answer
64 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' ...
0
votes
1answer
293 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?
0
votes
2answers
1k 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 ...
0
votes
2answers
100 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 '...
1
vote
1answer
602 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(...
0
votes
0answers
160 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 ...
4
votes
1answer
314 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)); ...
0
votes
1answer
792 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 ...
0
votes
1answer
541 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 ...
0
votes
2answers
761 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 ...
5
votes
1answer
389 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
1k 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 ...
1
vote
1answer
670 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
2answers
514 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 ...
1
vote
0answers
311 views

Convert floats array to raster

I have a numpy array that contains floats values. Once converted to raster, the values are all integers. How can i keep the float format? The procedure I use is: geotransform = [xmin, xsize, 0, ymax,...
0
votes
1answer
714 views

How to project ASCII grid given in degrees?

I have an ASCII file (.asc format) with 1/12 degree grid-squares of the whole world (see http://www.fao.org/soils-portal/soil-survey/soil-maps-and-databases/harmonized-world-soil-database-v12/en/), ...
6
votes
1answer
854 views

Convert Coordinates of ASC File

I am trying to put the Solar Radiation data into QGIS with my current projection of EPSG:27700 but even when I change the projection, the data is well off the mark. The data comes from here: http://re....
2
votes
1answer
542 views

Raster to Ascii by python console in QGIS?

I'm working on PyQgis. I have to convert a raster file to a file .asc. The classic procedure through the Qgis Menu is: Raster -> Translate (convert format) -> on "Ouput file" select Arc / Info ASCII ...
4
votes
4answers
665 views

Max and Min value from an ascii grid

I'm working in Qgis with python console. I have a file .asc whose structure is: Ncols 49 Nrows 52 Xllcorner 2611187.75 Yllcorner 4336914.199 Cellsize 1000 NODATA_value -9999 0.5081 0.679 -9999 ....
1
vote
1answer
815 views

Round gdal_translate AAIGrid output to 4 decimal places

How can I use gdal_translate for AAIGrid so that the raster values are not more than 4 decimal places.
2
votes
0answers
323 views

gdal_translate outfile without nodata_values [closed]

I want to use gdal_translate to convert a ASCII grid file onto a xyz file. But the ASCII grid is about 5.7Go and the xyz outfile is really bigger (approximately 30Go). To reduce the memory I would ...
3
votes
1answer
122 views

Including elevation values in polyline (to export it as ASCII table)?

I'm using a code to simulate flood events and I need to build two main files: one with the river channel width and another one with the bed elevation (both in ARC-info ascii raster format). I've ...
0
votes
2answers
98 views

Extraction of Digital Terrain Model Intersections

I have two digital terrain models in ESRI ASCII (.asc) format. Their elevations intersect in multiple places. How can I extract the intersection of these two DTMs as a polyline or polygon shapefile? ...
1
vote
0answers
111 views

GDAL reclassify and polygonize Esri ASCII grid files

I realized that reclassification is the tool to go to reduce the polygon count Creating simplified (binned) polygons from raster file? and implemented it in Java using geotools. Unfortunately this is ...
1
vote
1answer
189 views

Creating simplified (binned) polygons from raster file?

I have esri ascii grid raster files like ncols 4 nrows 3 xllcorner 0 yllcorner 0 cellsize 1 nodata_value -999 1 2 3 4 4 21 3 3 3 2 31 1 How can I convert this into vectorized (WKT) format when ...
2
votes
1answer
227 views

Convert Esri ASCII grid raster to WKT polygons efficiently

I need to transform a large number of Esri ASCII grid files to polygonized WKT format, e.g. as CSV. Currently, I use GeoTools with the ArcGrid reader and a polygon extraction process. For parallelism ...
0
votes
0answers
451 views

Plot BNG grid data on Matplotlib Basemap

I would like to plot UK population density data in Matplotlib Basemap. I got data in ESRI ASCII using BNG OSGB63 from https://catalogue.ceh.ac.uk/documents/61f10c74-8c2c-4637-a274-5fa9b2e5ce44 and ...
0
votes
1answer
176 views

Running Calculate Statistics on .asc raster file gives ERROR 000840?

I have a series of .asc files that are output from a modeling exercise (see image below). I need to scroll through each .asc raster, and calculate the mean pixel value within a certain outline. I can ...
1
vote
2answers
627 views

Batch convert ESRI Ascii Grid files to MapInfo TAB

I’m looking for a ‘quick’ (in terms of my time, not computer time) solution to converting a whole bunch of ESRI Ascii Grid files into MapInfo TAB files consisting of a grid of points with XYZ fields. ...