Could you provide more info on what are you trying to accomplish? where is your data and how it is stored, etc.
The current DAL GIS implementation takes advantage of the built-in support provided in the DB for GIS data, be it PostGIS or MSSQL spatial support, without any additional dependencies in web2py. The input is provided in human-readable WKT text form, the output is more flexible. WKT is not a technical limitation, it is just the sponsor's preference. Other formats are equally possible with some additional modification to the DAL's code. On Mar 21, 4:18 am, Manuele Pesenti <manuele.pese...@gmail.com> wrote: > 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