[Qgis-developer] Expression based labeling

Martin Dobias wonder.sk at gmail.com
Fri Oct 28 13:47:20 EDT 2011


On Fri, Oct 28, 2011 at 1:57 PM, Sandro Santilli <strk at keybit.net> wrote:
>> > What happens if you delete a feature from a shapefile ?
>>
>> Apparently OGR only marks the feature as deleted in DBF, other IDs are
>> not changed.
>
> Note that one advantage of delegating to providers setting up a mapping
> is we could finally drop the requirement of an integer identifier in
> postgresql. There are real-world cases in which primary key is a text
> identifier.

Ok now I got where you were heading. Yes, a mechanism for mapping
non-int primary keys (or even multiple column primary keys) to int IDs
would be nice - but that does not mean that [0,N-1] range has to be
enforced.

Martin


More information about the Qgis-developer mailing list