The table you are opening from the database has a spatial column that MapInfo Pro isn’t aware of.
Have you tried registering the table in the map catalog (making the DBMS table mappable)?
Peter Horsbøll Møller
Pitney Bowes
Sent from my mobile - typos may occur
Hi
Is the view registered in the table MapInfo.MapInfo_MapCatalog?
That’s where MapInfo Pro will look to understand how it should interpret the spatial information in any table/view.
From: mapi...@googlegroups.com <mapi...@googlegroups.com>
On Behalf Of StA
Sent: 2. februar 2021 11:43
To: MapInfo-L <mapi...@googlegroups.com>
Subject: [MI-L] Re: Unsupported data type for column(s); GEOLOC Unable to fetch records into table
This message originated Externally. Use proper judgement and caution with attachments, links, or responses. |
--
--
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
---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
mapinfo-l+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapinfo-l/2b47b931-5382-4dc7-954b-eaece02cde1cn%40googlegroups.com.
Yes, that’s the cause of the problem.
You can use MapInfo Pro to add the view to the MapCatalog by specifying the spatial column, the coordinate system etc.
Look for “Make DBMS Table Mappable”, in the Maintenance menu
To view this discussion on the web visit https://groups.google.com/d/msgid/mapinfo-l/078f6b89-2913-4f8d-b623-90d363be6391n%40googlegroups.com.
OK, sorry I missed that.
But if the view isn’t to be found in the MapInfo_MapCatalog table, it hasn’t been registered.
Can you try to add it again?
Note that if the view already exists in the MapInfo_MapCatalog you can’t see the view in the dialog where you are asked to select the table to make mappable.
You are using a rather “classic” version of MapInfo Pro 😊
Are you sure the version of Oracle is compatible with your version of Pro?
Another thing to note is that unless you have a column named MI_PRINX, you will not be able to open the view as live.
Without the MI_PRINX column, Pro can’t detect the primary index column and will only allow you to open the data as a linked read-only table.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapinfo-l/0c39d49d-394d-40a5-ad85-e97dd1dcdc07n%40googlegroups.com.
Hi
OK, I just wanted to make sure about the versions. I’m pretty sure we work with most versions of Oracle even with the older versions.
But I haven’t kept up with he changes in Oracle and we typically only test on the newer versions with the current version of Pro.
OK, good to hear about the MI_STYLE, MI_PRINX and GEOLOC columns.
You seem to have that well under control.
Can you check the MapInfo_MapCatalog again after making the table mappable?
Maybe there is something preventing you from adding the table to the MapCatalog?
If you know the values, youc an try to add the view manually to the MapCatalog.
Maybe you can use the settings from the base table holding the GEOLOC column?
To view this discussion on the web visit https://groups.google.com/d/msgid/mapinfo-l/3744ef8f-faf4-47d4-a479-50a04da8ec75n%40googlegroups.com.
Stathis,
Just a thought, can you add a filter to your view so that it only includes valid spatial objects? It could be your view contains a NULL or unstructured object type in the GEOLOC column. Also, make sure your MI_PRINX column contains only unique integers. Generally MapInfo Pro is very forgiving whilst Oracle is more strict.
It might help if you can you post your view schema and mapcatalog row?
Regards
GIS Specialists Adrian Gray 07929 212566 |
To view this discussion on the web visit https://groups.google.com/d/msgid/mapinfo-l/MN2PR16MB311702543C69E9C6DD326A5396B59%40MN2PR16MB3117.namprd16.prod.outlook.com.
Another thing that came to me yesterday evening:
Make sure you only have one column of type SDO_GEOMETRY
From: mapi...@googlegroups.com <mapi...@googlegroups.com>
On Behalf Of in...@viewshed.co.uk
Sent: 2. februar 2021 19:51
To: mapi...@googlegroups.com
Subject: RE: [MI-L] Re: Unsupported data type for column(s); GEOLOC Unable to fetch records into table
This message originated Externally. Use proper judgement and caution with attachments, links, or responses. |
To view this discussion on the web visit https://groups.google.com/d/msgid/mapinfo-l/003501d6f994%244cdd0ec0%24e6972c40%24%40viewshed.co.uk.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapinfo-l/60628ccd-26f6-43cf-9919-aa6f0fc7e520n%40googlegroups.com.