Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] layer name is null

Hi Jesse,
then probably there is something else wrong. The info and title are
defined everytime the thing is loaded. But it is missing in the
preferences, as well as the status.
Is it possible that for some reason it doesn't propagate the query for
info down the second level? JGarssService -> JGrassMapsetGeoResource ->
JGrassMapGeoResource?

Andrea




Jesse Eichar probaly wrote:
> Hi
> 
> The layer name is based on the info object of the GeoResource.  The
> Title is the first choice, then then name then finally the ID of the
> GeoResource.
> 
> Make sure that the Title, and name objects are being returned correctly.
> 
> Jesse
> 
> On Apr 21, 2007, at 1:36 AM, Andrea Antonello wrote:
> 
>> I have a problem with the jgrass service implementation.
>> Things are showing up properly, but there are some hidden problems.
>> One visible result is the fact, that in the properties panel of the map
>> (from the right click on the map in the Layers panel) in the Summary tab
>> the Name attribute is empty. Also the status is said to be "Layer not
>> rendered", even if I see the map.
>>
>> Now that I'm creating widgets to support the selection of loaded maps
>> from a treeviewer, when I ask for the layer name, I get a null and my
>> code breaks when trying to create the tree structure.
>>
>> I tried to debug through the code but got lost inside the nirvana. We
>> were talking about the identifier that ends with #name and that it was
>> changed to support also JGrass's way. I suppose it has something to do
>> with that, but I can't find that mail right now.
>>
>> Andrea
>> _______________________________________________
>> User-friendly Desktop Internet GIS (uDig)
>> http://udig.refractions.net
>> http://lists.refractions.net/mailman/listinfo/udig-devel
> 
> 


Back to the top