Re: [OpenMap Users] problems writing dbf file

From: Robert Najlis <rnajlis_at_cs.indiana.edu>
Date: Mon, 6 Sep 2004 13:57:25 -0400

Don,

I only tried calling writeReocrds after calling writeModel resulted in
zeros in the file.

When you tried it, did you get the correct data in the dbf file that
you had written out?

-Robert



On Sep 6, 2004, at 12:41 PM, Don Dietrick wrote:

> writeModel() calls close() on the output stream, and calling
> writeRecords() after that would cause that problem.
>
> - Don
>
> On Sep 6, 2004, at 12:09 PM, Don Dietrick wrote:
>
>> I just call dbf.writeModel(), not writeRecords() too.
>>
>> I couldn't duplicate your problem. I modified DbfTableModel to save
>> out what it had written (see enclosed) and I wasn't having a problem
>> writing out different shape files.
>>
>> - Don
>>
>> <DbfTableModel.java>
>>
>>
>>
>> On Sep 6, 2004, at 11:24 AM, Robert Najlis wrote:
>>
>>> Don,
>>>
>>> I am attaching the whole file. I'm not sure if it will help, feel
>>> free to ask me what (the heck) I am doing if you like.
>>>
>>> thanks again.
>>>
>>> Robert
>>>
>>>
>>> <OpenmapData.java>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Sep 6, 2004, at 10:34 AM, Don Dietrick wrote:
>>>
>>>>
>>>> On Sep 5, 2004, at 9:10 PM, Robert Najlis wrote:
>>>>> I am changing the folder location of the dbf file (moved it from
>>>>> the original location). I don't know if this would cause any
>>>>> trouble.
>>>>
>>>> Can you explain a little more what you are doing here? This sounds
>>>> significant in your problem, seeing as you are getting a bad file
>>>> descriptor IOException.
>>>>
>>>> - Don
>>>>
>>>>
>>>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>>> Don Dietrick, dietrick_at_bbn.com
>>>> BBN Technologies, Cambridge, MA
>>>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>>>
>>>> --
>>>> [To unsubscribe to this list send an email to "majdart_at_bbn.com"
>>>> with the following text in the BODY of the message "unsubscribe
>>>> openmap-users"]
>>>>
>>
>>
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> Don Dietrick, dietrick_at_bbn.com
>> BBN Technologies, Cambridge, MA
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>
>
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Don Dietrick, dietrick_at_bbn.com
> BBN Technologies, Cambridge, MA
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> --
> [To unsubscribe to this list send an email to "majdart_at_bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Sep 06 2004 - 14:02:00 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:06 EDT