SlideShare ist ein Scribd-Unternehmen logo
1 von 26
Economics of Land Degradation and
Improvement
Jann Goedecke
ZEF Interdisciplinary Course 2014
4. Empirical approaches
1. Matching large datasets based on geographical
information in ArcGIS
2. Reading GIS files into Stata
3. Cost of action vs cost of inaction – the
biomodelling approach
4. Geocoding villages
5. Stata‘s kountry command
2
1. Matching large datasets
based on geographical
information in ArcGIS
3
Matching large datasets
• Spatially joining means, linking two datasets
based on their geographic features.
• By overlaying the data, we can calculate which
geographic features belong together
• Different types of features
can be joined:
– Points to polygons
– Points to lines
– Polygons to polygons
– …
4
Matching large datasets
• Often, we want to join point information to
geographic polygons
• Points are usually stored in shapefiles
• Polygons, however, are sometimes stored as
raster data (i.e. in quadratic tiles), sometimes
also as shapefiles
• ArcGIS provides tools for either way:
– Extract values to points does the job with rasters
– Spatial join with option „points to polygons“ is
suitable for shapefiles
5
Matching large datasets
• However, ArcGIS becomes instable when
datasets are really large (as is Bao Le‘s
rastered land degradation with (8km)² tiles for
the world)
• The data can be cut into smaller parts to
circumvent this (eg, one file per country)
• Python, the programming language used in
ArcGIS, permits looping the extract values to
points process over all country datasets
6
Matching large datasets
for attempt in range(5):
try:
arcpy.gp.ExtractValuesToPoints_sa("combined_dataAFG.
shp","LPD_Spot_1999-2013.tif",
"SplitExtractedAFG_LPD.shp", "INTERPOLATE","VALUE_ONLY")
except RuntimeError:
print "Runtime error with AFG"
continue
else:
break
else:
print "All attempts failed with AFG"
7
Matching large datasets
for attempt in range(5):
try:
arcpy.gp.ExtractValuesToPoints_sa("combined_dataBRA.
shp","LPD_Spot_1999-2013.tif",
"SplitExtractedBRA_LPD.shp", "INTERPOLATE","VALUE_ONLY")
except RuntimeError:
print "Runtime error with BRA"
continue
else:
break
else:
print "All attempts failed with BRA"
8
2. Reading GIS files into Stata
9
Reading GIS files into Stata
• Shapefile = geospatial vector data format for
geographic information system (GIS) software
• Shapefiles come in a bundle:
– filename.shp: contains the actual geographic data
– filename.dbf: the database attached to the
geographic features
– filename.shx: a positional index of the shapefile
geometry (not relevant here)
– + ancillary, optional files
10
Reading GIS files into Stata
• shapefiles and related files must have the same
filename prefix and be located in the same folder
• The Stata command shp2dta can read the
„*.shp“ and „*.dbf“ files:
shp2dta using filename, data(newfile_dbf)
coord(newfile_shp)
• This produces files newfile_dbf.dta and
newfile_shp.dta in current working folder
• Both created datasets now contain a new variable
_ID through which they can be linked.
11
Reading GIS files into Stata
• This is how the coord data can look like:
12
… if it was a polygon shapefile … if it was a points shapefile
Reading GIS files into Stata
• This is how the data file may look like:
13
Mapping from within Stata
• The user-written command spmap allows to
map with Stata‘s graph features
• See Maurizio Pisati‘s excellent presentation
for more information
• Be aware that both commands need to be
installed first
14
Mapping from within Stata
15
The product of spmap
may look like this
2. Cost of action vs cost of
inaction – the biomodelling
approach
16
Cost of action vs cost of inaction – the
biomodelling approach
• Biomodeled data predicts outcomes for a given pixel for different scenarios:
– Irrigated vs rainfed
– ISFM vs business as usual land management
– Type of crop grown
– Year (next 40)
Variables of interest:
– LD costs, component 1: future costs of not switching to ISFM today in degraded areas
– LD costs, component 2: productivity decline in areas already under ISFM due to external
factors
– Total co2 sequest: loss: future value of foregone carbon sequestration due to not switching to
ISFM today in degraded areas
– Co2 sequestration loss isfm: lost value of carbon sequestration in areas already under ISFM due
to external factors
• C:UsersjgoedeckeDropboxZEFIndia Review PaperStata_filesJawoo_costs.do
17
4. Geocoding villages
18
Geocoding villages
• Sometimes our initial dataset originates from a
survey where no GIS information has been
collected
• But usually the state, district, and village is
documented
• Ideally, we would like to merge (external)
geographic data (such as land characteristics)
to our main data
19
Geocoding villages
• Assigning geographic coordinates to given
locations is called geocoding
• http://www.findlatitudeandlongitude.com/batc
h-geocode/#.VH460slNe6U provides a handy
tool to geocode many different locations in
short time
• The underlying database is Google Maps,
which allows 2500 free geocoding queries per
IP-adress per day (5/sec)
20
Geocoding villages
• Another tool developed by researchers from
University of Tokyo in a large scale project is the
India place finder: http://india.csis.u-tokyo.ac.jp/csvmode
• Unique and very powerful, since information was
gathered from many different sources
• They also created a „global place finder“, which
is, however, only based on Google Maps. So there
is probably not much added value to longitude
and latitude finder.
21
5. Stata‘s kountry command
22
Stata‘s kountry command
• Back to Stata: if we deal with world-wide data,
at some point we usually encounter issues of
linking datasets based on country information
• Unfortunately, countries have a range of
possible names under which they are stored
– Russia / Russian Federation
– Cote d‘Ivoire / Ivory Coast
– Iran / Islamic Republic of Iran
– …
23
Stata‘s kountry command
• Thus we need standardized names to link datasets
based on country names
• Another user-written tool, kountry, is helpful
kountry kountryvar, from(other)
stuck
• That generates a new (numeric) standardized
variable called _ISO3N_
24
Stata‘s kountry command
• This, in turn, can be recoded into well-known
formats such as the World Bank ISO codes:
• kountry iso3n, from(iso3n) to(iso3c)
• which creates the variable _ISO3C_, as issued
by the World Bank.
• Other common formats are possible as well.
Check
25
26

