Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geowave-dev] geowave-dev Digest, Vol 26, Issue 1

There's no data in the table.  "geotools-vector" format will support any geotools datastore in your classpath.  Geotools CSV Datastore is "unsupported" [1] and not by default in GeoWave's commandline classpath so it is not able to parse out any data.  You can add any libraries you like to the classpath which will be discovered at runtime if you put the jar(s) in the "plugins" directory in the directory you installed the tools (RPM install puts it at /usr/local/geowave/tools).  If you are able to get a geotools datastore to work on your dataset, you can add that to the classpath, although I've found it easier to just implement your own geowave "format plugin" and att it in the plugins directory.  All of our existing formats are built as a plugin which can be added and removed at runtime.  A couple of these plugins are CSV as it is, so you could fairly easily do something similar to GDELT or T-Drive [2].

Alternatively to just test it, you can convert your CSV to something like shapefile that geotools supports out of the box, or more generally use a file already in any format that is already supported.


On Tue, Nov 5, 2019 at 9:23 AM Ram <cs15btech11002@xxxxxxxxxx> wrote:
Thanks, Fecher for your reply .

 However,  'geowave store listtypes <storename>' gives me the following output with no types.

'
05 Nov 19:40:39 WARN [core.NettyUtil] - Found Netty's native epoll transport, but not running on linux-based operating system. Using NIO instead.

05 Nov 19:40:40 WARN [core.Cluster] - You listed localhost/0:0:0:0:0:0:0:1:9042 in your contact points, but it wasn't found in the control host's system.peers at startup

Available types: 
'
The following are the steps I followed to ingest data 

1.geowave store add teststore3 -t cassandra  --contactPoints localhost --gwNamespace test3
2.geowave index add -t spatial teststore3 testindex3
3.geowave ingest localtogw sample.csv teststore3 testindex3 -f geotools-vector

Here sample.csv contains columns lat, long . I can see a keyspace 'test3' created in cassandra with one table name 'index_geowave_metadata' .But when i do Dbscan with the below command

'geowave analytic dbscan -cmi 5 -cms 10 -emn 2 -emx 6 -pmd 1000 -orc 4 -hdfs localhost:9870 -jobtracker localhost:8088 -hdfsbase /test_dir teststore3 --query.typeNames  '


 It gives me error saying 


'Expected a value after parameter --query.typeNames'


What should I do now? Can anyone say where am i going wrong?


Sorry for this long mail,I am a newbie to all these concepts .


Thankyou.


On Mon, Nov 4, 2019 at 10:29 PM <geowave-dev-request@xxxxxxxxxxxxxxxx> wrote:
Send geowave-dev mailing list submissions to
        geowave-dev@xxxxxxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        https://dev.locationtech.org/mailman/listinfo/geowave-dev
or, via email, send a message with subject or body 'help' to
        geowave-dev-request@xxxxxxxxxxxxxxxx

You can reach the person managing the list at
        geowave-dev-owner@xxxxxxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of geowave-dev digest..."


Today's Topics:

   1. Regarding Dbscan (Ram)
   2. Re: Regarding Dbscan (Rich Fecher)


----------------------------------------------------------------------

Message: 1
Date: Mon, 4 Nov 2019 12:16:05 +0530
From: Ram <cs15btech11002@xxxxxxxxxx>
To: geowave-dev@xxxxxxxxxxxxxxxx
Subject: [geowave-dev] Regarding Dbscan
Message-ID:
        <CAMOBUQPVFjXkJOai-cGNvJGddtOLRKph4fhEW4d4vf0CWzzVDQ@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="utf-8"

hi ,

In geowave dbscan what is this parameter?

"The following option is required: --query.typeNames "

I cant find any documentation regarding this?

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dev.locationtech.org/mailman/private/geowave-dev/attachments/20191104/45623314/attachment.html>

------------------------------

Message: 2
Date: Mon, 4 Nov 2019 07:48:16 -0500
From: Rich Fecher <rfecher@xxxxxxxxx>
To: geowave-dev@xxxxxxxxxxxxxxxx
Subject: Re: [geowave-dev] Regarding Dbscan
Message-ID:
        <CAPUbeV2nyQyVKLU=3L1zObyf1J8i9gVudX5CmKhrvJEwg=Fs2g@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="utf-8"

When you ingest vector (also known as feature) data, the data has a feature
type name.  This parameter is asking which type name(s) you want to apply
the analytic on. `--help` will print the option descriptions at any point
and the `geowave store listtypes <storename>` will print out the types you
currently have in your store.

Hope that helps!

On Mon, Nov 4, 2019 at 1:46 AM Ram <cs15btech11002@xxxxxxxxxx> wrote:

> hi ,
>
> In geowave dbscan what is this parameter?
>
> "The following option is required: --query.typeNames "
>
> I cant find any documentation regarding this?
>
> Thank you.
> _______________________________________________
> geowave-dev mailing list
> geowave-dev@xxxxxxxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.locationtech.org/mailman/listinfo/geowave-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dev.locationtech.org/mailman/private/geowave-dev/attachments/20191104/aa4f03c4/attachment.html>

------------------------------

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


End of geowave-dev Digest, Vol 26, Issue 1
******************************************
_______________________________________________
geowave-dev mailing list
geowave-dev@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geowave-dev

Back to the top