Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying QGIS By Example
  • Table Of Contents Toc
  • Feedback & Rating feedback
QGIS By Example

QGIS By Example

By : Daria Svidzinska
4.5 (4)
close
close
QGIS By Example

QGIS By Example

4.5 (4)
By: Daria Svidzinska

Overview of this book

If you are a beginner or an intermediate GIS user, this book is for you. It is ideal for practitioners, data analysts, and application developers who have very little or no familiarity with geospatial data and software.
Table of Contents (12 chapters)
close
close
11
Index

Adding translations

If you followed our recommendations and used the English language for all captions in the plugin GUI, and in all strings in the code, almost all users will be able to use your plugin. Moreover, as we have made all strings translatable by enclosing them in self.tr() calls, it is very easy to translate our plugin into another language.

To do this, we need to prepare a so-called project file. This is a plain text file with a very simple structure. Create a new file and save it as selectradius.pro in the plugin root directory. Then, add the following content to it:

( 1) SOURCES = __init__.py \
( 2)          selectradius_plugin.py \
( 3)          gui/selectradiusdialog.py \
( 4)          gui/aboutdialog.py \
( 5)
( 6) FORMS = ui/selectradiusdialogbase.ui \
( 7)        ui/aboutdialogbase.ui
( 8)
( 9) TRANSLATIONS = i18n/selectradius_uk.ts \
(10)              i18n/selectradius_de.ts

As you can see, there is a list of all plugin source files from all subdirectories (lines 1 to...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
QGIS By Example
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon