Re: java.lang.NumberFormatException when adding latitude,longitude using DIH

2013-06-05 Thread bbarani
That was a very silly mistake. I forgot to add the values to array before putting it inside row..the below code works.. Thanks a lot... -- View this message in context: http://lucene.472066.n3.nabble.com/java-lang-NumberFormatException-when-adding-latitude-longitude-using-DIH-tp4068223p40

Re: java.lang.NumberFormatException when adding latitude,longitude using DIH

2013-06-05 Thread bbarani
Thanks a lot for your response Hoss.. I thought about using scriptTransformer too but just thought of checking if there is any other way to do that.. Btw, for some reason the values are getting overridden even though its a multivalued field.. Not sure where I am going wrong!!! for latlong values

Re: java.lang.NumberFormatException when adding latitude,longitude using DIH

2013-06-04 Thread Chris Hostetter
: : : : : I assume this error is due to the fact that I am not converting the values : to double prior to concatenation..Do I need to convert the value to double : (when concatenating ${x.addr_latitude},${x.addr_longitude})? Whats the best : way to do that? I don't think tha

java.lang.NumberFormatException when adding latitude,longitude using DIH

2013-06-04 Thread bbarani
I am trying to combine latitude and longitude data extracted from text file using data import handler but I am getting the below error whenever I run my data import with the geo(lat,long) field.. The import works fine without geo field. I assume this error is due to the fact