SlideShare uma empresa Scribd logo
1 de 32
Baixar para ler offline
FOSS4G ASIA 2018 2018/12/03
Developing a Deep Learning
tool for Map Tiles
N. Iwasaki, D. S. Sprague, N. Ishitsuka
and T. Sakamoto
Institute for Agro-Environmental Sciences, NARO
1
/32
Geospatial information as a Big Data
• Huge amount of Data
– Satellite image, GPS, OSM, Drone, IoT Sensor, etc…
• Open Data policy
– We can obtain huge amount of data free
2
Introduction
Brovellia 2015, https://www.slideshare.net/mariabrovelli/the-role-of-geospatial-information-in-a-hyper-connected-society
/32
Deep Learning and Geospatial Big Data
• A combination of geospatial data and
deep learning have great potential
3
Introduction
https://pacificspatial.com/wp-content/uploads/2016/12/20181024_DigitalGlobe_%E9%85%8D%E5%B8%83%E7%94%A8.pdf
/32
Agenda
• Introduction
– Geospatial information as a Big Data
– Map tile for geospatial analysis
– Deep Learning for geospatial data
• Development of Deep Learning tools for map
tile
– pix2pix for map tile
– qpix2pix
• Case study
– Multimodal data to semantic map
– Topographic map to semantic map
• Conclusion
4
Introduction
/32
Deep Learning and Geospatial Big Data
• A combination of geospatial data and
deep learning have great potential
5
Introduction
https://github.com/mapbox/robosat
https://2017.stateofthemap.Zorg/2017/ai-assisted-road-tracing-for-openstreetmap/
/32
Barrier for utilization of Geospatial Big Data
• Data preparation
– Deep Learning needs huge amount of data
• We have to spend huge time to data preparation
– NOT ONLY Deep Learning, BUT ALSO GIS analysis
– Download, unzip, transform, convert, merge, etc…
• Just like prepare material for cooking
6
Introduction
/32
Map tile (or Slippy map)
• Standardized geospatial information
– typically 256×256 pixel images
• Approximate hole earth as square
– Z0: hole earth, Z1:Divied 2 by 2, Z02:…
• Access to map tile as below
• http://hoge.hoge/{z}/{x}/{y}.ext
– X Direction:West-East, Y direction:North-Sount, Z : Zoom
7
Introduction
Sematic diagram of Map tile
GSI, Japan
/32
Week point of traditional Geospatial data
• Non-visualized data. Unclear whether useful
data or not.
• It is required to do many preparation, such
as convert file type, change coordinate
system, extract and merge data, etc…
8
Introduction
/32
Advantage of Map tile
• Non-visualized data. Unclear whether useful
data or not.
Available as Web Map
Easy to confirm useful or not
• It is required to do many preparation, such
as convert file type, change coordinate
system, extract and merge data, etc…
Unified coordinate system and easy
handling format
JPG, PNG, GeoJSON
Only “{z}/{x}/{y}” is required
9
Introduction
/32
Advantage of map tile for Deep Learning
• Huge amount and various kind of data
is already available
– For training and target data
• For ex. Terrapattern, Using OpenStreetMap
10
Introduction
https://techcrunch.com/2016/05/25/terrapattern-is-a-neural-net-powered-reverse-image-search-for-maps/
FOSS4G ASIA 2018 2018/12/03
Map tile
Background image
FOSS4G ASIA 2018 2018/12/03
Map tile
Background image
Visualization
Analysis target
General purpose geospatial data format
/32
Purpose
• Development of deep learning tools
for Map tile
• Applying Deep learning to Map tile
– Multimodal data to semantic map
– Topographic map to semantic map
• Evaluate efficacy of Map tile for Deep
Learning material
13
Introduction
/32
Generative Adversarial Network (GAN)
• Generative model (not classification model)
– Training Generator and Discriminator
• Generator generate fake and Discriminator classify it as a
"Real" sample.
• The goal is that Generator creates images that is difficult
to determine authenticity by Discriminator
• pix2pix is a famous program
– https://github.com/phillipi/pix2pix
14
Development of deep learning tools for Map tile
Model of Generative Adversarial Network
https://stats.stackexchange.com/questions/277756/some-general-questions-on-generative-
adversarial-networks
/32
pix2pix for Map tile
15
Development of deep learning tools for Map tile
Sample of images generated by pix2pix.
https://qiita.com/octpath/items/acaf5b4dbcb4e105a8d3
• Improve pix2pix to be possible to use
map tile directory
– Possible to multi layers as input data
• Published in GitHub
• https://github.com/NARO-41605/pix2pix_map_tiles
/32
Workflow of pix2pix for map tile
• DataSetMake_tfwiter.py
– Download map tile and prepare training data
• pix2pix_multi.py
– Performing Deep Learning and confirming result
• qpix2pix
– Apply pix2pix model to certain area
16
Development of deep learning tools for Map tile
DataSetMake_tfwiter.py
pix2pix_multi.py
Download data
Prepare training data
Create model
Model
confirming result
qpix2pix
Apply model
/32
Workflow of pix2pix for map tile
• Working environment
– Ubuntu 16.04, Python 2.14, tensorflow,
pix2pix-tensorflow
• Recommend: GPU Device and CUDA.
– QGIS 2.18
17
Development of deep learning tools for Map tile
DataSetMake_tfwiter.py
pix2pix_multi.py
qpix2pix
Download data
Prepare training data
Create model
Model
confirming result
Apply model
/32
Workflow of pix2pix for map tile
• DataSetMake_tfwiter.py
• Input JSON
18
Development of deep learning tools for Map tile
python DataSetMake_tfwiter.py "images_x_start" "images_x_end"
"images_y_start" "images_y_end" "zoom_level"
--inputJson "INPUTJSON"
--outputPath "OUTPUTPATH"
{
"targetURL": {URL of target map tile, type, format} ,
"inputURL": [
{URL of training map tile 1 , type, format} ,
{URL of training map tile 2 , type, format}
]
}
/32
Workflow of pix2pix for map tile
• pix2pix_multi.py
19
Development of deep learning tools for Map tile
pix2pix_multi.py --input_dir "INPUT_DIR"
--mode {train,test} #train: training, test:confirm model
--output_dir "OUTPUT_DIR"
--checkpoint "CHECKPOINT"
--max_steps "MAX_STEPS"
--max_epochs "MAX_EPOCHS“
--ngf "NGF“ #
--ndf "NDF“ #
--input_ch "INPUT_CH"
--target_ch "TARGET_CH"
--GPUdevice "GPUDEVICE"
/32
QGIS Plugin for using pix2pix model
• Qpix2pix
– Classify displayed image
20
pix2pix for Map tilesの開発
/32
Case study
1. From Landsat and DEM to Paddy rice
planted area.
– Test for simple data conversion
2. From Landsat and DEM to Vegetation
map.
– Test for semantic map
3. Old Topographic map to Land use
map
– BW map to color map
21
Development of deep learning tools for Map tile
/32
Data for Deep Learning
• Training data
– Landsat: May and November 2000
• Pan sharpened and Thermal image, from AIST
– DEM
• Target Data
– Paddy planted area (Sakamot et al., 2017), from Github
• https://github.com/NARO-41605/JPaddyMap_test
22
From Landsat and DEM image to Paddy planted area
Training data
Target Data
/32
Usage of DataSetMake.py and pix2pix_multi.py
23
From Landsat and DEM image to Paddy planted area
$ python DataSetMake_tfwiter.py 7268 7272 3213 3216 13
--inputJson jsonLan2Jpaddy.txt --outputPath train_data
$ python pix2pix_multi.py --mode train --input_dir train_data --input_ch 20 --target_ch 4
--max_steps 100 --max_epochs 20 --output_dir ./trained_model --GPUdevice 0
$ python pix2pix_multi.py --mode test --input_dir train_data --input_ch 20 --target_ch 4
--output_dir ./target_html --checkpoint ./trained_model --GPUdevice 0
jsonLan2Jpaddy.txt
/32
Result
• To develop original map, required
complex data
– Vegetation map, statistical data
• We can developed similar map with only
few command and public available data
– But, quality is not verified
24
From Landsat and DEM image to Paddy planted area
/32
Data for Deep Learning
• Training data
– Landsat: May and November 2000
• Pan sharpened and Thermal image, from AIST
– DEM, from GSI, Japan.
• Target Data
– Vegetation map, produce my MOE and published by
ECORIS
25
From Landsat and DEM image to Vegetation map
Training data Target Data
/32
Result
• It is confirmed that generate another
map from same data.
26
From Landsat and DEM image to Vegetation map
/32
Result
• Over all quality is seems good
– But details are not enough
• Still just similar image
27
From Landsat and DEM image to Vegetation map
Result Target
/32
Result
• Over all quality is seems good
– But details are not enough
• More contrasted color map may be needed
– Similar color is not good for GAN
28
From Landsat and DEM image to Vegetation map
Result Target
/32
BW map to color
• Training data
– Old Black white topographic map
• Target data
– Land use map derived from the topographic
map
29
From Landsat and DEM image to Vegetation map
Training Target
/32
Result
• Accuracy is depend map legend and
density.
30
From Landsat and DEM image to Vegetation map
Target
Result
/32
Result
• Accuracy is depend map legend and
density.
31
From Landsat and DEM image to Vegetation map
Target
Result
/32
Conclusion
• Map tile as General geospatial data
– Huge amount of data has published
– Valuable for deep learning
• Development of pix2pix for Map Tile
– Use multiple map tile as training data
• Some case study
– It is confirmed that it is possible to develop
several maps easily.
– But, improvement and evaluation of
classification accuracy is father work.
• Map tile is useful for Deep Learning data.
– Further work
• Possible to semantic segmentation and evaluation
Developing a Deep Learning tool for Map Tiles 32

Mais conteúdo relacionado

Mais procurados

raster data model
raster data modelraster data model
raster data modelRiya Gupta
 
GIS- Lecture 6
GIS- Lecture 6GIS- Lecture 6
GIS- Lecture 6sorbi
 
Raster data model
Raster data modelRaster data model
Raster data modelPramoda Raj
 
Basic of gis concept and theories
Basic of gis concept and theoriesBasic of gis concept and theories
Basic of gis concept and theoriesMohsin Siddique
 
THE NATURE AND SOURCE OF GEOGRAPHIC DATA
THE NATURE AND SOURCE OF GEOGRAPHIC DATATHE NATURE AND SOURCE OF GEOGRAPHIC DATA
THE NATURE AND SOURCE OF GEOGRAPHIC DATANadia Aziz
 
Intro of geographic info system
Intro of geographic info systemIntro of geographic info system
Intro of geographic info systemJanak Parmar
 
Geographic query and analysis
Geographic query and analysisGeographic query and analysis
Geographic query and analysisMohsin Siddique
 
Data input and transformation
Data input and transformationData input and transformation
Data input and transformationMohsin Siddique
 
Review presentation for Orientation 2014
Review presentation for Orientation 2014Review presentation for Orientation 2014
Review presentation for Orientation 2014DUSPviz
 
Data models in geographical information system(GIS)
Data models in geographical information system(GIS)Data models in geographical information system(GIS)
Data models in geographical information system(GIS)Pramoda Raj
 
Data Models - GIS I
Data Models - GIS IData Models - GIS I
Data Models - GIS IJohn Reiser
 
Raster data model
Raster data modelRaster data model
Raster data modelPramoda Raj
 

Mais procurados (19)

raster data model
raster data modelraster data model
raster data model
 
Geographical Information System (GIS)
Geographical Information System (GIS)Geographical Information System (GIS)
Geographical Information System (GIS)
 
Topology in GIS
Topology in GISTopology in GIS
Topology in GIS
 
GIS- Lecture 6
GIS- Lecture 6GIS- Lecture 6
GIS- Lecture 6
 
Raster data model
Raster data modelRaster data model
Raster data model
 
Basic of gis concept and theories
Basic of gis concept and theoriesBasic of gis concept and theories
Basic of gis concept and theories
 
THE NATURE AND SOURCE OF GEOGRAPHIC DATA
THE NATURE AND SOURCE OF GEOGRAPHIC DATATHE NATURE AND SOURCE OF GEOGRAPHIC DATA
THE NATURE AND SOURCE OF GEOGRAPHIC DATA
 
