Re: [JPP-Devel] Charset choise

2010-09-10 Thread Michaël Michaud
Hi I meant to have a checkbox in the general OJ options under CustomizeOptions... Thanks for clarifying that. This is an alternative. Let's see what Matthias say. Michaël stefan Michaël Michaud schrieb: Hi, I'm not sure I understand the benefit of this checkbox. Currently, if

Re: [JPP-Devel] Charset choise

2010-09-09 Thread Larry Becker
Hi Stefan, Having one charset choice doesn't support multiple charsets per project as the current method does. I'm not sure how often this happens, but it isn't too unusual to use datasets from multiple sources. Instead of commenting out the dialogs, it might be better to have a workbench

Re: [JPP-Devel] Charset choise

2010-09-09 Thread Stefan Steiniger
So if I understand right we should have a checkbox in the options pannel that makes the charset choice dialog to be displayed or not when loading a shape file, otherwise a default charset is chosen. And the default checkbox setting may be to not show the dialog. sounds like a good idea to me.

Re: [JPP-Devel] Charset choise

2010-09-09 Thread Michaël Michaud
Hi, I'm not sure I understand the benefit of this checkbox. Currently, if you're in the open dialog and you want the default charset, you have to click next, see the charset combobox, then OK If you have a checkbox in the first panel, you have to click the checkbox, then OK, which is about

Re: [JPP-Devel] Charset choise

2010-09-08 Thread Stefan Steiniger
I like the charset choice, thanks Matthias. However, I wonder what users feel having every time to chose (even it is only one more click) and probably not knowing what it means. So one thought I had is to comment out the dialog call and put the dialog options in (a new?) options tab instead

Re: [JPP-Devel] Charset choise

2010-09-07 Thread Sunburned Surveyor
Matthias, I wonder if it might be worth checking out the current GeoTools code for loading shapefiles, which already works with Charsets? I have done some work on code that allows you to obtain JUMP feature objects from th GeoTools shapefile driver. It seems logical to store the last used

Re: [JPP-Devel] Charset choise

2010-09-07 Thread edgar . soldin
On 07.09.2010 16:25, Sunburned Surveyor wrote: I wonder if it might be worth checking out the current GeoTools code for loading shapefiles, which already works with Charsets? I have done some work on code that allows you to obtain JUMP feature objects from th GeoTools shapefile driver. I once

Re: [JPP-Devel] Charset choise

2010-09-06 Thread Matthias Scholz
Hi Michaël, hi all other, sorry for my delay, but my internet connection was down at the weekend, so it was not possible for me to answer or commit any changes. 1. Charset setting for filednames I've seen, that my enhanchements do not include the fieldnames in the dbf header. To integrate the

Re: [JPP-Devel] Charset choise

2010-09-04 Thread Michaël Michaud
Hi Matthias, I just moved the setCharset statement of ShapefileReader after the dbf != null test, because otherwise it broke the reading of shapefiles without dbf (which is not a very common case, but still a nice feature) If you want to check, I just commited. Michaël Le 03/09/2010 23:50,

Re: [JPP-Devel] Charset choise

2010-08-30 Thread Sunburned Surveyor
I don't see any problems with your approach. Is the idea to allow the charset of the shapefile to be selected from the new JComboBox? Landon On Sat, Aug 28, 2010 at 3:03 AM, Matthias Scholz m...@jammerhund.de wrote: Hi, in the last few weeks i had some problems with different charsets in

Re: [JPP-Devel] Charset choise

2010-08-30 Thread Stefan Steiniger
Hei, not sure, but wasn't the idea of the wizard that several dialogs can be displayed after each other? http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=How_to_Create_an_Open_Wizard wouldn't that work for you too? Though I am not sure which loader uses that option currently.

Re: [JPP-Devel] Charset choise

2010-08-30 Thread Michaël Michaud
Le 30/08/2010 18:50, Stefan Steiniger a écrit : Hei, not sure, but wasn't the idea of the wizard that several dialogs can be displayed after each other? http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=How_to_Create_an_Open_Wizard You're right Stefan, this is the idea of

[JPP-Devel] Charset choise

2010-08-28 Thread Matthias Scholz
Hi, in the last few weeks i had some problems with different charsets in shape/dbf files. In the openjump.bat or openjump.sh file I have inserted the java system property file.encoding= My problems are the german Umlaute in the attributes. I would like to add a JComboBox to the