-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 20/03/13 16:44, Andre Joost wrote: > Am 20.03.2013 16:01, schrieb Rainer M Krug: > >> What I don't like is that I have to specify t_srs in such a long way. It >> states that t_srs >> can be "a .prf file containing well known text", but I can't figure out what >> a .pdf file is. >> Would for exmple work, if I put >> >> +proj=aea +lat_1=-28.25 +lat_2=-29.75 +lat_0=-29 +lon_0=30.75 +x_0=0 +y_0=0 >> +datum=WGS84 >> +units=m +no_defs >> >> in t.prf and refer to it in gdalward as "-t_sts t.prf"? >> > > No, the proj definition text is not "well known text" WKT. > > >> Are there any examples available for prf files and allowed formats? > > It's simply the same format as in every shapefiles .prj file. > > For example ogr2ogr -s_srs epsg:3375 -t_srs epsg:4245 Malay-Kertau.shp > rivers-neu.shp ogr2ogr > -s_srs epsg:3375 -t_srs Malay-Kertau.prj Malay-prj.shp rivers-neu.shp > > returns two identical outputs, where Malay-Kertau.prj contains the definition > used in the first > run with EPSG:4245.
Thanks for the response. So the file Malay-Kertau.prj would then contain the text: epsg:4245 ? So I have to put into the file simply the text as supplied to -t_srs ? And what is the difference between a .prj file used by shape files and a .pdf file (format wise)? Rainer Rainer > > Greetings, André Joost > > > > _______________________________________________ gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: [email protected] Skype: RMkrug -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRSsAaAAoJENvXNx4PUvmCLCgH/2ZdL433Twrcvrmq0Nwz5HH7 osTxtve9AunR5nuNaMX9uyFihXjXbbMLf0gm8/8sZ3C4Z/tPb+9/vRvQYTD5cEPj GTgDWboY7wg25IrDiWgYPpbiyZ3kkaXwmOmTCZeS03AzRtB15EQ/T/+77YHD7C99 Yg74pombMKHPYXbEeu5gAqGzP94eB0L0NlXaTqgeXhfo9uo6vo7JdPOQTTApYRml Dh0jybjv783eItoFnW7P8MkOADx2AKpsu30KuWVuJX99WWw/353lqemG2jfJKRKW 1ZkakihyT1+d8rrvJv0vMPVOn3GvR0MrLluSLoLFrt5zGAtjKyVgUfRwom7Gfw4= =TJnh -----END PGP SIGNATURE----- _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
