FLO-2DSoftware / qgis-flo-2d-plugin

A plugin for pre-processing/post-processing FLO-2D models
5 stars 7 forks source link

Display of Geopackage Spatial Reference After Creation #1380

Closed vaughanster closed 6 days ago

vaughanster commented 1 week ago

Within the QGIS plug-in, when making a new geopackage once specifies the coordinate system like so: create_dialog_image

However, when using the same interface to view the information, the incorrect spatial reference is shown as so: view_dialog_image

A check of the SQLite database shows the correct coordinate system is defined, just the display of it is incorrect in the QGIS interface.

FLO-2DKaren commented 1 week ago

@vaughanster @rpachaly

I think the issue is filling the label. The code that fills the label is using proj or maybe wkt. Instead of returning the correct coordinate system, it's returning the first one in line that almost matches. There may be another reference we can use to sort this out.

FLO-2DKaren commented 1 week ago

@vaughanster

I think Robson resolved this with the Gila Plugin. We'll probably just leave it as in on Plugin 115 and I'll look into Gila to make sure any CRS reference I can find is correct.

FLO-2DKaren commented 1 week ago

I confirm that when you click the Settings button, you still get the correct coordinate system in the latest plugin version

image

FLO-2DKaren commented 6 days ago

I'm going to close this since it's only happening in the old version of the plugin.