Skip to content

Circle radius calculated after confirm in geometry details is wrong (OL only) #3243

@MV88

Description

@MV88

Description

This problem happens if you have configurated to draw a geodesic Circle
The radius is re-calculated from the approximated polygon and it is different from the starting one use to create that polygon.

inside spatialMethodOptions of cfg of QueryPanel add geodesic :true
{"id": "Circle", "name": "queryform.spatialfilter.methods.circle", "geodesic": true},

In case of Bug (otherwise remove this paragraph)

Browser Affected
(use this site: https://www.whatsmybrowser.org/ for non expert users)

  • Internet Explorer
  • Chrome
  • Firefox
  • Safari

Browser Version Affected
Chrome 69.0.3497.100

Steps to reproduce

  • Open any map with a queryable layer "US Population Statistics" for example.
  • Open featureGrid and query form
  • Draw a Circle
  • Enter geometry details and change its value to 10000 (zoom in/out to see it comfortably)
  • Click on confirm ( the V icon)
  • Re-enter the geometry details

Expected Result

  • To see the same radius previously inserted

Current Result

  • a different value is present.

Other useful information (optional):

that is because of this

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions