[ka-Map-users] Re: Problem with OpenLayers with KaMap

Adam Eskreis aeskreis at gmail.com
Tue May 8 11:45:28 EDT 2007


figured out hte problem, for any who have a similar problem, the problem was
that the default tile size for OpenLayers is 256, but hte default for KaMap
is 200.  Thanks to Chris Schmidt for the tip off

On 5/7/07, Adam Eskreis <aeskreis at gmail.com> wrote:
>
> I am currently having a problem setting up KaMap layers with openlayers.
> It loads perfectly in the kamap viewer, but when i load the map in
> openlayers, all the tiles show up pink.  When i looked at one of the tile
> urls, i got the following errors :
>
> image url: http://nycmx.com:8000/kamap/tile.php?map=manhattan&g=__base__%2Cwater%2Cparks%2C&i=png&t=-768&l=4096&s=711304.0233
>
>
>
> *Warning*:
> fopen(/usr/local/fgs/apps/kamap/htdocs/tmp/kacache/manhattan//711304/__base___water_parks_/def/t-1000l4000/t-
> 768l4096.png): failed to open stream: No such file or directory in *
> /usr/local/fgs/apps/kamap/htdocs/tile.php* on line *288*
>
> *Warning*: Cannot modify header information - headers already sent by
> (output started at /usr/local/fgs/apps/kamap/htdocs/tile.php:223) in *
> /usr/local/fgs/apps/kamap/htdocs/tile.php* on line *289*
>
> *Warning*: filesize(): Stat failed for
> /usr/local/fgs/apps/kamap/htdocs/tmp/kacache/manhattan//711304/__base___water_parks_/def/t-1000l4000/t-
> 768l4096.png (errno=2 - No such file or directory) in *
> /usr/local/fgs/apps/kamap/htdocs/tile.php* on line *290*
>
> *Warning*: Cannot modify header information - headers already sent by
> (output started at /usr/local/fgs/apps/kamap/htdocs/tile.php:223) in *
> /usr/local/fgs/apps/kamap/htdocs/tile.php* on line *290*
>
> *Warning*: Cannot modify header information - headers already sent by
> (output started at /usr/local/fgs/apps/kamap/htdocs/tile.php:223) in *
> /usr/local/fgs/apps/kamap/htdocs/tile.php* on line *291*
>
> *Warning*: Cannot modify header information - headers already sent by
> (output started at /usr/local/fgs/apps/kamap/htdocs/tile.php:223) in *
> /usr/local/fgs/apps/kamap/htdocs/tile.php* on line *292*
>
> *Warning*: fpassthru(): supplied argument is not a valid stream resource
> in */usr/local/fgs/apps/kamap/htdocs/tile.php* on line *293*
>
> *Warning*: fclose(): supplied argument is not a valid stream resource in *
> /usr/local/fgs/apps/kamap/htdocs/tile.php* on line *294
>
> *I checked for the image it was looking for, and sure enough it wasnt
> there, but shouldn't it create teh image if it isnt there?
>
> here is the live versions of everything:
>
> kamap viewer: http://nycmx.com:8000/kamap/
> openlayers version: http://nycmx.com:8080/nycmx_maps/Map.htm
>
> any help would be most apreciated, thanx
>
> -Adam
> *
>
> *
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20070508/786350d7/attachment.html


More information about the ka-Map-users mailing list