val conf: SparkConf = new SparkConf().setMaster("local[*]").setAppName("SpatialQuery")
val spark: SparkSession = SparkSession.builder().config(conf).getOrCreate()
val path: String = "spatial-core/datas/"
val df: DataFrame = spark.read.format("magellan").load(path)
df.show()
I want to load data from a shape file, the "metadata" column of the result dataframe contains all empty metadata like this:
The shapefile: http://www.arcgis.com/home/item.html?id=b07a9393ecbd430795a6f6218443dccc
My code:
Here is my project pom.xml:
Is there any ways to load the metadata into dataframes? Thanks a lot.