Re: Cannot Run Spatial Query Example

2019-11-21 Thread Humphrey
I’ve never used that setup before, so can’t help you there. Mostly I just downloaded the zip distribution [1] and unpack it. You can drop the extra jars needed in the lib folder. Hope this helps you to get it working. Let me know when you succeed. [1]

Re: Cannot Run Spatial Query Example

2019-11-21 Thread richard.ows...@viasat.com
I see, thank you. I was trying to deploy the dependencies to an Ignite Cluster installed with the DEB Setup: https://apacheignite.readme.io/docs/rpm-and-deb-setup I was under the impression that I could deploy the ignite-geospatial jar dependency and it should work? -- Sent from:

Re: Cannot Run Spatial Query Example

2019-11-20 Thread Humphrey
I've added the server node to a docker instance. (https://github.com/hmmlopez/geo-ignite-example) 1) change directory to the server project and run: mvn package dockerfile:build 2) start docker exposing the necessary ports: docker run -p 47500:47500 -p 47100:47100 -t springio/server 3) Run the

Re: Cannot Run Spatial Query Example

2019-11-20 Thread richard.ows...@viasat.com
I can avoid that error if I change the geometry dependencies to this: com.vividsolutions jts 1.13 import com.vividsolutions.jts.geom.Geometry; import com.vividsolutions.jts.io.WKTReader; Then the the above exception is not thrown when

Re: Cannot Run Spatial Query Example

2019-11-20 Thread richard.ows...@viasat.com
Thank you for the repo. It appears it can't instantiate a Spatial Index on the remote cluster nodes when I run the client mode. Am I missing a dependency? I get the following error on the remote node: [21:54:17,671][SEVERE][exchange-worker-#63][GridDhtPartitionsExchangeFuture] Failed to

Re: Cannot Run Spatial Query Example

2019-11-20 Thread Humphrey
Hi Richard, I've added a repository in github: geo-ignite-example Almost the same as you've seen before. It consists of two modules, one client and one server. Currently, I'm running both on the same machine without any problem. Can you try it

Re: Cannot Run Spatial Query Example

2019-11-19 Thread richard.ows...@viasat.com
Yes, thank you for looking at this. I just made some basic mods to the AppConfig to run in client mode and connect to the cluster: package com.example.geoigniteexample.config; import org.apache.ignite.Ignite; import org.apache.ignite.Ignition; import

Re: Cannot Run Spatial Query Example

2019-11-19 Thread Humphrey
If I have time tomorrow I’ll try with more nodes in cluster. Do you have a small reproducible project? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cannot Run Spatial Query Example

2019-11-19 Thread richard.ows...@viasat.com
Thank you for the code sample. I can get this to run, but I cannot get it to work when connecting to a remote cluster. That is when I receive the IgniteCheckedException. I have added the following jars to the remote nodes /libs folder: ignite-geospatial-2.7.2.jar jts-1.13.jar Here's the

Re: Cannot Run Spatial Query Example

2019-11-19 Thread Humphrey
I have a working example for you with latest version of Ignite. Had to take off the index=true from the MapPoint. I used Lombok, so make sure you have lombok plugin installed in your IDE. Hope this helps you. geo-ignite-example-working.zip

Re: Cannot Run Spatial Query Example

2019-11-19 Thread Humphrey
I have a working example for you with latest version of Ignite. Had to take off the index=true from the MapPoint. I used Lombok, so make sure you have lombok plugin installed in your IDE. Hope this helps you. geo-ignite-example-working.zip

Re: Cannot Run Spatial Query Example

2019-11-19 Thread Humphrey
Looks like this project is based on a very old version of Ignite. 1.7.0 -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cannot Run Spatial Query Example

2019-11-18 Thread richard.ows...@viasat.com
yes, thank you for the reply: https://github.com/dmagda/geospatial/blob/master/src/main/java/org/geospatial/SpatialQueryExample.java -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cannot Run Spatial Query Example

2019-11-17 Thread Humphrey
Do you have a link to the file or the example? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Cannot Run Spatial Query Example

2019-11-15 Thread richard.ows...@viasat.com
I'm trying to run the Spatial Query Example from the examples and getting the following error: javax.cache.CacheException: Failed to execute map query on remote node [nodeId=2626e2d2-7c4c-40c4-a307-3cccf946eb68, errMsg=Failed to execute SQL query. Data conversion error converting