Intro of geographic info system
Intro of geographic info systemIntro of geographic info system
Intro of geographic info system
 
Raster data model
Raster data modelRaster data model
Raster data model
 
Geographic query and analysis
Geographic query and analysisGeographic query and analysis
Geographic query and analysis
 
Data input and transformation
Data input and transformationData input and transformation
Data input and transformation
 
functions of GIS
functions of GISfunctions of GIS
functions of GIS
 
Review presentation for Orientation 2014
Review presentation for Orientation 2014Review presentation for Orientation 2014
Review presentation for Orientation 2014
 
Raster data and Vector data
Raster data and Vector dataRaster data and Vector data
Raster data and Vector data
 
Data models in geographical information system(GIS)
Data models in geographical information system(GIS)Data models in geographical information system(GIS)
Data models in geographical information system(GIS)
 
Data Models - GIS I
Data Models - GIS IData Models - GIS I
Data Models - GIS I
 
Raster data model
Raster data modelRaster data model
Raster data model
 
GIS & Raster
GIS & RasterGIS & Raster
GIS & Raster
 
GIS data structure
GIS data structureGIS data structure
GIS data structure
 

Semelhante a Developing a Deep Learning tool for Map Tiles

MapInfo Professional 12.5 and Discover3D 2014 - A brief overview
MapInfo Professional 12.5 and Discover3D 2014 - A brief overviewMapInfo Professional 12.5 and Discover3D 2014 - A brief overview
MapInfo Professional 12.5 and Discover3D 2014 - A brief overviewPrakher Hajela Saxena
 
GIS Orientation 2015
GIS Orientation 2015GIS Orientation 2015
GIS Orientation 2015DUSPviz
 
Danish groundwater mapping – geological information building and disseminatio...
Danish groundwater mapping – geological information building and disseminatio...Danish groundwater mapping – geological information building and disseminatio...
Danish groundwater mapping – geological information building and disseminatio...Geological Survey of Sweden
 
EDINA Geoservices: Geological Society Higher Education Network 2015
EDINA Geoservices: Geological Society Higher Education Network 2015EDINA Geoservices: Geological Society Higher Education Network 2015
EDINA Geoservices: Geological Society Higher Education Network 2015Tom Armitage
 
Final thesis presentation
Final thesis presentationFinal thesis presentation
Final thesis presentationPawan Singh
 
Fundamentals_of_GIS_Estoque.pdf
Fundamentals_of_GIS_Estoque.pdfFundamentals_of_GIS_Estoque.pdf
Fundamentals_of_GIS_Estoque.pdfmichael152973
 
The recovery of netherlands geographic information system (nlgis 2)
The recovery of netherlands geographic information system (nlgis 2)The recovery of netherlands geographic information system (nlgis 2)
The recovery of netherlands geographic information system (nlgis 2)vty
 
Theoretical Concepts in GIS Vanessa Quiñones Orfila PSM
Theoretical Concepts in GIS Vanessa Quiñones Orfila PSMTheoretical Concepts in GIS Vanessa Quiñones Orfila PSM
Theoretical Concepts in GIS Vanessa Quiñones Orfila PSMVanessa Quiñones
 
Suffolk Geography Conference 2
Suffolk Geography Conference 2Suffolk Geography Conference 2
Suffolk Geography Conference 2GeoBlogs
 
Synthetic Data and Graphics Techniques in Robotics
Synthetic Data and Graphics Techniques in RoboticsSynthetic Data and Graphics Techniques in Robotics
Synthetic Data and Graphics Techniques in RoboticsPrabindh Sundareson
 
Gis powerpoint
Gis powerpointGis powerpoint
Gis powerpointkaushdave
 
GIS Analysis For Site Remediation
GIS Analysis For Site RemediationGIS Analysis For Site Remediation
GIS Analysis For Site RemediationJoseph Luchette
 
Beyond Tracing Paper
Beyond Tracing PaperBeyond Tracing Paper
Beyond Tracing PaperGeoBlogs
 

Semelhante a Developing a Deep Learning tool for Map Tiles (20)

MapInfo Professional 12.5 and Discover3D 2014 - A brief overview
MapInfo Professional 12.5 and Discover3D 2014 - A brief overviewMapInfo Professional 12.5 and Discover3D 2014 - A brief overview
MapInfo Professional 12.5 and Discover3D 2014 - A brief overview
 
Mapinfo 2014
Mapinfo 2014Mapinfo 2014
Mapinfo 2014
 
GIS Orientation 2015
GIS Orientation 2015GIS Orientation 2015
GIS Orientation 2015
 
Danish groundwater mapping – geological information building and disseminatio...
Danish groundwater mapping – geological information building and disseminatio...Danish groundwater mapping – geological information building and disseminatio...
Danish groundwater mapping – geological information building and disseminatio...
 
EDINA Geoservices: Geological Society Higher Education Network 2015
EDINA Geoservices: Geological Society Higher Education Network 2015EDINA Geoservices: Geological Society Higher Education Network 2015
EDINA Geoservices: Geological Society Higher Education Network 2015
 
GIS.pptx
GIS.pptxGIS.pptx
GIS.pptx
 
Final thesis presentation
Final thesis presentationFinal thesis presentation
Final thesis presentation
 
Fundamentals_of_GIS_Estoque.pdf
Fundamentals_of_GIS_Estoque.pdfFundamentals_of_GIS_Estoque.pdf
Fundamentals_of_GIS_Estoque.pdf
 
Symposium 2008
Symposium 2008Symposium 2008
Symposium 2008
 
Gis
GisGis
Gis
 
The recovery of netherlands geographic information system (nlgis 2)
The recovery of netherlands geographic information system (nlgis 2)The recovery of netherlands geographic information system (nlgis 2)
The recovery of netherlands geographic information system (nlgis 2)
 
Theoretical Concepts in GIS Vanessa Quiñones Orfila PSM
Theoretical Concepts in GIS Vanessa Quiñones Orfila PSMTheoretical Concepts in GIS Vanessa Quiñones Orfila PSM
Theoretical Concepts in GIS Vanessa Quiñones Orfila PSM
 
Suffolk Geography Conference 2
Suffolk Geography Conference 2Suffolk Geography Conference 2
Suffolk Geography Conference 2
 
Rs unit iii-gis--- [repaired]
Rs unit iii-gis--- [repaired]Rs unit iii-gis--- [repaired]
Rs unit iii-gis--- [repaired]
 
Rs unit iii-gis--- [repaired]
Rs unit iii-gis--- [repaired]Rs unit iii-gis--- [repaired]
Rs unit iii-gis--- [repaired]
 
Synthetic Data and Graphics Techniques in Robotics
Synthetic Data and Graphics Techniques in RoboticsSynthetic Data and Graphics Techniques in Robotics
Synthetic Data and Graphics Techniques in Robotics
 
Gis powerpoint
Gis powerpointGis powerpoint
Gis powerpoint
 
Q GIS Training Presentation
Q GIS Training PresentationQ GIS Training Presentation
Q GIS Training Presentation
 
GIS Analysis For Site Remediation
GIS Analysis For Site RemediationGIS Analysis For Site Remediation
GIS Analysis For Site Remediation
 
Beyond Tracing Paper
Beyond Tracing PaperBeyond Tracing Paper
Beyond Tracing Paper
 

Mais de IWASAKI NOBUSUKE

OSGeo日本支部とFOSS4G利用事例の紹介
OSGeo日本支部とFOSS4G利用事例の紹介OSGeo日本支部とFOSS4G利用事例の紹介
OSGeo日本支部とFOSS4G利用事例の紹介IWASAKI NOBUSUKE
 
第3回「デジタル地図」を活用した農地情報の管理に関する検討会発表資料(naro・岩崎)
第3回「デジタル地図」を活用した農地情報の管理に関する検討会発表資料(naro・岩崎)第3回「デジタル地図」を活用した農地情報の管理に関する検討会発表資料(naro・岩崎)
第3回「デジタル地図」を活用した農地情報の管理に関する検討会発表資料(naro・岩崎)IWASAKI NOBUSUKE
 
第2回「デジタル地図」の活用に関する検討会発表資料(農研機構・岩崎)
第2回「デジタル地図」の活用に関する検討会発表資料(農研機構・岩崎)第2回「デジタル地図」の活用に関する検討会発表資料(農研機構・岩崎)
第2回「デジタル地図」の活用に関する検討会発表資料(農研機構・岩崎)IWASAKI NOBUSUKE
 
2019年GIS学会企画セッション趣旨説明
2019年GIS学会企画セッション趣旨説明2019年GIS学会企画セッション趣旨説明
2019年GIS学会企画セッション趣旨説明IWASAKI NOBUSUKE
 
GISA2019 企画セッション地図アーカイブ・趣旨説明
GISA2019 企画セッション地図アーカイブ・趣旨説明GISA2019 企画セッション地図アーカイブ・趣旨説明
GISA2019 企画セッション地図アーカイブ・趣旨説明IWASAKI NOBUSUKE
 
QuantumGISセミナー(ESJ59版, QGIS1.6Ver用)
QuantumGISセミナー(ESJ59版, QGIS1.6Ver用)QuantumGISセミナー(ESJ59版, QGIS1.6Ver用)
QuantumGISセミナー(ESJ59版, QGIS1.6Ver用)IWASAKI NOBUSUKE
 
あらためまして、OSGeo.JPです!
あらためまして、OSGeo.JPです!あらためまして、OSGeo.JPです!
あらためまして、OSGeo.JPです!IWASAKI NOBUSUKE
 
FOSS4G 2018 Japanの紹介と、RTKをやってみた!
FOSS4G 2018 Japanの紹介と、RTKをやってみた!FOSS4G 2018 Japanの紹介と、RTKをやってみた!
FOSS4G 2018 Japanの紹介と、RTKをやってみた!IWASAKI NOBUSUKE
 
Web地図画像の利用と著作権法(CC BY 4.0)
Web地図画像の利用と著作権法(CC BY 4.0)Web地図画像の利用と著作権法(CC BY 4.0)
Web地図画像の利用と著作権法(CC BY 4.0)IWASAKI NOBUSUKE
 
AIとDeep Learningについての私的メモ
AIとDeep Learningについての私的メモAIとDeep Learningについての私的メモ
AIとDeep Learningについての私的メモIWASAKI NOBUSUKE
 
Webリソースを利用したDeep Learning ~地図タイルを例として
Webリソースを利用したDeep Learning  ~地図タイルを例としてWebリソースを利用したDeep Learning  ~地図タイルを例として
Webリソースを利用したDeep Learning ~地図タイルを例としてIWASAKI NOBUSUKE
 
WebGISやデータ公開について
WebGISやデータ公開についてWebGISやデータ公開について
WebGISやデータ公開についてIWASAKI NOBUSUKE
 
第22回オープンデータトーク 地理データ形式のこれから
第22回オープンデータトーク 地理データ形式のこれから第22回オープンデータトーク 地理データ形式のこれから
第22回オープンデータトーク 地理データ形式のこれからIWASAKI NOBUSUKE
 
Deep Learningにおける地図タイルの有効性検討
Deep Learningにおける地図タイルの有効性検討Deep Learningにおける地図タイルの有効性検討
Deep Learningにおける地図タイルの有効性検討IWASAKI NOBUSUKE
 
Deep Learningでの地図タイルの活用
Deep Learningでの地図タイルの活用Deep Learningでの地図タイルの活用
Deep Learningでの地図タイルの活用IWASAKI NOBUSUKE
 
ソーシャルメディアを活用したオープンイノベーションの可能性 -CS立体図を事例として-
ソーシャルメディアを活用したオープンイノベーションの可能性  -CS立体図を事例として-ソーシャルメディアを活用したオープンイノベーションの可能性  -CS立体図を事例として-
ソーシャルメディアを活用したオープンイノベーションの可能性 -CS立体図を事例として-IWASAKI NOBUSUKE
 
Deep Learningで地図を作ってみた!
Deep Learningで地図を作ってみた!Deep Learningで地図を作ってみた!
Deep Learningで地図を作ってみた!IWASAKI NOBUSUKE
 

Mais de IWASAKI NOBUSUKE (20)

OSGeo日本支部とFOSS4G利用事例の紹介
OSGeo日本支部とFOSS4G利用事例の紹介OSGeo日本支部とFOSS4G利用事例の紹介
OSGeo日本支部とFOSS4G利用事例の紹介
 
