[QGIS-Developer] Where are value maps / defaults stored on shape file layers?

2018-02-23 Thread Patrick Dunford

Good evening (here)

I had Qgis 2.99 crash and it left the shape file data with three of the 
data files that make up the shapefile, with _packed in their name.


Although renaming the files got the data back, the value maps and 
default values for new features for this layer have disappeared.


Is there a particular file that stores this data for the layer (before I 
decide whether this could be a bug or not)?


Thanks

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Where are value maps / defaults stored on shape file layers?

2018-02-23 Thread Patrick Dunford

It would seem this data is stored in the project file?

Given I can't produce a corrupted project file (I can only produce the 
files for the affected laye) is there any point in filing a bug for this.



On 24/02/18 20:01, Patrick Dunford wrote:

Good evening (here)

I had Qgis 2.99 crash and it left the shape file data with three of 
the data files that make up the shapefile, with _packed in their name.


Although renaming the files got the data back, the value maps and 
default values for new features for this layer have disappeared.


Is there a particular file that stores this data for the layer (before 
I decide whether this could be a bug or not)?


Thanks



___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Where are value maps / defaults stored on shape file layers?

2018-02-23 Thread Nyall Dawson
On 24 February 2018 at 17:05, Patrick Dunford  wrote:
> It would seem this data is stored in the project file?
>
> Given I can't produce a corrupted project file (I can only produce the files
> for the affected laye) is there any point in filing a bug for this.
>

What platform are you running on? Which GDAL version?

If I recall correctly this was fixed in GDAL around 6-12 months ago.

Nyall

>
>
> On 24/02/18 20:01, Patrick Dunford wrote:
>>
>> Good evening (here)
>>
>> I had Qgis 2.99 crash and it left the shape file data with three of the
>> data files that make up the shapefile, with _packed in their name.
>>
>> Although renaming the files got the data back, the value maps and default
>> values for new features for this layer have disappeared.
>>
>> Is there a particular file that stores this data for the layer (before I
>> decide whether this could be a bug or not)?
>>
>> Thanks
>>
>
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Where are value maps / defaults stored on shape file layers?

2018-02-24 Thread Patrick Dunford
Bionic, running the most up to date build that is available at the 
moment (built 23 Feb I think)



On 24/02/18 20:12, Nyall Dawson wrote:

On 24 February 2018 at 17:05, Patrick Dunford  wrote:

It would seem this data is stored in the project file?

Given I can't produce a corrupted project file (I can only produce the files
for the affected laye) is there any point in filing a bug for this.


What platform are you running on? Which GDAL version?

If I recall correctly this was fixed in GDAL around 6-12 months ago.

Nyall



On 24/02/18 20:01, Patrick Dunford wrote:

Good evening (here)

I had Qgis 2.99 crash and it left the shape file data with three of the
data files that make up the shapefile, with _packed in their name.

Although renaming the files got the data back, the value maps and default
values for new features for this layer have disappeared.

Is there a particular file that stores this data for the layer (before I
decide whether this could be a bug or not)?

Thanks


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Where are value maps / defaults stored on shape file layers?

2018-02-24 Thread Jürgen E . Fischer
Hi Nyall,

On Sat, 24. Feb 2018 at 21:37:18 +1300, Patrick Dunford wrote:
> On 24/02/18 20:12, Nyall Dawson wrote:
> > What platform are you running on?

> Bionic, running the most up to date build that is available at the moment
> (built 23 Feb I think)

> > Which GDAL version?

https://packages.ubuntu.com/search?keywords=gdal-bin&searchon=names&suite=bionic§ion=all

=> 2.2.3+dfsg-2


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de


signature.asc
Description: PGP signature
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Where are value maps / defaults stored on shape file layers?

2018-02-24 Thread Matthias Kuhn
Hi Patrick,

You are correct, this data is stored in the project file. If the project
hasn't been saved prior to the crash, this configuration is lost.

There is definitely a good reason to report an issue, because the app
crashed. Please provide as much information as possible that can help as
a lead why this happened (a backtrace of the crash being the most useful
one; and an exact description of at what point and after what actions it
happened being inevitable).

To avoid loss of work, there is an autosaver plugin
(https://plugins.qgis.org/plugins/autoSaver/) that regularly saves the
project configuration. I'm not sure it's updated to QGIS 3 yet.

Regards

Matthias


On 02/24/2018 08:05 AM, Patrick Dunford wrote:
> It would seem this data is stored in the project file?
>
> Given I can't produce a corrupted project file (I can only produce the
> files for the affected laye) is there any point in filing a bug for this.
>
>
> On 24/02/18 20:01, Patrick Dunford wrote:
>> Good evening (here)
>>
>> I had Qgis 2.99 crash and it left the shape file data with three of
>> the data files that make up the shapefile, with _packed in their name.
>>
>> Although renaming the files got the data back, the value maps and
>> default values for new features for this layer have disappeared.
>>
>> Is there a particular file that stores this data for the layer
>> (before I decide whether this could be a bug or not)?
>>
>> Thanks
>>
>
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Where are value maps / defaults stored on shape file layers?

2018-02-26 Thread Patrick Dunford

Submitted as #18239


On 25/02/18 00:46, Matthias Kuhn wrote:

Hi Patrick,

You are correct, this data is stored in the project file. If the project
hasn't been saved prior to the crash, this configuration is lost.

There is definitely a good reason to report an issue, because the app
crashed. Please provide as much information as possible that can help as
a lead why this happened (a backtrace of the crash being the most useful
one; and an exact description of at what point and after what actions it
happened being inevitable).

To avoid loss of work, there is an autosaver plugin
(https://plugins.qgis.org/plugins/autoSaver/) that regularly saves the
project configuration. I'm not sure it's updated to QGIS 3 yet.

Regards

Matthias


On 02/24/2018 08:05 AM, Patrick Dunford wrote:

It would seem this data is stored in the project file?

Given I can't produce a corrupted project file (I can only produce the
files for the affected laye) is there any point in filing a bug for this.


On 24/02/18 20:01, Patrick Dunford wrote:

Good evening (here)

I had Qgis 2.99 crash and it left the shape file data with three of
the data files that make up the shapefile, with _packed in their name.

Although renaming the files got the data back, the value maps and
default values for new features for this layer have disappeared.

Is there a particular file that stores this data for the layer
(before I decide whether this could be a bug or not)?

Thanks


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer