Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coherence change detection: bugfix + folium plot #49

Merged
merged 30 commits into from
Dec 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
6238fa2
Coherence Change Detection
mgovorcin Feb 16, 2022
cf628ea
Coherence Change Detection using ifgramStack.h5
mgovorcin Feb 16, 2022
0d49550
Delete Coherence Change Detection.ipynb
mgovorcin Feb 16, 2022
0defa79
CCD update
mgovorcin Feb 24, 2022
30b821a
minor code style changes
yunjunz Feb 27, 2022
5c9d403
Update coherence_change_detection.ipynb
yunjunz Feb 27, 2022
910c8fe
CCD_review2
mgovorcin Mar 1, 2022
f018054
Update README.md
mgovorcin Mar 1, 2022
cf50505
CCD_review3
mgovorcin Mar 1, 2022
b325649
CCD changes
mgovorcin Mar 7, 2022
d51d7e3
minor code simplication
yunjunz Mar 7, 2022
5a96f59
update
Dec 21, 2022
64a3d4f
fix bugs in plotting
mgovorcin Dec 22, 2022
65373be
- fixed few bugs in plotting function "plot_ccd"
mgovorcin Dec 22, 2022
03d433b
Update README.md
mgovorcin Dec 22, 2022
b987759
Update README.md
mgovorcin Dec 22, 2022
5422aef
Update README.md
mgovorcin Dec 22, 2022
19d4bc3
little cleanup
mgovorcin Dec 22, 2022
bac01a9
Merge branch 'main' of https://github.com/mgovorcin/MintPy-tutorial i…
mgovorcin Dec 22, 2022
10500e1
Merge branch 'main' of https://github.com/mgovorcin/MintPy-tutorial i…
mgovorcin Dec 22, 2022
7009f0a
little clean-up #2
mgovorcin Dec 22, 2022
d9b7678
plotting edits
mgovorcin Dec 22, 2022
decbabe
cleanup
mgovorcin Dec 22, 2022
cd883b6
Added folium plot of results
mgovorcin Dec 22, 2022
d3293b3
folium plot
mgovorcin Dec 22, 2022
5fc5cf3
folium plot: automatically center map using lon/lat corners
mgovorcin Dec 23, 2022
9747b5c
foilum updates #2
mgovorcin Dec 23, 2022
8b186f9
final updates
mgovorcin Dec 23, 2022
2378ec1
final
mgovorcin Dec 23, 2022
6bb146f
folium to look same as google earth screenshot
mgovorcin Dec 23, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
778 changes: 622 additions & 156 deletions applications/coherence_change_detection.ipynb

Large diffs are not rendered by default.

77 changes: 77 additions & 0 deletions applications/map.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<!DOCTYPE html>
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

<script>
L_NO_TOUCH = false;
L_DISABLE_3D = false;
</script>

<style>html, body {width: 100%;height: 100%;margin: 0;padding: 0;}</style>
<style>#map {position:absolute;top:0;bottom:0;right:0;left:0;}</style>
<script src="https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.js"></script>
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css"/>
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css"/>

<meta name="viewport" content="width=device-width,
initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
#map_9d95b69bf40bed031e93a69a2f83e004 {
position: relative;
width: 100.0%;
height: 100.0%;
left: 0.0%;
top: 0.0%;
}
.leaflet-container { font-size: 1rem; }
</style>

<script src="https://cdn.jsdelivr.net/gh/ljagis/leaflet-measure@2.1.7/dist/leaflet-measure.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/ljagis/leaflet-measure@2.1.7/dist/leaflet-measure.min.css"/>
</head>
<body>


<div class="folium-map" id="map_9d95b69bf40bed031e93a69a2f83e004" ></div>

</body>
<script>


var map_9d95b69bf40bed031e93a69a2f83e004 = L.map(
"map_9d95b69bf40bed031e93a69a2f83e004",
{
center: [26.5236, 85.675],
crs: L.CRS.EPSG3857,
zoom: 12,
zoomControl: true,
preferCanvas: false,
}
);





var tile_layer_2c78695cfe75ccedc6aefcc2cb20b183 = L.tileLayer(
"https://stamen-tiles-{s}.a.ssl.fastly.net/terrain/{z}/{x}/{y}.jpg",
{"attribution": "Map tiles by \u003ca target=\"_blank\" href=\"http://stamen.com\"\u003eStamen Design\u003c/a\u003e, under \u003ca target=\"_blank\" href=\"http://creativecommons.org/licenses/by/3.0\"\u003eCC BY 3.0\u003c/a\u003e. Data by \u0026copy; \u003ca target=\"_blank\" href=\"http://openstreetmap.org\"\u003eOpenStreetMap\u003c/a\u003e, under \u003ca target=\"_blank\" href=\"http://creativecommons.org/licenses/by-sa/3.0\"\u003eCC BY SA\u003c/a\u003e.", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
).addTo(map_9d95b69bf40bed031e93a69a2f83e004);


var measure_control_c5bb5485692bdc64991fb7719127fd11 = new L.Control.Measure(
{"position": "topright", "primaryAreaUnit": "sqmeters", "primaryLengthUnit": "meters", "secondaryAreaUnit": "acres", "secondaryLengthUnit": "miles"});
map_9d95b69bf40bed031e93a69a2f83e004.addControl(measure_control_c5bb5485692bdc64991fb7719127fd11);


</script>
</html>