第3回「デジタル地図」を活用した農地情報の管理に関する検討会発表資料(naro・岩崎)
第3回「デジタル地図」を活用した農地情報の管理に関する検討会発表資料(naro・岩崎)第3回「デジタル地図」を活用した農地情報の管理に関する検討会発表資料(naro・岩崎)
第3回「デジタル地図」を活用した農地情報の管理に関する検討会発表資料(naro・岩崎)
 
第2回「デジタル地図」の活用に関する検討会発表資料(農研機構・岩崎)
第2回「デジタル地図」の活用に関する検討会発表資料(農研機構・岩崎)第2回「デジタル地図」の活用に関する検討会発表資料(農研機構・岩崎)
第2回「デジタル地図」の活用に関する検討会発表資料(農研機構・岩崎)
 
2019年GIS学会企画セッション趣旨説明
2019年GIS学会企画セッション趣旨説明2019年GIS学会企画セッション趣旨説明
2019年GIS学会企画セッション趣旨説明
 
GISA2019 企画セッション地図アーカイブ・趣旨説明
GISA2019 企画セッション地図アーカイブ・趣旨説明GISA2019 企画セッション地図アーカイブ・趣旨説明
GISA2019 企画セッション地図アーカイブ・趣旨説明
 
QuantumGISセミナー(ESJ59版, QGIS1.6Ver用)
QuantumGISセミナー(ESJ59版, QGIS1.6Ver用)QuantumGISセミナー(ESJ59版, QGIS1.6Ver用)
QuantumGISセミナー(ESJ59版, QGIS1.6Ver用)
 
あらためまして、OSGeo.JPです!
あらためまして、OSGeo.JPです!あらためまして、OSGeo.JPです!
あらためまして、OSGeo.JPです!
 
FOSS4G 2018 Japanの紹介と、RTKをやってみた!
FOSS4G 2018 Japanの紹介と、RTKをやってみた!FOSS4G 2018 Japanの紹介と、RTKをやってみた!
FOSS4G 2018 Japanの紹介と、RTKをやってみた!
 
Web地図画像の利用と著作権法(CC BY 4.0)
Web地図画像の利用と著作権法(CC BY 4.0)Web地図画像の利用と著作権法(CC BY 4.0)
Web地図画像の利用と著作権法(CC BY 4.0)
 
AIとDeep Learningについての私的メモ
AIとDeep Learningについての私的メモAIとDeep Learningについての私的メモ
AIとDeep Learningについての私的メモ
 
Webリソースを利用したDeep Learning ~地図タイルを例として
Webリソースを利用したDeep Learning  ~地図タイルを例としてWebリソースを利用したDeep Learning  ~地図タイルを例として
Webリソースを利用したDeep Learning ~地図タイルを例として
 
WebGISやデータ公開について
WebGISやデータ公開についてWebGISやデータ公開について
WebGISやデータ公開について
 
第22回オープンデータトーク 地理データ形式のこれから
第22回オープンデータトーク 地理データ形式のこれから第22回オープンデータトーク 地理データ形式のこれから
第22回オープンデータトーク 地理データ形式のこれから
 
Reprojecting Innovation
Reprojecting InnovationReprojecting Innovation
Reprojecting Innovation
 
ジークタイル!!
ジークタイル!!ジークタイル!!
ジークタイル!!
 
Deep Learningにおける地図タイルの有効性検討
Deep Learningにおける地図タイルの有効性検討Deep Learningにおける地図タイルの有効性検討
Deep Learningにおける地図タイルの有効性検討
 
Deep Learningでの地図タイルの活用
Deep Learningでの地図タイルの活用Deep Learningでの地図タイルの活用
Deep Learningでの地図タイルの活用
 
ソーシャルメディアを活用したオープンイノベーションの可能性 -CS立体図を事例として-
ソーシャルメディアを活用したオープンイノベーションの可能性  -CS立体図を事例として-ソーシャルメディアを活用したオープンイノベーションの可能性  -CS立体図を事例として-
ソーシャルメディアを活用したオープンイノベーションの可能性 -CS立体図を事例として-
 
Deep Learningで地図を作ってみた!
Deep Learningで地図を作ってみた!Deep Learningで地図を作ってみた!
Deep Learningで地図を作ってみた!
 
TileMap-WebGIS
TileMap-WebGISTileMap-WebGIS
TileMap-WebGIS
 

Último

The Scientific names of some important families of Industrial plants .pdf
The Scientific names of some important families of Industrial plants .pdfThe Scientific names of some important families of Industrial plants .pdf
The Scientific names of some important families of Industrial plants .pdfMohamed Said
 
Extensive Pollution of Uranus and Neptune’s Atmospheres by Upsweep of Icy Mat...
Extensive Pollution of Uranus and Neptune’s Atmospheres by Upsweep of Icy Mat...Extensive Pollution of Uranus and Neptune’s Atmospheres by Upsweep of Icy Mat...
Extensive Pollution of Uranus and Neptune’s Atmospheres by Upsweep of Icy Mat...Sérgio Sacani
 
Plasma proteins_ Dr.Muralinath_Dr.c. kalyan
Plasma proteins_ Dr.Muralinath_Dr.c. kalyanPlasma proteins_ Dr.Muralinath_Dr.c. kalyan
Plasma proteins_ Dr.Muralinath_Dr.c. kalyanmuralinath2
 
NuGOweek 2024 full programme - hosted by Ghent University
NuGOweek 2024 full programme - hosted by Ghent UniversityNuGOweek 2024 full programme - hosted by Ghent University
NuGOweek 2024 full programme - hosted by Ghent Universitypablovgd
 
Microbial bio Synthesis of nanoparticles.pptx
Microbial bio Synthesis of nanoparticles.pptxMicrobial bio Synthesis of nanoparticles.pptx
Microbial bio Synthesis of nanoparticles.pptxCherry
 
Aerodynamics. flippatterncn5tm5ttnj6nmnynyppt
Aerodynamics. flippatterncn5tm5ttnj6nmnynypptAerodynamics. flippatterncn5tm5ttnj6nmnynyppt
Aerodynamics. flippatterncn5tm5ttnj6nmnynypptsreddyrahul
 
Mining Activity and Investment Opportunity in Myanmar.pptx
Mining Activity and Investment Opportunity in Myanmar.pptxMining Activity and Investment Opportunity in Myanmar.pptx
Mining Activity and Investment Opportunity in Myanmar.pptxKyawThanTint
 
NUMERICAL Proof Of TIme Electron Theory.
NUMERICAL Proof Of TIme Electron Theory.NUMERICAL Proof Of TIme Electron Theory.
NUMERICAL Proof Of TIme Electron Theory.syedmuneemqadri
 
Detectability of Solar Panels as a Technosignature
Detectability of Solar Panels as a TechnosignatureDetectability of Solar Panels as a Technosignature
Detectability of Solar Panels as a TechnosignatureSérgio Sacani
 
Hemoglobin metabolism: C Kalyan & E. Muralinath
Hemoglobin metabolism: C Kalyan & E. MuralinathHemoglobin metabolism: C Kalyan & E. Muralinath
Hemoglobin metabolism: C Kalyan & E. Muralinathmuralinath2
 
Factor Causing low production and physiology of mamary Gland
Factor Causing low production and physiology of mamary GlandFactor Causing low production and physiology of mamary Gland
Factor Causing low production and physiology of mamary GlandRcvets
 
GBSN - Microbiology Lab (Microbiology Lab Safety Procedures)
GBSN -  Microbiology Lab (Microbiology Lab Safety Procedures)GBSN -  Microbiology Lab (Microbiology Lab Safety Procedures)
GBSN - Microbiology Lab (Microbiology Lab Safety Procedures)Areesha Ahmad
 
GBSN - Microbiology Lab (Compound Microscope)
GBSN - Microbiology Lab (Compound Microscope)GBSN - Microbiology Lab (Compound Microscope)
GBSN - Microbiology Lab (Compound Microscope)Areesha Ahmad
 
Quantifying Artificial Intelligence and What Comes Next!
Quantifying Artificial Intelligence and What Comes Next!Quantifying Artificial Intelligence and What Comes Next!
Quantifying Artificial Intelligence and What Comes Next!University of Hertfordshire
 
Triploidy ...............................pptx
Triploidy ...............................pptxTriploidy ...............................pptx
Triploidy ...............................pptxCherry
 
PLANT DISEASE MANAGEMENT PRINCIPLES AND ITS IMPORTANCE
PLANT DISEASE MANAGEMENT PRINCIPLES AND ITS IMPORTANCEPLANT DISEASE MANAGEMENT PRINCIPLES AND ITS IMPORTANCE
PLANT DISEASE MANAGEMENT PRINCIPLES AND ITS IMPORTANCETALAPATI ARUNA CHENNA VYDYANAD
 
mixotrophy in cyanobacteria: a dual nutritional strategy
mixotrophy in cyanobacteria: a dual nutritional strategymixotrophy in cyanobacteria: a dual nutritional strategy
mixotrophy in cyanobacteria: a dual nutritional strategyMansiBishnoi1
 
Biochemistry and Biomolecules - Science - 9th Grade by Slidesgo.pptx
Biochemistry and Biomolecules - Science - 9th Grade by Slidesgo.pptxBiochemistry and Biomolecules - Science - 9th Grade by Slidesgo.pptx
Biochemistry and Biomolecules - Science - 9th Grade by Slidesgo.pptxjayabahari688
 
RACEMIzATION AND ISOMERISATION completed.pptx
RACEMIzATION AND ISOMERISATION completed.pptxRACEMIzATION AND ISOMERISATION completed.pptx
RACEMIzATION AND ISOMERISATION completed.pptxArunLakshmiMeenakshi
 
The solar dynamo begins near the surface
The solar dynamo begins near the surfaceThe solar dynamo begins near the surface
The solar dynamo begins near the surfaceSérgio Sacani
 

Último (20)

The Scientific names of some important families of Industrial plants .pdf
The Scientific names of some important families of Industrial plants .pdfThe Scientific names of some important families of Industrial plants .pdf
The Scientific names of some important families of Industrial plants .pdf
 
Extensive Pollution of Uranus and Neptune’s Atmospheres by Upsweep of Icy Mat...
Extensive Pollution of Uranus and Neptune’s Atmospheres by Upsweep of Icy Mat...Extensive Pollution of Uranus and Neptune’s Atmospheres by Upsweep of Icy Mat...
Extensive Pollution of Uranus and Neptune’s Atmospheres by Upsweep of Icy Mat...
 
Plasma proteins_ Dr.Muralinath_Dr.c. kalyan
Plasma proteins_ Dr.Muralinath_Dr.c. kalyanPlasma proteins_ Dr.Muralinath_Dr.c. kalyan
Plasma proteins_ Dr.Muralinath_Dr.c. kalyan
 
NuGOweek 2024 full programme - hosted by Ghent University
NuGOweek 2024 full programme - hosted by Ghent UniversityNuGOweek 2024 full programme - hosted by Ghent University
NuGOweek 2024 full programme - hosted by Ghent University
 
Microbial bio Synthesis of nanoparticles.pptx
Microbial bio Synthesis of nanoparticles.pptxMicrobial bio Synthesis of nanoparticles.pptx
Microbial bio Synthesis of nanoparticles.pptx
 
Aerodynamics. flippatterncn5tm5ttnj6nmnynyppt
Aerodynamics. flippatterncn5tm5ttnj6nmnynypptAerodynamics. flippatterncn5tm5ttnj6nmnynyppt
Aerodynamics. flippatterncn5tm5ttnj6nmnynyppt
 
Mining Activity and Investment Opportunity in Myanmar.pptx
Mining Activity and Investment Opportunity in Myanmar.pptxMining Activity and Investment Opportunity in Myanmar.pptx
Mining Activity and Investment Opportunity in Myanmar.pptx
 
NUMERICAL Proof Of TIme Electron Theory.
NUMERICAL Proof Of TIme Electron Theory.NUMERICAL Proof Of TIme Electron Theory.
NUMERICAL Proof Of TIme Electron Theory.
 
Detectability of Solar Panels as a Technosignature
Detectability of Solar Panels as a TechnosignatureDetectability of Solar Panels as a Technosignature
Detectability of Solar Panels as a Technosignature
 
