jerome077 / gpsvp

Automatically exported from code.google.com/p/gpsvp
5 stars 2 forks source link

map configuration: web based map makes "internet Error" #134

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. configure new web based map (new file ump.ini)
[Tiled MAP]
gpsVPVersionMin=0.4.15
Filename=x=%X&y=%Y.png
URL=http://tiles.ump.waw.pl/ump_tiles/%ZOOM_00/%X/%Y.png
2. place ump.ini in folder gpsVP\mapconfigs\
3. start gpsVP and select raster map type "ump" 
This is new menu option which comes from above file ump.ini 

What is the expected output? What do you see instead?
Map tiles should be loaded, instead monitor "internet" indicate "Error"

What version of the product are you using? On what operating system?
SHi600 smartphone WM5 gpsVP 0.4.20
(prblem doesn't exist on XP version)

Please provide any additional information below.
1. service ump.waw.pl is opensource like "openstreet"
Web interface is located: http://mapa.ump.waw.pl/ump-www/
Tiles are located: http://tiles.ump.waw.pl/ump_tiles/....

2. tiles are located in the same order as openstreet, for example:
http://tiles.ump.waw.pl/ump_tiles/14/9144/5393.png
http://tile.openstreetmap.org/14/9144/5393.png
Zoom levels and folder order seems to match, files are identical.

3. when I used files from diffrent folder on ump.waw.pl the file is loaded
and  monitor "Internet" idicates "OK". For example:
http://ump.waw.pl/grafika/obszary.png
http://ump.waw.pl/grafika/garniak-small.png
(these files are not tiles, but I tried to load any other static file from
this server)  

4. I tried the same configuraion file on XP version and downloaded tiles
with success.
On the other hand - i tried configuration file for Openstreet on my
smartphone (sghi600,wm5) - works fine.

I suspect the folder name .../ump_tiles/... - it contains underscore. This
is the only difference for me. Any syntax separator ??

Original issue reported on code.google.com by rydze...@gmail.com on 18 Apr 2010 at 6:24

GoogleCodeExporter commented 9 years ago
I've found another WMS service with Polish maps and "_" (underscore) in URL

[Tiled MAP]

gpsVPVersionMin=0.4.15

Filename=x=%X&y=%Y.jpg
URL=http://sdi.geoportal.gov.pl/wms_topo/wmservice.aspx?request=GetMap&layers=TO
PO_100_80&srs=EPSG:4326&BBOX=%LONG1,%LAT1,%LONG2,%LAT2&WIDTH=256&HEIGHT=256&form
at=image/png&version=1.3.0&styles=
DemoPointZoomOne=13
DemoPointLat=52
DemoPointLon=21

... it works fine on my SGHi600 WM5 gpsvp0.4.20. So, the uderscore is not the 
clue.

I've copied 1:1 the ump.ini file from XP version to WM5 version. XP version 
works,
WM5 version doesn't.

I've checked in debug mode the URL passed to the servers (they are displayed 
for a
moment) - seems OK.

I give up, no idea where to check...

Original comment by rydze...@gmail.com on 8 May 2010 at 8:50

GoogleCodeExporter commented 9 years ago
More tests and conclusions in discussion:
http://groups.google.com/group/gpsvp/browse_thread/thread/b746426c48f3e549#

The problem was temporarily solved by creating another DNS alias for tile 
server -
without IPv6 record. 

Original comment by rydze...@gmail.com on 15 May 2010 at 12:57