SlideShare a Scribd company logo
Introduction
Colin van Vulpen
GISY 6160
Independent GIS Project
May 29, 2014
Introduction
• My background:
• B.Sc. (Biology) – Acadia University
• B.Tech (Public Health) - CBU
• Food Safety Specialist
(Department of Agriculture), Dartmouth NS.
• Came to COGS with an interest in expanding
my skill set to include up-to-date mapping
techniques & technologies.
Introduction
1) in Ontario the Pork Producers Marketing
Board of Canada has completed a Premise ID
project with the University of Guelph’s
Department of Land Resource Science called
“BarnBase” in which the location of each hog
farm in the province is added to the database
and mapped according to its GPS
coordinates1.
Introduction
2) Chicken Farmers of Ontario (CFO) has entered
the location data of its members into a GIS
database, which contains producer
information such as the farm name, its
owner, phone numbers, the address, how
many chickens are on the farm, their buyers
and many other details2.
Introduction
3) The Dairy Farmers of Ontario (DFO) has
recorded the locations of all dairy farms and
bulk storage tanks in a GIS maintained and
used by the DFO to route milk trucks and
provide data in the event of a disease
outbreak3.
Introduction
4) Consumer Education
GIS can be used by farmers and vendors at public markets to
show consumers where and how their foods are grown, raised
and prepared.
Such transparency confers a marketing advantage for their
products as increasingly media-savvy consumers are
encouraged to develop a closer relationship through improved
visibility and accessibility of information pertaining to the food
source, thereby winning customer trust4.
(food security, supporting local economy)
Introduction
• This project merges the growing popularity of:
• online applications
• consumer interest in locally-grown foods (“Buy local”)
• Goal was to create an application that
promotes local foods by showing consumers
not only where to buy them but also tracing
those foods back to the farms and suppliers
whose foods are used as ingredients.
Introduction
• Suppliers can be:
1) The vendor themselves (farm) typically selling
raw produce, meat, etc.
2) Value-added vendor offering baked goods,
ready-to-eat foods, frozen pies, etc.
Introduction
• Target Questions for the App to Answer:
1) Where can Local Foods be purchased?
2) When can Local Foods be purchased?
3) Where do those foods originate?
Introduction
Introduction
Markets:
3) Annapolis Royal (2)
9) Bridgetown
17) Greenwood
8) Berwick
23) Kentville (2)
40) Wolfville
39) Windsor
Lawrencetown
Introduction
Vendor Questionnaires distributed starting in late October 2013.
Introduction
Not all required data could be collected from vendor
questionnaires - e.g. latitude / longitude of suppliers.
Some Lats / Lons
gathered at
www.selectnovascotia.ca
Remainder estimated
by entering civic address
into Google Earth.
Table 1. Tables & Columns in the Relational Database
Introduction
Introduction
• Programming Languages Involved:
1) HTML / Javascript (client-side)
2) PHP (server-side)
• Behind-the-scenes requirements for the
application:
1) Database Storage System capable of serving data
2) Web-server
– Both needs filled by MAMP
Introduction
MAMP stands for:
i) MacOsX (the operating system it’s designed for)
Versions for Windows (WAMP) and Linux (LAMP) also exist.
ii) Apache (the internet server)
iii)MySQL (the database management system)
iv)PHP (the programming language used to communicate
with the database)
Best of all, it’s open source.
Introduction
•
Introduction
Introduction
- Tables are
created &
populated with
SQL scripts
- Scripts get
pasted & ran in
phpMyAdmin’s
SQL window.
Introduction
• Javascript is the
“muscle” that puts
action on a website
(e.g. addMarker function)
• GoogleMaps API
– a programming
extension for online
mapping
– Free under 25,000
hits/day and no charge
to visitors.
Introduction
• php scripts send SQL queries requesting
data in certain order by specific columns
• SQL returns data as “rows”
• Data of interest from each row is placed into
variables ($var).
• Data “echoed” back to Javascript.
Introduction
Early days of web – change screen by
reloading entire page.
Introduction
AJAX with JSON-encoded requests allows for
asynchronous queries to the database.
Introduction
AJAX – Asynchronous Javascript and XML.
Introduction
Step 1) Search by Market… Day… & Category using the
drop-down select lists
Step 2) Click a Market icon on the Map to see Vendors
Step 3) In the Market infoWindow click “Show Me the
Vendors at this Market”
Step 4) In the Vendors List infoWindow “click a Vendor
to map Suppliers”
Step 5) In the Foods List infoWindow “click from the list
of Food Categories… to see Product Details”
Introduction
Introduction
1) Keeping the ‘Action’ on the Map
(navigation through InfoWindows vs. ‘side panel’ in
earlier versions {below} – “distracted experience”)
Introduction
2) Navigation (forward and backward) within
InfoWindows
3) Vendors displayed in Alphabetical Order
4) Introduction Pop-up Window offering
background & user instructions
5) Intuitive user experience (directing the
users’s eye, efficient wording of instructions)
Introduction
6) If a food category was specified in the initial
search vendors selling it are listed first and
highlighted as selling that food
Introduction
7) Foods selected for further “Product
Details” are also highlighted.
(example below: “fruit” is highlighted to indicate the
product details being displayed are for that category.)
Introduction
8) Visual Concealment of Supplier Markers
- In lieu of transparent infoWindows the main infoWindow is
briefly closed and re-opened in Step 5, at least making the
user aware of supplier markers that may be behind it.
Introduction
1) Marker Clustering
- issues to work out with emptying the array
of GoogleMap API’s “MarkerClusterer”
method.
2) Enable typing searches
3) User input / interaction (reviews,
comments)
Introduction
1) Dave MacLean (supervisor)
2) Jim Verran (database advice)
3) Kathleen Stewart (php help)
Introduction
1. Oger, R., Krafft, A., Buffet, D., Debord, M. (2010, June 28). Geotraceability: An
Innovative Concept to Enhance Conventional Traceability in the Agri-Food Chain,
Biotechnol. Agron. Soc. Environ. 2010 14(4), 633-642 Retrieved from HYPERLINK
http://popups.ulg.ac.be/1780-4507/index.php?id=6375
2. Wang, L., Lu, C., Xie, J., Hu, Y., (2005) Review of Traceability System for Farm
Animals and Their Products. Retrieved from HYPERLINK
http://www.jaaslib.ac.cn:88/daamnet/DAAM-
7/Review%20of%20Traceability%20System%20for%20Farm%20Animals%20and%2
0Their%20Products.htm
3. Mann, S., (2005) What to do When an Emergency Strikes: Farm and Industry
Groups Prepare Their Defenses Against the Next Foreign Animal Disease Outbreak.
Retrieved from HYPERLINK http://www.betterfarming.com/2005/bf-
dec05/cover.htm
4. Haines, R.J., (2004) Farm to Fork: A Strategy for Meat Safety in Ontario. Retrieved
from HYPERLINK
http://www.attorneygeneral.jus.gov.on.ca/english/about/pubs/meatinspectionrep
ort/
Farmers Markets Web Application