Weitere ähnliche Inhalte

Was ist angesagt?

Snow cover assessment tool using Python
Snow cover assessment tool using PythonSnow cover assessment tool using Python
Snow cover assessment tool using PythonPrasun Kumar Gupta
 
Meteo I/O Introduction
Meteo I/O IntroductionMeteo I/O Introduction
Meteo I/O IntroductionRiccardo Rigon
 
SmartMet Server OSGeo
SmartMet Server OSGeoSmartMet Server OSGeo
SmartMet Server OSGeoRoope Tervo
 
Rural Payments Agency usage of Ordnance Survey data
Rural Payments Agency usage of Ordnance Survey dataRural Payments Agency usage of Ordnance Survey data
Rural Payments Agency usage of Ordnance Survey dataCAPIGI
 
nCOVID-19 pivot-and-fan map
nCOVID-19 pivot-and-fan mapnCOVID-19 pivot-and-fan map
nCOVID-19 pivot-and-fan mapAndrew Zolnai
 
Using geo dcat ap specification for sharing metadata in geoss and inspire
Using geo dcat ap specification for sharing metadata in geoss and inspireUsing geo dcat ap specification for sharing metadata in geoss and inspire
Using geo dcat ap specification for sharing metadata in geoss and inspireWirelessInfo
 
Exploring Spatial data in GIS Environment
Exploring Spatial data in GIS Environment Exploring Spatial data in GIS Environment
Exploring Spatial data in GIS Environment NAXA-Developers
 
FMI Information Management System
FMI Information Management SystemFMI Information Management System
FMI Information Management SystemRoope Tervo
 
Inspire Compliant Weather Data
Inspire Compliant Weather DataInspire Compliant Weather Data
Inspire Compliant Weather DataRoope Tervo
 

Was ist angesagt? (20)

Pilot Project for HDF5 Metadata Structures for SWOT
Pilot Project for HDF5 Metadata Structures for SWOTPilot Project for HDF5 Metadata Structures for SWOT
Pilot Project for HDF5 Metadata Structures for SWOT
 
Making data storage more efficient
Making data storage more efficientMaking data storage more efficient
Making data storage more efficient
 
Snow cover assessment tool using Python
Snow cover assessment tool using PythonSnow cover assessment tool using Python
Snow cover assessment tool using Python
 
Working with Scientific Data in MATLAB
Working with Scientific Data in MATLABWorking with Scientific Data in MATLAB
Working with Scientific Data in MATLAB
 
Meteo I/O Introduction
Meteo I/O IntroductionMeteo I/O Introduction
Meteo I/O Introduction
 
Adding data into GIS
Adding  data into GISAdding  data into GIS
Adding data into GIS
 
NASA Terra Data Fusion
NASA Terra Data FusionNASA Terra Data Fusion
NASA Terra Data Fusion
 
SmartMet Server OSGeo
SmartMet Server OSGeoSmartMet Server OSGeo
SmartMet Server OSGeo
 
Rural Payments Agency usage of Ordnance Survey data
Rural Payments Agency usage of Ordnance Survey dataRural Payments Agency usage of Ordnance Survey data
Rural Payments Agency usage of Ordnance Survey data
 
Citizen Science in your Pocket - Addy Pope
Citizen Science in your Pocket - Addy PopeCitizen Science in your Pocket - Addy Pope
Citizen Science in your Pocket - Addy Pope
 
nCOVID-19 pivot-and-fan map
nCOVID-19 pivot-and-fan mapnCOVID-19 pivot-and-fan map
nCOVID-19 pivot-and-fan map
 
Using geo dcat ap specification for sharing metadata in geoss and inspire
Using geo dcat ap specification for sharing metadata in geoss and inspireUsing geo dcat ap specification for sharing metadata in geoss and inspire
Using geo dcat ap specification for sharing metadata in geoss and inspire
 
HDF-EOS Data Product Developer's Guide
HDF-EOS Data Product Developer's GuideHDF-EOS Data Product Developer's Guide
HDF-EOS Data Product Developer's Guide
 
Exploring Spatial data in GIS Environment
Exploring Spatial data in GIS Environment Exploring Spatial data in GIS Environment
Exploring Spatial data in GIS Environment
 
FMI Information Management System
FMI Information Management SystemFMI Information Management System
FMI Information Management System
 
ICESat-2 Metadata and Status
ICESat-2 Metadata and StatusICESat-2 Metadata and Status
ICESat-2 Metadata and Status
 
