In my Locus GIS project I´ve a shapefile (type point) to colect animal species. In on of the shapefile´s field I´ve a list of species that the user most select.
The problem is, when he´s going to colect a second point, the register of the first point still there in the field, and not a blank field.
the 'Enumeration' atribute has two modes. As default is used "last used" but you can also use any value from the list as default value. So if I understand you correctly you require as default option something like "No Value"? Basically the possibility skip such attribute and do not add any value, am I right?
Thanks, Petr
A
Alex Oliveira
said
over 4 years ago
Dear Petr,
Thanks, one more time, for your help.
Ah ok!
If i understand it right, in my XML file, if i put <default>''</default> the new data point will appear blank?
Alex Oliveira
Hello to all,
In my Locus GIS project I´ve a shapefile (type point) to colect animal species. In on of the shapefile´s field I´ve a list of species that the user most select.
The problem is, when he´s going to colect a second point, the register of the first point still there in the field, and not a blank field.
Thanks,
Alex
I think that you could use 'space' as value. Like
<attribute type="ENUM">
<id>Observacao_1</id>
<label>Observacao_1</label>
<required>1</required>
<editable>0</editable>
<default> </default>
<options> |Anf-Alytes cisternasii|Anf-Alytes obstetricans|Anf-Anguis fragilis|Anf-Bufo bufo|Anf-Bufo calamita
</options>
But it isn't ideal and it isn't 'null'. We should focus on it and prepare valid solution for 'non value' option
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstPetr Voldan
Dear Alex,
the 'Enumeration' atribute has two modes. As default is used "last used" but you can also use any value from the list as default value. So if I understand you correctly you require as default option something like "No Value"? Basically the possibility skip such attribute and do not add any value, am I right?
Thanks, Petr
Alex Oliveira
Dear Petr,
Thanks, one more time, for your help.
Ah ok!
If i understand it right, in my XML file, if i put <default>''</default> the new data point will appear blank?
Best regards,
Alex
Alex Oliveira
My xml is like this
<attribute type="ENUM">
<id>Observacao_1</id>
<label>Observacao_1</label>
<required>1</required>
<editable>0</editable>
<default> </default>
<options>|Anf-Alytes cisternasii|Anf-Alytes obstetricans|Anf-Anguis fragilis|Anf-Bufo bufo|Anf-Bufo calamita
</options>
As you can see, my first value is Null (i put the | first).
How can i do the same in the Default_Value?
Petr Voldan
I think that you could use 'space' as value. Like
<attribute type="ENUM">
<id>Observacao_1</id>
<label>Observacao_1</label>
<required>1</required>
<editable>0</editable>
<default> </default>
<options> |Anf-Alytes cisternasii|Anf-Alytes obstetricans|Anf-Anguis fragilis|Anf-Bufo bufo|Anf-Bufo calamita
</options>
But it isn't ideal and it isn't 'null'. We should focus on it and prepare valid solution for 'non value' option
-
No sound on 'Guide On'
-
Locus GIS Basic version limitations
-
usage of beta versions
-
SHP to DWG vith atributes
-
11th Hungarian GIS Conference and Exhibition
-
Exported CSV separation characters
-
Problem with Selektion Attributes after (re-)import
-
Different colors for different attribute values
-
Import Shapefile Map Value
-
Sharing project
See all 56 topics