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

reading data with the gdal2.vect StorageType on a unit configured with a combine expression does not seem to read attributes anymore. #109

Closed
mtbeek32 opened this issue Jan 24, 2023 · 1 comment
Assignees
Milestone

Comments

@mtbeek32
Copy link
Contributor

steps to reproduce

OVSRV05
prj: C:\SourceData\RegressionTests\prj_snapshots\Sawec\Runs\ReferentiePerJaar.dms
request item: Classifications/Scurve_isolatie in treeview,

In 8.6.2 you see configured attributes and attributes from .csv file. In 8.6.4 you only see configured attributes.

I don't like this construction, the combine should determine the cardinality/sequence or the contents of the .csv file, not both.
This can easily go wrong.

preferred solution:

  • adapt the Sawec configuration
  • GeoDMS error that an expression and a gdal.vect or gdal.grid can not be combined for the same unit.
@MaartenHilferink
Copy link
Collaborator

In 8.6.5, a diagnostic warning will be logged:

'/Classifications/Scurve_isolatie' has a calculation rule and has a configured data source. If related attributes should be read from 'e:/prj/pbl/sawecwp5/Scurve/Scurves_isolatie.csv', consider reading it as a separate table and use rjoin on a primary-key to obtain the read attribute values.

MaartenHilferink added a commit that referenced this issue Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants