Re: [OpenMap Users] Questions on how to use OpenMap as an applet which uses data from server

From: CBSpatial <support_at_cbspatial.com>
Date: Mon, 6 Jun 2005 17:59:36 +0300

Well Dietrick, as the Coder of OpenMap, what can we do then to improve speed
much better? . I tried to setup a Servlet which uses ImageServer , using a
few layers, and the image comes at least 15-20 seconds later.. same thing
with desktop also...When i load a road network of 50 000 features and it
makes GUI so slow when just panning or zooming...


----- Original Message -----
From: "Don Dietrick" <dietrick_at_bbn.com>
To: "CBSpatial" <support_at_cbspatial.com>
Cc: <openmap-users_at_bbn.com>
Sent: Monday, June 06, 2005 5:52 PM
Subject: Re: [OpenMap Users] Questions on how to use OpenMap as an applet
which uses data from server


No, you're correct. Zooming and panning change the projection (as do
changing the window size), and OMGraphics need to be told that the
projection has changed.

But from an OpenMap developer point of view, that's different than
rendering, as actual rendering occurs much more often than that for a
layer.


On Jun 6, 2005, at 10:34 AM, CBSpatial wrote:

> I am not doing anything it..I thought OpenMapdoes what you say.
> Suppose you
> want to zoomin to map..will this change projection parameters? or
> panning?
> will it change projection parameter.? What I know is YES , because
> everyhtime we zoom in we change scale....Please correct me if I am
> wrong.
> ----- Original Message -----
> From: "Don Dietrick" <dietrick_at_bbn.com>
> To: "CBSpatial" <support_at_cbspatial.com>
> Cc: <openmap-users_at_bbn.com>
> Sent: Monday, June 06, 2005 5:05 PM
> Subject: Re: [OpenMap Users] Questions on how to use OpenMap as an
> applet
> which uses data from server
>
>
> Actually, if you are re-projecting your layer data for every render,
> you are doing something wrong. The data only needs to be re-
> projected when the projection for the map changes.
>
> With any application, there are configuration choices to made that
> can hamper and/or improve performance.
>
> On Jun 6, 2005, at 8:33 AM, CBSpatial wrote:
>
>
>> OpenMap is slow..this is an unfortunate fact..I guess this is
>> because of the
>> fact that it calculates screen coordinates by using projection
>> class to
>> everytime to render the layers..This is what slows down OpenMap...
>> ----- Original Message -----
>> From: "Mariusz Chmielewski" <mchmiel21_at_tlen.pl>
>> To: "Don Dietrick" <dietrick_at_bbn.com>; "OpenMap Support"
>> <openmap_at_bbn.com>;
>> <openmap-users_at_bbn.com>
>> Sent: Monday, June 06, 2005 2:40 PM
>> Subject: Re: [OpenMap Users] Questions on how to use OpenMap as an
>> applet
>> which uses data from server
>>
>>
>>
>>
>>> Using relative path isn't such a great idea becouse of the size of
>>> the
>>> RPF map (32 MB) would You suggest?? I have a problem putting such
>>> data
>>> into the JAR - i do not know if the JAVA VM will allow to execute
>>> such
>>> application. I am thinking of using Java Web Start but this does not
>>> solve my problem i do not want to put map data into my jar file
>>> of an
>>> applet is there a chance thath if i point to map in URL openMap
>>> layer
>>> will automaticly download it itself?? is there a chance that i could
>>> write some code as a servlet that loads a whole CADRG map and
>>> sends only
>>> little piec of it as a new CADRG map. Has anybody tried it?? why the
>>> engine of open map is so slow while using the CADRG data. When i
>>> scroll
>>> 3 layer on my 2,2 GHz Pentium 4 512 RAM - i am waiting almost 5
>>> seconds
>>> befor i can see anything.
>>>
>>> Thanks for any opinions and hints
>>>
>>>
>>> Don Dietrick napisaƂ(a):
>>>
>>>
>>>
>>>> Hi Mariusz,
>>>>
>>>> On May 27, 2005, at 8:50 AM, Mariusz Chmielewski wrote:
>>>>
>>>>
>>>>
>>>>> Hi I am now experiencing some problems with teh open map as an
>>>>> applet. I written my own applet so it would be downloaded from the
>>>>> server and it contains openmap. But i ve got some issues that i
>>>>> cannot solve:
>>>>> 1. i am using the CADRG MAPS, those are the spatial data which
>>>>> requires large amount of memory about 2MB and the question is
>>>>> should
>>>>> i put the data into the jar file, or should i put the data on the
>>>>> server and download it or should i simply load the resources on
>>>>> the
>>>>> client. Ofcourse the 3 option is the worst becouse i do not want
>>>>> the
>>>>> spatial data to be accessable on the client maschine outside the
>>>>> applet. (additional info to the first option how to load a map
>>>>> using
>>>>> properties file from local applet resources??)
>>>>>
>>>>>
>>>>
>>>>
>>>> You can put the data in a jar file.
>>>>
>>>>
>>>>
>>>>> 2. Concerning properties configuration (same as the map) where it
>>>>> should be placed inside jar and how to load it??
>>>>>
>>>>>
>>>>
>>>>
>>>> You would configure the RPFLayer to have a relative path to the RPF
>>>> directory in the jar file, from the root of the jar file.
>>>>
>>>>
>>>>
>>>>> 3. Is there a chance that i could load only a part of CADRG map
>>>>> and
>>>>> the load the rest if neccessery?? so that i could minimize the
>>>>> size
>>>>> of used memory during the execution of the applet??
>>>>>
>>>>>
>>>>
>>>>
>>>> That's the way the layer works now. It only loads what it needs.
>>>> You
>>>> can change the cache sizes so it holds onto less memory if you need
>>>>
>>>>
>> that.
>>
>>
>>>>
>>>> - Don
>>>>
>>>> --
>>>> [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"]
>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>> [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"]
>>
>>
>>>
>>>
>>
>

--
[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 Tue Jun 07 2005 - 02:34:37 EDT

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