SAGA GIS 2.0.7
SAGA GIS 2.0.7SAGA GIS 2.0.7
SAGA GIS 2.0.7
 
Inspire Compliant Weather Data
Inspire Compliant Weather DataInspire Compliant Weather Data
Inspire Compliant Weather Data
 
Big spatial2014 mapreduceweights
Big spatial2014 mapreduceweightsBig spatial2014 mapreduceweights
Big spatial2014 mapreduceweights
 
Fieldtrip GB
Fieldtrip GBFieldtrip GB
Fieldtrip GB
 

Andere mochten auch

Djanibekov econ modelling ld
Djanibekov econ modelling ldDjanibekov econ modelling ld
Djanibekov econ modelling ldLandDegradation
 
Dubovyk defense zef_04122014_eld
Dubovyk defense zef_04122014_eldDubovyk defense zef_04122014_eld
Dubovyk defense zef_04122014_eldLandDegradation
 
4. empirical approaches in eld assessments (a)
4. empirical approaches in eld assessments (a)4. empirical approaches in eld assessments (a)
4. empirical approaches in eld assessments (a)LandDegradation
 
1. definition and other key concepts
1. definition and other key concepts1. definition and other key concepts
1. definition and other key conceptsLandDegradation
 
Монография
МонографияМонография
МонографияRed Hat Kira
 
2. concepts for eld assessments (a)
2. concepts for eld assessments (a)2. concepts for eld assessments (a)
2. concepts for eld assessments (a)LandDegradation
 

Andere mochten auch (6)

Djanibekov econ modelling ld
Djanibekov econ modelling ldDjanibekov econ modelling ld
Djanibekov econ modelling ld
 
Dubovyk defense zef_04122014_eld
Dubovyk defense zef_04122014_eldDubovyk defense zef_04122014_eld
Dubovyk defense zef_04122014_eld
 
4. empirical approaches in eld assessments (a)
4. empirical approaches in eld assessments (a)4. empirical approaches in eld assessments (a)
4. empirical approaches in eld assessments (a)
 
1. definition and other key concepts
1. definition and other key concepts1. definition and other key concepts
1. definition and other key concepts
 
Монография
МонографияМонография
Монография
 
2. concepts for eld assessments (a)
2. concepts for eld assessments (a)2. concepts for eld assessments (a)
2. concepts for eld assessments (a)
 

Ähnlich wie 4. empirical and practical issues

Collector app mipn presentation
Collector app mipn presentationCollector app mipn presentation
Collector app mipn presentationslogankoby
 
A Big-Data Process Consigned Geographically by Employing Mapreduce Frame Work
A Big-Data Process Consigned Geographically by Employing Mapreduce Frame WorkA Big-Data Process Consigned Geographically by Employing Mapreduce Frame Work
A Big-Data Process Consigned Geographically by Employing Mapreduce Frame WorkIRJET Journal
 
GPU Support in Spark and GPU/CPU Mixed Resource Scheduling at Production Scale
GPU Support in Spark and GPU/CPU Mixed Resource Scheduling at Production ScaleGPU Support in Spark and GPU/CPU Mixed Resource Scheduling at Production Scale
GPU Support in Spark and GPU/CPU Mixed Resource Scheduling at Production Scalesparktc
 
Operational Intelligence Using Hadoop
Operational Intelligence Using HadoopOperational Intelligence Using Hadoop
Operational Intelligence Using HadoopDataWorks Summit
 
GPU Support In Spark And GPU/CPU Mixed Resource Scheduling At Production Scale
GPU Support In Spark And GPU/CPU Mixed Resource Scheduling At Production ScaleGPU Support In Spark And GPU/CPU Mixed Resource Scheduling At Production Scale
GPU Support In Spark And GPU/CPU Mixed Resource Scheduling At Production ScaleSpark Summit
 
Inspire in pocket dresden 2
Inspire in  pocket dresden 2Inspire in  pocket dresden 2
Inspire in pocket dresden 2Karel Charvat
 
(Berkeley CS186 guest lecture) Big Data Analytics Systems: What Goes Around C...
(Berkeley CS186 guest lecture) Big Data Analytics Systems: What Goes Around C...(Berkeley CS186 guest lecture) Big Data Analytics Systems: What Goes Around C...
(Berkeley CS186 guest lecture) Big Data Analytics Systems: What Goes Around C...Reynold Xin
 
GI2013 ppt kafka&team-inspire in pocket
GI2013 ppt kafka&team-inspire in  pocketGI2013 ppt kafka&team-inspire in  pocket
GI2013 ppt kafka&team-inspire in pocketIGN Vorstand
 
Report Hadoop Map Reduce
Report Hadoop Map ReduceReport Hadoop Map Reduce
Report Hadoop Map ReduceUrvashi Kataria
 
Using R to Visualize Spatial Data: R as GIS - Guy Lansley
Using R to Visualize Spatial Data: R as GIS - Guy LansleyUsing R to Visualize Spatial Data: R as GIS - Guy Lansley
Using R to Visualize Spatial Data: R as GIS - Guy LansleyGuy Lansley
 
How Apache Spark fits into the Big Data landscape
How Apache Spark fits into the Big Data landscapeHow Apache Spark fits into the Big Data landscape
How Apache Spark fits into the Big Data landscapePaco Nathan
 
