Monday, March 7, 2016

70+ Free Python Programming Language Learning Resources

Hello,

Today, I present to you over 70 useful materials for learning the worlds dynamic and strongly typed programming language that is designed to emphasize usability, Python! The list contains two similar but incompatible versions of Python in widespread use (2 and 3).

2)    A Guide to Python's Magic Methods - Rafe Kettler
3)    Automate the Boring Stuff - Al Sweigart
4)    Biopython (PDF)
6)    Building Skills in Python (PDF) (2.6)
7)    Byte of Python (2.7.x)
10) Composing Programs (3.x)
12) Dive into Python - Mark Pilgrim (2.3)
13) Dive into Python 3 - Mark Pilgrim (3.0)
15) Google's Python Class (2.4 - 2.x)
17) Hacking Secret Cyphers with Python - Al Sweigart (3.3)
20) How to Think Like a Computer Scientist: Learning with Python - Allen B. Downey, Jeff Elkner and Chris Meyers (2.4)
21) Intermediate Python - Muhammad Yasoob Ullah Khalid (1st edition)
22) Introduction to Programming Using Python - Cody Jackson (1st edition) (2.3)
24) Introduction to python - Kracekumar (2.7.3)
28) Learn Python The Hard Way (2.5 - 2.6)
29) Learn to Program Using Python - Cody Jackson (PDF)
31) Learning to Program with Python - Richard L. Halterman (PDF) (3.2)
33) Making Games with Python & Pygame - Al Sweigart (2.7)
34) Modeling Creativity: Case Studies in Python - Tom D. De Smedt (PDF)
38) Porting to Python 3: An In-Depth Guide (2.6 - 2.x & 3.1 - 3.x)
39) Practical Programming in Python - Jeffrey Elkner (PDF)
40) Problem Solving with Algorithms and Data Structure using Python - Bradley N. Miller and David L. Ranum

Thursday, March 3, 2016

Web-Based Mapping with QGIS

Web-Based Mapping with QGIS

Web-based mapping has never been easy as it is now. What would have taken several months of coding in languages such as C++, Python or Java can now be done within a few clicks lasting not more than 10 minutes.

Thanks to QGIS web mapping plugin such as: qgis2web, qgis2leaf, qgis2threejs, Lizmap and OpenLayers plugin. These plugins makes it incredibly easy to create a basic, fully-functional LeafletJS map using QGIS with no HTML, JavaScript, or CSS programming skills.

In this tutorial, am going to work you through basic process of creating your very first web-based map like this:-

So this tutorial is for all those who had always cared for the ambition of being able to create their very own web map and publish from their websites.

To archive this, follow this simple step-by-step tutorial.

Download dataset: am using the point shapefile containing states capital cities in Nigeria available at: https://www.dropbox.com/s/vmj276zrhaca2sv/WebMap_QGIS.zip?dl=0

Feel free to use whatever dataset you want to.

Step 1:
Download and install the latest version of QGIS. Mine is: QGIS 2.12.3-Lyon

Step 2:
Install any of the QGIS web map plugin. I will use the qgis2web plugin for this guide. QGIS2web is a plugin to export your project to an OpenLayers 3 or Leaflet web map. No server-side software is required.

Step 3:
From the menu bar, go to PLUGINS > MANAGE AND INSTALL PLUGINS…
Search for the “qgis2web” plugin, select it and click on “Install Plugin”.


Step 4: 
In QGIS, add your shapefiles layers of interest and style them just the way you want. Prepare your map as far as possible in QGIS, as you want it to appear in your web map.
In my case I added the cities point shapefile and the state polygon shapefile as seen below.


Step 5:
Now go to MENU > WEB and from the drop dropdown list, select "qgis2web" then select “Create Web Map”.
~ This should open a dialog displaying your map preview and settings to the left side panel.
~ For each of the layers in your project, you can show number of attributes field that will be displayed whenever mouse is clicked on a feature from the layer.
~ In the next section setup your data export location, zooming scale, and the appearance. As you make the settings, you can use the “update preview” button to see how your web map will appear.

Step 6:
If you are done, click on the “Export” button to your map into .html file with its accompanying files and folders.


Step 7:
Register a domain name and a hosting account to the contents of the folder above into your server. Your web map will then be accessible through the web address you registered.


That is it.
Post Comments if your have any.
Thanks for reading.