Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - kech61

#136
Quote from: "wvb"do you plan on creating a map of Luxemburg, it's a part of BeNeLux?
I don't see it anywhere, also not in the older maps.

Hi,
yes its part of Luxemburg, I added this information to the download-page.
#137
Quote from: "PeterPablo"You are my hero!
I will test it right away. This comes in very handy, since in a couple of days I will travel there.

Hi,

There is an issue with the map, the captions and pathtexts in Laos and Kambodia render as rectangles, no Idea why.
The rest should render fine as far as I tested.

Have a nice trip  :!:
#138
Quote from: "tommi62"Hi Christian,
great work.
Seems the link for New Zealand points to Israel. Would you fix?

Thanks for bringing this to my attention, it's fixed

best regards
Christian
#139
Quote from: "PeterPablo"kech61, could you please be so kind and do the calculations for a Thailand map?

Hi, sorry for the delay, I currently updating all European Maps with the water-tiles.
I will try rendering a Thai map soon.

Edit 10.8.2012: Thailand (+Laos, Combodia, Vietnam) is ready for download from my site.
#140
Hello Jusc,

Thanks for this fantastic Theme!

The Cycle Maps with Sea/Water Tiles are currently added step by step to http://www.openandromaps.org
The work is in progress and will be finished by end of the week,
check the news-page of //http://www.openandromaps.org

Unfortunately this add lots of data-overhead in _some_ areas, so not all (but most) of the maps will
include this dataset.

Hiking Routes: The Idea is to include the great hiking ways like the "Jakobsweg" and all international/national/regional
touristic routes to the maps.

This update is planed for end of September, currently there are no maps with the
hiking routes online.
The reason is that it adds enormous prozessingtime to the map creation prozess so I have
to optimize the performance of my scripts bevor a release.

Here is the austria_hike (includes cycle+hiking outes) for download:
//https://docs.google.com/open?id=0BwlgvH_pGybWakR1T21vNFNJZ3c
#141
Again a new Version for the Cycle maps:

There is a stunning improvement for the openandromaps:

Most of the Maps will have reliable rendered Coastlines and Sea in the next release of the openandromaps,
starting end of next week.

There are only minor tweaks for the Theme (and _major_ ones for creating the maps  8-) )
The theme stays 100% compatible for older maps without Coastline/Sea-data so you can upgrade save.

If anyone would like to modify their custom themes to render the LandSea-Data here are the tweaks:
1.) On top of the theme, right after the header this have to be be inserted:
<!-- render land above water -->
<rule e="way" k="*" v="*">
<rule e="way" k="natural" v="sea">
<area fill="#b5d6f1" />
</rule>
<rule e="way" k="natural" v="nosea">
<area fill="#f8f8f8" stroke="#f8f8f8" stroke-width="1.0" />
</rule>
</rule>

2.) The original Coastline Handling should be modified:

<rule e="way" k="natural" v="coastline">
     <rule e="way" k="*" v="*" closed="no">
            <line stroke="#708599" stroke-width="1.0" />
      </rule>
      <rule e="way" k="*" v="*" closed="yes" zoom-max="11">
             <line stroke="#708599" stroke-width="1.0" />
       </rule>
</rule>

Jusc has promissed to update his "Voilatile"-Themes, I hope this will show up in the Locus shop - @menion ??

Here ist the updated Cycle_HC:
[attachment=1:z5x8c2k3]cycle_hc_140.zip[/attachment:z5x8c2k3]

[attachment=0:z5x8c2k3]screenshot_2012-08-05_1818.png[/attachment:z5x8c2k3]
#142
Quote from: "jurajs"well, kech61.... is there anything useful what should i add or modify to the first post ?

Upsss, sorry...
It was not my intention to occupy your thread  :oops:

Well the good news are that the elevation data from viewfinderpanoramas for Eurasia are now complete and Mr.Ferranti announced that he would add correct view3 data for the rest of the world soon.

So we will have reliable elevation data for our Maps and there will be no more need of tools like srtmfill.

Another stunning thread might find your attention : //https://groups.google.com/forum/?fromgroups#!topic/mapsforge-dev/x54kHlyKiBM
This is really working besides some anoying, minor problems with the JTS-Geometry - as usual.
However, this is only a matter of fine-tuning - the basic problem of rendering coastlines and watertiles is solved.
For bigger maps the data-overhead is an issue and it might be a good idea to start the rendering of the Land_polygons from level 8 on.

The downside for the mapper is the install of the gdal-bindings and the makescripts are a little bit tricky but this is nothing that could hurt the user..