Generating Executable Mappings from RDF Data Cube Data Structure Definitions
Generating Executable Mappings from RDF Data Cube Data Structure DefinitionsGenerating Executable Mappings from RDF Data Cube Data Structure Definitions
Generating Executable Mappings from RDF Data Cube Data Structure DefinitionsChristophe Debruyne
 
Adding Location and Geospatial Analytics to Big Data Analytics (BDT210) | AWS...
Adding Location and Geospatial Analytics to Big Data Analytics (BDT210) | AWS...Adding Location and Geospatial Analytics to Big Data Analytics (BDT210) | AWS...
Adding Location and Geospatial Analytics to Big Data Analytics (BDT210) | AWS...Amazon Web Services
 
Leveraging Collector & UtiliSync to Manage Utilities
Leveraging Collector & UtiliSync to Manage UtilitiesLeveraging Collector & UtiliSync to Manage Utilities
Leveraging Collector & UtiliSync to Manage UtilitiesMatthew Stayner
 
Discover PostGIS: Add Spatial functions to PostgreSQL
Discover PostGIS: Add Spatial functions to PostgreSQLDiscover PostGIS: Add Spatial functions to PostgreSQL
Discover PostGIS: Add Spatial functions to PostgreSQLEDB
 
BigDataEurope 1st SC5 Workshop, Project Teleios & LEO, by M. Koubarakis, Univ...
BigDataEurope 1st SC5 Workshop, Project Teleios & LEO, by M. Koubarakis, Univ...BigDataEurope 1st SC5 Workshop, Project Teleios & LEO, by M. Koubarakis, Univ...
BigDataEurope 1st SC5 Workshop, Project Teleios & LEO, by M. Koubarakis, Univ...BigData_Europe
 

Ähnlich wie 4. empirical and practical issues (20)

Collector app mipn presentation
Collector app mipn presentationCollector app mipn presentation
Collector app mipn presentation
 
A Big-Data Process Consigned Geographically by Employing Mapreduce Frame Work
A Big-Data Process Consigned Geographically by Employing Mapreduce Frame WorkA Big-Data Process Consigned Geographically by Employing Mapreduce Frame Work
A Big-Data Process Consigned Geographically by Employing Mapreduce Frame Work
 
Map reducecloudtech
Map reducecloudtechMap reducecloudtech
Map reducecloudtech
 
GPU Support in Spark and GPU/CPU Mixed Resource Scheduling at Production Scale
GPU Support in Spark and GPU/CPU Mixed Resource Scheduling at Production ScaleGPU Support in Spark and GPU/CPU Mixed Resource Scheduling at Production Scale
GPU Support in Spark and GPU/CPU Mixed Resource Scheduling at Production Scale
 
Operational Intelligence Using Hadoop
Operational Intelligence Using HadoopOperational Intelligence Using Hadoop
Operational Intelligence Using Hadoop
 
GPU Support In Spark And GPU/CPU Mixed Resource Scheduling At Production Scale
GPU Support In Spark And GPU/CPU Mixed Resource Scheduling At Production ScaleGPU Support In Spark And GPU/CPU Mixed Resource Scheduling At Production Scale
GPU Support In Spark And GPU/CPU Mixed Resource Scheduling At Production Scale
 
Inspire in pocket dresden 2
Inspire in  pocket dresden 2Inspire in  pocket dresden 2
Inspire in pocket dresden 2
 
(Berkeley CS186 guest lecture) Big Data Analytics Systems: What Goes Around C...
(Berkeley CS186 guest lecture) Big Data Analytics Systems: What Goes Around C...(Berkeley CS186 guest lecture) Big Data Analytics Systems: What Goes Around C...
(Berkeley CS186 guest lecture) Big Data Analytics Systems: What Goes Around C...
 
GIS Presentation.pptx
GIS Presentation.pptxGIS Presentation.pptx
GIS Presentation.pptx
 
GI2013 ppt kafka&team-inspire in pocket
GI2013 ppt kafka&team-inspire in  pocketGI2013 ppt kafka&team-inspire in  pocket
GI2013 ppt kafka&team-inspire in pocket
 
Report Hadoop Map Reduce
Report Hadoop Map ReduceReport Hadoop Map Reduce
Report Hadoop Map Reduce
 
Using R to Visualize Spatial Data: R as GIS - Guy Lansley
Using R to Visualize Spatial Data: R as GIS - Guy LansleyUsing R to Visualize Spatial Data: R as GIS - Guy Lansley
Using R to Visualize Spatial Data: R as GIS - Guy Lansley
 
Big Data Processing
Big Data ProcessingBig Data Processing
Big Data Processing
 
How Apache Spark fits into the Big Data landscape
How Apache Spark fits into the Big Data landscapeHow Apache Spark fits into the Big Data landscape
How Apache Spark fits into the Big Data landscape
 
Generating Executable Mappings from RDF Data Cube Data Structure Definitions
Generating Executable Mappings from RDF Data Cube Data Structure DefinitionsGenerating Executable Mappings from RDF Data Cube Data Structure Definitions
Generating Executable Mappings from RDF Data Cube Data Structure Definitions
 
Adding Location and Geospatial Analytics to Big Data Analytics (BDT210) | AWS...
Adding Location and Geospatial Analytics to Big Data Analytics (BDT210) | AWS...Adding Location and Geospatial Analytics to Big Data Analytics (BDT210) | AWS...
Adding Location and Geospatial Analytics to Big Data Analytics (BDT210) | AWS...
 
