On Mon, Feb 23, 2009 at 8:40 AM, Laura
<bisnulama@xxxxxxxxxxx> 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" <acizmeli@xxxxxxxxxxx>
Sent: Sunday, February 22, 2009 5:28 PM
To: "Laura" <bisnulama@xxxxxxxxxxx>
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
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