[OpenMap Users] Scaled layer and not enough memory

From: Mariusz Chmielewski <mchmiel21_at_tlen.pl>
Date: Mon, 18 Apr 2005 23:08:01 +0200

i defined my own scaled layer and i'am loading 3 diffrent CADRG layers
but i think that they are to heavy and so the openMap is loading only
one the rest of maps throw an Exception (Jva heap memory error) - out of
memory. I do not know
if the problem is in map data or is it JVM (perhaps i should increase
heap memory??) is there a chance that i could controll loading the CARDG
map data (load only 1/4 of it) and if needed try to reload the rest??

Please Help.

Thank You for any opinions on the matter.

Mariusz Chmielewski

P.S. Here is the properties file i used (part of it concerning scaled layer)


scaledFilterLayer.class=com.bbn.openmap.layer.ScaleFilterLayer
scaledFilterLayer.prettyName=Mapa pola walki
scaledFilterLayer.layers= cadrgLayer1 cadrgLayer2 cadrgLayer3
scaledFilterLayer.transitionScales= 1000000 250000 100000


### Java RPF properties
cadrgLayer1.class=com.bbn.openmap.layer.rpf.RpfLayer
cadrgLayer1.prettyName=CADRG 1:1 000 000
# This property should reflect the paths to the RPF directories
cadrgLayer1.paths=data/RPF
# Number between 0-255: 0 is transparent, 255 is opaque
cadrgLayer1.opaque=255
# Number of colors to use on the maps - 16, 32, 216
cadrgLayer1.number.colors=216
cadrgLayer1.scale=4
# Display maps on startup
cadrgLayer1.showmaps=true
# Display attribute information on startup
cadrgLayer1.showinfo=false
# Scale images to fit the map scale
cadrgLayer1.scaleImages=true
cadrgLayer1.coverage=true
cadrgLayer1.transitionScales=1000000

### Java RPF properties
cadrgLayer2.class=com.bbn.openmap.layer.rpf.RpfLayer
cadrgLayer2.prettyName=CADRG 1:250 000
# This property should reflect the paths to the RPF directories
cadrgLayer2.paths=data1/RPF
# Number between 0-255: 0 is transparent, 255 is opaque
cadrgLayer2.opaque=255
# Number of colors to use on the maps - 16, 32, 216
cadrgLayer2.number.colors=216
cadrgLayer2.scale=4
# Display maps on startup
cadrgLayer2.showmaps=true
# Display attribute information on startup
cadrgLayer2.showinfo=false
# Scale images to fit the map scale
cadrgLayer2.scaleImages=true
cadrgLayer2.coverage=true
cadrgLayer2.transitionScales=250000

### Java RPF properties
cadrgLayer3.class=com.bbn.openmap.layer.rpf.RpfLayer
cadrgLayer3.prettyName=CADRG 1:100000
# This property should reflect the paths to the RPF directories
cadrgLayer3.paths=data2/RPF
# Number between 0-255: 0 is transparent, 255 is opaque
cadrgLayer3.opaque=255
# Number of colors to use on the maps - 16, 32, 216
cadrgLayer3.number.colors=216
cadrgLayer3.scale=4
# Display maps on startup
cadrgLayer3.showmaps=true
# Display attribute information on startup
cadrgLayer3.showinfo=false
# Scale images to fit the map scale
cadrgLayer3.scaleImages=true
cadrgLayer3.coverage=true
cadrgLayer3.transitionScales=100000


--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Apr 18 2005 - 17:09:06 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:06 EDT