Leveraging Collector & UtiliSync to Manage Utilities
Leveraging Collector & UtiliSync to Manage UtilitiesLeveraging Collector & UtiliSync to Manage Utilities
Leveraging Collector & UtiliSync to Manage Utilities
 
Discover PostGIS: Add Spatial functions to PostgreSQL
Discover PostGIS: Add Spatial functions to PostgreSQLDiscover PostGIS: Add Spatial functions to PostgreSQL
Discover PostGIS: Add Spatial functions to PostgreSQL
 
BigDataEurope 1st SC5 Workshop, Project Teleios & LEO, by M. Koubarakis, Univ...
BigDataEurope 1st SC5 Workshop, Project Teleios & LEO, by M. Koubarakis, Univ...BigDataEurope 1st SC5 Workshop, Project Teleios & LEO, by M. Koubarakis, Univ...
BigDataEurope 1st SC5 Workshop, Project Teleios & LEO, by M. Koubarakis, Univ...
 
CFD on Power
CFD on Power CFD on Power
CFD on Power
 

Mehr von LandDegradation

протокол окончат2
протокол окончат2протокол окончат2
протокол окончат2LandDegradation
 
монография окончательная
монография окончательнаямонография окончательная
монография окончательнаяLandDegradation
 
план методические рекомендации
план методические рекомендацииплан методические рекомендации
план методические рекомендацииLandDegradation
 
материалы для приложения 3
материалы для приложения 3материалы для приложения 3
материалы для приложения 3LandDegradation
 
материалы для приложения 4
материалы для приложения 4материалы для приложения 4
материалы для приложения 4LandDegradation
 
материалы для приложения
материалы для приложенияматериалы для приложения
материалы для приложенияLandDegradation
 
материалы для приложения 2
материалы для приложения 2материалы для приложения 2
материалы для приложения 2LandDegradation
 
охрана почв и земель
охрана почв и земельохрана почв и земель
охрана почв и земельLandDegradation
 
Krasilnikov global soil security
Krasilnikov global soil securityKrasilnikov global soil security
Krasilnikov global soil securityLandDegradation
 

Mehr von LandDegradation (20)

протокол 1 14
протокол 1 14протокол 1 14
протокол 1 14
 
протокол окончат2
протокол окончат2протокол окончат2
протокол окончат2
 
протокол 1а 14
протокол 1а 14протокол 1а 14
протокол 1а 14
 
протокол 1 14
протокол 1 14протокол 1 14
протокол 1 14
 
протокол1 16
протокол1 16протокол1 16
протокол1 16
 
монография окончательная
монография окончательнаямонография окончательная
монография окончательная
 
план методические рекомендации
план методические рекомендацииплан методические рекомендации
план методические рекомендации
 
протокол 9
протокол 9протокол 9
протокол 9
 
материалы для приложения 3
материалы для приложения 3материалы для приложения 3
материалы для приложения 3
 
материалы для приложения 4
материалы для приложения 4материалы для приложения 4
материалы для приложения 4
 
материалы для приложения
материалы для приложенияматериалы для приложения
материалы для приложения
 
материалы для приложения 2
материалы для приложения 2материалы для приложения 2
материалы для приложения 2
 
начало книги
начало книгиначало книги
начало книги
 
охрана почв и земель
охрана почв и земельохрана почв и земель
охрана почв и земель
 
Protokol 8
Protokol 8Protokol 8
Protokol 8
 
Krasilnikov global soil security
Krasilnikov global soil securityKrasilnikov global soil security
Krasilnikov global soil security
 
Strokob
StrokobStrokob
Strokob
 
протокол 7
протокол 7протокол 7
протокол 7
 
Certificate 1
Certificate 1Certificate 1
Certificate 1
 
протокол №4
протокол №4протокол №4
протокол №4
 

Kürzlich hochgeladen

VVIP Pune Call Girls Wagholi WhatSapp Number 8005736733 With Elite Staff And ...
VVIP Pune Call Girls Wagholi WhatSapp Number 8005736733 With Elite Staff And ...VVIP Pune Call Girls Wagholi WhatSapp Number 8005736733 With Elite Staff And ...
VVIP Pune Call Girls Wagholi WhatSapp Number 8005736733 With Elite Staff And ...SUHANI PANDEY
 
Alandi Road ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Alandi Road ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Alandi Road ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Alandi Road ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...tanu pandey
 
Booking open Available Pune Call Girls Parvati Darshan 6297143586 Call Hot I...
Booking open Available Pune Call Girls Parvati Darshan  6297143586 Call Hot I...Booking open Available Pune Call Girls Parvati Darshan  6297143586 Call Hot I...
Booking open Available Pune Call Girls Parvati Darshan 6297143586 Call Hot I...Call Girls in Nagpur High Profile
 
DENR EPR Law Compliance Updates April 2024
DENR EPR Law Compliance Updates April 2024DENR EPR Law Compliance Updates April 2024
DENR EPR Law Compliance Updates April 2024itadmin50
 
Booking open Available Pune Call Girls Budhwar Peth 6297143586 Call Hot Indi...
Booking open Available Pune Call Girls Budhwar Peth  6297143586 Call Hot Indi...Booking open Available Pune Call Girls Budhwar Peth  6297143586 Call Hot Indi...
Booking open Available Pune Call Girls Budhwar Peth 6297143586 Call Hot Indi...Call Girls in Nagpur High Profile
 
