[Gvsig_english] gvSIG 1.11: add consecutive numbers to selection?
Francisco Puga
fpuga at cartolab.es
Tue Mar 27 18:37:58 CEST 2012
try with the sextante algorithm autoincrement value
El día 27 de marzo de 2012 17:06, spatialjoe
<spatialjoe at googlemail.com> escribió:
> Hi all,
>
> is it possible to add consecutive numbers to selected sets of features?
> Suppose you have a layer with bounding boxes or tiles and you want to
> digitize features in another layer which are within a certain bounding box
> or tile.
> Then you want to number all features within a bounding box always starting
> with 1 (in a column).
> So for bounding box A it would be 1,2,3,...for bounding box B it again
> would be 1,2,3,...
>
> Using field calculator with rec()+1 always returns the position/number of
> the record within the whole table (which most likely is what rec()+1 should
> do). But what I need is something which always starts at number 1 within a
> selection.
>
> Does anybody have an idea? I am not sure if I am not missing something very
> basic here.
> Mmh?
>
> Best
>
> Johannes
>
> --
> View this message in context: http://osgeo-org.1560.n6.nabble.com/gvSIG-1-11-add-consecutive-numbers-to-selection-tp4661202p4661202.html
> Sent from the gvSIG users mailing list archive at Nabble.com.
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at listserv.gva.es
>
> To see the archives, edit your preferences or unsubscribe from this mailing list, please access this url:
>
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
--
Francisco Puga
Grupo de Desarrollo
Cartolab - Laboratorio de Ingeniería Cartográfica.
http://www.cartolab.es
ETS Ingeniería de Caminos, Canales y Puertos
Universidade da Coruña
Campus de Elviña - 15071 A Coruña (España)
(34)981167000 ext. 5493
More information about the Gvsig_internacional
mailing list