Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-users] Re: How do you get an image file into uDig

Afternoon Ann-Marie; I am forwarding my reply to the udig-users list (so others with a similar question may be able to help).

That is a very strange error message; we have not had any problems with shapefiles for a while. First of all what version of uDig are you using? If you have a link to the Census data I can try it out here and see if I get a similar problem.

There is no way to join an Excel file with a shapefile in uDig. I am interested in learning more; what does ArcView use to join? A common ID column or something?

Cheers,
Jody

annwatt@xxxxxxxxx wrote:
Hi Jody,

I need a little help.  I too am having problems with uDig, with the same error message ("unable to recognize service, choose another").  I am familiar with GIS and have used ArcView, but am new to uDig.  So, here is what I am having a problem with:

I am trying to get a shapefile into uDig. I have tried the "drag and drop" method, the "Add Data" options in the Table of Contents, and even adding a new layer. When the destination options come up, I chose "Files", and navigated to a folder on my desktop with the shapefile. At this point, the error message pops up. I thought this was really weird because I tried that drag and drop method when I first downloaded the software and it worked. Also, how do you add Excel files to uDig? I have downloaded Census data and would like to use them with my shapefiles. When I used ArcView, I would just drag them into the TOC. Do I have to create a database in order to use data files?
Please help!

Thanks,
Ann-Marie


Jody Garnett wrote:
Hi Crag; uDig 1.1.0 supports only a couple of image formats - it is something we are working on for the next release.

To import your tif or jpg file into uDig we need to know "where in the world" it is; so we can draw it in the correct location. There are a couple of good ways to do this: - Some image formats allow you to store metadata (ie where in the world) about the image. If you add location information to a TIFF file it is called a "geotiff". I am not sure how good our support of geotiff is for uDig 1.1.0 - I am just listing it here so you know what a geotiff is. - You can also store a little text file next to the image; that contains the "world" information for the image. The actual extension on this file depends on the format (jpeg uses jgw, tiff uses tfw, etc...)

When you choose to export an image from uDig (http://udig.refractions.net/confluence/display/EN/Map+to+Image+Wizard) it will produce a jpeg with a world file. Can you try that now so you have a good working example to start from?

You will see the following produced (if you choose the jpf format)
- foo.jpg - this is your image
- foo.jgw - this is the world file recording the coordinates of the upper left corner, size of each pixel etc... - foo.prj - this is the coordinate reference system documenting what the coordinates mean

Here are some documentation links:
-
http://udig.refractions.net/confluence/display/EN/Adding+an+image+to+a+map
- http://www.kralidis.ca/gis/worldfile.htm
-
http://geos.gsi.gov.il/vladi/FEFLOW/help/general/file_format.html#tfw_file

Cheers,
Jody
PS. If you were unable to find this information in the uDig online help please let me know where it could be located in order to help you?

Craig.Vertigan@xxxxxxxxxxxxxxx wrote:
I have tried loading both .tif and .jpg files but it won't load them.

I try loading the image file the same as I do with shape files by choosing File\New\New Layer... Then selecting the files option in the Data Sources dialog box. Then it comes back with this error in the dialog box:

"Unable to recognize service, choose another."

I also tried loading by dragging the image file into the main panel of uDig and get the same error there too.

Do I need to save the image in a different format or something? I am a complete novice to GIS systems.

Cheers
Craig
------------------------------------------------------------------------

_______________________________________________
udig-users mailing list
udig-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.refractions.net/mailman/listinfo/udig-users
_______________________________________________
udig-users mailing list
udig-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.refractions.net/mailman/listinfo/udig-users


Quoted from: http://n2.nabble.com/How-do-you-get-an-image-file-into-uDig-tp669620p669659.html




Back to the top