Dear Charlie,
Greetings. I currently work as research associate at the Center for Geospatial Analytics (CGA) (formally the Center for Earth Observation) at North Carolina State University. I happened to know about the CLAVIN application from the All Things Open conference held in Raleigh in October, 2013. A few of us from (CGA) attended the conference, and most of us attended your session since the topic was related to geospatial -- we very much enjoyed your presentation.
We would like to use a CLAVIN-generated result in creating a web map (adding geospatial analysis functions). We would kindly like to ask what version of CLAVIN among CALVIN, CLAVIN-rest, CLAVIN-NERD and CLAVIN-python is the best option (easiest and quickest for creating a web map using JavaScript) for us to use?
We thought that the CLAVIN-rest may be the best option for us so we attempted to install the application; however, we encountered a problem in that we are unable to create a Lucene index using .\allCountries.txt. I saved the "allCountries.txt" in the first level (under the CLAVIN-rest-master) and it throws an error "java.io.FileNotFoundException: .\allCountries". To resolve the problem, I tried saving the file in a few different places, but none of the attempts were successful. I would very much appreciate if you could please kindly assist me to properly install CLAVIN-rest. All of the steps I took are shown at the end of this discussion.
Thank you in advance.
Sincerely yours,
Makiko Shukunobe
-------------------------------------------------------------
Steps I took:
- Download CLAVIN-rest-master from GitHub, extract the folder and save it in my local drive.
- In Windows 8 CMD, cd C:\Users\Makiko\CLAVIN-rest-master
- Download the CLAVIN Rest Server
- Download CLAVIN Bundle snapshot
- Download Geonames and extract the allCountries.text file
- Create a CLAVIN gazetteer --> Here I got "java.io.FileNotFoundException: .\allCountries" error as showing below:
C:\Users\Makiko\CLAVIN-rest-master>java -Xmx2048m -jar clavin.jar index
13:30:31.662 [main] INFO - Indexing... please wait.
13:30:31.790 [main] INFO - Reading in text file: ./allCountries.txt
Exception in thread "main" java.io.FileNotFoundException: .\allCountries (The sy
stem cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at com.bericotech.clavin.index.IndexDirectoryBuilder.main(IndexDirectory
Builder.java:115)
at com.bericotech.clavin.cli.Main.main(Main.java:59)
Note:
We tried to install CLAVIN and we got an error "MAVEN_OPTS" is not recognized as an internal or external command, operable program or batch file at the step 6 "Create the Lucene Index (this one-time process will take several minutes):MAVEN_OPTS="-Xmx2048M" mvn exec:java -Dexec.mainClass="com.bericotech.clavin.index.IndexDirectoryBuilder". We stumbled the same step (creating index) and we were not able to figure out the problem.
Here is the system information and more:
OS: Windows 8
JDK: jdk1.7.0_60