Call Girls Ramtek Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Ramtek Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Ramtek Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Ramtek Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
VIP Model Call Girls Uruli Kanchan ( Pune ) Call ON 8005736733 Starting From ...
VIP Model Call Girls Uruli Kanchan ( Pune ) Call ON 8005736733 Starting From ...VIP Model Call Girls Uruli Kanchan ( Pune ) Call ON 8005736733 Starting From ...
VIP Model Call Girls Uruli Kanchan ( Pune ) Call ON 8005736733 Starting From ...SUHANI PANDEY
 
Call Now ☎️🔝 9332606886 🔝 Call Girls ❤ Service In Muzaffarpur Female Escorts ...
Call Now ☎️🔝 9332606886 🔝 Call Girls ❤ Service In Muzaffarpur Female Escorts ...Call Now ☎️🔝 9332606886 🔝 Call Girls ❤ Service In Muzaffarpur Female Escorts ...
Call Now ☎️🔝 9332606886 🔝 Call Girls ❤ Service In Muzaffarpur Female Escorts ...Anamikakaur10
 
Cheap Call Girls in Dubai %(+971524965298 )# Dubai Call Girl Service By Rus...
Cheap Call Girls  in Dubai %(+971524965298 )#  Dubai Call Girl Service By Rus...Cheap Call Girls  in Dubai %(+971524965298 )#  Dubai Call Girl Service By Rus...
Cheap Call Girls in Dubai %(+971524965298 )# Dubai Call Girl Service By Rus...Escorts Call Girls
 
VIP Call Girls Valsad 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Valsad 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Valsad 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Valsad 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
VIP Model Call Girls Viman Nagar ( Pune ) Call ON 8005736733 Starting From 5K...
VIP Model Call Girls Viman Nagar ( Pune ) Call ON 8005736733 Starting From 5K...VIP Model Call Girls Viman Nagar ( Pune ) Call ON 8005736733 Starting From 5K...
VIP Model Call Girls Viman Nagar ( Pune ) Call ON 8005736733 Starting From 5K...SUHANI PANDEY
 
RATING SYSTEMS- IGBC, GRIHA, LEED--.pptx
RATING  SYSTEMS- IGBC, GRIHA, LEED--.pptxRATING  SYSTEMS- IGBC, GRIHA, LEED--.pptx
RATING SYSTEMS- IGBC, GRIHA, LEED--.pptxJIT KUMAR GUPTA
 
CSR_Module5_Green Earth Initiative, Tree Planting Day
CSR_Module5_Green Earth Initiative, Tree Planting DayCSR_Module5_Green Earth Initiative, Tree Planting Day
CSR_Module5_Green Earth Initiative, Tree Planting DayGeorgeDiamandis11
 
Call Girls Jejuri Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Jejuri Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Jejuri Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Jejuri Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
VIP Model Call Girls Wagholi ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Wagholi ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Wagholi ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Wagholi ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 
Call Now ☎ Russian Call Girls Connaught Place @ 9899900591 # Russian Escorts ...
Call Now ☎ Russian Call Girls Connaught Place @ 9899900591 # Russian Escorts ...Call Now ☎ Russian Call Girls Connaught Place @ 9899900591 # Russian Escorts ...
Call Now ☎ Russian Call Girls Connaught Place @ 9899900591 # Russian Escorts ...kauryashika82
 
VVIP Pune Call Girls Moshi WhatSapp Number 8005736733 With Elite Staff And Re...
VVIP Pune Call Girls Moshi WhatSapp Number 8005736733 With Elite Staff And Re...VVIP Pune Call Girls Moshi WhatSapp Number 8005736733 With Elite Staff And Re...
VVIP Pune Call Girls Moshi WhatSapp Number 8005736733 With Elite Staff And Re...SUHANI PANDEY
 

Kürzlich hochgeladen (20)

VVIP Pune Call Girls Wagholi WhatSapp Number 8005736733 With Elite Staff And ...
VVIP Pune Call Girls Wagholi WhatSapp Number 8005736733 With Elite Staff And ...VVIP Pune Call Girls Wagholi WhatSapp Number 8005736733 With Elite Staff And ...
VVIP Pune Call Girls Wagholi WhatSapp Number 8005736733 With Elite Staff And ...
 
Alandi Road ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Alandi Road ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Alandi Road ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Alandi Road ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
 
Booking open Available Pune Call Girls Parvati Darshan 6297143586 Call Hot I...
Booking open Available Pune Call Girls Parvati Darshan  6297143586 Call Hot I...Booking open Available Pune Call Girls Parvati Darshan  6297143586 Call Hot I...
Booking open Available Pune Call Girls Parvati Darshan 6297143586 Call Hot I...
 
DENR EPR Law Compliance Updates April 2024
DENR EPR Law Compliance Updates April 2024DENR EPR Law Compliance Updates April 2024
DENR EPR Law Compliance Updates April 2024
 
Booking open Available Pune Call Girls Budhwar Peth 6297143586 Call Hot Indi...
Booking open Available Pune Call Girls Budhwar Peth  6297143586 Call Hot Indi...Booking open Available Pune Call Girls Budhwar Peth  6297143586 Call Hot Indi...
Booking open Available Pune Call Girls Budhwar Peth 6297143586 Call Hot Indi...
 
