Skip to content

BeginBinaryImportAsync doesn't import Altitude #6567

Description

@smolesen

I'm trying to import points and lines, with altitude, using BeginBinaryImportAsync, however the altitude doesn't seem to get imported.

The easiest way to verify this, is to change the TestData in GeoJSONTests to look like this:

        new()
        {
            Geometry = new Point(
                    new Position(longitude: 1d, latitude: 2d, altitude:3d))
                { BoundingBoxes = [1d, 2d, 1d, 2d] },
            CommandText = "st_makepoint(1,2)"
        },

and run the 'Import_geometry' test..... It'll fail
also if you check the db, you see a point with only longitude and latitude:

POINT (1 2)

TIA

/Søren

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions