Skip to main content
Solved

How correctly use the clipper with WMS ?

  • Sep 25, 2020 10:14 AM UTC
  • 4 replies
  • 170 views

Forum|alt.badge.img

Hello,

 

I have a wms that I'm clipping with a polygon bounding geometry. It work but the problem is that FME don't refresh the maps to the level of zooming of my bounding geometry. So It cut the whole planisphere and I have only one giant pixel as result of clipping ... how can I do to have a a detailed map ? Here is url if you want to test : http://ows.terrestris.de/osm/service

Capture

Best answer by redgeographics

When you use a regular WMS reader and a Clipper the Clipper will only work with the data as it's coming out of the WMS. It will not resample/re-read the data.

Instead you can use a FeatureReader to read the WMS, using your polygon as the initiator feature. That way it will use the extents of the polygon as a spatial filter on the WMS.

View original
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.

4 replies

redgeographics
VIP
Forum|alt.badge.img+63

When you use a regular WMS reader and a Clipper the Clipper will only work with the data as it's coming out of the WMS. It will not resample/re-read the data.

Instead you can use a FeatureReader to read the WMS, using your polygon as the initiator feature. That way it will use the extents of the polygon as a spatial filter on the WMS.


Forum|alt.badge.img

Great ! It work well, I did not know this way of proceeding, thank you !


redgeographics
VIP
Forum|alt.badge.img+63

Great ! It work well, I did not know this way of proceeding, thank you !

You're welcome!


deanhowell
Influencer
Forum|alt.badge.img+24
  • Influencer
  • May 20, 2022 8:38 AM UTC

Great ! It work well, I did not know this way of proceeding, thank you !

Any chance you can include a snapshot of the result please?