More Related Content

Viewers also liked

Hamro Krishi
Hamro KrishiHamro Krishi
Hamro Krishi
Sahaz Bhattarai
 
Voicexml for farmers portal ppt
Voicexml for farmers portal pptVoicexml for farmers portal ppt
Voicexml for farmers portal pptAshish Mundada
 
Mkisan
MkisanMkisan
Mkisan
Shweta Sahu
 
Agricultural automation
Agricultural automationAgricultural automation
Agricultural automation
Abdul GHAFOOR
 
Implementation of agricultural automation system using web & gsm technolo...
Implementation of agricultural automation system using web & gsm technolo...Implementation of agricultural automation system using web & gsm technolo...
Implementation of agricultural automation system using web & gsm technolo...
eSAT Journals
 
Agriculture in india
Agriculture in indiaAgriculture in india
Agriculture in india
indianeducation
 
Ict in agriculture
Ict in agricultureIct in agriculture
Ict in agriculture
Jagriti Rohit
 
Mobile Data Collection and Data Management in Modern Agriculture
Mobile Data Collection and Data Management in Modern AgricultureMobile Data Collection and Data Management in Modern Agriculture
Mobile Data Collection and Data Management in Modern Agriculture
CAPIGI
 
ICT-enabled services for agricultural development in India
ICT-enabled services for agricultural development in IndiaICT-enabled services for agricultural development in India
ICT-enabled services for agricultural development in India
Attaluri Srinivasacharyulu
 
Mobile Agriculture, eAgriculture, ICT, M-Agriculture
Mobile Agriculture, eAgriculture, ICT, M-Agriculture Mobile Agriculture, eAgriculture, ICT, M-Agriculture
Mobile Agriculture, eAgriculture, ICT, M-Agriculture
Arunkumar K.R.
 
Young farmers and information & communication technologies (ICTs)
Young farmers and information & communication technologies (ICTs)Young farmers and information & communication technologies (ICTs)
Young farmers and information & communication technologies (ICTs)
Technology & Social Change Group
 
