Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] C++ access

Hi all,

In general, as the user base expands, we do want to be responsive to support needs for different platforms, etc.  If there's anything I can do to encourage or foster community support, definitely let me know.

I'd be more than happy to work with folks to add contributions to the GeoMesa codebase.  If there are projects which should be separate like GTP, I'd love to help publicize it and link to it in the documentation, tutorials, and blog posts on geomesa.org.

Thanks,

Jim

On 03/24/2015 01:14 PM, Mike Atlas wrote:
Hi Andrew,

Sounds like you're already on the right path... I should have stated that was not a multi-item wish-list but rather a preferred list of official RPC support styles.

Personally, I do not need to support C++, but we happen to run a lot of higher-level customer-driven services in Ruby or Python, which subsequently or eventually delegate bigger workloads to Hadoop(ish/like) backends, many of which use Avro or Thrift as glue behind the scenes anyways.

I've done COM+, SOAP, XML-RPC, and a bit of JNI in the past, and, in hindsight, would never pick them for anything new unless I had no other choice in the matter.

-Mike


On Tue, Mar 24, 2015 at 1:02 PM, Andrew Hulbert <ahulbert@xxxxxxxx> wrote:
Hi Mike,

Thanks for this input. I'm assuming that you would like to both do Queries via CQL and Ingest new features into GeoMesa from C++, correct?

We are close to #2 with OGC services if GeoServer is set up. WFS can be used to get data into C++ assuming you are OK with parsing the XML or JSON in memory. We have a limited binary format if you only want points and time. WPS can be used as well to query and import data. However, these are not efficient for large datasets...However, from C++ you can use and HTTP connection to access the data and pipe that into a parser. Optionally you can also exec a process to do a curl.

The geomesa tools support JSON queries and I was considering adding avro data files for export:
https://github.com/locationtech/geomesa/tree/accumulo1.5.x/1.x/geomesa-tools#export

GeoMesa tools also provides some ingest capability.

Currently in python I am calling WFS and geomesa tools by curl or process execution.

Let us know any other access patterns you're thinking of.

Andrew



On 03/24/2015 12:38 PM, Mike Atlas wrote:
In the era of microservices, here's what I'd vote for RPC support in future releases GeoMesa:

1) Out-of-box official Thrift interface + server/listener
2) Anything else platform-agnostic, like Avro, JSON, REST, protobuf, etc
3) Socket-based message queue/IPC? E.g., ZeroMQ or RabbitMQ
3) J/ODBC-like CQL support? I guess. Mumble mumble...
4) Less and lesser love (why even mention?) JNI/XML/SOAP, COM+ interops, etc... 

Some things to read up and ponder:
 


-Mike



On Tue, Mar 24, 2015 at 12:00 PM, <geomesa-users-request@xxxxxxxxxxxxxxxx> wrote:

Hi David,

It looks like GeoToolsProxy is exactly what you are looking for. Connor
Manning was working with GeoMesa several months ago, and he needed C++
access as well.  The project may meet your needs right out of the box;
GeoMesa has been under heavy development since Connor last updated his
code, so there may be something which needs updated.

In general, I do want to support community add-ons and capabilities like
this.  If GTP doesn't work out of the box, this list would be a great
place to discuss any issues.

Sadly, I don't have any experience calling Java/Scala code from JNI.  It
seems like that may work.  Despite working in Scala, we do our best to
make sure that our features can be called from Java.

Cheers,

Jim


On 03/23/2015 02:02 PM, David J. Bakeman wrote:
> I need to access geomesa from within legacy C++ code is there a
> preferred path for this?
>
> I googled and found GeoToolsProxy server but not much else.  I am
> relatively new to java but it appears I could use the JNI interface?
>
> Thanks for any help.
>



_______________________________________________
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




_______________________________________________
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