Call Girls Ramtek Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Ramtek Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Ramtek Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Ramtek Call Me 7737669865 Budget Friendly No Advance Booking
 
VIP Model Call Girls Uruli Kanchan ( Pune ) Call ON 8005736733 Starting From ...
VIP Model Call Girls Uruli Kanchan ( Pune ) Call ON 8005736733 Starting From ...VIP Model Call Girls Uruli Kanchan ( Pune ) Call ON 8005736733 Starting From ...
VIP Model Call Girls Uruli Kanchan ( Pune ) Call ON 8005736733 Starting From ...
 
Call Now ☎️🔝 9332606886 🔝 Call Girls ❤ Service In Muzaffarpur Female Escorts ...
Call Now ☎️🔝 9332606886 🔝 Call Girls ❤ Service In Muzaffarpur Female Escorts ...Call Now ☎️🔝 9332606886 🔝 Call Girls ❤ Service In Muzaffarpur Female Escorts ...
Call Now ☎️🔝 9332606886 🔝 Call Girls ❤ Service In Muzaffarpur Female Escorts ...
 
Cheap Call Girls in Dubai %(+971524965298 )# Dubai Call Girl Service By Rus...
Cheap Call Girls  in Dubai %(+971524965298 )#  Dubai Call Girl Service By Rus...Cheap Call Girls  in Dubai %(+971524965298 )#  Dubai Call Girl Service By Rus...
Cheap Call Girls in Dubai %(+971524965298 )# Dubai Call Girl Service By Rus...
 
(INDIRA) Call Girl Katra Call Now 8617697112 Katra Escorts 24x7
(INDIRA) Call Girl Katra Call Now 8617697112 Katra Escorts 24x7(INDIRA) Call Girl Katra Call Now 8617697112 Katra Escorts 24x7
(INDIRA) Call Girl Katra Call Now 8617697112 Katra Escorts 24x7
 
(NEHA) Call Girls Navi Mumbai Call Now 8250077686 Navi Mumbai Escorts 24x7
(NEHA) Call Girls Navi Mumbai Call Now 8250077686 Navi Mumbai Escorts 24x7(NEHA) Call Girls Navi Mumbai Call Now 8250077686 Navi Mumbai Escorts 24x7
(NEHA) Call Girls Navi Mumbai Call Now 8250077686 Navi Mumbai Escorts 24x7
 
VIP Call Girls Valsad 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Valsad 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Valsad 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Valsad 7001035870 Whatsapp Number, 24/07 Booking
 
VIP Model Call Girls Viman Nagar ( Pune ) Call ON 8005736733 Starting From 5K...
VIP Model Call Girls Viman Nagar ( Pune ) Call ON 8005736733 Starting From 5K...VIP Model Call Girls Viman Nagar ( Pune ) Call ON 8005736733 Starting From 5K...
VIP Model Call Girls Viman Nagar ( Pune ) Call ON 8005736733 Starting From 5K...
 
RATING SYSTEMS- IGBC, GRIHA, LEED--.pptx
RATING  SYSTEMS- IGBC, GRIHA, LEED--.pptxRATING  SYSTEMS- IGBC, GRIHA, LEED--.pptx
RATING SYSTEMS- IGBC, GRIHA, LEED--.pptx
 
CSR_Module5_Green Earth Initiative, Tree Planting Day
CSR_Module5_Green Earth Initiative, Tree Planting DayCSR_Module5_Green Earth Initiative, Tree Planting Day
CSR_Module5_Green Earth Initiative, Tree Planting Day
 
Call Girls Jejuri Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Jejuri Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Jejuri Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Jejuri Call Me 7737669865 Budget Friendly No Advance Booking
 
Climate Change
Climate ChangeClimate Change
Climate Change
 
VIP Model Call Girls Wagholi ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Wagholi ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Wagholi ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Wagholi ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Call Now ☎ Russian Call Girls Connaught Place @ 9899900591 # Russian Escorts ...
Call Now ☎ Russian Call Girls Connaught Place @ 9899900591 # Russian Escorts ...Call Now ☎ Russian Call Girls Connaught Place @ 9899900591 # Russian Escorts ...
Call Now ☎ Russian Call Girls Connaught Place @ 9899900591 # Russian Escorts ...
 
VVIP Pune Call Girls Moshi WhatSapp Number 8005736733 With Elite Staff And Re...
VVIP Pune Call Girls Moshi WhatSapp Number 8005736733 With Elite Staff And Re...VVIP Pune Call Girls Moshi WhatSapp Number 8005736733 With Elite Staff And Re...
VVIP Pune Call Girls Moshi WhatSapp Number 8005736733 With Elite Staff And Re...
 

