Corona Spread in Lahore

This map is based on the data of patients admitted to the following hospital and represent the cases till 30 March 2020:
Bahria Hospital,
Childern Hospital
Ganga Ram Hospital
General Hospital
Jinnah Hospital
Mayo Hospital
National Hospital
PKLI Hospital
Services Hospital
Shahdara Teaching Hospital
Sheikh Zaid Hospital
Social Security Hospital

Mobile Data Collection with Preloaded data

Background:

Recently I was asked to design a mobile based data collection and management system to collect data of sugarcane growers in Pakistan. The objective was to develop a data collection and management system which can be used to collect data from sugar cane growers using android based devices. The collected data required to contain text, numeric and pictures along with geographic shapes (polygons) of the sugarcane fields.

The field enumerators were expected to have low education level so it was desired to make the mobile data collection as intuitive and user friendly as possible. The weather and field conditions were tough requiring considerations.

The collected data was to be audited by supervisors through a web interface where they wanted to view and verify the collected data as well as the location, shape and size of sugarcane field. They wanted to view the polygon of sugarcane filed overlaid on satellite image with the ability to modify coordinates of polygon shape.

Additionally, it was required to have some mechanism in which existing data of sugarcane growers is made available on mobile data collection devices so that enumerator does not need to fill in all data fields. Instead they can simply verify if the existing data was correct.

Form Design with Preloaded data:

We decided to base our work on Open Data Kit with customized data collection forms and reporting server. ODK Collect 1.4.3 allows the data preloading in new round of survey. We took advantage of that and created a survey form with associated database of existing grower information. Some key technical aspects in designing such forms include the following:

  1. Create a .csv file containing the data you want to use as pre-loaded in your questions. For example our csv name is SCGDV1.csv
  2. The .csv file must contain a column with name ending with “_key”. This column will be used for lookup. For example in our case we used “grower_id_key”
  3. The column names for other columns should also be short and unique.
  4. Create a simple form using ODK build or any other xml form builder of your choice
  5. Open the xml for in note pad or any other xml editor for advance changes
  6. Search for  “<bind nodeset” and you will reach in the part of form containing data nodes
  7. Initially they will look like:
    <bind nodeset="/data/grower_id" type="int"/>

    <bind nodeset="/data/name" type="string" required="true()"/>

    <bind nodeset="/data/father_name" type="string"/>

    <bind nodeset="/data/nic" type="int" required="true()"/>

    <bind nodeset="/data/land" type="int"/>

    <bind nodeset="/data/location" type="geopoint"/>

  8. Add pulldata() function to desired nodesets where you want to have preloaded data.
  9. The syntax will be like
    calculate="pulldata('SCGDV1', 'name', 'grower_id_key',  /data/grower_id)"

    calculate=”pulldata(‘SCGDV1’, ‘name’, ‘grower_id_key’,  /data/grower_id)”

  10. Where SCGDV1 is name of csv file, “name” is the column heading whose value you want to pull against grower_id given in /data/grower_id while “grower_id_key” will be used for searching that name.
  11. Suppose you entered 15 as a grower_id in a question and you use pulldata() function to fetch name of the grower having id 15 from the csv file. So it will search for 15 in “grower_id_key” column and will find the corresponding name for that record and fill the Name question with what it found.
  12. pulldata() function is used with a calculate command with each nodeset and resultantly code looks like this
    <bind nodeset="/data/grower_id" type="int"/>

    <bind calculate="pulldata('SCGDV1', 'name', 'grower_id_key',  /data/grower_id)" nodeset="/data/name" type="string" required="true()"/>

    <bind calculate="pulldata('SCGDV1', 'father_name', 'grower_id_key',  /data/grower_id)" nodeset="/data/father_name" type="string"/>

    <bind calculate="number(pulldata('SCGDV1', 'nic', 'grower_id_key',  /data/grower_id))" nodeset="/data/nic" type="int" required="true()"/>

    <bind calculate="number(pulldata('SCGDV1', 'land', 'grower_id_key',  /data/grower_id))" nodeset="/data/land" type="int"/>

    <bind nodeset="/data/location" type="geopoint"/>

  13. Even when they are numbers, data fields pulled from a .csv file are considered to be text strings. Thus, you may sometimes need to use the int() or number() functions to convert a pre-loaded field into numeric form. In my case int() did not worked but number() works fine as it can be seen above. I had to use this function for each and every nodeset where data type was integer. Otherwise it gives error.
  14. Once form is complete, test is using ODK Validate and upload in your aggregate along with csv file. Deploy on your mobile and it works perfect.

