Import PostGIS geom data

2 posts, 1 answers
  1. Álvaro
    Álvaro avatar
    1 posts
    Member since:
    Dec 2012

    Posted 17 Dec 2012 Link to this post

    Hello everyone,

    I have tried to use Reverse Mapping to map a PostGIS database into .Net.
    One of the tables of the DB contained a geom-type column. When the wizard finished I got the following error:

    "The type for member with Name 'Geom' of the 'Test_Table' persistent class is not a valid mapping for its column".

    Also, in Test_Table.generated.cs I got the geom column as:

    private Object _geom;
            public virtual Object Geom
            {
                get
                {
                    return this._geom;
                }
                set
                {
                    this._geom = value;
                }
            }

    Finally, I prepared de QuickStartUI application but I got a MetaData Exception for the Geom Object when I tried to get some stuff from the DB.

    -> How should I convert the type 'Geom' ? Is it possible to modify the metadata to make it work properly?

    Thanks in advance,

    Álvaro
  2. Answer
    Ady
    Admin
    Ady avatar
    588 posts

    Posted 20 Dec 2012 Link to this post

    Hello Álvaro,

     At the moment OpenAccess does not support the PostGIS extension for PostgreSQL.
    I am sorry for the inconvenience caused.

    Greetings,
    Ady
    the Telerik team
    Q3'12 SP1 of OpenAccess ORM packs Multi-Table Entities mapping support. Check it out.
  3. DevCraft banner
Back to Top