Hemoglobin metabolism: C Kalyan & E. Muralinath
Hemoglobin metabolism: C Kalyan & E. MuralinathHemoglobin metabolism: C Kalyan & E. Muralinath
Hemoglobin metabolism: C Kalyan & E. Muralinath
 
Factor Causing low production and physiology of mamary Gland
Factor Causing low production and physiology of mamary GlandFactor Causing low production and physiology of mamary Gland
Factor Causing low production and physiology of mamary Gland
 
GBSN - Microbiology Lab (Microbiology Lab Safety Procedures)
GBSN -  Microbiology Lab (Microbiology Lab Safety Procedures)GBSN -  Microbiology Lab (Microbiology Lab Safety Procedures)
GBSN - Microbiology Lab (Microbiology Lab Safety Procedures)
 
GBSN - Microbiology Lab (Compound Microscope)
GBSN - Microbiology Lab (Compound Microscope)GBSN - Microbiology Lab (Compound Microscope)
GBSN - Microbiology Lab (Compound Microscope)
 
Quantifying Artificial Intelligence and What Comes Next!
Quantifying Artificial Intelligence and What Comes Next!Quantifying Artificial Intelligence and What Comes Next!
Quantifying Artificial Intelligence and What Comes Next!
 
Triploidy ...............................pptx
Triploidy ...............................pptxTriploidy ...............................pptx
Triploidy ...............................pptx
 
PLANT DISEASE MANAGEMENT PRINCIPLES AND ITS IMPORTANCE
PLANT DISEASE MANAGEMENT PRINCIPLES AND ITS IMPORTANCEPLANT DISEASE MANAGEMENT PRINCIPLES AND ITS IMPORTANCE
PLANT DISEASE MANAGEMENT PRINCIPLES AND ITS IMPORTANCE
 
mixotrophy in cyanobacteria: a dual nutritional strategy
mixotrophy in cyanobacteria: a dual nutritional strategymixotrophy in cyanobacteria: a dual nutritional strategy
mixotrophy in cyanobacteria: a dual nutritional strategy
 
Biochemistry and Biomolecules - Science - 9th Grade by Slidesgo.pptx
Biochemistry and Biomolecules - Science - 9th Grade by Slidesgo.pptxBiochemistry and Biomolecules - Science - 9th Grade by Slidesgo.pptx
Biochemistry and Biomolecules - Science - 9th Grade by Slidesgo.pptx
 
RACEMIzATION AND ISOMERISATION completed.pptx
RACEMIzATION AND ISOMERISATION completed.pptxRACEMIzATION AND ISOMERISATION completed.pptx
RACEMIzATION AND ISOMERISATION completed.pptx
 
The solar dynamo begins near the surface
The solar dynamo begins near the surfaceThe solar dynamo begins near the surface
The solar dynamo begins near the surface
 

