[Qgis-developer] restoring geometry from postgis

Denis Rouzaud denis.rouzaud at gmail.com
Thu Apr 25 02:28:40 PDT 2013


Hi all,

I am trying to recreate a QgsGeometry directly from the geometry field.

I have the geometry field like
01030000201555000001000000090000009651A84762EF28C19A0D0EA8ACCA52C1DCFD96C48B3934C1F31438F4260F53C106D7B89F97CF32C185BB1404A97654C1C8894E831C4E1EC1A2DDD7AE97B455C1C8B6A8CD9BF303C1F3EE3A19015656C120A82FD12965F7C064C3417A07C054C1B071B0D568BBFEC04A8C063F72BE52C12C927E235F9C1EC11B03D25FD96852C19651A84762EF28C19A0D0EA8ACCA52C1

I assume this is EWKB, right?

I am trying to use QgsGeometry fromWkb without success.

Is this feasible?

Thanks,

Denis



More information about the Qgis-developer mailing list