I was able to work with the files your provided no problem in uDig 1.2-M3. uDig is able to work with shapefiles without a projection; they show up as "generic 2d" or something - which is fine as long as your map is also generic 2d.
If you do want them to work with other datasets you will need to right click on a layer and assign them a projection. Thanks for sending me the data set. Jody On Tue, Feb 24, 2009 at 8:25 AM, Laura <[email protected]> wrote: > Hi Jody, > > if you want to try to use epgs 26591 go to > http://www.cartografia.regione.lombardia.it/usedde/clientDDE.jsp, select a > group and pick a layer you like. They will send you the file in some > minutes... If you prefer I can attach the files in a mail... As you can see > the layers I am using have also the prj file. > > Is udig unable to read maps without the prj files? (Is arcview so > intelligent to be able to read a map without it?) > > Thanks > > Laura > > > > From: Jody Garnett > Sent: Monday, February 23, 2009 2:30 AM > To: Laura > Cc: [email protected] > Subject: Re: [udig-users] Reprojection > > > On Mon, Feb 23, 2009 at 8:40 AM, Laura <[email protected]> wrote: >> >> Thank you ahmet, >> >> but I would like to do everything using udig, if it is possible. I am very >> new to udig and I am learning the basics. > > Welcome :-) >> >> Reading the "help contents" I understood this: >> --- if I use a shape file with epsg code 26591 (Rome/Monte Mario_zone 1) >> and I set in the map editor the crs with epsg code 26591 , then I see my map >> in the Rome/Monte Mario_zone 1 CRS >> --- if I use a shape file with epsg code 26591 and I set in the map editor >> the crs with epsg code 23032, then the shape file is re-projected and I see >> my map in a crs with epsg code 23032 >> --- if I use two different shapefiles with different epgs codes and in the >> map editor I use another epgs code , then the both of the are reprojected. >> >> Is this correct? > > Correct. uDig will do its best to show you your data on the current map. If > the prj information is correct it should be able to handle a wide range of > situtations. When you go to export out a shapefile (see walkthorugh 1) you > can export it out in a different projection; it will transform the contents > as needed producing a new shapefile with a different projection. > >> >> >> If I use the shapefiles from the Lombardia's website: >> they have the epsg code 26591 > > Do you have a link? I am not sure I have worked with EPSG 26591 before? >> >> I set in the map editor the epsg code 26591 > > Okay; but did the shapefile include a prj file? does it match the definition > supplied by uDig for 26591? If not copy the uDig definition for 26591 into > a prj file for your shapefile and try again. > > >> I should see a rectangle, but I see a rectangle rotated of 30degrees! >> (I'd'like to show you a picture but I cannot attach it in the mailing list) > > If you create a JIRA bug report you can attach a screen snap; however I am > thinking your shapefile does not include a PRJ file and what you are seeing > is uDig guessing and just showing you the raw data? >> >> >> If I load the same file in GloboExplorer and in Arcexplorer (sorry) I see >> a rectangle that is not rotated! And moreover, both Globo and Arcexplorer >> for a specified point give the same X,Y, and udig gives a different value of >> x,y! > > see the link in your previous email; pleaes advise about the prj file and > if needed I can download some sample data myself. > Jody > >> >> >> So, I do not understand if I misunderstood the help contents or if there's >> something wrong with roma montemario zone 1 crs... >> >> Thanks a lot >> >> laura > > >> >> >> >> -------------------------------------------------- >> From: "ahmet cizmeli" <[email protected]> >> Sent: Sunday, February 22, 2009 5:28 PM >> To: "Laura" <[email protected]> >> Subject: Re: [udig-users] Reprojection >> >>> It is definitely possible to do that in udig but I like to use the >>> command line utility ogr2ogr. Changing the projection of a shapefile using >>> ogr2ogr : >>> >>> Download and install ogr/gdal. >>> >>> To create output.shp with the WGS84 (4326) projection, use the following >>> syntax : >>> >>> ogr2ogr output.shp -t_srs "EPSG:4326" input.shp >>> >>> you can replace the 4326 with your CRS code of interest. >>> >>> voilà >>> good luck >>> >>> >>> Laura wrote: >>>> >>>> Hi, >>>> I am using a vector layer that I downloaded form the Lombardia website >>>> (http://www.cartografia.regione.lombardia.it/geoportale/ptk). >>>> These maps have a Roma40/ovest CRS (MonteMario_Italy_1, epgs code >>>> 29032). Is there a way to convert their coordinates to UTM-ED50 using udig >>>> or another open-software? >>>> Thank a lot >>>> laura >>>> ------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> udig-users mailing list >>>> [email protected] >>>> http://lists.refractions.net/mailman/listinfo/udig-users >>>> >>> >>> >> _______________________________________________ >> udig-users mailing list >> [email protected] >> http://lists.refractions.net/mailman/listinfo/udig-users > > _______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