Developing a Deep Learning tool for Map Tiles

  • 1. FOSS4G ASIA 2018 2018/12/03 Developing a Deep Learning tool for Map Tiles N. Iwasaki, D. S. Sprague, N. Ishitsuka and T. Sakamoto Institute for Agro-Environmental Sciences, NARO 1
  • 2. /32 Geospatial information as a Big Data • Huge amount of Data – Satellite image, GPS, OSM, Drone, IoT Sensor, etc… • Open Data policy – We can obtain huge amount of data free 2 Introduction Brovellia 2015, https://www.slideshare.net/mariabrovelli/the-role-of-geospatial-information-in-a-hyper-connected-society
  • 3. /32 Deep Learning and Geospatial Big Data • A combination of geospatial data and deep learning have great potential 3 Introduction https://pacificspatial.com/wp-content/uploads/2016/12/20181024_DigitalGlobe_%E9%85%8D%E5%B8%83%E7%94%A8.pdf
  • 4. /32 Agenda • Introduction – Geospatial information as a Big Data – Map tile for geospatial analysis – Deep Learning for geospatial data • Development of Deep Learning tools for map tile – pix2pix for map tile – qpix2pix • Case study – Multimodal data to semantic map – Topographic map to semantic map • Conclusion 4 Introduction
  • 5. /32 Deep Learning and Geospatial Big Data • A combination of geospatial data and deep learning have great potential 5 Introduction https://github.com/mapbox/robosat https://2017.stateofthemap.Zorg/2017/ai-assisted-road-tracing-for-openstreetmap/
  • 6. /32 Barrier for utilization of Geospatial Big Data • Data preparation – Deep Learning needs huge amount of data • We have to spend huge time to data preparation – NOT ONLY Deep Learning, BUT ALSO GIS analysis – Download, unzip, transform, convert, merge, etc… • Just like prepare material for cooking 6 Introduction
  • 7. /32 Map tile (or Slippy map) • Standardized geospatial information – typically 256×256 pixel images • Approximate hole earth as square – Z0: hole earth, Z1:Divied 2 by 2, Z02:… • Access to map tile as below • http://hoge.hoge/{z}/{x}/{y}.ext – X Direction:West-East, Y direction:North-Sount, Z : Zoom 7 Introduction Sematic diagram of Map tile GSI, Japan
  • 8. /32 Week point of traditional Geospatial data • Non-visualized data. Unclear whether useful data or not. • It is required to do many preparation, such as convert file type, change coordinate system, extract and merge data, etc… 8 Introduction
  • 9. /32 Advantage of Map tile • Non-visualized data. Unclear whether useful data or not. Available as Web Map Easy to confirm useful or not • It is required to do many preparation, such as convert file type, change coordinate system, extract and merge data, etc… Unified coordinate system and easy handling format JPG, PNG, GeoJSON Only “{z}/{x}/{y}” is required 9 Introduction
  • 10. /32 Advantage of map tile for Deep Learning • Huge amount and various kind of data is already available – For training and target data • For ex. Terrapattern, Using OpenStreetMap 10 Introduction https://techcrunch.com/2016/05/25/terrapattern-is-a-neural-net-powered-reverse-image-search-for-maps/
  • 11. FOSS4G ASIA 2018 2018/12/03 Map tile Background image
  • 12. FOSS4G ASIA 2018 2018/12/03 Map tile Background image Visualization Analysis target General purpose geospatial data format
  • 13. /32 Purpose • Development of deep learning tools for Map tile • Applying Deep learning to Map tile – Multimodal data to semantic map – Topographic map to semantic map • Evaluate efficacy of Map tile for Deep Learning material 13 Introduction
  • 14. /32 Generative Adversarial Network (GAN) • Generative model (not classification model) – Training Generator and Discriminator • Generator generate fake and Discriminator classify it as a "Real" sample. • The goal is that Generator creates images that is difficult to determine authenticity by Discriminator • pix2pix is a famous program – https://github.com/phillipi/pix2pix 14 Development of deep learning tools for Map tile Model of Generative Adversarial Network https://stats.stackexchange.com/questions/277756/some-general-questions-on-generative- adversarial-networks
  • 15. /32 pix2pix for Map tile 15 Development of deep learning tools for Map tile Sample of images generated by pix2pix. https://qiita.com/octpath/items/acaf5b4dbcb4e105a8d3 • Improve pix2pix to be possible to use map tile directory – Possible to multi layers as input data • Published in GitHub • https://github.com/NARO-41605/pix2pix_map_tiles
  • 16. /32 Workflow of pix2pix for map tile • DataSetMake_tfwiter.py – Download map tile and prepare training data • pix2pix_multi.py – Performing Deep Learning and confirming result • qpix2pix – Apply pix2pix model to certain area 16 Development of deep learning tools for Map tile DataSetMake_tfwiter.py pix2pix_multi.py Download data Prepare training data Create model Model confirming result qpix2pix Apply model
  • 17. /32 Workflow of pix2pix for map tile • Working environment – Ubuntu 16.04, Python 2.14, tensorflow, pix2pix-tensorflow • Recommend: GPU Device and CUDA. – QGIS 2.18 17 Development of deep learning tools for Map tile DataSetMake_tfwiter.py pix2pix_multi.py qpix2pix Download data Prepare training data Create model Model confirming result Apply model
  • 18. /32 Workflow of pix2pix for map tile • DataSetMake_tfwiter.py • Input JSON 18 Development of deep learning tools for Map tile python DataSetMake_tfwiter.py "images_x_start" "images_x_end" "images_y_start" "images_y_end" "zoom_level" --inputJson "INPUTJSON" --outputPath "OUTPUTPATH" { "targetURL": {URL of target map tile, type, format} , "inputURL": [ {URL of training map tile 1 , type, format} , {URL of training map tile 2 , type, format} ] }
  • 19. /32 Workflow of pix2pix for map tile • pix2pix_multi.py 19 Development of deep learning tools for Map tile pix2pix_multi.py --input_dir "INPUT_DIR" --mode {train,test} #train: training, test:confirm model --output_dir "OUTPUT_DIR" --checkpoint "CHECKPOINT" --max_steps "MAX_STEPS" --max_epochs "MAX_EPOCHS“ --ngf "NGF“ # --ndf "NDF“ # --input_ch "INPUT_CH" --target_ch "TARGET_CH" --GPUdevice "GPUDEVICE"
  • 20. /32 QGIS Plugin for using pix2pix model • Qpix2pix – Classify displayed image 20 pix2pix for Map tilesの開発
  • 21. /32 Case study 1. From Landsat and DEM to Paddy rice planted area. – Test for simple data conversion 2. From Landsat and DEM to Vegetation map. – Test for semantic map 3. Old Topographic map to Land use map – BW map to color map 21 Development of deep learning tools for Map tile
  • 22. /32 Data for Deep Learning • Training data – Landsat: May and November 2000 • Pan sharpened and Thermal image, from AIST – DEM • Target Data – Paddy planted area (Sakamot et al., 2017), from Github • https://github.com/NARO-41605/JPaddyMap_test 22 From Landsat and DEM image to Paddy planted area Training data Target Data
  • 23. /32 Usage of DataSetMake.py and pix2pix_multi.py 23 From Landsat and DEM image to Paddy planted area $ python DataSetMake_tfwiter.py 7268 7272 3213 3216 13 --inputJson jsonLan2Jpaddy.txt --outputPath train_data $ python pix2pix_multi.py --mode train --input_dir train_data --input_ch 20 --target_ch 4 --max_steps 100 --max_epochs 20 --output_dir ./trained_model --GPUdevice 0 $ python pix2pix_multi.py --mode test --input_dir train_data --input_ch 20 --target_ch 4 --output_dir ./target_html --checkpoint ./trained_model --GPUdevice 0 jsonLan2Jpaddy.txt
  • 24. /32 Result • To develop original map, required complex data – Vegetation map, statistical data • We can developed similar map with only few command and public available data – But, quality is not verified 24 From Landsat and DEM image to Paddy planted area
  • 25. /32 Data for Deep Learning • Training data – Landsat: May and November 2000 • Pan sharpened and Thermal image, from AIST – DEM, from GSI, Japan. • Target Data – Vegetation map, produce my MOE and published by ECORIS 25 From Landsat and DEM image to Vegetation map Training data Target Data
  • 26. /32 Result • It is confirmed that generate another map from same data. 26 From Landsat and DEM image to Vegetation map
  • 27. /32 Result • Over all quality is seems good – But details are not enough • Still just similar image 27 From Landsat and DEM image to Vegetation map Result Target
  • 28. /32 Result • Over all quality is seems good – But details are not enough • More contrasted color map may be needed – Similar color is not good for GAN 28 From Landsat and DEM image to Vegetation map Result Target
  • 29. /32 BW map to color • Training data – Old Black white topographic map • Target data – Land use map derived from the topographic map 29 From Landsat and DEM image to Vegetation map Training Target
  • 30. /32 Result • Accuracy is depend map legend and density. 30 From Landsat and DEM image to Vegetation map Target Result
  • 31. /32 Result • Accuracy is depend map legend and density. 31 From Landsat and DEM image to Vegetation map Target Result
  • 32. /32 Conclusion • Map tile as General geospatial data – Huge amount of data has published – Valuable for deep learning • Development of pix2pix for Map Tile – Use multiple map tile as training data • Some case study – It is confirmed that it is possible to develop several maps easily. – But, improvement and evaluation of classification accuracy is father work. • Map tile is useful for Deep Learning data. – Further work • Possible to semantic segmentation and evaluation Developing a Deep Learning tool for Map Tiles 32