Skip to main content
Released

Add map component to fme server webinterface

Related products:FME Form
  • Jul 23, 2017 12:00 AM UTC
  • 10 replies
  • 123 views

stalknecht
Contributor
Forum|alt.badge.img+22

If you need a polygon,line or a point as input for a workspace then it would be nice if the user interface provides a map component to draw the object so you can use it.


For now I use a custom form with some javascript: Wicket

But it would be nice to have it implemented into the standard web interface of FME server.

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.

10 replies

redgeographics
VIP
Forum|alt.badge.img+63
Yes!! Leaflet is probably the easiest way to implement this. Adding a custom WMS/WMTS would be nice too.

 

 


rylanatsafe
Safer
Forum|alt.badge.img+14
Really cool idea! You may also be interested in Idea: Customize the FME Server Web User Interface.

 

 


stalknecht
Contributor
Forum|alt.badge.img+22
  • Author
  • Contributor
  • Jul 27, 2017 12:54 AM UTC
@RylanAtSafe Thanks for the link. I've just voted for this one also.

 


ekkischeffler
Contributor
Forum|alt.badge.img+7

That's a great idea. What about if this was a type of parameter? It could return FME Binary type geometry so it can be processed easily in the workspace.


itay
Supporter
Forum|alt.badge.img+19
  • Supporter
  • Jul 15, 2019 3:47 PM UTC

Great idea @stalknecht one little addition...make it available via the shareable URL!


kweller
Contributor
Forum|alt.badge.img+8
  • Contributor
  • Oct 31, 2019 4:32 PM UTC

Or just a simple lat/long box. I guess that's just a polygon with a constraint on how it is drawn.


LizAtSafe
Safer
Forum|alt.badge.img+26
  • Safer
  • Mar 13, 2020 8:29 PM UTC

Hi @stalknecht,

This has been released for FME Server 2020.0. For a walkthrough on how to use the new functionality, please see the article Using the Geometry Picker in FME Server.

'

 


takashi
Celebrity
  • Mar 14, 2020 5:58 AM UTC

It's a great parameter, but unfortunately it's inconvenient in the Eastern Hemisphere, since the longitude values would always be negative values.

For instance, the parameter generated this GeoJSON text when I drew a polygon in Tokyo, Japan.

{"type":"Polygon","coordinates":[[[-220.238907,35.678354],[-220.239697,35.676346],[-220.236298,35.675663],[-220.234599,35.677504],[-220.238907,35.678354]]}

 

We have to offset x-coordinates by +360 before using the resulting polygon as a spatial filter...

'


takashi
Celebrity
  • Mar 14, 2020 6:33 AM UTC

Ah, this seems to be depending on which hemisphere the initial bounds is belonging to. After I set the initial bounds as an area in Tokyo, longitudes became correct positive values.

Then, I noticed that the "Zoom Initial Bound" moves the map to Surrey always...

'

 

It seems that there still is a room to improve it.

In addition, it would be ideal if these configuration would be added to the parameter definition.

  • Minimum Zoom Level
  • Maximum Zoom Level
  • Maximum Extents for Map Display
  • Additional Layers (any web map tiles)

takashi
Celebrity
  • Mar 14, 2020 7:12 AM UTC

If you extend the Geometry Picker window, tiles in right and bottom would disappear.

'