Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] NoSuchAuthorityCodeException: No code "EPSG:4326" from authority "EPSG" found for object of type "EngineeringCRS"

Hi Diethard

I'm one of the authors of that book. Mathew Hallet wrote that specific code (but he isn't here on this list). 
I'll bump him a link and ask him to take a look. If the issue is on our side I'll ask him to post a fix, but just a warning, I know he's quite busy at the moment.

Andrew


Sent from my iPhone

On 25 Jun 2017, at 11:43, Diethard Steiner <diethard.steiner@xxxxxxxxx> wrote:

Hi,

I am trying to get an Spark Ingestion Example going, which is based on your original MapReduce example as well as some code from the "Mastering Spark for Data Science".
I am using sbt. The `build.sbt` file has a simple `first` merge strategy defined (code available here). The scala code is available here.

I build the fat jar and then run it on Spark like so:

```bash
sbt clean assembly
# submit job
spark-submit --master local[4] \
  --class examples.IngestDataWithSpark \
  target/scala-2.11/GeoMesaSparkExample-assembly-0.1.jar
```

Then I get an error returned:

```
NoSuchAuthorityCodeException: No code "EPSG:4326" from authority "EPSG" found for object of type "EngineeringCRS"
```

This Stackoverflow thread indicates that the merge strategy might not be correct, but I couldn't resolve the issue. I'd appreciate if you could point out the solution.

Best regards,
Diethard
_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geomesa-users

Back to the top