[postgis-devel] ST_asGML strictness
Olivier Courtin
olivier.courtin at oslandia.com
Mon Mar 22 16:45:32 PDT 2010
On Mar 23, 2010, at 12:30 AM, strk wrote:
>> Well i was also curently working on it...
>>
>> Still have to debug/cunit and document it
>
> Oops, I've already committed the liblwgeom/ part and cunit.
> Sorry if I didn't announce the start of this.
Yeap lack of communication on this one,
Hopefully not spend too much time on this...
> I kind of don't like the fact it would then be possible to say
> "no prefix" with 4th arg and still pass a 5th arg with another
> prefix. Also I don't find the 'options' parameter very friendly
> to use.
I agree on both !
> But anyway my solution also doesn't convince me much, it being:
> omitted or null prefix : <prefix> == "gml"
> non-empty prefix : <prefix> + :
> empty prefix : no prefix (and no colon)
Seems good to me,
As you keep backward compatibility,
with the 'omitted' case
> what doesn't convince me much with this is the impossibility
> to get a prefix consisting of an empty string + a ':' character.
I don't get this point,
what do you mean ?
> So all in all I'm happy if you take care of the interface part
> and am fine with your solution.
I will look (soon) at the new liblwgeom commited code,
and keep you on touch on this
--
Olivier
More information about the postgis-devel
mailing list