Hi Andreas,

I think the easiest approach is to search and replace in the project files.

Expressions are in so many places in QGIS, it's close to impossible to
write code that finds them all and updates.

Bests

Matthias

On 1/21/19 1:52 PM, Andreas Neumann wrote:
>
> Hi,
>
> When migrating our version 2 to version 3 projects, most of our
> symbology needs revision, because our data-defined properties used a
> lot the "$scale" variable.
>
> What is the exact reason that $scale fails in version 3 and had been
> replaced by @map_scale?
>
> Is there really no upgrade path for this? We have many, many projects,
> and almost all of them need to be upgraded in version 3 to use
> "@map_scale" instead of "$scale".
>
> Thanks for your reply,
>
> Andreas
>
>
> _______________________________________________
> QGIS-Developer mailing list
> [email protected]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-- 
Matthias Kuhn
[email protected] <mailto:[email protected]>
+41 (0)76 435 67 63 <tel:+41764356763>
OPENGIS.ch Logo <http://www.opengis.ch>
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to