Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-users] Reprojection

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.



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?

If I use the shapefiles from the Lombardia's website:
they have the epsg code 26591
I set in the map editor the epsg code 26591
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 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!

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





Back to the top