Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [esri-ascii-raster]

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

1
vote
1answer
33 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
23 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
81 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
188 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 ...
1
vote
1answer
79 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
67 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
127 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
0answers
64 views

problem with django GDALRaster to load ascii grid rasters

I'm trying to load a raster file in format ascii grid to postgresql using postgis. My model: class elevation(models.Model): rast = models.RasterField(srid=3857) filename = models.CharField(...
0
votes
1answer
281 views

Use of leaflet to display raster layers in django

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
205 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
332 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 ...
4
votes
1answer
217 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
544 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
257 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
168 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
185 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
354 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/), ...
0
votes
0answers
219 views

Difficulty opening ASCII file as raster (University of Delaware gridded data)

I am trying to download the v4.01 terrestrial air temperature data from the University of Delaware: http://climate.geog.udel.edu/~climate/html_pages/download.html#T2014 After unzipping it twice with ...
6
votes
1answer
515 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
303 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
582 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
392 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
158 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
81 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
82 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
79 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
131 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 ...
3
votes
0answers
158 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
259 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
121 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
419 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. ...
3
votes
1answer
161 views

ASCIIToRaster_conversion Error

I am fairly new to python scripting. I am attempting to do some batch conversions from ASCII to Raster in order to save myself some time. However I am continually getting issues with my script. My ...
3
votes
1answer
50 views

Data stuck in arc seconds after being reprojected to UTM

I am working with world soil drainage data from the Harmonized World Soil Database v 1.2. The data started as an ascii file with no spatial reference and a resolution of 0.080595956, 0.080595956 Arc ...
0
votes
2answers
517 views

Getting error with ASCII to raster: The error is says that my asc file doesn't have a file extension [closed]

The dataset that I'm using is http://fme.ceh.ac.uk/fmedatadownload/results/FME_656D6600_1478695468793_27958.zip I'm on a Windows 8, 8 GB pc I'm using ArcMap 10.3.1
1
vote
0answers
139 views

Changing Ascii grid file inside a GeoJSON polygon

I have a Digital Terrain Model ASCII grid file that gdalinfo recognizes as AAIGrid. Its resolution is 2m. I need to alter it simulate the construction of an embankment, so as to feed it to a modelling ...
1
vote
1answer
320 views

How to cut data inside GeoJSON polygon from adjacent ASCII grid files?

I have a set of Digital Terrain Model ASCII grid files; they're the output of a LIDAR survey over our city, and so cover adjacent areas. Now I need to "cut" a polygon out of these files; this polygon ...
2
votes
2answers
67 views

Pixel values missing in ASCII file

I am trying to convert a GeoTiff file to ASCII format. After conversion I am getting all pixel values in ASCII file to be NoData value. How can I get the pixel values in ASCII file? Pixel values ...
0
votes
1answer
516 views

Convert netcdf4 to ASCII using Python and gdal: No output

I want to convert a netCDF4 dataset (including grouped datasets) to Arc/Info ASCII Grids, using Python's gdal package. I tried to orientate at this question, the only thing I added is a loop over the ...
1
vote
0answers
139 views

Setting output name to be same as input name in ModelBuilder using Parse Path? [closed]

Can you comment on my model as to why the output name is totally different from input name?
1
vote
1answer
44 views

Raster CellSize with valX x valY

Any idea if it is possible to have an esri-asci file with a cellSize with 2 values specified? From what I read is not, but I have one file that is like that and I wader how should I import it in my ...
-1
votes
0answers
160 views

ESRI ASCII. Centroids coordinates in raster

I'm new to PostGis and curentlly I'm trying to import a ESRI ASCII file in Postgis and query for neighbors based on some coordinates. The header looks like this: NCOLS 8083 NROWS 12952 XLLCORNER 52....
1
vote
1answer
723 views

ASCII to Raster causing projection and scale issues

I'm trying to convert PRISM ASCII files into an Imagine (.img) Raster file format in ArcMap 10.3.1, and for some reason, the resulting raster is not projecting correctly (i.e. it's about 3,755 km ...
1
vote
1answer
2k views

Interpreting .ASC/LiDAR Data?

I'm a complete novice to the world of GIS. I'm involved with a project which requires LIDAR data to be imported into CAD software. When I go to the geostore, which contains LIDAR survey data ...
1
vote
1answer
257 views

Difference in the elevations for the same building on two DSMs saved in *.asc and *.laz formats

The following question concern the same type of data as the one I've asked in Differences in the longitude and latitude between a LiDAR DSM and an optical image. Basically, I've downloaded a tile of ...
1
vote
1answer
54 views

Debugging No Free Units (LUNGET) from RasterToASCII_conversion() in ArcPy?

I am converting approximately 20 years of satellite data to ASCII format (.asc) using ArcPy and rather than threading it, I chose to run four instances of the script in four different cmd windows. The ...
3
votes
1answer
404 views

ESRI ASCII. Latitude and longitude in a in raster

I've started a new project that involves a ESRI ASCII grid. As far as i know it is a map of Germany or the UK (I'm not sure which one). This is how the header looks like: NCOLS 8083 NROWS 12952 ...
1
vote
1answer
64 views

Opening >10gb DEM files and clipping?

I have a 5m DEM for an entire province in Spain. It is over 48gb in size and is in asc file format. I only need a very small, 50 km² area. I open the DEM in ArcDesktop, and i get the loading bar ...
1
vote
0answers
96 views

Raster from Ascii text file doesn't project properly

I created an ascii grid of annual precipitation for CONUS in MATLAB and imported it into Arcmap. The text file can be downloaded here: https://www.dropbox.com/s/0k4x257x597ogij/meanTotalPmm.txt?dl=0 ...
1
vote
1answer
120 views

DEM ASCII for HEC-GeoRAS

I have a hard time understanding what ASCII files are. I have this DEM in asc. I try to import them into ArcMAP 10.3 and they appear in my naked eyes as images however what I found on internet is ...
3
votes
1answer
335 views

Importing large .asc files into QGIS

I've been given two .asc files containing a 1m raster data from a LiDAR survey. I only have access to QGIS.2.14.1 (which I'am using for the 1st time only having previous experience with ArcGIS) and I ...