MapInfo Pro

Expand all | Collapse all

Can't delete Map Catalog entry Easy Loader

  • 1.  Can't delete Map Catalog entry Easy Loader

    Posted 16 days ago
    I'm unable to delete rows from the Map Catalog using the Easy Loader tool, MapInfo Pro 17.0.4

    I have spatial data on a PostGIS server. I've maded several tables mappable but I can't delete them.

    When I click the Unregister button nothing happens. I also have tried editing the map_catalog table directly with pgAdmin tool but I am also unable to delete via the GUI (something about not having a primary key?)
    I can still delete entries with SQL statements but its the least user friendly way of doing this.

    Is there any settings that I have missed that is preventing me from unregistering layers?

    ------------------------------
    Lee Crosby
    Walgett Shire Council
    Walgett
    ------------------------------


  • 2.  RE: Can't delete Map Catalog entry Easy Loader

    Posted 8 days ago
    I think I created a unique index on the MapInfo_MapCatalog table based on the OWNER and TABLENAME columns for that to work correctly.

    ------------------------------
    Peter Horsbøll Møller
    Pitney Bowes
    ------------------------------



  • 3.  RE: Can't delete Map Catalog entry Easy Loader

    Posted 6 days ago
    Edited by Nicholas Evanish 6 days ago

    I'm pretty sure you can just manually run a DELETE statement on the registered table row you wish to remove from this table:

    DELETE FROM MAPINFO_MAPCATALOG WHERE TABLENAME=xxxxxxx

    After you execute the DELETE statement, reload the GUI and you'll no longer see that table registered.

    ------------------------------
    Nicholas Evanish
    Senior Programmer Analyst
    ------------------------------