[ka-Map-users] [mapserver-users] Ka-Map display issues

TC Haddad tchaddad at gmail.com
Fri Jun 18 01:10:46 EST 2010

Hi Henry,

I think your question is more for the Ka-map list. Maybe someone there
can help. You also don't mention what version of ms4w you are using,
on the off chance that that might be relevant.

I don't suppose there are data from multiple projections being
combined in your mapfiles? That could be a potential source of
"invalid map extents" if not done correctly.

also, when you are testing, make sure to delete the cached tiles that
are created after a failed test, otherwise it would be easy to miss
when one of your corrections actually succeeds.


On Thu, Jun 17, 2010 at 5:52 PM, Henryk <s0348372 at sms.ed.ac.uk> wrote:
> Hello,
> I am trying to create a slippy map using ka-map and a few datasets I am
> holding locally.
> I have installed mapserver and ka-maps using the ms4w package, but am unable
> to display any mapfiles I have created. I've tested these by creating pngs
> from the mapfiles and they work fine.
> When I point my browser at Ka-map however, the shell appears with all the
> tools (pan, zoom etc) along with the name of the map, but there is no image.
> When I change the bg color in the mapfile, the browser display changes
> accordingly.
> When I check the Apache error log I see this message:
> [error] PHP Warning:  Division by zero in
> D:\\ms4w\\apps\\ka-map-1.0\\htdocs\\tile.php on line 231, referer:
> http://localhost/kamap/
> [error] PHP Warning:  Division by zero in
> D:\\ms4w\\apps\\ka-map-1.0\\htdocs\\tile.php on line 232, referer:
> http://localhost/kamap/
> [error] PHP Fatal error:  [MapServer Error]: setExtent(): Given map extent
> is invalid. Check that it is in the form: minx, miny, maxx, maxy, referer:
> http://localhost/kamap/
> [error] PHP Warning:  readfile(D:\\ms4w\\apps\\ka-map-1.0\\htdocs): failed
> to open stream: Permission denied in
> D:\\ms4w\\apps\\ka-map-1.0\\htdocs\\keymap.php on line 88, referer:
> http://localhost/kamap/
> I'm a newbie at most of this, but any help would be greatly appreciated.
> H
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Ka-Map-display-issues-tp5193584p5193584.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

More information about the ka-Map-users mailing list