Thema: Tileproxy
Einzelnen Beitrag anzeigen
Alt 28.06.2007, 21:28   #172
Gunnar-MD
Veteran
 
Registriert seit: 14.01.2004
Alter: 65
Beiträge: 265


Standard

Hallo Michael,

ich schicke dir einfach meine Proxyuser.ini, die ich im Moment benutze:

#
# Start a line with # to comment it out.
#
# Read the manual for help with configuration. Do not contact the
# author about the configuration for particular services. Thank you.
#

[TileProxy]
master_enable=On
offline_mode=No
lod_distance=1000
#source=Service Example 1
source=Service Example 2
#source=Acme Globe Service
max_lod=15
preload=15

[Acme Globe Service]
cache_folder=cache.acme
network_module=libnettile
module_config="server=http://server*.acmeglobe.com|path=/terraintile?pos=%s&v=10|quad=ABCD|balance=0123|age nt=Mozilla/4.0 (compatible; The TileProxy Project)"
min_level=9
max_level=17
color_hack=No
color_level=0
bulk_extend=25

[Service Example 1]
cache_folder=cache.service1
network_module=libnettile
module_config="server=http://a*.ortho.tiles.figurethisoutyourself|path=/tiles/a%s.jpeg?g=52|quad=0123|balance=0123|useragent=Moz illa/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; .NET CLR 1.1.4322)"
min_level=9
max_level=17
color_hack=Yes
color_level=13
bulk_extend=50



[Service Example 2]
cache_folder=cache.service2
network_module=libnettile
module_config="conn=10|rate=1.0|server=http://kh*.google.com|path=/kh?t=t%s&n=404&v=17|quad=qrts|balance=0123|userage nt=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; .NET CLR 1.1.4322)"
min_level=5
max_level=17
#level_mapping=9,10,11,12,13,14,15,16,17
color_hack=No
color_level=0
bulk_extend=25


[Virtual Earth]
cache_folder=cache.service1
network_module=libnettile
module_config="rate=1.0|server=http://a*.ortho.tiles.virtualearth.net|path=/tiles/a%s.jpeg?g=52|quad=0123|balance=0123|useragent=Moz illa/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; .NET CLR 1.1.4322)"
min_level=9
max_level=17
color_hack=no
color_level=0
bulk_extend=25

Im Abschnitt [TileProy] habe ich die aktive Zeile source=... rot eingefärbt. Sie ist aktiv, weil das # Zeichen entfernt wurde.

Den dazu gehörigen Abschnitt habe ich ebenfalls rot eingefärbt.

In der Zeile module_config= habe ich den Parameter rate= auf 1.0 angepaßt. Das entspricht meiner DSL-Geschwindigkeit. Den Eintrag conn=10 habe ich auf Empfehlung des Autors hinzugefügt. Er soll verhindern, daß man vom Kartenanbieter zu schnell argwöhnisch beäugt wird. Beachte bitte, daß diese Zeile sehr lang ist und im Internet Explorer evtl. umgebrochen wird.

Viel Erfolg.
____________________________________
Schöne Grüße aus
Magdeburg an der Elbe

von Gunnar

Meine Homepage
Gunnar-MD ist offline   Mit Zitat antworten