When i try to open my tables on PostGIS with a live link i get this
error message "cannot open table for live access. A single numeric key
column is required on the table". I have gone through a lot of
discussions on this forum and others as well and i read and tried the
solutions which unfortunately has not worked for me sofar.
I loaded my MapInfo table into my PostGIS (1.5/Postgres 8.4) database
using easy loader 10. The Map_catalog was created. The data was loaded
successfully.
There is an Integer column MI_PRINX which is also the primary key
inside the PostGIS table. So does anyone knows where the problem might
lie?.
Thanks,
Nome.
Need help with this
Thanks
Nome
> --
> You received this message because you are subscribed to the
> Google Groups "MapInfo-L" group.To post a message to this group, send
> email to mapi...@googlegroups.com
> To unsubscribe from this group, go to:
> http://groups.google.com/group/mapinfo-l/subscribe?hl=en
> For more options, information and links to MapInfo resources (searching
> archives, feature requests, to visit our Wiki, visit the Welcome page at
> http://groups.google.com/group/mapinfo-l?hl=en
>
It just the dynamic link as i want to be able to edit data on PostGIS
that is not working. The Map_Catelog table was created as well as the
Mapinfo Schema on postGIS.
SQL error:
ERROR: type modifier is not allowed for type "char" LINE 1: ALTER TABLE "public"."PL" ADD COLUMN "NAME" "char"(20) ^
In statement:
ALTER TABLE "public"."PL" ADD COLUMN "NAME" "char"(20)
What does this means?. I can add other datatype but not "char". I have already set all the privileges.
Thanks
Nome
SQL error:
ERROR: type modifier is not allowed for type "char" LINE 1: ALTER TABLE "public"."PL" ADD COLUMN "NAME" "char"(20) ^
In statement:
ALTER TABLE "public"."PL" ADD COLUMN "NAME" "char"(20)
What does this means?. I can add other datatype but not "char". I have already set all the privileges.
Thanks
Nome
There is lot of problem connecting mapinfo with posgis ( i have) . But
same will work fine with Qgis. I am wondering why is this problem.
On Sep 30, 12:21 pm, Peter Horsbøll Møller <mapinf...@horsboll-moller.dk> wrote:> 2011/9/30 Nomeneta Saili <
> I notice that you only have the MI_PRINX column and the Spatial column
> SP_GEOMETRY.
> Could you try adding any extra column, for instance as column called NAME of
> type Char(20)
>
> Peter Horsbøll Møller
> Pitney Bowes Business Insight - MapInfo
>
--
Well, I'm not a PostGIS expert, so maybe there is no Char column type. My intention was just to have another column in the table besides the index an the spatial column.
If you can add a column of a different type, please try that.
Peter
Fra: Nomeneta Saili <nome....@gmail.com>
Sendt: 1. oktober 2011 07:18
Til: mapi...@googlegroups.com
Emne: Re: [MI-L] Re: cannot open table for live access. A single numeric key column is required on the table.
Hi Peter,Tried to add the column as request but i get this error
--