Peri Urban Structure Plan of Okara City

A group of urban planning students from University of Engineering and Technology (CRP-10) including M. Aamir Basheer, Imtiaz Hussain, Imran Nawaz, Zohaib Anwar, Iqra Ismail, Rohail Javaid, Ghulam Mustafa, Akram Anwar, Adnan Khan, Aniqa Azam, Areesha Gul has prepared GIS based peri urban structure plan of Okara City using high resolution satellite image. The map includes Points of interest , Existing urban boundary , Existing land uses, Proposed Roads, and Proposed urban block.

This is a true addition to the existing effort on GIS mapping of Okara which was done by Munawar and Nausheen (CRP-08) in 2009. Previous map can be seen HERE.

Okara file

Prei Uran final image

Peri Urban Plan of Hujra Shah Muqeem

An interesting effort by Muhammad Mashhood and Arif Hussain, students at Engineering University, Department of City and Regional Planning.

Its GIS based map of Hujra Shah Muqeem containing base map, existing land uses, road network, points of interest, existing and proposed urban area boundaries, water bodies and proposed land uses for future growth.

pakistangis_hujra_shah_muqeem

Airline Route Mapper

Airline Route Mapper is a Windows program for exploring route maps of over 550 airlines. You can search by airports or airlines.

imageimage

Originally available at http://arm.64hosts.com/

Union Council Boundaries of Rawalpindi City and District

This GIS datasets contains polygonal boundaries for 170 union councils of Rawalpindi urban area as well as Rawalpindi District. This geo-dataset is more reliable for urban area and seems to be less accurate for rural towns.

Rawalpindi UCs Pakistan GIS

.::Click HERE to request for this data set::.

Vector Datasets (ESRI Shapefiles)

Currently following vector datasets are available in ESRI Shape files Format at this blog:

Administrative Boundaries Maps:

  1. National and Provincial Boundaries of Pakistan (Admin Level 0 and 1)
  2. District Boundaries of Pakistan (Admin Level 2)
  3. Tehsil Boundaries of Pakistan (Admin Level 3)
  4. Union Council Map (Admin level 4) of District Barkhan – Balochistan
  5. Union Council Map (Admin level 4) of District Jaffarabad – Balochistan

  6. Union Council Map (Admin level 4) of District Killa Saifullah – Balochistan

  7. Union Council Map (Admin level 4) of District Kohlu – Balochistan

  8. Union Council Map (Admin level 4) of District Loralai – Balochistan

  9. Union Council Map (Admin level 4) of District Nasirabad – Balochistan

  10. Union Council Map (Admin level 4) of District Sibi – Balochistan

Khyber Pakhtunkhwa

  1. Union Council Map (Admin level 4) of District Abbottabad – KPK

  2. Union Council Map (Admin level 4) of District Bannu – KPK

  3. Union Council Map (Admin level 4) of District Batagram – KPK

  4. Union Council Map (Admin level 4) of District Buner – KPK

  5. Union Council Map (Admin level 4) of District Charsadda – KPK

  6. Union Council Map (Admin level 4) of District Chitral – KPK

  7. Union Council Map (Admin level 4) of District Dera Ismail Khan – KPK

  8. Union Council Map (Admin level 4) of District Hangu – KPK

  9. Union Council Map (Admin level 4) of District Haripur – KPK

  10. Union Council Map (Admin level 4) of District Karak – KPK

  11. Union Council Map (Admin level 4) of District Kohat – KPK

  12. Union Council Map (Admin level 4) of District Kohistan – KPK

  13. Union Council Map (Admin level 4) of District Lakki Marwat – KPK

  14. Union Council Map (Admin level 4) of District Lower Dir – KPK

  15. Union Council Map (Admin level 4) of District Malakand P.a. – KPK

  16. Union Council Map (Admin level 4) of District Mansehra – KPK

  17. Union Council Map (Admin level 4) of District Mardan – KPK

  18. Union Council Map (Admin level 4) of District Nowshera – KPK

  19. Union Council Map (Admin level 4) of District Peshawar – KPK

  20. Union Council Map (Admin level 4) of District Shangla – KPK

  21. Union Council Map (Admin level 4) of District Swabi – KPK

  22. Union Council Map (Admin level 4) of District Swat – KPK

  23. Union Council Map (Admin level 4) of District Tank – KPK

  24. Union Council Map (Admin level 4) of District Upper Dir – KPK