For me this is the "missing link" for the vectormaps to a wider audience...
[attachment=0:mtual7pd]screenshot_2012-08-03_1704.png[/attachment:mtual7pd]
Nice, isnt it  :mrgreen: ?
#143
Hi beboitb,

The Maps for

iran_north
kyrgyzstan
tajikistan
turkmenistan
uzbekistan

are ready for download at
//http://www.openandromaps.org

Please report if they are usefull
#144
Quote from: "garbel"mir ist aufgefallen, daß die Darstellung der Vektorkarten ab Zoomstufe 11 (also 11, 10, 9...) qualitativ einen Satz nach unten macht.l

Das lässt sich bei der Kartenestellung steuern, über den Parameter

/*
simplification-factor

simplifies ways and polygons with a topology preserving algorithm similar to the Douglas Peucker algorithm, using as the maximum distance difference value the given simplification factor (evaluated in pixels on max zoom level of a base zoom level); on base zoom levels higher than 12, no simplification is computed
*/

Es wird schlicht die Datenmenge reduziert die das Smartphone verarbeiten und rendern muss.
Normalerweise ist das kein Problem da die Level 6-11 ohnehin nur zur Übersicht genutzt werden.

Die Darstellung der Strassenbezeichnungen lässt sich sicher über Theme noch optimieren indem man
die Grösse der Beschriftung an die Zoomlevel anpasst, müsste man ausprobieren.
#145
Quotea Perl-Script that
- converts the GPX to Poly
Maybe you also know something to convert from kml tracks. This is what I get inside a Google Earth generated kml:
Sorry, never dealed with kml-xml but I'm pretty shure that there is a solution somewhere in google space...
Or you convert kml to gpx using gpsbabel or some other tool.

QuoteCould you share that ?

My script is written in Perl, but keep in mind that this is coded for a special folder structure:
# script to convert a GPX file to a polygon file.
#
# written by Rodolphe Quiédeville <rodolphe@quiedeville.org>, GPL.
#
# Modified for better usability = no more ">" "|", direct file output
# so it's suitable for Windows environment and so on ....
# ensured compatibility with "GPX10" output of tracks from QuoVadis6.0
#
# by Christian Kernbeis 2012, GPL
#
# usage: eg given file = "germany_north.gpx" in subfolder "germany" in continent folder "europe"
# call = gpx2poly.pl germany germany europe
# + map_germany_noth.bat = batch for creating mapsforge map with bbox parameters
# output is written to germany_noth.poly
#
# usage: eg given file ="austria.gpx" in continent folder "europe"
# call = gpx2poly.pl austria europe
# output is written to austria.poly

use strict;

my $infile = shift; #mapname
my $subdir = shift; #subdir
my $basedir = shift; #basedir usually europe

my $subdira = $subdir;
if ($subdir ne ""){
$subdir = $subdir."\";
}
my $basedira = $basedir;
if ($basedir ne ""){
$basedir = $basedir."\";
}
my $polydir = "\osm_data\my_clipbounds\".$basedir.$subdir;

my $inextension = "gpx";
my $outextension = "poly";
my $infilestring = $polydir.$infile.".".$inextension;
my $outfilestring = $polydir.$infile.".".$outextension;
my $bboxfileCYCLE = "map_".$infile.".bat";

#debug
print "n",$infilestring,"n";
print $outfilestring,"n";
#

my $poly_id = 0;
my $poly_file;
my $polybuf;
my $outbuf;
my $id=0;
my $fh;
my $line;



my @latbuff;
my @lonbuff;

my $bbox;

my $min_lat;
my $max_lat;
my $min_lon;
my $max_lon;



#open file
open (fh, $infilestring) or die $!;

while($line = <fh>)
{
if ($line =~ /^s*<trkpt.*slat=["']([0-9.eE-]+)["'] lon=["']([0-9.eE-]+)["']/){
       $polybuf .= sprintf "t%ft%fn", $2,$1;
push (@lonbuff, $2);
push (@latbuff, $1);
}
   elsif ($line =~ /^s*<trk>/){
       $polybuf = "";
       $poly_id++;
   }
   elsif ($line =~ /^s*</trk>/){
       $outbuf .= "$poly_idn$polybuf"."ENDn";
   }
}
close (fh);

open (fh,">",$outfilestring) or die $!;
print fh "$infilen$outbuf"."ENDn";
close fh;


@latbuff = sort { $a <=> $b } @latbuff;
@lonbuff = sort { $a <=> $b } @lonbuff;
$min_lat = @latbuff[0] - 0.0005; #runden auf 3 stellen genau FLOOR
$min_lon = @lonbuff[0] - 0.0005;
@latbuff = reverse sort { $a <=> $b } @latbuff;
@lonbuff = reverse sort { $a <=> $b } @lonbuff;
$max_lat = @latbuff[0] + 0.0005; #runden auf 3 stellen genau CEIL
$max_lon = @lonbuff[0] + 0.0005;


$bbox=
"bbox="
.sprintf ("%.3f",$min_lat)
.","
.sprintf ("%.3f",$min_lon)
.","
.sprintf ("%.3f",$max_lat)
.","
.sprintf ("%.3f",$max_lon);

open (fh,">",$bboxfileCYCLE) or die $!;
print fh "m:\osmosis\bin\osmosis.bat --rb file=m:\Mapsforge\","$basedir","$subdir","$infile\$infile","_merged.osm.pbf --mw file=m:\Mapsforge\","$basedir","$subdir$infile\$infile.map $bbox tag-conf-file=m:\Mapsforge\tag-mapping-cycle.xml bbox-enlargement=5 map-start-zoom=8 type=hdn";
close fh;

print "$bbox";

The call from batch is like this (a snipped from my makefile)
set mapname=austria
set subdir_a=
set basedir_a=europe

set mapdrive=m:
set subdir=%subdir_a%
if "%subdir%" == "" (set subdir=)
set basedir=%basedir_a%
if "%basedir%" == "" (set basedir=)

start "getting clipbounds %mapname%" /wait c:perlperlsitebingpx2poly.pl %mapname% %subdir_a% %basedir_a%

regards
Christian
#146
Quote from: "tommi62"just tried to download some andromaps and related themes. All downloads work except this theme: Theme Volatile_ICE, the link doesn't work for me.

Hmm, I checked this and for me it workes fine, maybe there is an old version of the link in your browsercache with the google_drive-link that does'nt work.
Nethermind, here is the theme:

[attachment=0:23wi4g6t]Volatile_ICE.zip[/attachment:23wi4g6t]

There are only minor changes to original theme from Jusc, most important: the glaciers are rendered as pattern, essential for iceland.
And there are adaptions to the tag-mapping as mentioned obove.

best regards
Christian
#147
Quote from: "benoitb"China

Oh, well... this is a quite a big country, maybe you can specify the parts of China you want to cross..  :shock:  :shock:

Quote from: "benoitb"Are you using custom polygons ? Can you recommend a tool ? For my first try (tajikistan) I used a polygon I found online, I think it is the official from openstreetmaps, it is heavy with 3458 lines.


Yes I use custom polygons, I draw them as tracks in QV6 (former Touratech QuoVadis), export them as GPX and run a Perl-Script that
- converts the GPX to Poly
- writes the batchfile for the final batch that calls the mapwriter with the right BBox.
(Its part of a series of nested scripts driven by a central make-file)

[attachment=0:2nmnpd6w]tajikistan.jpg[/attachment:2nmnpd6w]

Tatschikistan is running now for 9hours and says "completing read"  :lol:  so ist will run for a day or more further...

If you feed the data into the mapwriter its a good idea to use a custom tag-mapping.xml for these wide and "empty" countrys that forces even low-level roads and ways to appear at low zoom-levels otherwise you dont have any overview an keep scroling around on a empty map - I hope you got the picture...

Something like this (towns)

      <pois>
<osm-tag key="place" value="city" zoom-appear="6" />
<osm-tag key="place" value="country" zoom-appear="3" />
<osm-tag key="place" value="hamlet" zoom-appear="9" />
<osm-tag key="place" value="island" zoom-appear="9" />
<osm-tag key="place" value="suburb" zoom-appear="9" />
<osm-tag key="place" value="town" zoom-appear="8" />
<osm-tag key="place" value="village" zoom-appear="8" />
</pois>

and roads

<!-- HIGHWAY TAGS -->
<ways>
<osm-tag key="highway" value="bridleway" zoom-appear="9" />
<osm-tag key="highway" value="bus_guideway" zoom-appear="13" />
<osm-tag key="highway" value="byway" zoom-appear="13" />
<osm-tag key="highway" value="construction" zoom-appear="9" />
<osm-tag key="highway" value="cycleway" zoom-appear="12" />
<osm-tag key="highway" value="footway" zoom-appear="10" />
<osm-tag key="highway" value="living_street" zoom-appear="13" />
<osm-tag key="highway" value="motorway" zoom-appear="6" />
<osm-tag key="highway" value="motorway_link" zoom-appear="6" />
<osm-tag key="highway" value="path" zoom-appear="9" />
<osm-tag key="highway" value="pedestrian" zoom-appear="13" />
<osm-tag key="highway" value="primary" zoom-appear="8" />
<osm-tag key="highway" value="primary_link" zoom-appear="8" />
<osm-tag key="highway" value="raceway" zoom-appear="12" />
<osm-tag key="highway" value="residential" zoom-appear="9" />
<osm-tag key="highway" value="road" zoom-appear="9" />
<osm-tag key="highway" value="secondary" zoom-appear="9" />
<osm-tag key="highway" value="secondary_link" zoom-appear="9" />
<osm-tag key="highway" value="service" zoom-appear="9" />
<osm-tag key="highway" value="services" zoom-appear="9" />
<osm-tag key="highway" value="steps" zoom-appear="12" />
<osm-tag key="highway" value="tertiary" zoom-appear="9" />
<osm-tag key="highway" value="track" zoom-appear="9" />
<osm-tag key="highway" value="trunk" zoom-appear="6" />
<osm-tag key="highway" value="trunk_link" zoom-appear="6" />
<osm-tag key="highway" value="unclassified" zoom-appear="9" />
</ways>
Dont use this code in crowdy european aeras, it might couse performance problems there.

I will give you a download link as soon a Tatschikistan is ready - so you can get an idea what OSM worth in these aeras.

regards
Christian
#148
Quote4.1.1 [highly recommended] after the pyghtmap has downloaded hgt elevation data, you can kill phyghtmap and use srtmfill utility to fix "null" data in hgt files (I had a lot of null/invalid data so i had to fix them all). before proceeding to next step you have to run phyghtmap command again so the osm file will be created from valid elevation data.

There is no more need for this, the view3 database has bee updated and contains now correct data
for europe, asia and africa (really filled and NOT interpolated).

See coverage //http://www.viewfinderpanoramas.org/Coverage%20map%20viewfinderpanoramas_org3.htm

So your phyghtmap commandline is now
--source=view3,srtm3  -s 20 -c 200,100 (there is no real need for "srtm3", for historic reasons only and avoid view1 data)
instead of
--source=view1,view3,srtm1,srtm3  -s 20 -c 200,100

just delete the index file of phyghtmap (viewfinderHgtIndex_3.txt) an restart the processing of the elevation data.

QuoteI'm surprised that the elevation map is 1.8 GB while the OSM map is 35 MB, is that possible ?

This is perfect possible, there are lots of mountains and lots of nothing.  ;)

If you need help just give me your route, I feed my scripts and deliver the maps as far as possible.

Ready for download are all maps (incl. elevation data + cycle routes) from France to Turkey (incl Armenia) here:
//http://www.openandromaps.org/

[attachment=0:iajh8shk]coverage_eu_oam Kopie.jpg[/attachment:iajh8shk]

best regards
Christian
#149
Hi,

There is an update for the cycle_hc theme.

- New Poi: caravan_site, usualy used for caravan parking with water/toilets/dump facilitys. (Wohnmobilstellplatz)

This poi is included in the maps from version date 28.7.2012 on at //http://www.openandromaps.org

New handling for Coastlines:
While it is still not possible to render sea/water reliable I solved the issue of smaler islands rendering in blue
within white water (IMO wrong handling of inner polygon).
If you want to see this issue take a look at the Orknes islands in the North of Scottland or the Canary Islands
The workaround is far from beeing perfekt - however, it's better than the usual handling in the osmarender theme.

Bugfix: There was one text/caption in earlier releases with a "dx" offset, that sometimes caused programm exceptions.[done]
Bugfix: Some National Reserves ovelayed the contourlines [done]

[attachment=0:2ldxee26]cycle_hc_130.zip[/attachment:2ldxee26]

regards
Christian
#150
Major Update

- All downlaods are now compressed in plain ZIP, this means:
) No more need for special tools for uncompressings
) No more problems with unnown file type (7z), zip is recognized by Android
) Almost every file manager is able to handle zip-files native (I recommend Totalcommander)


- New Maps:
) Special map+theme Iceland (Theme based on Voilatile by Jusc)
) Canada: British-Columbia in 2 Parts, Vancouver aera

- For all maps the coverage can be seen by klicking the "Map coverage" button

- All Maps are now hosted on a big payed account at Google, the download speed is > 2Mb/sec
(Thanks to all users who made this posible by their Donations !)

regards
Christian