10 votes

Replace NA's with 0 for large raster data using R?

"external/test.grd" isn't the best way to test this. Is a very small raster, so results can't be applied in a large raster. Here I present a comparison with 4 different approaches, the file used is a ...
user avatar
  • 12.2k
5 votes

Parts of geometry disappearing in QGIS export to Illustrator PDF?

As @Mapperz says: Illustrator has a display limit around 60,000 vertices per feature you need to split lines or generalise your data down before export. You can generalise the lines down before ...
user avatar
  • 1,109
4 votes

ArcGIS Attribute Table - Latitude, no Longitude

Open your attribute table and add a new field for Longitude (if it doesn't already exist). Right-click on the new field in the table and select "Calculate Geometry" In the Calculate Geometry dialog ...
user avatar
  • 29.2k
4 votes
Accepted

R kriging cross validation returns NA for all prediction points?

The usual problem with kriging is duplicate locations. You can note that even the function autoKrige gives you the following warning: Removed 197 duplicate observation(s) in input_data You can also ...
user avatar
  • 668
3 votes

Merging one DEM into another to fill in missing data using QGIS?

I'm not aware of any way to do it from within QGIS but GDAL can do it from the commandline. The basic steps are: Crop, upsample, and smooth your low-res data to match your high-res data; you may ...
user avatar
3 votes

Georeferencer - GDAL is missing on the QGIS 3

SOLVED. The only u need to do is install all dependencies of qgis... https://www.archlinux.org/packages/community/x86_64/qgis/ sudo pacman -S fcgi gpsbabel gsl python-jinja python-numpy cmake ...
user avatar
3 votes

Kriging from raster with missing data in ArcGIS

If you want the average value, then you could use a mean filter (focal statistics, ignoring the NoData value). This will be way faster than kriging, and it will work directly from a raster. Then you ...
user avatar
  • 48.7k
3 votes
Accepted

How to treat missing values as null

If you export your Excel sheet to a geodatabase table, the blank values will remain blank, they won't be converted to 0. One of the ways you can do this is by right-clicking the Excel sheet in the ...
user avatar
  • 9,567
3 votes
Accepted

How to generate missing points in GPS trajectories?

GPSBabel has a function for this. To take a GPX input file and interpolate points so that each is 30 seconds apart: gpsbabel -i gpx -f INPUT.gpx -x interpolate,time=30 -o gpx -F OUTPUT.gpx Arguments:...
user avatar
  • 14.4k
2 votes

ArcGIS Attribute Table - Latitude, no Longitude

If I remember correctly there is a tool under Data Management > Features > Add XY Coordinates. Something along those lines, that should give you two new columns in the attribute table with the ...
user avatar
2 votes
Accepted

Python add-in button tool giving saying missing toolbar when I add it onto my map?

You have an indent error with your second pass. fix the indention after your else and the toolbar should work. I've found that finding errors with custom toolbars can be tricky. I suggest testing ...
user avatar
2 votes

Merging one DEM into another to fill in missing data using QGIS?

You can do this from within the QGIS GUI using Processing -> GRASS -> r.patch (https://grass.osgeo.org/grass70/manuals/r.patch.html), which will fill in areas of no data in an input raster using data ...
user avatar
  • 3,649
2 votes

QGiS - Values missing from graduated style

Ok, turns out I imported the csvs with "discard empty FIELDS" left on as is default. Because the column of data I needed was the last one, and the intermediate columns included blank entries, ...
user avatar
  • 1,027
2 votes

Missing feature from Shapefile

If every shapefile is missing the last feature then I would think the error is coming from the "blackbox" exporting to shapefile. You should ask to see the code that is used for exporting to ...
user avatar
  • 2,100
2 votes

Missing feature from Shapefile

First select from the attribute table the feature which is missing and save it as a separated layer. Is it still undisplayed? Try to check its geometry using the field calculator. Add a new field ...
user avatar
  • 126
2 votes

Getting a masked raster with no NAs and sum pixels within overlaying polygon?

What I am looking for is a function to use in conjunction with mask that ensures that in the final masked raster these NA values are removed so that I have raster with no NA value. A raster is an NxM ...
user avatar
  • 52.9k
2 votes
Accepted

Calculating correlation between points and raster values with missing points (need missing as 0s) (QGIS)

you have several ways to calculate the correlation between a raster and points, or between two aligned rasters. You can use Grass or SAGA tools, or do it by programming. Areas with no yield value ...
user avatar
  • 1,354
1 vote

Placing Excel Data in ArcMap/ArcScene similar to Image Georeferencing

Here are your options: Join table records based on common id to an existing feature/layer. Manually create a point layer and digitize in the point locations and assign each feature an id common with ...
user avatar
  • 34.7k
1 vote

Missing feature from Shapefile

The issue feels similar to this one but it is corrected in GDAL four years ago https://trac.osgeo.org/gdal/ticket/5608. The changeset https://trac.osgeo.org/gdal/changeset/27577 does even contain a ...
user avatar
  • 53.2k
1 vote

Features show on data view, but not in Attribute table?

What appears to be happening is that the objectID index is corrupt, and this cannot be fixed directly. Some or all data may be recoverable by using export to xml and reimport to xml options (harder ...
user avatar
  • 824
1 vote

Replace NA's with 0 for large raster data using R?

I think you can use raster::calc() as perhaps a more memory efficient method. So, guessing that you have a single-layer raster you can do the following to replace NA values (used some test data here): ...
user avatar
  • 363
1 vote

Adding missing locations on OpenStreetMap programmatically for Android application?

No, as Ian Turton says you can't add data from Google to OSM. You can get more information on what are suitable sources for OSM here and here.
user avatar
1 vote

ArcGIS Attribute Table - Latitude, no Longitude

Open ArcMap and import the layer > Right click and Open Attribute Table> Click on Table Options (upper left corner of the Attribute Table) and select Add Field > Right click on the new field title and ...
user avatar
1 vote

How can I find the missing data from the downloaded bulk TRMM data?

If you still need TRMM data there is a new QGIS plugin that allows you to download the 3B42 product. You can download the original data, with a 3 hours frequency, but you can also aggregate it in ...
user avatar
  • 161
1 vote

Fusion Tables missing from Google Drive

Solved! The new version of Drive was the issue. I have gone back to the old version and all my files were there.
user avatar
1 vote

Zones missing after running zonal statistics in ArcGIS Spatial Analyst?

The only time I have had a similar issue, it was because my Processing Extents were out of wack. Here is what I did: Go to Environment Settings > Processing Extent > Extent: Union of Inputs. I'm not ...
user avatar
1 vote
Accepted

Filling null attributes with mean attributes of neighboring polygons using ArcGIS Desktop?

The simple way to start doing this will be to use the Polygon Neighbors tool to determine the neighbors of each polygon. There is detailed documentation on how How Polygon Neighbors Works because it ...
user avatar
  • 63.9k
1 vote
Accepted

Error gap-filling Landsat 7 SLC-off with QGIS 2.18.3 on Windows 10

Ok, I've gotten it to work! Executing from commandline seems to be irrelevant, temp file seems to have been irrelevant. What did work is I changed pixel search distance to 10 (just for the test), and ...
user avatar
1 vote

Error gap-filling Landsat 7 SLC-off with QGIS 2.18.3 on Windows 10

It may not matter but it appears you're output file is going straight into a tarball. You could try outputting (and reading from) elsewhere. You could also try executing the the gdal_fillnodata ...
user avatar
1 vote

QGIS - Have spreadsheet with col from 0% to 100% plus null want 100 bin gradient plus one more for null

First of all, I would suggest you to save your layer as a new layer once you have performed the simple join, in order to properly save the new attached columns in the layer attributes table. To ...
user avatar
  • 2,590

Only top scored, non community-wiki answers of a minimum length are eligible