[QGIS-Developer] Vector Tiles in QGIS: throws "Error loading style: Style not found in database" with 'optional style url'

Richard Duivenvoorde rdmailings at duif.net
Mon Jul 18 04:23:33 PDT 2022


Ok, sorry for the fuzz...

I was serving some local dataset, which I could just not see when you do a 'zoom to layers' (because then QGIS zooms to epsg:3857 bounds / tile 1/0/0/)...

And the warning is just to be ignored apparently.

Have a nice day :-)

Regards,

Richard Duivenvoorde

On 7/18/22 12:27, Richard Duivenvoorde via QGIS-Developer wrote:
> Ok, just found out: the layer is not loading IF there is NO other (xyz?) layer.
> 
> So when it is the first layer you load, it will give the warning and NOT show anything.
> 
> If you already loaded some other layer (for example OSM xyz), THEN all is fine
> 
> I'll create an issue for it... wondering if there is some simple global vector tile server which has the same issue, so it is easier to reproduce...
> 
> Regards,
> 
> Richard Duivenvoorde
> 
> 
> On 7/18/22 10:07, Richard Duivenvoorde via QGIS-Developer wrote:
>> Hi People,
>>
>> Just playing with pg_tileserv, to check if QGIS was able to load tiles from it with a small data set, I fail to load because:
>> "Error loading style: Style not found in database".
>> Though in the connection dialog it says that the Style URL is Optional...
>>
>> Am I missing something? Tried with a fresh profile.
>> Or is there some generic url I should/could use?
>> (have to dive into these styling url's, to create one...)
>>
>> Regards,
>>
>> Richard Duivenvoorde
>>
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at 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 at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the QGIS-Developer mailing list