Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-users] BeeGIS FormEditor: Using external files as dictionaries in ComboBox

Hi Marco,

> First: I am finally going through the FormEditor feature of GeeGIS and I
> have to say it's really wonderful!!
> Really many thanks to Andrea: a great job indeed!

what about improving it in next years sommer of code? :P

> The question: I cannot find the proper way to format the external file so
> that its values are considered valid.
> My current file content is something like this:
>
> rosso,red
> verde,green
> blu,blue
> rosa,pink

That look indeed right, I am using someting like:
0, LINEA
1, SALTO
2, VERTICE
3, ALLACCIAMENTO
4, SCOLMATORE
which is the same.
Basically each csv file works.

> And I specify a comma as the separator and as 'attribute value column' the
> value 2 (I want english colours to be saved in datastore).
> This seems to be wrong.

I am not sure right now from memory, could it be that it starts from
0, which would mean 1 instead of 2?

> More: what does the checkbox "link file" does?
> I assume is a way to read values at each form load or to store them in the
> form's xml and then forget about the external file (kind of an 'import')..
> ..is this its purpose?

Yes, the csv content is copied inside the xml, so you will not need
the csv file any more. If you just link the file, then you will always
need to have the file in the same relative path.

Cheers,
Andrea



>
>
> Marco
>
> _______________________________________________
> udig-users mailing list
> udig-users@xxxxxxxxxxxxxxxxxxxxx
> http://lists.refractions.net/mailman/listinfo/udig-users
>


Back to the top