Punjab

  1. Union Council Map (Admin level 4) of District Bahawalpur – Punjab

  2. Union Council Map (Admin level 4) of District Bhakkar – Punjab

  3. Union Council Map (Admin level 4) of District Dera Ghazi Khan – Punjab

  4. Union Council Map (Admin level 4) of District Jhang – Punjab

  5. Union Council Map (Admin level 4) of District Khushab – Punjab

  6. Union Council Map (Admin level 4) of District Layyah – Punjab

  7. Union Council Map (Admin level 4) of District Mianwali – Punjab

  8. Union Council Map (Admin level 4) of District Multan – Punjab

  9. Union Council Map (Admin level 4) of District Muzaffargarh – Punjab

  10. Union Council Map (Admin level 4) of District Rahim Yar Khan – Punjab

  11. Union Council Map (Admin level 4) of District Rajanpur – Punjab

Sindh

  1. Union Council Map (Admin level 4) of District Dadu – Sindh

  2. Union Council Map (Admin level 4) of District Ghotki – Sindh

  3. Union Council Map (Admin level 4) of District Hyderabad – Sindh

  4. Union Council Map (Admin level 4) of District Jacobabad – Sindh

  5. Union Council Map (Admin level 4) of District Jamshoro – Sindh

  6. Union Council Map (Admin level 4) of District Kashmore – Sindh

  7. Union Council Map (Admin level 4) of District Khairpur – Sindh

  8. Union Council Map (Admin level 4) of District Larkana – Sindh

  9. Union Council Map (Admin level 4) of District Matiari – Sindh

  10. Union Council Map (Admin level 4) of District Naushahro Feroze – Sindh

  11. Union Council Map (Admin level 4) of District Qambar Shahdadkot – Sindh

  12. Union Council Map (Admin level 4) of District Shaheed Benazirabad – Sindh

  13. Union Council Map (Admin level 4) of District Shikarpur – Sindh

  14. Union Council Map (Admin level 4) of District Sukkur – Sindh

  15. Union Council Map (Admin level 4) of District Tando Muhammad Khan – Sindh

  16. Union Council Map (Admin level 4) of District Thatta – Sindh

Urban Union Councils:

Urban Area Maps:

  1. Haripur GIS Map (ESRI Format)
  2. Peshawar GIS Map (ESRI Format)
  3. Mianwali Tehsil GIS Map (ESRI Format)
  4. Quetta GIS Map (ESRI Format)
  5. Gilgit GIS Map (ESRI Format)
  6. Nankana Sahib GIS Map (ESRI Format)
  7. Jaranwala GIS Map (ESRI Format)
  8. Pindi Bhattian GIS Map  (ESRI Format)
  9. Khangah Dogran GIS Map (ESRI Format)
  10. Chiniot GIS Map (ESRI Format)
  11. Chakwal GIS Map (ESRI Format)
  12. Attock GIS based Land use Map (ESRI Format)
  13. Faisalabad GIS based Land use Map (ESRI Format)
  14. Village Kesar Garh (District Kasur) GIS Based Landuse Map (ESRI Format)

Union Council Boundaries of Faisalabad City

This GIS map consists of polygonal boundaries for 118 union councils of Faisalabad urban area. It has been developed and generously shared by Nasar min Allah Bhalli (M.Phil) from  Department of geography, GC University Faisalabad.

Union council boundaries of faisalabad

                                   .::Click HERE to request for this data set::.

Town wise Union Council Boundaries of Lahore

This GIS map consists of polygonal boundaries for 151 union councils of Lahore urban area divided in 11 Towns.

Union council boundaries of lahore

Special thank to our very Valued Contributor for Lahore.

                                   .::Click HERE to request for this data set::.