Questions tagged [rasterframes]

5 questions
1
vote
2 answers

Java error for installation rasterframes (databricks)

I have followed the steps in this notebook to install rasterframes on my databricks cluster. Eventually I am able to import the following: from pyrasterframes import rf_ipython from pyrasterframes.utils import create_rf_spark_session from…
1
vote
1 answer

How to fix NPE when transforming RasterFrameLayer into Raster?

I'm trying to convert a predicted RasterFrameLayer in RasterFrames into a GeoTiff file after training a machine learning model. When using the demo data Elkton-VA from rasterframes,it works fine. But when using one cropping sentinel 2a tif with ndvi…
LyChow
  • 11
  • 1
  • 4
0
votes
0 answers

Zonal Statistics Rasterframes

I have a GeoJSON of HexBins covering the state of California (https://data.cnra.ca.gov/dataset/hexes-statewide-ace-ds675/resource/1bc4d8d1-e039-4d04-a298-bff18c4fb60d?inner_span=True). I want to use RasterFrames to calculate the average altitude per…
0
votes
1 answer

Spark Scala getting null pointer exception

I'm trying to get mass elevation data from tiff image, I have a csv file. csv file contents latitude, longitude and other attributes also. Looping through csv file and getting latitude and longitude and calling elevation method, Code given below.…
Dev
  • 413
  • 10
  • 27
0
votes
2 answers

RasterFrames extracting location information problem

Is there a way to extract/query latitude, longitude and elevation data from a tif file using RasterFrames (http://rasterframes.io/)? Following the documentation, I did loadRF a tif file from the following site:…
Hako
  • 361
  • 1
  • 2
  • 9