Il 21/03/2012 01:24, DenesL ha scritto:
Hi Manuele,
you are right about PPyGIs, from their caveats:
"Only EWKB representations are supported — the WKB, EWKT and WKT
alternatives are not."
At the moment, the DAL can only insert WKT data, as required by the
sponsor.
But in the future we should support the other formats as well.
Regards,
Denes
if you consider what I said in a recent recipe[1] I post on web2py[:]
defining the geometry field (in a raw way indeed) as 'text' the EWKB
format for insertion is naturaly accepted and work fine so maybe it
would be quite easy to support EWKB format for insertion. Or can you
suggest some code or library to convert into WKT?
thank you very mutch
cheers
Manuele
http://www.web2pyslices.com/slice/show/1487/a-gis-recipe