<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title></title>
</head>
<body style="font-family:Arial;font-size:14px">
<p>Sorry to have not inserted the topic.<br>
It was just a mistake ...I wad adding  +to_meter=0.01  , instead of substituting.<br>
Sorry<br>
<br>
<br>
Quoting Andre Joost <<a href="mailto:andre+joost@nurfuerspam.de">andre+joost@nurfuerspam.de</a>>:</p>
<blockquote style="border-left:2px solid blue;margin-left:2px;padding-left:12px;" type="cite">
<p>Dear Francesco,<br>
<br>
please use a meaningful topic so that others can search for it.<br>
<br>
Am 06.07.2015 um 10:50 schrieb <a href="mailto:francesco.maicu@ve.ismar.cnr.it">francesco.maicu@ve.ismar.cnr.it</a>:</p>
<blockquote style="border-left:2px solid blue;margin-left:2px;padding-left:12px;" type="cite">
<p>Dear all,<br>
I have a shape file tha for a certain reason has wrong coordinates.<br>
The areal geometry data originally come from a dgn file with EPSG3004<br>
coordinates, but now as I edited and exported from Geomedia, they have been<br>
multiplied for a factor 100, ie the exported shape has coordiantes 100times<br>
greater than real ones.<br>
How can I go back (re-translate) to EPSG3004 coordinates?<br>
I saved a custom CRS ading to EPSG3004 string,the keyword +to_meter=0.01 ,<br>
but it doesn't work.</p>
</blockquote>
EPSG:3004 is defined as:<br>
<br>
+proj=tmerc +lat_0=0 +lon_0=15 +k=0.9996 +x_0=2520000 +y_0=0 +ellps=intl +towgs84=-104.1,-49.1,-9.9,0.971,-2.917,0.714,-11.68 +units=m +no_defs<br>
<br>
If you want to change the units, you have to replace the +units=m part with +to_meter=0.01:<br>
<br>
cs2cs +proj=tmerc +lat_0=0 +lon_0=15 +k=0.9996 +x_0=2520000 +y_0=0 +ellps=intl +towgs84=-104.1,-49.1,-9.9,0.971,-2.917,0.714,-11.68 +to_meter=0.01 +no_defs +to +init=epsg:3004 <in.csv >out.txt<br>
<br>
in.csv:<br>
250000000 450000000<br>
<br>
out.txt:<br>
2500000.00        4500000.00 0.00<br>
<br>
HTH,<br>
André Joost<br>
<br>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo">Qgis-user@lists.osgeo</a>.<a href="orghttp://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">orghttp://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote>
<p><br>
<br></p>
<div>Francesco Maicu<br>
ISMAR - CNR<br>
Arsenale Tesa 104 - CASTELLO 2737/E<br>
30122 Venezia<br>
Italy<br>
<br>
tel.  +39 041 2407944<br>
fax   +39 041 5207940<br>
e-mail: <a href="https://webmail.ismar.cnr.it/horde/imp/dynamic.php?page=mailbox#">francesco.maicu@ve.ismar.cnr.it</a><br>
skype: checcomex<br>
---------------------------------</div>
</body>
</html>