4. empirical and practical issues

  • 1. Economics of Land Degradation and Improvement Jann Goedecke ZEF Interdisciplinary Course 2014
  • 2. 4. Empirical approaches 1. Matching large datasets based on geographical information in ArcGIS 2. Reading GIS files into Stata 3. Cost of action vs cost of inaction – the biomodelling approach 4. Geocoding villages 5. Stata‘s kountry command 2
  • 3. 1. Matching large datasets based on geographical information in ArcGIS 3
  • 4. Matching large datasets • Spatially joining means, linking two datasets based on their geographic features. • By overlaying the data, we can calculate which geographic features belong together • Different types of features can be joined: – Points to polygons – Points to lines – Polygons to polygons – … 4
  • 5. Matching large datasets • Often, we want to join point information to geographic polygons • Points are usually stored in shapefiles • Polygons, however, are sometimes stored as raster data (i.e. in quadratic tiles), sometimes also as shapefiles • ArcGIS provides tools for either way: – Extract values to points does the job with rasters – Spatial join with option „points to polygons“ is suitable for shapefiles 5
  • 6. Matching large datasets • However, ArcGIS becomes instable when datasets are really large (as is Bao Le‘s rastered land degradation with (8km)² tiles for the world) • The data can be cut into smaller parts to circumvent this (eg, one file per country) • Python, the programming language used in ArcGIS, permits looping the extract values to points process over all country datasets 6
  • 7. Matching large datasets for attempt in range(5): try: arcpy.gp.ExtractValuesToPoints_sa("combined_dataAFG. shp","LPD_Spot_1999-2013.tif", "SplitExtractedAFG_LPD.shp", "INTERPOLATE","VALUE_ONLY") except RuntimeError: print "Runtime error with AFG" continue else: break else: print "All attempts failed with AFG" 7
  • 8. Matching large datasets for attempt in range(5): try: arcpy.gp.ExtractValuesToPoints_sa("combined_dataBRA. shp","LPD_Spot_1999-2013.tif", "SplitExtractedBRA_LPD.shp", "INTERPOLATE","VALUE_ONLY") except RuntimeError: print "Runtime error with BRA" continue else: break else: print "All attempts failed with BRA" 8
  • 9. 2. Reading GIS files into Stata 9
  • 10. Reading GIS files into Stata • Shapefile = geospatial vector data format for geographic information system (GIS) software • Shapefiles come in a bundle: – filename.shp: contains the actual geographic data – filename.dbf: the database attached to the geographic features – filename.shx: a positional index of the shapefile geometry (not relevant here) – + ancillary, optional files 10
  • 11. Reading GIS files into Stata • shapefiles and related files must have the same filename prefix and be located in the same folder • The Stata command shp2dta can read the „*.shp“ and „*.dbf“ files: shp2dta using filename, data(newfile_dbf) coord(newfile_shp) • This produces files newfile_dbf.dta and newfile_shp.dta in current working folder • Both created datasets now contain a new variable _ID through which they can be linked. 11
  • 12. Reading GIS files into Stata • This is how the coord data can look like: 12 … if it was a polygon shapefile … if it was a points shapefile
  • 13. Reading GIS files into Stata • This is how the data file may look like: 13
  • 14. Mapping from within Stata • The user-written command spmap allows to map with Stata‘s graph features • See Maurizio Pisati‘s excellent presentation for more information • Be aware that both commands need to be installed first 14
  • 15. Mapping from within Stata 15 The product of spmap may look like this
  • 16. 2. Cost of action vs cost of inaction – the biomodelling approach 16
  • 17. Cost of action vs cost of inaction – the biomodelling approach • Biomodeled data predicts outcomes for a given pixel for different scenarios: – Irrigated vs rainfed – ISFM vs business as usual land management – Type of crop grown – Year (next 40) Variables of interest: – LD costs, component 1: future costs of not switching to ISFM today in degraded areas – LD costs, component 2: productivity decline in areas already under ISFM due to external factors – Total co2 sequest: loss: future value of foregone carbon sequestration due to not switching to ISFM today in degraded areas – Co2 sequestration loss isfm: lost value of carbon sequestration in areas already under ISFM due to external factors • C:UsersjgoedeckeDropboxZEFIndia Review PaperStata_filesJawoo_costs.do 17
  • 19. Geocoding villages • Sometimes our initial dataset originates from a survey where no GIS information has been collected • But usually the state, district, and village is documented • Ideally, we would like to merge (external) geographic data (such as land characteristics) to our main data 19
  • 20. Geocoding villages • Assigning geographic coordinates to given locations is called geocoding • http://www.findlatitudeandlongitude.com/batc h-geocode/#.VH460slNe6U provides a handy tool to geocode many different locations in short time • The underlying database is Google Maps, which allows 2500 free geocoding queries per IP-adress per day (5/sec) 20
  • 21. Geocoding villages • Another tool developed by researchers from University of Tokyo in a large scale project is the India place finder: http://india.csis.u-tokyo.ac.jp/csvmode • Unique and very powerful, since information was gathered from many different sources • They also created a „global place finder“, which is, however, only based on Google Maps. So there is probably not much added value to longitude and latitude finder. 21
  • 22. 5. Stata‘s kountry command 22
  • 23. Stata‘s kountry command • Back to Stata: if we deal with world-wide data, at some point we usually encounter issues of linking datasets based on country information • Unfortunately, countries have a range of possible names under which they are stored – Russia / Russian Federation – Cote d‘Ivoire / Ivory Coast – Iran / Islamic Republic of Iran – … 23
  • 24. Stata‘s kountry command • Thus we need standardized names to link datasets based on country names • Another user-written tool, kountry, is helpful kountry kountryvar, from(other) stuck • That generates a new (numeric) standardized variable called _ISO3N_ 24
  • 25. Stata‘s kountry command • This, in turn, can be recoded into well-known formats such as the World Bank ISO codes: • kountry iso3n, from(iso3n) to(iso3c) • which creates the variable _ISO3C_, as issued by the World Bank. • Other common formats are possible as well. Check 25
  • 26. 26