[Geoserver-users] What is the mean of fileCachePath in world wind java sdk demo?

Hello dear Justin,
I have a question to consult you. In world wind java sdk, there is a PlaceName demo which uses the WFS serviceI want to make a data server and I don’t know how to make a “fileCachePath”.Could you please give me some suggestions?Thank you very much! The code segements are as follows.
Best wishes for you!
Sincerely yours,
Yang

final String service = “http://worldwind25.arc.nasagov/geoservercache/geoservercache.aspx”;
final String fileCachePath = “Earth/NASA Geoserver Place Names”;

placeNameService = new PlaceNameService(service, “topp:wpl_oceans”, fileCachePath, Sector.FULL_SPHERE, GRID_1x1,
java.awt.Font.decode(“Arial-BOLDITALIC-12”));


财 富 一 骰 间:好 玩 刺 激 的 网 络 大 富 翁 来 啦!快 去 看 看

Hi Yang,

I have never actually used the world wind sdk. I checked out the javadocs but they are kind of poor as well.

However from what I can tell the fileCachePath parameter is just a location on disk where world wind can cache tiles from a remote server. So setting this to some "temporary" location (like /tmp/worldwind or something like that) might be a good place to start.

Hopefully someone who knows the api better can comment.

-Justin

Yang Zhaohui wrote:

Hello dear Justin,
   I have a question to consult you. In world wind java sdk, there is a PlaceName demo which uses the WFS serviceI want to make a data server and I don't know how to make a "fileCachePath".Could you please give me some suggestions?Thank you very much! The code segements are as follows.
Best wishes for you!
                                                                                                       Sincerely yours,

                                                                                                              Yang

...
final String service = "http://worldwind25.arc.nasagov/geoservercache/geoservercache.aspx <http://worldwind25.arc.nasa.gov/geoservercache/geoservercache.aspx&gt;&quot;;
        final String fileCachePath = "Earth/NASA Geoserver Place Names";
...
       placeNameService = new PlaceNameService(service, "topp:wpl_oceans", fileCachePath, Sector.FULL_SPHERE, GRID_1x1,
            java.awt.Font.decode("Arial-BOLDITALIC-12"));
...

------------------------------------------------------------------------
财 富 一 骰 间:好 玩 刺 激 的 网 络 大 富 翁 来 啦!快 去 看 看 <http://event.mail.163.com/chanel/click.htm?from=NO_10&domain=163&gt; !DSPAM:4007,46a32555177101439371379!

------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

!DSPAM:4007,46a32555177101439371379!

------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,46a32555177101439371379!

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

One of the issues with world wind is that the cached features are
stored in directories with the namespace and featuretype as the
directory name. This way of storing data falls apart with the colons
'::' used for namespace/featuretype separation (they are illegal
characters for directories).
I'm not sure if this has been changed by the WW team, but it looks
like the fileCachePath might be a way to specify the path for that
layer, so the namespace/featuretype name is not used and won't cause
an invalid directory.
I'm just guessing though.

cheers,

On 7/23/07, Justin Deoliveira <jdeolive@...1...> wrote:

Hi Yang,

I have never actually used the world wind sdk. I checked out the
javadocs but they are kind of poor as well.

However from what I can tell the fileCachePath parameter is just a
location on disk where world wind can cache tiles from a remote server.
So setting this to some "temporary" location (like /tmp/worldwind or
something like that) might be a good place to start.

Hopefully someone who knows the api better can comment.

-Justin

Yang Zhaohui wrote:
> Hello dear Justin,
> I have a question to consult you. In world wind java sdk, there is a
> PlaceName demo which uses the WFS serviceI want to make a data server
> and I don't know how to make a "fileCachePath".Could you please give me
> some suggestions?Thank you very much! The code segements are as follows.
> Best wishes for you!
> Sincerely yours,
>
> Yang
>
> ...
> final String service =
> "http://worldwind25.arc.nasagov/geoservercache/geoservercache.aspx
> <http://worldwind25.arc.nasa.gov/geoservercache/geoservercache.aspx&gt;&quot;;
> final String fileCachePath = "Earth/NASA Geoserver Place Names";
> ...
> placeNameService = new PlaceNameService(service,
> "topp:wpl_oceans", fileCachePath, Sector.FULL_SPHERE, GRID_1x1,
>
> java.awt.Font.decode("Arial-BOLDITALIC-12"));
>
> ...
>
> ------------------------------------------------------------------------
> 财 富 一 骰 间:好 玩 刺 激 的 网 络 大 富 翁 来 啦!快 去 看 看
> <http://event.mail.163.com/chanel/click.htm?from=NO_10&domain=163&gt;
> !DSPAM:4007,46a32555177101439371379!
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
>
> !DSPAM:4007,46a32555177101439371379!
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
> !DSPAM:4007,46a32555177101439371379!

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Brent Owens