Skip to content

Allow for alternate names to be created besides "parcels" #77

@glw

Description

@glw

Hi I was attempting to use this tool to digitize legal boundaries of things other than parcels. The issue Im having though, is that I already have a table in public named parcels. Would it be possible to have an option to change the name of the table being created?

An error has occurred while executing Python code:

psycopg2.errors.DuplicateTable: relation "parcels" already exists 
Traceback (most recent call last):
  File "/home/user/.local/share/QGIS/QGIS3/profiles/default/python/plugins/parcel_plugin/cogo_dialogs.py", line 239, in test_database_connection
    ok = self.test_database_schema()
  File "/home/user/.local/share/QGIS/QGIS3/profiles/default/python/plugins/parcel_plugin/cogo_dialogs.py", line 326, in test_database_schema
    cursor.execute(db_sql)
psycopg2.errors.DuplicateTable: relation "parcels" already exists

Python version: 3.5.2 (default, Oct 7 2020, 17:19:02) [GCC 5.4.0 20160609]
QGIS version: 3.4.15-Madeira Madeira, e83d02e274

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions