PROJET AUTOBLOG


Dotmana

source: Dotmana

⇐ retour index

Mes trouvailles du jour : 23 July 2014

mercredi 23 juillet 2014 à 21:00

flattr this!

Mes trouvailles du jour : 22 July 2014

mardi 22 juillet 2014 à 21:01

flattr this!

Mes trouvailles du jour : 16 July 2014

mercredi 16 juillet 2014 à 21:00

flattr this!

Solder sucker/pump (the best ever)

mardi 15 juillet 2014 à 11:19

I finnaly found the best manual desolder pump, fully made of machined aluminium, made in Japan, The Engineer SS-02 Solder Sucker.

With it’s silicone nozzle, it does work very well.

Can be found on Amazon

flattr this!

XCSoar: generate custom maps

lundi 14 juillet 2014 à 11:15

Introduction

XCSoar is an Open Source software for tactical glide computer: run it on any PDA/Smartphone/eBook and you have a powerfull computer for sailplane, paradlider and hang glider. (see previous post about adding a GPS to an eReader)

The geo file format used by XCSoar are:

We will use the latest to add custom geo referenced information on XCSoar (in this case, paragliding skyways from thermal.kk7)

Software requirement

 Processing files

#remove and create temp folder for file processing
rm -rf tmp/; mkdir tmp/
#convert PNG+PGW to GeoTiff and resize for faster processing (resize to any % or none)
gdal_translate ./skyways_all.png tmp/skyways_all.tif -outsize 50% 50%
#vectorize contour to shapefile red layer
gdal_contour tmp/skyways_all.tif tmp/skyways_all_r.shp -i 50 -b 1
#vectorize contour to shapefile green layer
gdal_contour tmp/skyways_all.tif tmp/skyways_all_g.shp -i 80 -b 2
#vectorize contour to shapefile blue layer
gdal_contour tmp/skyways_all.tif tmp/skyways_all_b.shp -i 200 -b 3

 

Visualisation with QGIS

Import from Layer->Add Vector Layer and select your 3 files

Then if everything is fine, save the 3 as Shapefiles:

Place the generated file into the XCM (XCSoar compressed archive map)

Dont forget to edit the topology.tpl to add the names of the new files:

You can edit color (RGB, 0-255)  and transparency (0-255)

The order is important: element are displayed from top to bottom (first to last)

Result

Original raster file, PNG + PGW format.

Generated shapefile maps in XCSoar (desktop version)

Same in XCSoar but eReader version optimised for black and white gray levels.

 

flattr this!