[Francophone] conversion .map + png vers ecw

Yves Jacolin yjacolin at free.fr
Mon Mar 15 09:19:31 EDT 2010


Bonjour Marc,

Vous obtiendrez plus d'information sur des forums techniques tel que GeoRezo 
ou forumsig.

D'autre part, je suis étonné de l'utilisation de l'option -co pour définir une 
projection. Ce n'est pas leur utilisation si ma mémoire est bonne. Si le 
fichier png n'est pas georéférencé, cela ne vas pas fonctionner.

Enfin je ne comprend pas ce qu'est ce fichier map dont vous parlez.

Y.
Le vendredi 12 mars 2010 20:09:21, marc a écrit :
> Bonjour,
>
> Est-ce qu'il y a une procedure automatique pour convertir un png + map
> vers ecw?
>
> Ne fait pas la chose:
>
> wine gdal_translate.exe -of ECW -co "TARGET=94" -co "DATUM=NTF" -co
> "PROJ=LM2FRANC"   carte.png  carte.ecw
>
>
>
> Le contenu de .map est:
> OziExplorer Map Data File Version 2.2
> 19-20 Roeselare
> 19-20-Roeselare.png
> 1 ,Map Code,
> WGS 84,WGS 84,   0.0000,   0.0000,WGS 84
> Reserved 1
> Reserved 2
> Magnetic Variation,,,E
> Map Projection,Lambert Conformal
> Conic,PolyCal,No,AutoCalOnly,No,BSBUseWPX,No
> Point01,xy,   50,   51,in, deg,  51,  4.7614,N,   2, 31.6773,E, grid,
> ,           ,           ,N
> Point02,xy, 8550,   50,in, deg,  51,  5.2568,N,   3, 10.2020,E, grid,
> ,           ,           ,N
> Point03,xy,   51, 3829,in, deg,  50, 53.9773,N,   2, 32.1040,E, grid,
> ,           ,           ,N
> Point04,xy, 8550, 3827,in, deg,  50, 54.4679,N,   3, 10.4789,E, grid,
> ,           ,           ,N
> Point05,xy, 4350,   64,in, deg,  51,  4.9997,N,   2, 51.1631,E, grid,
> ,           ,           ,N
> Point06,xy, 4850, 3415,in, deg,  50, 55.4645,N,   2, 53.7330,E, grid,
> ,           ,           ,N
> Point07,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point08,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point09,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point10,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point11,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point12,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point13,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point14,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point15,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point16,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point17,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point18,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point19,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point20,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point21,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point22,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point23,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point24,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point25,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point26,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point27,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point28,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point29,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Point30,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,
> ,           ,           ,N
> Projection Setup,     0.000000000,     4.367975000,     1.000000000,
>     149596.00,     -5464543.00,    51.166666667,    49.833333333,,,
> Map Feature = MF ; Map Comment = MC     These follow if they exist
> Track File = TF      These follow if they exist
> Moving Map Parameters = MM?    These follow if they exist
> MM0,Yes
> MMPNUM,4
> MMPXY,1,0,0
> MMPXY,2,8601,0
> MMPXY,3,8601,3880
> MMPXY,4,0,3880
> MMPLL,1,   2.524688,  51.081914
> MMPLL,2,   3.173171,  51.090182
> MMPLL,3,   3.179148,  50.905527
> MMPLL,4,   2.530665,  50.897260
> MM1B,5.291424
> LL Grid Setup
> LLGRID,Yes,1 Min,No,255,16711680,0,1 Min,0,16777215,7,1,Yes,x
> Other Grid Setup
> GRGRID,Yes,1 Km,No,8421504,12632256,1 Km,0,16777215,8,1,Yes,No,No,x
> MOP,Map Open Position,50,50
> IWH,Map Image Width/Height,8601,3880

-- 
Yves Jacolin

http://yjacolin.gloobe.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/francophone/attachments/20100315/f1efabd6/attachment.html


More information about the Francophone mailing list