[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-devel] layer name is null
|
Found the problem and I've fixed it.
Jesse
On Apr 21, 2007, at 11:37 PM, Andrea Antonello wrote:
PS: one more thing. When I insert a name manually, then it keeps it
also
on restart of udig and everything works properly.
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