Re: [OpenMap Users] Problem using VPFLayer

From: Don Dietrick <dietrick_at_bbn.com>
Date: Wed, 02 Jul 2008 14:27:10 -0400

Hi Kennedy,

Make sure you use forward slashes in path names when specifying them in
code. You can use double backslashes, but forward slashes seem to work
more consistently for me.

Also, make sure there is a "lat" or "lat." file in the noamer directory.

- Don


Davidian wrote:
> I know that there are multiple posts about using VPFLayers, but my
> situation is a little different: I am creating everything
> programatically, rather than via the properties file. For some reason,
> when I construct a VPFLayer and call setPaths, I get the following error:
>
> * *** ERROR *** *
>
> *VPFLayer.getRectangle: Data path probably wasn't set correctly
> (C:\map_imagery_data\vector data\v1078\noamer). The warehouse not
> initialized.*
>
> My code is basically:
>
> VPFLayer layer = new VPFLayer();
> layer.setPath(IMAGERY_DIRECTORY_PATH); //the full path to the directory
>
> Does anyone have any suggestions?
>
> Thanks,
>
> Kennedy
>
> ------------------------------------------------------------------------
> View this message in context: Problem using VPFLayer
> <http://www.nabble.com/Problem-using-VPFLayer-tp18243484p18243484.html>
> Sent from the OpenMap mailing list archive
> <http://www.nabble.com/OpenMap-f16955.html> at Nabble.com.

--
[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 Wed Jul 02 2008 - 14:27:40 EDT

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