Skip to main content
Question

Overlapping Map Markers

  • June 13, 2019
  • 5 replies
  • 66 views

a_afiaax
Contributor
Forum|alt.badge.img+2

On a Mobile Map I have point shapefile presented as markers, but sometimes i have markers overlapping as following screenshot:

 

Does FME capable to solve this problem or what is the alternative solution as following screenshot?

 

 

@takashi @david_r @jlutherthomas @egomm @mark2atsafe @jdh

 

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.

5 replies

itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • 1442 replies
  • June 13, 2019

Hi @a_afiaax,

You could initially find all the points that are in the same location (SpatialRelator) and give them an offset (Offsetter).

Hope this helps.

Itay


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • June 13, 2019

I think there are probably better ways to handle this outside of FME for web mapping, because the offset required for all 3 features to be visible will vary depending on zoom level.

 

For static maps I've used an offsetter, followed by a rotator to disperse points (blue) around a central point (red)- offsetting by a set distance then rotating around the original location.

Works ok if just making separate points visible is the aim, I wouldn't use it if style/appearance was key


itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • 1442 replies
  • June 13, 2019

I think there are probably better ways to handle this outside of FME for web mapping, because the offset required for all 3 features to be visible will vary depending on zoom level.

 

For static maps I've used an offsetter, followed by a rotator to disperse points (blue) around a central point (red)- offsetting by a set distance then rotating around the original location.

Works ok if just making separate points visible is the aim, I wouldn't use it if style/appearance was key

I totally agree with @egomm, this is much better managed via the front end than manipulating the onderlaying data, sometimes I forget there is more than just FME...:)


mark2atsafe
Safer
Forum|alt.badge.img+56
  • Safer
  • 2554 replies
  • June 13, 2019

There's a custom transformer called SpreadDuplicatePoints that might help here.

Otherwise it depends on what mapping platform you are using. For example Google Earth does this automatically. Can your mapping platform do that? It's probably better practice to work it that way, rather than to move the data around (as others have mentioned, scale becomes an issue when you move items like that).


redgeographics
Celebrity
Forum|alt.badge.img+60
  • Celebrity
  • 3701 replies
  • June 13, 2019

I totally agree with @egomm, this is much better managed via the front end than manipulating the onderlaying data, sometimes I forget there is more than just FME...:)

[shock] more than FME??? [/shock]

But yeah, if I recall correctly both Google and Leaflet offer point clustering in their API's and I would expect this to be a standard feature in all web mapping solutions. You'll want to keep your data as-is.