[udig-devel] FAQs?

Peter N. Schweitzer pschweitzer at usgs.gov
Tue May 1 12:56:21 PDT 2007


Jesse Eichar wrote:
> On May 1, 2007, at 11:27 AM, Peter N. Schweitzer wrote:
>> 1. I don't get any information (no new tabs or windows appear)
>>   when I select the "Info" tool and click on a polygon.  Is
>>   this a known problem for Linux?
> 
> There's an issue with the browser integration on linux you have to set 
> MOZILLA_HOME variable to something :P   You should be able to find the 
> instructions online.

Thanks for such a quick response!

But I mean there is no "Information view" as Walkthrough 1 shows
on its page 29.  And there is no information view among the choices
in the menu appearing when I choose Show View from the Windows menu.
Is this really related to the browser integration problem?

>> 2. I cannot get the online help; I get a popup window titled
>>   "Problems Opening Link" containing the message "Unable to
>>   open web browser on {0}".  Is there some way to specify an
>>   external application (Firefox) as the web browser?
> 
> Hmmm.  Eclipse allows you to do that but it seems we don't.  Fixing 
> MOZILLA_HOME should fix this.  There is also a way you can specify the 
> port of the server and then you could use firefox to hit that port and 
> view the help... Mind you you'd still have to go to online help then 
> open firefox.

Does Eclipse have its own preferences file?

I modified my .profile to add
export MOZILLA_HOME=/usr/lib/firefox
export MOZILLA_FIVE_HOME=/usr/lib/firefox
and also did
$ su
# cd /usr/lib/firefox
# ln -s firefox mozilla
Now I get log entries like this:

!ENTRY org.eclipse.ui 4 0 2007-05-01 15:17:28.307
!MESSAGE XPCOM error -2147221164
!STACK 0
org.eclipse.swt.SWTError: XPCOM error -2147221164
        at org.eclipse.swt.browser.Browser.error(Browser.java:1328) [more...]

I'm at a loss.  Is Firefox incompatible with Eclipse?

>> 3. I don't have the ArcSDE plugin and I don't need it.  Can I tell
>>   uDig not to go looking for it, otherwise the log file gets lots
>>   of exception information about this?
> 
> This has been fixed for the next version.  You can also just delete the 
> net.refractions.udig.catalog.arcsde_*  jar from the plugins directory.

Worked like a charm.  Thanks! 

>> 4. I wish the layer style composer would allow an unlimited number
>>   of unique values rather than a maximum of 12.  Then I could export
>>   the SLD and customize it.  I don't want to group text values.
>>   Does this make sense?
> 
> Yeah this is a common request and we're working on it.

I guessed this might be on the to-do list.  For now I can use your
SLDs as models and generate appropriate SLDs.

Peter
-- 
Peter N. Schweitzer (MS 954, U.S. Geological Survey, Reston, VA 20192)
(703) 648-6533  FAX: (703) 648-6252  email: pschweitzer at usgs.gov
<http://geology.usgs.gov/peter/>


More information about the udig-devel mailing list