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

Adam Eskreis aeskreis at gmail.com
Mon May 7 15:45:58 EDT 2007


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/20070507/b66c060c/attachment.html


More information about the ka-Map-users mailing list