|
You
wrote:
"Another
possibility is to create a point shapefile and one of the attributes can be a
URL to an image.
The style you can define for the layer can simply
display that icon at the location of the point."
I think this is the way I need to
go.
Bearing in mind I am not up to speed with uDig and GIS,
this is what I believe I need to achieve and the associated question I have
(some of which may be silly).
I need to create layers
pointing to local shape files, which each will display one type of
icon.
So they can turn the layers on an off.
Display all the fish, then all the huts
etc.
Q: Can one shapefile hold information about more than
one icon/point? (I am sure it can - I just what to be
certain)
As they drag an icon from the palette, I need to
determine if I have a layer already for that type of
icon.
I was hoping to use the layer name = icon
name.
Q: Is the layer name stored in the shape file, i.e. is
it persistent?
If there is already a layer displaying say huts, I need
to create a new point displaying the hut icon dropped else I need to create a
new layer and add the icon to that.
Q: Is it possible to add a right-click menu to an icon
on a layer (I guess to a point object - though I am still fuzzie about this a
present)?
I need
to be able to associated a point icon with a Compendium map (an external
application).
I am
going to use sockets to achieve this.
Q:
What information do I need to store in Compendium for it to be able to request
uDig to open a specific project, map and layer to link it back to a specific
icon on a map? Is it just the .umap file and a layer ID of some kind? If so, how
do I programmatically find out what the current .umap file is?, and how do I use
that later to re-open that map?
Extra:
They have not asked for this yet, but I am guessing that they may expect to be
able to drag the icons around the map to relocate them.
Q: Is
this currently possible. If not, is this as simple as adding a drag/drop event
to an object somewhere, or are we talking really
complicated?
Sorry
about all the questions.
After
a sleepless night worrying, I am trying to crystalize what I need to achieve,
and some of the questions I have at this stage.
Thanks
for your patients with me so far.
Michelle
|
_______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
