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

I'd like to use OSM in a webapp (java) to a) let the user draw a network topology on a map and record it b) show the topology when requested by the user (i.e. use the recorded coordinates)

Here is an example with GoogleMaps: http://docs.zkoss.org/wiki/Construct_A_Telecom_Network_Graph_On_Google_Maps

I'd like to understand what is possible with current API's, and I can contribute to OSM by developing a ZK-component that uses OSM in stead of gM

Thanks for any useful hints and pointers!

asked 21 Sep '10, 09:20

mhogendoorn's gravatar image

mhogendoorn
1111
accept rate: 0%


Generally, such questions should better be asked on the OSM developer mailing list where they will reach a wider technical audience.

It seems to me that the quick answer to your question is that you'll need OSM tiles (freely available), the OpenLayers JavaScript library (to display tiles and allow the user to draw stuff - requires some Javascript coding on your part to make things happen) plus some server-side component that stores whatever you have drawn (e.g. FeatureServer). Or you might be able to use a complete framework like MapFish. I don't know what "zk" is or in how far this might already have some of the components you need. All of this has, however, little to do with OSM as the only thing you'll use from OSM are the map tiles; all the other "API" stuff you'll be using is not OSM.

permanent link

answered 21 Sep '10, 11:15

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

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:

×113
×76
×13
×8
×2

question asked: 21 Sep '10, 09:20

question was seen: 9,025 times

last updated: 16 May '12, 19:17

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