Final ppt of project
Final ppt of projectFinal ppt of project
Final ppt of projectRuchi Gulati
 
Global Best Practices / Benchmark & Tips: How to Evaluate & Assess Business P...
Global Best Practices / Benchmark & Tips: How to Evaluate & Assess Business P...Global Best Practices / Benchmark & Tips: How to Evaluate & Assess Business P...
Global Best Practices / Benchmark & Tips: How to Evaluate & Assess Business P...
Maz (Mazhar) Syed
 
A project report on e business
A project report on e businessA project report on e business
A project report on e businessVerma Pramod
 

Viewers also liked (15)

Hamro Krishi
Hamro KrishiHamro Krishi
Hamro Krishi
 
Voicexml for farmers portal ppt
Voicexml for farmers portal pptVoicexml for farmers portal ppt
Voicexml for farmers portal ppt
 
Mkisan
MkisanMkisan
Mkisan
 
Agricultural automation
Agricultural automationAgricultural automation
Agricultural automation
 
Implementation of agricultural automation system using web & gsm technolo...
Implementation of agricultural automation system using web & gsm technolo...Implementation of agricultural automation system using web & gsm technolo...
Implementation of agricultural automation system using web & gsm technolo...
 
Agriculture in india
Agriculture in indiaAgriculture in india
Agriculture in india
 
Ict in agriculture
Ict in agricultureIct in agriculture
Ict in agriculture
 
Mobile Data Collection and Data Management in Modern Agriculture
Mobile Data Collection and Data Management in Modern AgricultureMobile Data Collection and Data Management in Modern Agriculture
Mobile Data Collection and Data Management in Modern Agriculture
 
E agri business
E agri business E agri business
E agri business
 
ICT-enabled services for agricultural development in India
ICT-enabled services for agricultural development in IndiaICT-enabled services for agricultural development in India
ICT-enabled services for agricultural development in India
 
Mobile Agriculture, eAgriculture, ICT, M-Agriculture
Mobile Agriculture, eAgriculture, ICT, M-Agriculture Mobile Agriculture, eAgriculture, ICT, M-Agriculture
Mobile Agriculture, eAgriculture, ICT, M-Agriculture
 
Young farmers and information & communication technologies (ICTs)
Young farmers and information & communication technologies (ICTs)Young farmers and information & communication technologies (ICTs)
Young farmers and information & communication technologies (ICTs)
 
Final ppt of project
Final ppt of projectFinal ppt of project
Final ppt of project
 
Global Best Practices / Benchmark & Tips: How to Evaluate & Assess Business P...
Global Best Practices / Benchmark & Tips: How to Evaluate & Assess Business P...Global Best Practices / Benchmark & Tips: How to Evaluate & Assess Business P...
Global Best Practices / Benchmark & Tips: How to Evaluate & Assess Business P...
 
A project report on e business
A project report on e businessA project report on e business
A project report on e business
 

Similar to Farmers Markets Web Application

Maximizing Freight Movements in Local Food Markets: An Exploration of Scale-A...
Maximizing Freight Movements in Local Food Markets: An Exploration of Scale-A...Maximizing Freight Movements in Local Food Markets: An Exploration of Scale-A...
Maximizing Freight Movements in Local Food Markets: An Exploration of Scale-A...
Community and Regional Food Systems
 
biowatts.org - an online platform for anaerobic digestion projects
biowatts.org - an online platform for anaerobic digestion projectsbiowatts.org - an online platform for anaerobic digestion projects
biowatts.org - an online platform for anaerobic digestion projectsBiowatts
 
Making agricultural knowledge globally discoverable: are we there yet?
Making agricultural knowledge globally discoverable: are we there yet?Making agricultural knowledge globally discoverable: are we there yet?
Making agricultural knowledge globally discoverable: are we there yet?
Nikos Manouselis
 
Scaling up food safety information transparency
Scaling up food safety information transparencyScaling up food safety information transparency
Scaling up food safety information transparency
Nikos Manouselis
 
RDA Wheat Data Interoperability WG Demonstrator
RDA Wheat Data Interoperability WG DemonstratorRDA Wheat Data Interoperability WG Demonstrator
RDA Wheat Data Interoperability WG Demonstrator
cthanopoulos
 
Online Grocery Market
Online Grocery MarketOnline Grocery Market
Online Grocery Market
IJLT EMAS
 
Validation of services, data and metadata
Validation of services, data and metadataValidation of services, data and metadata
Validation of services, data and metadata
Luis Bermudez
 
Chinese Fujian delegation 03Mar2014
Chinese Fujian delegation 03Mar2014Chinese Fujian delegation 03Mar2014
Chinese Fujian delegation 03Mar2014
Sjaak Wolfert
 
FIWARE Global Summit - FIWARE for Smart Agrifood: What’s Next for 2019/2020
FIWARE Global Summit - FIWARE for Smart Agrifood: What’s Next for 2019/2020FIWARE Global Summit - FIWARE for Smart Agrifood: What’s Next for 2019/2020
FIWARE Global Summit - FIWARE for Smart Agrifood: What’s Next for 2019/2020
FIWARE
 
Blockchain in agriculture
Blockchain in agricultureBlockchain in agriculture
Blockchain in agriculture
LeewayHertz
 
S&OP with Supply Chain Simulations
S&OP with Supply Chain SimulationsS&OP with Supply Chain Simulations
S&OP with Supply Chain Simulations
Michael Hugos
 
ICTs Along the Agriculture Value Chain
ICTs Along the Agriculture Value ChainICTs Along the Agriculture Value Chain
ICTs Along the Agriculture Value Chain
Integra LLC
 
GRIN-Global and LIMS
GRIN-Global and LIMSGRIN-Global and LIMS
GRIN-Global and LIMS
Edwin Rojas
 
DIATOMIC APPLICATION EXPERIMENTS
DIATOMIC APPLICATION EXPERIMENTSDIATOMIC APPLICATION EXPERIMENTS
DIATOMIC APPLICATION EXPERIMENTS
DiatomicEU
 
Guidelines for Smallholder Access to Value Chains in Vietnam
Guidelines for Smallholder Access to Value Chains in VietnamGuidelines for Smallholder Access to Value Chains in Vietnam
Guidelines for Smallholder Access to Value Chains in Vietnam
IFAD Vietnam
 
GRIN GLOBAL implementation - CIP 2017
GRIN GLOBAL implementation - CIP 2017GRIN GLOBAL implementation - CIP 2017
GRIN GLOBAL implementation - CIP 2017
Edwin Rojas
 
Agri-Tech Catalyst Round 9 – Crop Production
Agri-Tech Catalyst Round 9 – Crop ProductionAgri-Tech Catalyst Round 9 – Crop Production
Agri-Tech Catalyst Round 9 – Crop Production
KTN
 
Enabling the physical world to the Internet and potential benefits for agricu...
Enabling the physical world to the Internet and potential benefits for agricu...Enabling the physical world to the Internet and potential benefits for agricu...
Enabling the physical world to the Internet and potential benefits for agricu...
Andreas Kamilaris
 
Agri-Tech Catalyst Round 9 – Livestock and Aquaculture
Agri-Tech Catalyst Round 9 – Livestock and AquacultureAgri-Tech Catalyst Round 9 – Livestock and Aquaculture
Agri-Tech Catalyst Round 9 – Livestock and Aquaculture
KTN
 
Big Data in Agriculture, the SemaGrow and agINFRA experience
Big Data in Agriculture, the SemaGrow and agINFRA experienceBig Data in Agriculture, the SemaGrow and agINFRA experience
Big Data in Agriculture, the SemaGrow and agINFRA experience
Andreas Drakos
 

Similar to Farmers Markets Web Application (20)

Maximizing Freight Movements in Local Food Markets: An Exploration of Scale-A...
Maximizing Freight Movements in Local Food Markets: An Exploration of Scale-A...Maximizing Freight Movements in Local Food Markets: An Exploration of Scale-A...
Maximizing Freight Movements in Local Food Markets: An Exploration of Scale-A...
 
biowatts.org - an online platform for anaerobic digestion projects
biowatts.org - an online platform for anaerobic digestion projectsbiowatts.org - an online platform for anaerobic digestion projects
biowatts.org - an online platform for anaerobic digestion projects
 
Making agricultural knowledge globally discoverable: are we there yet?
Making agricultural knowledge globally discoverable: are we there yet?Making agricultural knowledge globally discoverable: are we there yet?
Making agricultural knowledge globally discoverable: are we there yet?
 
Scaling up food safety information transparency
Scaling up food safety information transparencyScaling up food safety information transparency
Scaling up food safety information transparency
 
RDA Wheat Data Interoperability WG Demonstrator
RDA Wheat Data Interoperability WG DemonstratorRDA Wheat Data Interoperability WG Demonstrator
RDA Wheat Data Interoperability WG Demonstrator
 
Online Grocery Market
Online Grocery MarketOnline Grocery Market
Online Grocery Market
 
Validation of services, data and metadata
Validation of services, data and metadataValidation of services, data and metadata
Validation of services, data and metadata
 
Chinese Fujian delegation 03Mar2014
Chinese Fujian delegation 03Mar2014Chinese Fujian delegation 03Mar2014
Chinese Fujian delegation 03Mar2014
 
FIWARE Global Summit - FIWARE for Smart Agrifood: What’s Next for 2019/2020
FIWARE Global Summit - FIWARE for Smart Agrifood: What’s Next for 2019/2020FIWARE Global Summit - FIWARE for Smart Agrifood: What’s Next for 2019/2020
FIWARE Global Summit - FIWARE for Smart Agrifood: What’s Next for 2019/2020
 
Blockchain in agriculture
Blockchain in agricultureBlockchain in agriculture
Blockchain in agriculture
 
S&OP with Supply Chain Simulations
S&OP with Supply Chain SimulationsS&OP with Supply Chain Simulations
S&OP with Supply Chain Simulations
 
ICTs Along the Agriculture Value Chain
ICTs Along the Agriculture Value ChainICTs Along the Agriculture Value Chain
ICTs Along the Agriculture Value Chain
 
GRIN-Global and LIMS
GRIN-Global and LIMSGRIN-Global and LIMS
GRIN-Global and LIMS
 
DIATOMIC APPLICATION EXPERIMENTS
DIATOMIC APPLICATION EXPERIMENTSDIATOMIC APPLICATION EXPERIMENTS
DIATOMIC APPLICATION EXPERIMENTS
 
Guidelines for Smallholder Access to Value Chains in Vietnam
Guidelines for Smallholder Access to Value Chains in VietnamGuidelines for Smallholder Access to Value Chains in Vietnam
Guidelines for Smallholder Access to Value Chains in Vietnam
 
GRIN GLOBAL implementation - CIP 2017
GRIN GLOBAL implementation - CIP 2017GRIN GLOBAL implementation - CIP 2017
GRIN GLOBAL implementation - CIP 2017
 
Agri-Tech Catalyst Round 9 – Crop Production
Agri-Tech Catalyst Round 9 – Crop ProductionAgri-Tech Catalyst Round 9 – Crop Production
Agri-Tech Catalyst Round 9 – Crop Production
 
Enabling the physical world to the Internet and potential benefits for agricu...
Enabling the physical world to the Internet and potential benefits for agricu...Enabling the physical world to the Internet and potential benefits for agricu...
Enabling the physical world to the Internet and potential benefits for agricu...
 
Agri-Tech Catalyst Round 9 – Livestock and Aquaculture
Agri-Tech Catalyst Round 9 – Livestock and AquacultureAgri-Tech Catalyst Round 9 – Livestock and Aquaculture
Agri-Tech Catalyst Round 9 – Livestock and Aquaculture
 
Big Data in Agriculture, the SemaGrow and agINFRA experience
Big Data in Agriculture, the SemaGrow and agINFRA experienceBig Data in Agriculture, the SemaGrow and agINFRA experience
Big Data in Agriculture, the SemaGrow and agINFRA experience
 

More from COGS Presentations

Karman vortices
Karman vorticesKarman vortices
Karman vortices
COGS Presentations
 
Adams Hunt Lawrence May 2016
Adams Hunt Lawrence May 2016Adams Hunt Lawrence May 2016
Adams Hunt Lawrence May 2016
COGS Presentations
 
Presentation: Fee & Brigley
Presentation: Fee & BrigleyPresentation: Fee & Brigley
Presentation: Fee & Brigley
COGS Presentations
 
Presentation Brake & Scott
Presentation Brake & ScottPresentation Brake & Scott
Presentation Brake & Scott
COGS Presentations
 
Sutherland final presentation
Sutherland final presentationSutherland final presentation
Sutherland final presentation
COGS Presentations
 
Base mapping of the St.Mary's District
Base mapping of the St.Mary's DistrictBase mapping of the St.Mary's District
Base mapping of the St.Mary's District
COGS Presentations
 
Interactive Web Map of New Zealand Earthquakes
Interactive Web Map of New Zealand EarthquakesInteractive Web Map of New Zealand Earthquakes
Interactive Web Map of New Zealand Earthquakes
COGS Presentations
 
Exploring Halifax Attractions using the Esri Runtime SDK for Android
Exploring Halifax Attractions using the Esri Runtime SDK for AndroidExploring Halifax Attractions using the Esri Runtime SDK for Android
Exploring Halifax Attractions using the Esri Runtime SDK for Android
COGS Presentations
 
The Processing of the 1920's Survey Sheets of the City of Saint John, NB for ...
The Processing of the 1920's Survey Sheets of the City of Saint John, NB for ...The Processing of the 1920's Survey Sheets of the City of Saint John, NB for ...
The Processing of the 1920's Survey Sheets of the City of Saint John, NB for ...
COGS Presentations
 
Coastal erosion
Coastal erosionCoastal erosion
Coastal erosion
COGS Presentations
 
Various frontslides2016
Various frontslides2016Various frontslides2016
Various frontslides2016
COGS Presentations
 
Southwest mongolia multispectral program title
Southwest mongolia multispectral program titleSouthwest mongolia multispectral program title
Southwest mongolia multispectral program title
COGS Presentations
 
Model for Prioritizing Catchments for Terrestrial Liming in NS
Model for Prioritizing Catchments for Terrestrial Liming in NSModel for Prioritizing Catchments for Terrestrial Liming in NS
Model for Prioritizing Catchments for Terrestrial Liming in NS
COGS Presentations
 
Remote Sensing Field Camp 2016
Remote Sensing Field Camp 2016 Remote Sensing Field Camp 2016
Remote Sensing Field Camp 2016
COGS Presentations
 
Trying to decipher fort beausejour
Trying to decipher fort beausejourTrying to decipher fort beausejour
Trying to decipher fort beausejour
COGS Presentations
 
Test2016
Test2016Test2016
Using ArcMap’s Network Analyst to Model Emergency Service Response Routes Dur...
Using ArcMap’s Network Analyst to Model Emergency Service Response Routes Dur...Using ArcMap’s Network Analyst to Model Emergency Service Response Routes Dur...
Using ArcMap’s Network Analyst to Model Emergency Service Response Routes Dur...
COGS Presentations
 
The essentials for life at cogs
The essentials for life at cogsThe essentials for life at cogs
The essentials for life at cogs
COGS Presentations
 
Automated change detection in grass gis
Automated change detection in grass gisAutomated change detection in grass gis
Automated change detection in grass gis
COGS Presentations
 
Online Mapping Support - Age Advantage Association
Online Mapping Support - Age Advantage AssociationOnline Mapping Support - Age Advantage Association
Online Mapping Support - Age Advantage Association
COGS Presentations
 

More from COGS Presentations (20)

Karman vortices
Karman vorticesKarman vortices
Karman vortices
 
Adams Hunt Lawrence May 2016
Adams Hunt Lawrence May 2016Adams Hunt Lawrence May 2016
Adams Hunt Lawrence May 2016
 
Presentation: Fee & Brigley
Presentation: Fee & BrigleyPresentation: Fee & Brigley
Presentation: Fee & Brigley
 
Presentation Brake & Scott
Presentation Brake & ScottPresentation Brake & Scott
Presentation Brake & Scott
 
Sutherland final presentation
Sutherland final presentationSutherland final presentation
Sutherland final presentation
 
Base mapping of the St.Mary's District
Base mapping of the St.Mary's DistrictBase mapping of the St.Mary's District
Base mapping of the St.Mary's District
 
Interactive Web Map of New Zealand Earthquakes
Interactive Web Map of New Zealand EarthquakesInteractive Web Map of New Zealand Earthquakes
Interactive Web Map of New Zealand Earthquakes
 
Exploring Halifax Attractions using the Esri Runtime SDK for Android
Exploring Halifax Attractions using the Esri Runtime SDK for AndroidExploring Halifax Attractions using the Esri Runtime SDK for Android
Exploring Halifax Attractions using the Esri Runtime SDK for Android
 
The Processing of the 1920's Survey Sheets of the City of Saint John, NB for ...
The Processing of the 1920's Survey Sheets of the City of Saint John, NB for ...The Processing of the 1920's Survey Sheets of the City of Saint John, NB for ...
The Processing of the 1920's Survey Sheets of the City of Saint John, NB for ...
 
Coastal erosion
Coastal erosionCoastal erosion
Coastal erosion
 
Various frontslides2016
Various frontslides2016Various frontslides2016
Various frontslides2016
 
Southwest mongolia multispectral program title
Southwest mongolia multispectral program titleSouthwest mongolia multispectral program title
Southwest mongolia multispectral program title
 
