RBIN file to load data in excel - sql

How can I extract data from a RBIN file?enter image description here
Scope: We are trying to automate a spray truck to log data entered and upload to a thumb drive and then export to excel.
Problem: The software the sprayer uses is outdated and files are in a RBIN file. The files within the RBIN file are shape files, sbn, sbx, shp, png files, along with field, equipment and weather information.
GOAL: convert or load RBIN files to xlx, csv so I can open in excel to build reports, track inventory and a dashboard.

Related

How to upload zip file in odoo ir.attachment model through coding?

I'm working on a custom module where I first need to generate a zip file (containing 3-4 CSV files) on the disk. Once it is done I want to upload that zip file into Odoo sales module as an attachment (ir.attachment) inside the related sales order. This way user can anytime download that zip file to view the archived files.
I'm able to generate zip file successfully on the disk, but after that, I'm not able to find how to attach that zip file (as binary) in the ir.attachment model. Can anyone please help me here?

I can't see my transformation files (PDI) in Pentaho user console

I have csv files in the local file system that contain output results of a program. I want to use Pentaho CDE to visualize those data in graphs (Pie charts ...)
I can do that if I upload my csv files directly as a datasource. But I would like to read from my file in real time as data come.
I saw that I have to use PDI and I created a transformation from the input csv file to an output file. I can visualize the output.
I saved the transformation file .ktr in pentaho-solutions directory But I can't see it in Pentaho user Console. I think that I have to use a kettle over kettleTransFromFile but I can't see my transformation file to load it ! I refreshed the cache but still can't see it ...
Am I doing this wrong ?
Thank you for your time

Convert a masive amount to files to pdf

I'm designing a website for a small company and they want a database of documents where a user can search for policies. They hand me a rar with over 800 documents all within folders and with different files formats (for example a policy is divided into 3 jpeg files or a single .doc document). I trying to find a way to convert all these files to a pdf format without doing it manually in order to make a SQL database. someone have an idea?
I would suggest looking into Apache POI. You could write a module to automate the process and convert all of them into PDFs.
https://poi.apache.org/

Opening tsv format Eurostat data

I've been trying to open this data: http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?sort=1&file=data%2Fdemo_gind.tsv.gz. I've already unzipped it and get the tsv file, but when I opened it in gedit, it looks like a binary file. Could anybody help me to open this file?
The file is correctly formatted even if not so readable for human beings.
TSV is a file extension for a tab-delimited file used with spreadsheet
software. TSV stands for Tab Separated Values. TSV files are used for
raw data and can be imported into and exported from spreadsheet
software. TSV files are essentially text files, and the raw data can
be viewed by text editors, though they are often used when moving raw
data between spreadsheets.
You can import it inside Excel or Open Office. Otherwise you may convert it by using online service (example google sheets).
Once you've unarchived the original .gz file there are two more steps required to view the data, as noted on Eurostat's website.
TSV files may be imported into Excel by (1) Saving on hard disk with
the suffix .tsv and (2) unzipping and (3) saving the table(s) as Text
(*.txt).
As per user74158's comment, decompress/unzip the tsv file. This can
likely be done with many different programs, I used 7zip and it
worked for me. On windows 7 I did this by right clicking, hovering
over 7zip, selecting extract files, tell 7zip where you'd like to
extract the files too and press OK.
Next go to the file, and change the .tsv file extension to .txt. Answer yes, you're sure you want to change the file extension and then you should be able to read the data.

Genexus Report with Embedded BLOB (PDF) files

i'm trying to create a PDF report object that contains some PDF files saved as BLOB records into my DB.
At this point I'm able to embed images only...
How can I "append" other kinds of files into my genexus-report, such as PDF files?
Any suggestion will be appreciated
Client: GXEv2 - U5,
Environment: Java
I know it's possible to append others GX reports in your report by calling them.
However, i think there is no way to append a PDF file.