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

Paul Spencer pspencer at dmsolutions.ca
Thu Mar 23 22:21:22 EST 2006


A bit more on this.  With the CVS version of ka-Map I have about 6  
map files configured and switching between them causes no problem so  
I don't think it can be there.  I suspect it is something in the way  
the map file is set up.

Your best bet is to upgrade to the cvs version and if it still fails  
perhaps we can help you out.

Cheers

Paul

On 23-Mar-06, at 7:53 PM, Lorenzo Becchi wrote:

> 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
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users

+-----------------------------------------------------------------+
|Paul Spencer                           pspencer at dmsolutions.ca   |
+-----------------------------------------------------------------+
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+






More information about the ka-Map-users mailing list