Contour lines with phyghtmap

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Contour lines with phyghtmap

Josef Latt
Hi,

I create contour lines with phyghtmap and mkgmap as followed:

phyghtmap --jobs=2 --polygon=/home/jolatt/OpenStreetMap/germany.poly
--step=10 --line-cat=100,50 --srtm=3 --viewfinder-mask=1
--start-node-id=100000000000 --pbf

java -Xmx2048M -jar /home/jolatt/OSM-Karte/mkgmap/mkgmap.jar \
--style-file=/home/jolatt/OSM-Karte/style-srtm/ \
--tdbfile \
--draw-priority=28 \
--family-id=4444 \
--transparent \
--series-name=srtm \
--overview-mapname=srtm \
--area-name=Germany \
--max-jobs=2 \
-c srtm.TYP *.pbf



Contour lines are created, but I get an error:
SCHWERWIEGEND (MapSplitter): lon9.00_10.00lat47.43_47.62_view1.osm.pbf:
Area too small to split at
http://www.openstreetmap.org/?mlat=47.56031&mlon=9.99994&zoom=17 (reduce
the density of points, length of lines, etc.)

You can see a little bug displaying the lines.

The question is, mkgmap or phyghtmap. IMHO mkgmap.

Any hints?

Regards
Josef


--
PGP Schlüssel: 311D1055
http://keyserver.pgp.com
_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: Contour lines with phyghtmap

Gerd Petermann
Hi Josef,

If I got this right, the limit is in the Garmin img format. It doesn't allow any number of details
for a small area. The error message is shown when mkgmap detects that the resulting img file
would be too complex.

I think the solution would be to reduce the density of the contour lines by using e.g. --step=20

Gerd

Josef Latt wrote
Hi,

I create contour lines with phyghtmap and mkgmap as followed:

phyghtmap --jobs=2 --polygon=/home/jolatt/OpenStreetMap/germany.poly
--step=10 --line-cat=100,50 --srtm=3 --viewfinder-mask=1
--start-node-id=100000000000 --pbf

java -Xmx2048M -jar /home/jolatt/OSM-Karte/mkgmap/mkgmap.jar \
--style-file=/home/jolatt/OSM-Karte/style-srtm/ \
--tdbfile \
--draw-priority=28 \
--family-id=4444 \
--transparent \
--series-name=srtm \
--overview-mapname=srtm \
--area-name=Germany \
--max-jobs=2 \
-c srtm.TYP *.pbf



Contour lines are created, but I get an error:
SCHWERWIEGEND (MapSplitter): lon9.00_10.00lat47.43_47.62_view1.osm.pbf:
Area too small to split at
http://www.openstreetmap.org/?mlat=47.56031&mlon=9.99994&zoom=17 (reduce
the density of points, length of lines, etc.)

You can see a little bug displaying the lines.

The question is, mkgmap or phyghtmap. IMHO mkgmap.

Any hints?

Regards
Josef


--
PGP Schlüssel: 311D1055
http://keyserver.pgp.com
_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: Contour lines with phyghtmap

Josef Latt
Hi Gerd,

that is it.

Thanks
Josef


Am 19.04.2012 09:09, schrieb GerdP:

> Hi Josef,
>
> If I got this right, the limit is in the Garmin img format. It doesn't allow
> any number of details
> for a small area. The error message is shown when mkgmap detects that the
> resulting img file
> would be too complex.
>
> I think the solution would be to reduce the density of the contour lines by
> using e.g. --step=20
>
> Gerd
>
>
> Josef Latt wrote
>>
>> Hi,
>>
>> I create contour lines with phyghtmap and mkgmap as followed:
>>
>> phyghtmap --jobs=2 --polygon=/home/jolatt/OpenStreetMap/germany.poly
>> --step=10 --line-cat=100,50 --srtm=3 --viewfinder-mask=1
>> --start-node-id=100000000000 --pbf
>>
>> java -Xmx2048M -jar /home/jolatt/OSM-Karte/mkgmap/mkgmap.jar \
>> --style-file=/home/jolatt/OSM-Karte/style-srtm/ \
>> --tdbfile \
>> --draw-priority=28 \
>> --family-id=4444 \
>> --transparent \
>> --series-name=srtm \
>> --overview-mapname=srtm \
>> --area-name=Germany \
>> --max-jobs=2 \
>> -c srtm.TYP *.pbf
>>
>>
>>
>> Contour lines are created, but I get an error:
>> SCHWERWIEGEND (MapSplitter): lon9.00_10.00lat47.43_47.62_view1.osm.pbf:
>> Area too small to split at
>> http://www.openstreetmap.org/?mlat=47.56031&mlon=9.99994&zoom=17 (reduce
>> the density of points, length of lines, etc.)
>>
>> You can see a little bug displaying the lines.
>>
>> The question is, mkgmap or phyghtmap. IMHO mkgmap.
>>
>> Any hints?
>>
>> Regards
>> Josef
>>
>>
>> --
>> PGP Schlüssel: 311D1055
>> http://keyserver.pgp.com
>> _______________________________________________
>> mkgmap-dev mailing list
>> mkgmap-dev@.org
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>
>
>
> --
> View this message in context: http://gis.19327.n5.nabble.com/Contour-lines-with-phyghtmap-tp5649933p5651050.html
> Sent from the Mkgmap Development mailing list archive at Nabble.com.
> _______________________________________________
> mkgmap-dev mailing list
> [hidden email]
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

--
PGP Schlüssel: 311D1055
http://keyserver.pgp.com
_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev