One Star

problems with the neighbourfinder tutorial

hi all,
i tried the neighbourfinder tutorial: http://talendforge.org/wiki/doku.php?id=sdi:neighborfind
the link to the sample data is broken: http://www.spatialdataintegrator.com/files/data-sample-release.zip
taking the older data from sourceforge (http://sourceforge.net/projects/sdispatialetl/files/demo%20data%20and%20workspace/) and changing the example job to this datasets gives always the same error, also with other datasets, other jobs, other projects
Starting job NeighborFinder at 14:57 09/03/2012.
connecting to socket on port 4025
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
The method error(String) is undefined for the type NeighborFinder
at geo.neighborfinder_0_1.NeighborFinder.tFileInputDelimited_1Process(NeighborFinder.java:1841)
at geo.neighborfinder_0_1.NeighborFinder.runJobInTOS(NeighborFinder.java:3081)
at geo.neighborfinder_0_1.NeighborFinder.main(NeighborFinder.java:2949)
connected
Job NeighborFinder ended at 14:57 09/03/2012.
i found also an entry in the talend bugtracker: http://www.talendforge.org/bugs/view.php?id=7149
is there any solution, i didn't find until yet
best regards and thanks
christian

5 REPLIES
One Star

Re: problems with the neighbourfinder tutorial

thx share!!

Jedes Reich hatwow gold seine eigenen Volkswirtschaften, so wie sie die Wirtschaft in cheap wow gold unserem realen Leben. Die wichtigsten wirtschaftlichen buy wow goldThema, das die Spieler Einflüsse von Angebot und Nachfrage Problem. Es gibt ein begrenztes Angebot für bestimmte Artikel und eine hohe Nachfrage nach World of Warcraft Gold Storeihnen auch. Im Gegenteil, wenn die Lieferung bestimmter Gegenstände ausreichend ist, würde die Nachfrage nach diesen Produkten gering. Natürlich wird die Angebot und Nachfrage beeinflussen den Preis dieser Güter.
One Star

Re: problems with the neighbourfinder tutorial

I also tried to use sNeighborFinder in version SDI 5.1.1 TOS 5.1.2 and I get "error("Cannot find a geometry column");" using the example or trying to build a new job.
Any idea about what is wrong ?
Daniel
One Star

Re: problems with the neighbourfinder tutorial

After some trial and error, I found what was wrong. The geometry column needs to be the key column for the lookup input. Once this is correctly defined, it works fine.
One Star

Re: problems with the neighbourfinder tutorial

Impossible on my side to use neighbourfinder tutorial. Daniel, could you post the corrected job?
The error message: "La méthode error(String) est indéfinie pour le type"

Regards

Fred
One Star

Re: problems with the neighbourfinder tutorial

What I found out is that it works when the geometry column of the lookup table is the key column. What I do is use a tMap component where the output geometry column is key. See the attached picture for more details.
Best regards
Daniel