Hello Rashad,

I can not instanciate any working GenericMapProjection from a Wkt: a
>> default projection is always used instead.
>>
>
> Default how?
>

In fact, it's not default. But I don't really understand the behavior,
because there is some properties I can not set (i.e. parameter value, EPSG
number,...).


>
>> Indeed when I get back the Wkt of the instanciated GenericMapProjection,
>> It is completely different than the one I have specified.
>>
>
> OSSIM is in charge when you instanciate and get back a projection in WKT.
>
>
>
>> Here is the code (as simple as can be) I use to test this
>> <http://pastebin.com/iBt5dnrV>. Can someone be kind enough to check if
>> this works on his OTB version and/or explain me the reasons why I can not
>> use this projection in OTB?
>>
>
> I tried your wkt string and this is what I got:
>
> PROJCS["unnamed",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS
> 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9108"]],AUTHORITY["EPSG","4326"]],PROJECTION["Sinusoidal"],PARAMETER["longitude_of_center",0],PARAMETER["false_easting",0],PARAMETER["false_northing",0]]
>

I got the exact same wkt string.


>
>
> AFAICT, for OSSIM if there is no datum or it is unknown in case of GEOS
> projection, ossim sets it to WGS84. and add bunch of related stuff.
>
> ....
> AUTHORITY["EPSG","7030"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6326"]
> ....
>
>
Ok. I am a little confused here, about what is the job done by GDAL(GEOS?)
and the one of OSSIM.
Here is
<https://groups.google.com/forum/?fromgroups#!searchin/otb-users/ossim$20projection/otb-users/iJJmsemq0Mk/NbkujPtxbvgJ>an
interesting topic about this. But it's 5 years old, so maybe the framework
has a bit evolved since. Is there any support of PROJ4?
Anyway, we should be able to handle such custom projection, isn't it?


> Honestly, I don't know much about this. But I hope someone else in list
> might be able to help.
>

Thank you anyway. I hope some other otb big guys will come here !


>
>
>> Thank you in advance,
>> Rémi
>>
>>
>>
>>
>> PS: I also try to modify the Wkt in the example given in the cookbook
>> <http://www.orfeo-toolbox.org/SoftwareGuide/SoftwareGuidech11.html#x36-19800011.2>
>> but it did not worked too. The parameter I try to modify in the Wkt were
>> the spheroid flattening parameter.
>>
>>  --
>> --
>> Check the OTB FAQ at
>> http://www.orfeo-toolbox.org/FAQ.html
>>
>> You received this message because you are subscribed to the Google
>> Groups "otb-users" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/otb-users?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "otb-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Regards,
>    Rashad
>
> --
> --
> Check the OTB FAQ at
> http://www.orfeo-toolbox.org/FAQ.html
>
> You received this message because you are subscribed to the Google
> Groups "otb-users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/otb-users?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "otb-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/otb-users/RuCoBV0ZWl8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to