This is a migrated thread and some comments may be shown as answers.

Import PostGIS geom data

1 Answer 63 Views
Databases and Data Types
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Álvaro
Top achievements
Rank 1
Álvaro asked on 17 Dec 2012, 04:22 PM
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

1 Answer, 1 is accepted

Sort by
0
Accepted
Ady
Telerik team
answered on 20 Dec 2012, 03:28 PM
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.
Tags
Databases and Data Types
Asked by
Álvaro
Top achievements
Rank 1
Answers by
Ady
Telerik team
Share this question
or