Global Mapper v26.0

Database Exporting/Saving Database (PostGIS)

Dear GM Team,

I am new in this software. I have this error message attached when I tried to export my sample database files into a new database file, specifically PostGIS. Since I had a hard time saving my edits/alterations in my existing database. Do I really need to export my current edited database into a new one or maybe overwrite the existing database? Do I have an option to just save the edits I made directly to my database file?

Thank your for the assistance.

God bless and more power to you guys! :)

Answers

  • bmg_bob
    bmg_bob Global Mapper Programmer
    Hello,

    There is no option to save edits directly to your database table.  You must create a new table or overwrite an existing one.

    With regard to the error message:  Your Global Mapper installation directory should have a subdirectory called ogr_csv, which contains the missing file: gcs.csv.  Is the directory or file missing?

    Cheers,

    Bob
  • Thanks for the quick response Bob, but the directory or even the file is not missing. How is it possible to have that error?

    Again, Thank you. :)
  • bmg_bob
    bmg_bob Global Mapper Programmer
    edited March 2016
    Sidoy said:
    Thanks for the quick response Bob, but the directory or even the file is not missing. How is it possible to have that error?
    That is strange.  What is the full path to the ogr_csv directory on your computer?  For example, on my computer the path is 

    C:\Program Files (x86)\GlobalMapper17\ogr_csv 

    (this is 32-bit GM on a 64-bit operating system.)

    Cheers,

    Bob
  • Bob,

    This is the file path on my computer

    "C:\Program Files\GlobalMapper17\ogr_csv"

    Please see attached image for the files found in that directory..

    Thank you,
    Sid
  • bmg_bob
    bmg_bob Global Mapper Programmer
    Answer ✓
    Sidoy said:
    Bob,

    This is the file path on my computer

    "C:\Program Files\GlobalMapper17\ogr_csv"

    Please see attached image for the files found in that directory..

    That looks fine.  Does your computer have an environment variable called GDAL_DATA?  If so, can you try renaming it and running your export again?  Also, I forgot to ask earlier, but do you get the same error when you try to import a PostGIS database table?

    Cheers,

    Bob
  • I don't know where to find that GDAL_DATA environment vairable in my PC. But when I tried it again to connect in PostGIS database table, it was successfully connected. I tried also opening ESRI File Geodatabase (GDB), It was also a success. I dont know what happened but I never encountered that error again. Will advise you if that will happen again. Thank you for the quick response and support, Bob.

    Sidoy