Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Python Geospatial Development Essentials

You're reading from   Python Geospatial Development Essentials Utilize Python with open source libraries to build a lightweight, portable, and customizable GIS desktop application

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher
ISBN-13 9781782175407
Length 192 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Karim Bahgat Karim Bahgat
Author Profile Icon Karim Bahgat
Karim Bahgat
Arrow right icon
View More author details
Toc

Improvements to the user interface


In the application, we made in this book, we tried to give it a modern and intuitive design. However, since we had to balance this with also building GIS content, there are several user interface aspects we were not able to address.

Saving and loading user sessions

One obvious thing that is missing from our general user interface is that we have no way to save or load a user session. That is, saving the current state of loaded layers and their properties, the sequence of layers, general map options, projection, zoom level, and so on, so that we can return to the same application session we previously used. The Home tab will be a good place for a load and save session button, which can also be called on with the keyboard shortcuts Ctrl + O and Ctrl + S.

In order to save these settings, we will have to come up with a file format specification as well as an identifiable filename extension. This can be, for instance, a simple JSON text file ending with .pgs (short...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image