Skip to main content
Solved

InlineQuerier geometry issue

  • Nov 25, 2026 8:54 AM UTC
  • 2 replies
  • 34 views

simon_maddern
Contributor
Forum|alt.badge.img+4

Using FME Form 2026.1.2.0 (build 26124).

I have two sets of records where I’m trying to do a many-to-many join:

  • 2 records containing SQL scripts, read in using a FeatureReader with the ‘Text File’ format
  • 3 records containing JSON fragments, extracted from a parameter using JSONFragmenter

My desired output is 6 records, where each of the SQL scripts joins to each of the JSON fragments. I thought this would be easy in an InlineQuerier using something like:

select *
from "JSON" j
join "SQL" s
on 1 = 1

However I get the following error:

No geometry mapping entry found for 'varchar(200)' in metafile 'C:\Program Files\FME\FME FORM 2026.1.2\metafile\SPATIALITE_NATIVE.fmf'.  Please visit http://www.safe.com/support

Note that none of my records have geometries, they are all ‘fme_undefined’ for fme_geometry and ‘fme_no_geom’ for fme_type. This seems to only be a problem with the ‘SQL’ input port, the ‘JSON’ one doesn’t automatically add a geometry in the InlineQuerier.

Things I have tried to unsuccessfully fix this:

  1. Set the type to ‘geometry’ for ‘fme_geometry{0}’ on the InlineQuerier Input
    1. Doesn’t error, but doesn’t return anything. Log says ‘

      SQLite Reader: Unable to read table 'SQL'. Table exists but may lack valid columns, definition, or may be a spatial table’ several times

  2. Removing the ‘fme_geometry{0}’ on the InlineQuerier input

    1. Ditto above

  3. Using a GeometryRemover on the SQL port

    1. Same error as initial one, also tried steps 1 and 2 on this

  4. Creating a ‘dummy point’ geometry using a VertexCreator

    1. Same error as initial one

  5. Setting the geometry type to ‘geometry’ for this ‘dummy point’ on the InlineQuerier input

    1. Finally get 6 rows returned, but the log still has the warning about the ‘SQL’ table and the columns from SQL are null in the output

I’m aware there are other ways to achieve my desired result (e.g. creating dummy join attributes and sending into a FeatureJoiner, which works fine), but I’m a bit stumped about this as I would expect the InlineQuerier to work.

Best answer by ebygomm

I think it might be that it doesn’t like the input being named SQL

I get a different warning and no data output in an earlier version of FME

Renaming the SQL input produces the expected result

 

View original

2 replies

ebygomm
Evangelist
Forum|alt.badge.img+54
  • Evangelist
  • Best Answer
  • Nov 25, 2026 10:16 AM UTC

I think it might be that it doesn’t like the input being named SQL

I get a different warning and no data output in an earlier version of FME

Renaming the SQL input produces the expected result

 


simon_maddern
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • Nov 25, 2026 10:23 AM UTC

I think it doesn’t like the input being named SQL

I get a different warning and no data output in an earlier version of FME


Good spot, in hindsight naming the port “SQL” probably wasn’t the best move.

I still had to remove the ‘fme_geometry{0}’ attribute after hooking it up to SQL1, but it worked fine after that.