title: Is there any way to use GeoJSON conveniently with Geomesa?
body: <p>I wouldn't like to build a <code>Geomesa Datastore</code>, just want to use the <code>Geomesa Spark Core/SQL</code> module to do some spatial analysis process on spark. My data sources are some GeoJson files on hdfs. However, I have to create a <code>SpatialRDD</code> by <code>SpatialRDDProvider</code>.</p>
  
  <p>There is a <code>Converter RDD Provider</code> example in the documents of Geomesa:</p>
  
  <pre><code>import com.typesafe.config.ConfigFactory
  import org.apache.hadoop.conf.Configuration
  import org.geotools.data.Query
  import org.locationtech.geomesa.spark.GeoMesaSpark
  
  val exampleConf = ConfigFactory.load("example.conf").root().render()
  val params = Map(
    "geomesa.converter"        -&gt; exampleConf,
    "geomesa.converter.inputs" -&gt; "example.csv",
    "geomesa.sft"              -&gt; "phrase:String,dtg:Date,geom:Point:srid=4326",
    "geomesa.sft.name"         -&gt; "example")
  val query = new Query("example")
  val rdd = GeoMesaSpark(params).rdd(new Configuration(), sc, params, query)
  </code></pre>
  
  <p>I can choose GeoMesa's <code>JSON Converter</code> to create the SpatialRDD. However, it seems to be 
  necessary to assign all field names and types in <code>geomesa.sft</code> paramater and a converter config file. If I have many GeoJson files, I have to do this one by one manually, it is very 
  inconvenient obviously. </p>
  
  <p>Is there any way that Geomesa Converter can infer the field names and types from the file?</p>