On 22/05/2014 16:01, Etienne Tourigny wrote:
You might be able to use ogr2ogr -a_srs (not -t_srs) with a custom crs
Yep! - Exactly what I just tried (note the +k parameter)
-s_srs "+proj=tmerc +lat_0=0 +lon_0=29 +k=1000 +x_0=0 +y_0=0 +axis=enu +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs" -t_srs "+proj=tmerc +lat_0=0 +lon_0=29 +k=1 +x_0=0 +y_0=0 +axis=enu +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"
Thanks to everyone who contributed. Regards, Zoltan
On Thu, May 22, 2014 at 8:35 AM, Zoltan Szecsei <[email protected] <mailto:[email protected]>> wrote:Hi, I've got a DXF file wherein the coordinate numbers (values) need to be divided by 1000 on each axis. I can't see anything in ogr2ogr - unless there is a trick using -t_srs parameter and defining a custom CRS? The numeric values are currently in mm but I need to have them in metres so that I can assign the correct CRS to them. TIA, Zoltan--=========================================== Zoltan Szecsei PrGISc [PGP0031] Geograph (Pty) Ltd. GIS and Photogrammetric Services P.O. Box 7, Muizenberg 7950, South Africa. Mobile: +27-83-6004028 <tel:%2B27-83-6004028> Fax: +27-86-6115323 <tel:%2B27-86-6115323> www.geograph.co.za <http://www.geograph.co.za> =========================================== _______________________________________________ Qgis-user mailing list [email protected] <mailto:[email protected]> http://lists.osgeo.org/mailman/listinfo/qgis-user
-- =========================================== Zoltan Szecsei PrGISc [PGP0031] Geograph (Pty) Ltd. GIS and Photogrammetric Services P.O. Box 7, Muizenberg 7950, South Africa. Mobile: +27-83-6004028 Fax: +27-86-6115323 www.geograph.co.za ===========================================
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
