You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.3 KiB
HTML

<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Image to GeoJSON converter</title>
<style>
body {
font-family: sans-serif;
}
.dropzone {
border: 2px solid black;
font-size: 3em;
color: gray;
margin: 1em;
padding: .5em;
height: 40%;
display: flex;
justify-content: center;
align-items: center;
}
.dropzone.dropping {
border-color: red;
background-color: #eeeeee;
}
</style>
</head>
<body>
<h1>GeoJSON extractor </h1>
<p>
Select/drop one or more images, and receive corresponding GeoJSON files for the location where they were taken. Useful when eg. wanting to import the location data into OpenStreetMap's iD editor (you can drag-and-drop the resulting files).
</p>
<p>
Currently only supports JPG files. It must contain GPS coordinates in the EXIF data, or otherwise it can (obviously) not extract them!
</p>
<p>
Your file is not sent to any servers. Processing happens locally in your browser. The source code can be found <a href="https://git.cryto.net/joepie91/image-to-geojson">here</a>.
</p>
<div class="dropzone">
Drop your file(s) here...
</div>
... or select them below:
<input type="file" class="filepicker" multiple>
<script src="bundle.js"></script>
</body>
</html>