[QGIS-Developer] Unable to understand the "Default CRS for new projects" setting

DelazJ delazj at gmail.com
Wed Jul 25 18:56:33 PDT 2018


Hi Nyall,
Thanks for the reply

2018-07-26 0:34 GMT+02:00 Nyall Dawson <nyall.dawson at gmail.com>:

> On Wed, 25 Jul 2018 at 00:50, DelazJ <delazj at gmail.com> wrote:
> >
> > Hi,
>
> > - if it's a geometryless layer, then the project CRS is set to epsg:4326
>
> This one is definitely a bug!
>
> Should I file a ticket or is it already taken care of?

> Then, my question is what's the interest of setting a default CRS for all
> projects, if each time I open a new project it's the first loaded layer
> that dictates the rule and applies its CRS?
>
> I'm not sure :) It does have some impact, e.g. because creating a new
> layer will use this crs (if it's done before any other layers are
> added). I suspect this is one of those settings which has been around
> for so long that it just no longer has any real meaning. Maybe it's a
> relic from before OTF was introduced?
>
> Mmmh For layers being created (as well as layers without crs), there's
already an option to select which crs to apply (project crs, a defined crs
or prompt for crs) so project crs may not necessarily be used for that.

> The options I can see are:
>
> 1. Remove the setting, always start new projects in EPSG:4326, and
> then switch to match the crs of the first loaded layer
>
2. Remove the "set project crs to match first loaded layer crs"
> feature, and always start new projects in the crs defined by that
> setting. Loading layers doesn't change the crs.
>
> We need to proceed with caution here. For reference, I'd be a hesitant
> +1 to option 2.
>
> I'd be +1 for option 2 also (I let the hesitation to the devs ;) )
Thanks again,

Harrissou

> Nyall
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180726/fb7320f8/attachment.html>


More information about the QGIS-Developer mailing list