Skip to main content
Solved

Publishing a WMS Service - problems with GetPNG

  • November 1, 2020
  • 2 replies
  • 26 views

torbjornd
Contributor
Forum|alt.badge.img+4

Hi

I'm trying the tutorial / article about "How to create a WMS Service using FME Server". I've published the first workbench (GetCapabilities), but I'm having some problems with the last one (GetPNG). I've modified the FME_SERVER_REQUEST_URI to match the result from my FME Server.

 

When I try to run the GetPNG workbench, the FeatureReader only outputs Schema and Initiator, and not the Generic-port which are used later in the workspace. I've tried reading from ESRI Geodatabase (.sde) and from the corresponing Azure-database (Microsoft Azure SQL Database Spatial). If I try to manually select the feature types to read, I can select the ones that I've included in my URL and which is used in GetCapabilities. How do I get the generic-port to work?

Best answer by davtorgh

Hi torbjornd,

 

I can't test the workspace at the moment, but I noticed there is a costraints "Initiator Intersects Result" in the FeatureReader. This could be the reason you get no output from the generic port. Are you sure both initiator and data read by the FeatureReader are in the same coordinate system?

You can view the the coordinate systems in Data Inspector.

 

Hope that helps!

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

davtorgh
Contributor
Forum|alt.badge.img+11
  • Contributor
  • 105 replies
  • Best Answer
  • November 1, 2020

Hi torbjornd,

 

I can't test the workspace at the moment, but I noticed there is a costraints "Initiator Intersects Result" in the FeatureReader. This could be the reason you get no output from the generic port. Are you sure both initiator and data read by the FeatureReader are in the same coordinate system?

You can view the the coordinate systems in Data Inspector.

 

Hope that helps!


torbjornd
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • 9 replies
  • November 2, 2020

Thanks! Your suggestion got me looking into the coordinate systems and in the "create data request"-bookmark, there are a reprojector tranformer which changed the coordinate system. When I changed this into the correct destination coordinate system it works.

 

Torbjørn