Thanks Even,
Sounds like I'd have to assemble the new style string manually by joining up to
four tool style strings using 'OGR_ST_GetStyleString()' (one for each tool that
is present) with a ";" in between each.
That should be OK.
Cheers,
Nik.
On 10 Aug 2014, at 8:57 pm, Even Rouault wrote
Le dimanche 10 août 2014 12:36:02, Nik Sands a écrit :
> Is there a C API equivalent?
No, from what I can see
> Or some other way of doing this without C++?
Actually I'm not sure OGRStyleMgr::GetStyleString(NULL) is what you want, at
least not directly. It just returns the m_pszStyleString me
Is there a C API equivalent? Or some other way of doing this without C++?
I'm using C rather than C++.
On 10 Aug 2014, at 7:30 pm, Even Rouault wrote:
> Le dimanche 10 août 2014 08:05:48, Nik Sands a écrit :
>> Hi devs,
>>
>> I've been working with styles using 'OGRStyleMgrH'. However, I ca
Le dimanche 10 août 2014 08:05:48, Nik Sands a écrit :
> Hi devs,
>
> I've been working with styles using 'OGRStyleMgrH'. However, I cannot
> figure out how to get a string directly from an OGRStyleMgrH. I'd like to
> be able to get the string representation of the style in the same format
> as
Hi devs,
I've been working with styles using 'OGRStyleMgrH'. However, I cannot figure
out how to get a string directly from an OGRStyleMgrH. I'd like to be able to
get the string representation of the style in the same format as can be used to
initialise the OGRStyleMgrH in OGR_SM_InitStyleSt