Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] Ingesting Polygons into GeoMesa

Jon,

Yes, GeoMesa can ingest and query non-point geometries.  If you are
ingesting data from text files, for example, you can embed the
well-known text (WKT) representation directly.  For example,
"POLYGON(-79 38, -79 39, -78 39, -78 38, -79 38)".

You just need to be sure that your simple feature type declares the
geometry column to be an appropriate type.  The default "Geometry" will
contain any of these, but you may want to be more specific, and declare
it as type "Polygon", which is also supported.

I hope this helps; if not, please just write again.

Thanks!

Sincerely,
  -- Chris


On Wed, 2015-05-06 at 18:46 +0000, Parise, Jonathan wrote:
> Hello,
> 
>  
> 
> I’ve done a GeoMesa ingest of data that was point based, basically
> every record had one latitude and one longitude. Now, I have some
> different data that I am trying to handle.
> 
>  
> 
> I have some data records I would like to ingest that contain a four
> latitude/longitude pairs that essentially are a bounding box. I think
> that GeoMesa has support for polygons, but I am having trouble finding
> examples.
> 
>  
> 
> Is there a good example out there of how to ingest data that actually
> has multiple points instead of a single point?
> 
>  
> 
> Note that the data is not a shape file, it is just data that happens
> to be best represented as a polygon.
> 
>  
> 
> Thanks,
> 
>  
> 
> Jon Parise
> 
>  
> 
> 
> _______________________________________________
> geomesa-users mailing list
> geomesa-users@xxxxxxxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> http://www.locationtech.org/mailman/listinfo/geomesa-users




Back to the top