Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Boundary property on Site entity and [Polygon] User type to easily map Geometry DB columns to string property #854

Open
hlayisanimazuze opened this issue Jan 10, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@hlayisanimazuze
Copy link
Collaborator

  1. Add 'Boundary' string property on Site entity.
  2. 'Boundary' column should already exist at DB level of type Geometry
  3. I suspect will need to create an NHibernate user type to allow read / write into the DB column
    • Adding a [Polygon] attribute to a string property should apply custom binding User Type that translates between Geometry column to String property
    • String should be array of lat longs e.g.:
      • [ [102.0, 0.0],[103.0, 1.0], [104.0, 0.0],[105.0, 1.0]  ]
        
@hlayisanimazuze hlayisanimazuze added the enhancement New feature or request label Jan 10, 2024
@hlayisanimazuze hlayisanimazuze added this to the Backlog milestone Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant