krischer / jane

Jane - Document Database for Seismology
http://krischer.github.io/jane
GNU General Public License v3.0
27 stars 9 forks source link

GIS: Stations at same coordinates #9

Open megies opened 8 years ago

megies commented 8 years ago

If more than one station is located at exactly the same coordinates (e.g. GR.FUR and BW.FURT), all but one station is hidden in the background and can not be reached by mouse-over or clicking.. this is kind of an edge case though..

krischer commented 8 years ago

Hmm...that would be easy enough to fix but how to handle it is not really clear to me. I only see two possibilities:

  1. Add a small jitter to one of the two stations so zooming in far enough will enable you to select both.
  2. Merge both to a new station that is part of some meta network named after both original networks.

Both work for me - which do you prefer?

barsch commented 8 years ago

Can you not just display multiple stations in the popup/HTML template?

krischer commented 8 years ago

That's essentially the result of the second approach. On the map it should probably be shown with a different icon - that's where the "metanetwork" comes from.

megies commented 8 years ago

2nd approach sounds a bit dirty.. humm.. not sure..

megies commented 5 years ago

Another thing is that the draw order of stations is arbitrary it seems, so a greyed out station can mask a still running active station in color. Ideally greyed out stations should be drawn behind active stations.