[Mapbender-users] Setting Search Router fails

treckmann at gisme.de treckmann at gisme.de
Tue Jan 5 08:17:59 PST 2021


Hi all,
trying to setup a search like
##########
class: Mapbender\CoreBundle\Component\SQLSearchEngine
class_options:
  connection: mydb
  relation: mytable
  attributes:
    - gid
    - text01
  geometry_attribute: the_geom
form:
  text01:
    type: text
    options:
      required: false
      label: Nummer
      attr:
        data-autocomplete: 'on'
    compare: ilike
results:
  view: table
  count: true
  headers:
    text01: Nummer
    gid: bezeichnung
  callback:
    event: click
    options:
      buffer: 10
      minScale: null
      maxScale: 10000
  styleMap:
    ...
###################
The Table which holds the Geometries and the values are epsg:25832 same as
map definition
When using I'm getting error in log like:
....Funktion st_asgeojson(geometry) ist nicht eindeutig....
...HINT:  Konnte keine beste Kandidatfunktion auswählen. Sie müssen
möglicherweise ausdrückliche Typumwandlungen hinzufügen....

I'm using PG 10.5 and PostGIS 2.5 on Windows 10 running x64
MapBender iversion is 3.2.3 installed with MS4W (current release)

Any tip?

Regards
Hardy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20210105/f826ca52/attachment.html>


More information about the Mapbender_users mailing list