[Xastir] Terraserver?

Curt, WE7U archer at eskimo.com
Tue Mar 2 13:12:12 EST 2004


On Mon, 1 Mar 2004, Curt Mills wrote:

> Just checked.  I'm getting tigermaps ok, but toposerver and
> terraserver are _almost_ all black.  There's text in the lower right
> corner that says "USGS".  You can see it easily if you look at the
> image in the ~/.xastir/tmp directory.
>
> Looks like it's not an Xastir display problem, as the image we're
> downloading is definitely black.

Looks like terraserver is playing some games.  I switched the code
in map_geo.c to use their older URL and I'm getting images again.  I
check that into CVS but it probably won't be on anon CVS for a bit.

Easy to make the change those.  Make it look like this:


xastir_snprintf(fileimg, sizeof(fileimg),
    "http://terraservice.net/download.ashx?t=%d\046s=%d\046x=%d\046y=%d\046z=%d\046w=%d\046h=%d",
//  "http://terraserver-usa.net/download.ashx?t=%d\046s=%d\046x=%d\046y=%d\046z=%d\046w=%d\046h=%d",
    (toposerver_flag) ? 2 : 1,
    t_zoom,
    url_e,
    url_n,
    z,
    geo_image_width,
    geo_image_height);


The big change:  Moving the comment lines from on http line to the
other.

--
Curt, WE7U			    archer at eskimo dot com
Arlington, WA, USA		http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir mailing list