Model for Prioritizing Catchments for Terrestrial Liming in NS
Model for Prioritizing Catchments for Terrestrial Liming in NSModel for Prioritizing Catchments for Terrestrial Liming in NS
Model for Prioritizing Catchments for Terrestrial Liming in NS
 
Remote Sensing Field Camp 2016
Remote Sensing Field Camp 2016 Remote Sensing Field Camp 2016
Remote Sensing Field Camp 2016
 
Trying to decipher fort beausejour
Trying to decipher fort beausejourTrying to decipher fort beausejour
Trying to decipher fort beausejour
 
Test2016
Test2016Test2016
Test2016
 
Using ArcMap’s Network Analyst to Model Emergency Service Response Routes Dur...
Using ArcMap’s Network Analyst to Model Emergency Service Response Routes Dur...Using ArcMap’s Network Analyst to Model Emergency Service Response Routes Dur...
Using ArcMap’s Network Analyst to Model Emergency Service Response Routes Dur...
 
The essentials for life at cogs
The essentials for life at cogsThe essentials for life at cogs
The essentials for life at cogs
 
Automated change detection in grass gis
Automated change detection in grass gisAutomated change detection in grass gis
Automated change detection in grass gis
 
Online Mapping Support - Age Advantage Association
Online Mapping Support - Age Advantage AssociationOnline Mapping Support - Age Advantage Association
Online Mapping Support - Age Advantage Association
 

Recently uploaded

Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
ArianaBusciglio
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
gb193092
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 

Recently uploaded (20)

Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 

