Skip to content

Commit

Permalink
stuffs for gdalvectortranslate
Browse files Browse the repository at this point in the history
  • Loading branch information
mthh committed Mar 5, 2018
1 parent 5851574 commit 350dbd0
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion magrit_app/helpers/geo.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,12 @@ def vectorTranslate_to_geojson(file_path):
format = 'GeoJSON',
dstSRS='EPSG:4326',
skipFailures=True,
layerCreationOptions = ['WRITE_BBOX=YES', 'WRITE_NAME=NO'])
layerCreationOptions = [
'WRITE_BBOX=YES',
'WRITE_NAME=NO',
'SIGNIFICANT_FIGURES=20',
'COORDINATE_PRECISION=15',
])
if not ds:
return
p = ds.GetDescription()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ function parseQuery(search) {
lng: lang,
fallbackLng: _app.existing_lang[0],
backend: {
loadPath: 'static/locales/{{lng}}/translation.9946cf91e045.json'
loadPath: 'static/locales/{{lng}}/translation.b04399845b96.json'
}
}, function (err, tr) {
if (err) {
Expand Down
4 changes: 2 additions & 2 deletions magrit_app/templates/modules.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title> {{ app_name }} </title>
<link rel="icon" type="image/png" href="static/img/favicon.png" />
<link href="static/css/scoped-bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="static/css/style.9946cf91e045.min.css" rel="stylesheet" type="text/css">
<link href="static/css/style.b04399845b96.min.css" rel="stylesheet" type="text/css">
<link href="static/css/_vanilla-dataTables.min.css" rel="stylesheet" type="text/css">
<link href="static/css/alertify.min.css" rel="stylesheet" type="text/css">
<link href="static/css/semantic.min.css" rel="stylesheet" type="text/css">
Expand Down Expand Up @@ -51,6 +51,6 @@
</div>
</noscript>
<script src="static/js/lib/bootstrap-native3.mod.min.js"></script>
<script src="static/js/app.9946cf91e045.js"></script>
<script src="static/js/app.b04399845b96.js"></script>
</body>
</html>

0 comments on commit 350dbd0

Please sign in to comment.