Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Adding an image to the map

uDig is able to draw directly from postgis; you can arrange for your layer style to draw an image at each construction site location.

Jody

On 11/05/2010, at 1:18 AM, Sebastian Janisch wrote:

> Hey, 
> 
> I am trying to add a construction-site image to a map. 
> 
> The approach I chose was to create modal tool and a class that extends AbstractDrawCommand and having it's run method use the ViewportGraphics instance draw the image.
> 
> The thing is, the image gets drawn upon a mouse click. When I click again instead of getting another 
> image it removes the old one and draws a new image.
> 
> I think it's not the way to go. I need to have those images persist so when I open uDig again they show up again.
> 
> Ideally these construction sites should be stored in a PostGIS database as points and then displayed as those little images.
> 
> So, how would I implement such a thing?
> 
> 
> Thank you & best regards, 
> 
> Sebastian
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top