Farmers Markets Web Application

  • 1. Introduction Colin van Vulpen GISY 6160 Independent GIS Project May 29, 2014
  • 2. Introduction • My background: • B.Sc. (Biology) – Acadia University • B.Tech (Public Health) - CBU • Food Safety Specialist (Department of Agriculture), Dartmouth NS. • Came to COGS with an interest in expanding my skill set to include up-to-date mapping techniques & technologies.
  • 3. Introduction 1) in Ontario the Pork Producers Marketing Board of Canada has completed a Premise ID project with the University of Guelph’s Department of Land Resource Science called “BarnBase” in which the location of each hog farm in the province is added to the database and mapped according to its GPS coordinates1.
  • 4. Introduction 2) Chicken Farmers of Ontario (CFO) has entered the location data of its members into a GIS database, which contains producer information such as the farm name, its owner, phone numbers, the address, how many chickens are on the farm, their buyers and many other details2.
  • 5. Introduction 3) The Dairy Farmers of Ontario (DFO) has recorded the locations of all dairy farms and bulk storage tanks in a GIS maintained and used by the DFO to route milk trucks and provide data in the event of a disease outbreak3.
  • 6. Introduction 4) Consumer Education GIS can be used by farmers and vendors at public markets to show consumers where and how their foods are grown, raised and prepared. Such transparency confers a marketing advantage for their products as increasingly media-savvy consumers are encouraged to develop a closer relationship through improved visibility and accessibility of information pertaining to the food source, thereby winning customer trust4. (food security, supporting local economy)
  • 7. Introduction • This project merges the growing popularity of: • online applications • consumer interest in locally-grown foods (“Buy local”) • Goal was to create an application that promotes local foods by showing consumers not only where to buy them but also tracing those foods back to the farms and suppliers whose foods are used as ingredients.
  • 8. Introduction • Suppliers can be: 1) The vendor themselves (farm) typically selling raw produce, meat, etc. 2) Value-added vendor offering baked goods, ready-to-eat foods, frozen pies, etc.
  • 9. Introduction • Target Questions for the App to Answer: 1) Where can Local Foods be purchased? 2) When can Local Foods be purchased? 3) Where do those foods originate?
  • 11. Introduction Markets: 3) Annapolis Royal (2) 9) Bridgetown 17) Greenwood 8) Berwick 23) Kentville (2) 40) Wolfville 39) Windsor Lawrencetown
  • 12. Introduction Vendor Questionnaires distributed starting in late October 2013.
  • 13. Introduction Not all required data could be collected from vendor questionnaires - e.g. latitude / longitude of suppliers. Some Lats / Lons gathered at www.selectnovascotia.ca Remainder estimated by entering civic address into Google Earth.
  • 14. Table 1. Tables & Columns in the Relational Database
  • 16. Introduction • Programming Languages Involved: 1) HTML / Javascript (client-side) 2) PHP (server-side) • Behind-the-scenes requirements for the application: 1) Database Storage System capable of serving data 2) Web-server – Both needs filled by MAMP
  • 17. Introduction MAMP stands for: i) MacOsX (the operating system it’s designed for) Versions for Windows (WAMP) and Linux (LAMP) also exist. ii) Apache (the internet server) iii)MySQL (the database management system) iv)PHP (the programming language used to communicate with the database) Best of all, it’s open source.
  • 20. Introduction - Tables are created & populated with SQL scripts - Scripts get pasted & ran in phpMyAdmin’s SQL window.
  • 21. Introduction • Javascript is the “muscle” that puts action on a website (e.g. addMarker function) • GoogleMaps API – a programming extension for online mapping – Free under 25,000 hits/day and no charge to visitors.
  • 22. Introduction • php scripts send SQL queries requesting data in certain order by specific columns • SQL returns data as “rows” • Data of interest from each row is placed into variables ($var). • Data “echoed” back to Javascript.
  • 23. Introduction Early days of web – change screen by reloading entire page.
  • 24. Introduction AJAX with JSON-encoded requests allows for asynchronous queries to the database.
  • 25. Introduction AJAX – Asynchronous Javascript and XML.
  • 26. Introduction Step 1) Search by Market… Day… & Category using the drop-down select lists Step 2) Click a Market icon on the Map to see Vendors Step 3) In the Market infoWindow click “Show Me the Vendors at this Market” Step 4) In the Vendors List infoWindow “click a Vendor to map Suppliers” Step 5) In the Foods List infoWindow “click from the list of Food Categories… to see Product Details”
  • 28. Introduction 1) Keeping the ‘Action’ on the Map (navigation through InfoWindows vs. ‘side panel’ in earlier versions {below} – “distracted experience”)
  • 29. Introduction 2) Navigation (forward and backward) within InfoWindows 3) Vendors displayed in Alphabetical Order 4) Introduction Pop-up Window offering background & user instructions 5) Intuitive user experience (directing the users’s eye, efficient wording of instructions)
  • 30. Introduction 6) If a food category was specified in the initial search vendors selling it are listed first and highlighted as selling that food
  • 31. Introduction 7) Foods selected for further “Product Details” are also highlighted. (example below: “fruit” is highlighted to indicate the product details being displayed are for that category.)
  • 32. Introduction 8) Visual Concealment of Supplier Markers - In lieu of transparent infoWindows the main infoWindow is briefly closed and re-opened in Step 5, at least making the user aware of supplier markers that may be behind it.
  • 33. Introduction 1) Marker Clustering - issues to work out with emptying the array of GoogleMap API’s “MarkerClusterer” method. 2) Enable typing searches 3) User input / interaction (reviews, comments)
  • 34. Introduction 1) Dave MacLean (supervisor) 2) Jim Verran (database advice) 3) Kathleen Stewart (php help)
  • 35. Introduction 1. Oger, R., Krafft, A., Buffet, D., Debord, M. (2010, June 28). Geotraceability: An Innovative Concept to Enhance Conventional Traceability in the Agri-Food Chain, Biotechnol. Agron. Soc. Environ. 2010 14(4), 633-642 Retrieved from HYPERLINK http://popups.ulg.ac.be/1780-4507/index.php?id=6375 2. Wang, L., Lu, C., Xie, J., Hu, Y., (2005) Review of Traceability System for Farm Animals and Their Products. Retrieved from HYPERLINK http://www.jaaslib.ac.cn:88/daamnet/DAAM- 7/Review%20of%20Traceability%20System%20for%20Farm%20Animals%20and%2 0Their%20Products.htm 3. Mann, S., (2005) What to do When an Emergency Strikes: Farm and Industry Groups Prepare Their Defenses Against the Next Foreign Animal Disease Outbreak. Retrieved from HYPERLINK http://www.betterfarming.com/2005/bf- dec05/cover.htm 4. Haines, R.J., (2004) Farm to Fork: A Strategy for Meat Safety in Ontario. Retrieved from HYPERLINK http://www.attorneygeneral.jus.gov.on.ca/english/about/pubs/meatinspectionrep ort/

Editor's Notes

  1. ----- Meeting Notes (2014-05-28 21:11) ----- Google Maps API is free as long as sites using it do not charge visitors, and there less than 25,000 visits / day.
  2. ----- Meeting Notes (2014-05-28 21:03) ----- Step 1 - Due to the wide variety of foods, all foods were assigned to categories
  3. ----- Meeting Notes (2014-05-28 21:11) ----- DEMO THE APPLICATION HERE ----- Meeting Notes (2014-05-28 22:26) ----- 1. Show "App Introduction" and "Development" Pop-up Windows 2. Search for "fruit" at Bridgetown Market 2. Search for