Uploaded image for project: 'MapWinGIS'
  1. MWGIS-124

map.LoadLayerOptions not working with database

    Details

    • Type: Bug
    • Status: To Do
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: v5.0-Dev
    • Labels:
      None

      Description

      As mentioned here: https://github.com/MapWindow/MapWinGIS/issues/109

      I have a PostgreSQL layer successfully loaded into the OLE map control but can't load the style data stored from the mw_styles database table. The table exists and has a style record. I have turned on PostgreSQL statement logging and no mw_styles select SQL statement is being run.

      My Powerbuilder code looks like this:

      li_handle  = ole_mapwindow.Object.AddLayerFromDatabase(ls_conn, "SELECT * FROM nz_primary_parcels_nztm limit 500", true)
      ole_mapwindow.Object.LoadLayerOptions(li_handle, "nz_primary_parcels_nztm", "")
      

      But LoadLayerOptions returns false.

        Attachments

          Activity

            People

            • Assignee:
              admin Paul Meems
              Reporter:
              admin Paul Meems
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: