Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-users] Re: [udig-devel] add layer

Hi, I think that is more for the users list.

> I created a jpeg image programmatically and now I want to programmatically add that image in my project. How?

Create a saem_name_as_your_jpg.jgw file that contains the following
http://en.wikipedia.org/wiki/World_file in order to position the image
in the world in the proper scale and rotation. Something like:

                   1.00000000000000
                   0.00000000000000
                   0.00000000000000
                  -1.00000000000000
              683412.08180000004000
             5213734.61629999990000

Then simply draw the file in the map panel and you have the layer loaded.

Best would be also to have a *.prj file with your projection info inside.

Ciao
Andrea




> Thanks,
> Cintia
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>


Back to the top