Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] Geomesa shapefile ingest

Hi Jan,

Great question!  The error is due to that shapefile having some data which is outside the expected bounds.

The great news is that Emilio fixed that issue in May, and we just pushed the button on the 1.3.2 release.  I tried with GeoMesa 1.3.2, and things worked as expected (the invalid geometries were dropped).

Cheers,

Jim

On 07/26/2017 10:50 AM, Reerink, Jan wrote:
Hi!
 
I recently tried to ingest a shapefile to Geomesa Accumulo and ran into the same problem that was reported here a while ago:
 
I tried the shapefile mentioned in the GeoMesa Spark tutorial (TM_WORLD_BORDERS_SIMPL-0.3.shp) and started by creating a table using Accumulo shell:
createtable test
 
next I ran the ingest command using the Geomesa command line tools (including username, zookeepers etc.)
geomesa ingest  -c test -f /.../TM_WORLD_BORDERS_SIMPL-0.3.shp
 
 
Here is the error:
 
ERROR requirement failed: Values out of bounds ([-180.0 180.0] [-90.0 90.0]): [-180.0 180.00000190734863] [-90.0 -60.54722595214844]
java.lang.IllegalArgumentException: requirement failed: Values out of bounds ([-180.0 180.0] [-90.0 90.0]): [-180.0 180.00000190734863] [-90.0 -60.54722595214844]
        at scala.Predef$.require(Predef.scala:219)...
 
It looks like a conversion error, possibly related to a reprojection.
I’m assuming that ingesting with command line tools creates the correct feature for me, but maybe I need to specify the reference system somewhere. Do you have a working example for shapefile ingests?
 
Thanks!
 
Best regards,
Jan
 
 

The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.





_______________________________________________
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