NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I'm looking to use openstreetmap. I'm wrting a program in java, with most likely the sprintboot framework and I will be using the OpenStreetMap API. I have a database with roughly 6000 locations(consisting of longitude and latitude coordinates) at which species of animals were observed. I would like to plot all these locations and if a user click a marker, I want to show additional information, maybe in a pop-up box (location name, species, date, etc.). Is this all possible with OpenStreetMap?

asked 22 Feb '21, 10:43

mapijs's gravatar image

mapijs
11223
accept rate: 0%


This has nothing to do with OpenStreetMap (which you would only use as a background map). If this were a web project I'd say you need some sort of clustering, WMS or vectortile technology for the browser to handle that number of elements but if you do it in Java it might be possible to actually show all locations. You will want to use some sort of library so that you don't need to reinvent the wheel. Check out https://wiki.openstreetmap.org/wiki/JMapViewer (including the alternative links at the bottom).

permanent link

answered 22 Feb '21, 12:06

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×37
×26
×23

question asked: 22 Feb '21, 10:43

question was seen: 1,054 times

last updated: 22 Feb '21, 12:06

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum