[ka-Map-users] Handling large raster data sets

Sten-Helge Henriksen stenhh at gossipwall.com
Fri Mar 24 12:49:57 EST 2006


Gents!

I downloaded the CVS source, cleaned out the cache, jumped in to it, and
ran the precache script on my original data set.
That did the trick. Ka-map rocks. My tiled raster data can now be
re-centered and scaled very smoothly.

Thanks for your help.

Regards
Sten-Helge Henriksen


> Sten, sorry I maybe sent you in the wrong way,
> today I've visited your site in heavy traffic (maybe) and it was
> doing totally different things than tonight.
>
> I've seen what you describe in your first mail, it seems really
> strange to me.
> Did you change any part of the code?
>
> your GMap works perfectly
> http://www.cmis.no:8080/index.html/index.html?map=gmap
>
> Cmis map works fine, heavy but fine
> http://www.cmis.no:8080/index.html/index.html?map=cmis
>
> but if I call
> http://www.cmis.no:8080/index.html/index.html?map=cmis_raster
> it start doing the mystic part...
>
> It gets a "layer has no properties" error on kaMap.js line 1441
> that means:
> 1440    var layer = this.aMaps[this.currentMap].aLayers[0].domObj;
> 1441    var img = layer.childNodes[0].style;
>
>
> now from your init.php:
> ...
> aszScales=new Array
> (750000,500000,250000,125000,75000,35000,15000);var map = new _map
> ( 'cmis_raster', 'CMIS_Raster', 0, 3, aszScales);map.setDefaultExtents
> (-730393,6442169,1523378,8132498);map.setBackgroundColor('rgb
> (255,255,255)');map.addLayer(new _layer( 'GRIDS', false, 100,
> 'jpeg',false, new Array(1,1,1,1,1,1,1) ));map.addLayer(new _layer
> ( '__base__', true, 100, 'jpeg',false, new Array
> (1,1,1,1,1,1,1)));map.resolution = 72;this.addMap( map );
> ...
>
> the only thing it seems strange to me could be the GRIDS layer
> visibility set on false.
>
> I'm quite tired (going to bed), not a  great fantasy, but try to put
> in on. Maybe that old bug Tim solved?
> or try to change position in the mapfile at  layers (first place to
> second place)
>
> Best: try with new CVS, remember to change config.php map array to
> the new format
>
> ciao
> Lorenzo
>
>
>
> Il giorno 23/mar/06, alle ore 21:25, Sten-Helge Henriksen ha scritto:
>
>> Hi!
>>
>> I run the ka-map software on a 2 way Intel Xeon 2.8 with 4Gb ram.
>> The OS
>> is FC 4 with apache-2.0.54-10.3, php-5.0.4-10.5, mapserver-4.8.1 and
>> gdal-1.3.1.
>>
>> I downloaded precache.php from the CVS archive, but it failed to run
>> properly with the following outputs;
>>
>> Map: cmis_raster
>> PHP Warning:  Invalid argument supplied for foreach() in
>> /var/www/html/ka-map/htdocs/precache.php on line 120
>> PHP Notice:  Undefined index:  scales in
>> /var/www/html/ka-map/htdocs/precache.php on line 83
>> PHP Notice:  Undefined index:  path in
>> /var/www/html/ka-map/htdocs/precache.php on line 84
>>
>> I will try to feed the application with some smaller data set, and
>> see if
>> could give a better result.
>>
>> Regards
>> Sten-Helge Henriksen
>
>



More information about the ka-Map-users mailing list