Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-134534

QGeoJson Document wrong

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.0
    • Location
    • None

    Description

      QGeoJson class document has a json like below

      { "type" : "Point","data" : [60.0, 11.0] }

      but this is not a valid Geojson. When we use QGeoJson::importGeoJson to get a QVariantList, we will get a QGeoCircle with a nan center, which will confuse beginner.

      maybe we can change it to

      { "type" : "Point","coordinates" : [60.0, 11.0] }

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            matthias_rauter Matthias Rauter
            nessajhu Hu Junhao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes