Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We would like to implement the function of Addfeature in openlayers to draw lines and push them onto a vector layer, and overlay this layer onto open street map or google map. Those lines are draw dynamically based on the query results from the database.
The only concern so far is the performance issue since we are anticipating about 3000 lines per operation. Has anyone worked on this kind of project before? Do you think it is too heavy on the client side?


share|improve this question
up vote 3 down vote accepted

Definitely heavy on the client side. On average, how many vertices per features? You will definitely tax older browsers.

A little while back I put together a simple app for an arbitrary number of points in an OpenLayers app as a response to a previous question. Might be helpful for you to gauge performance with large number of graphics.

share|improve this answer
Thank you very much! It is very helpful! – Seen Jun 18 '11 at 14:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.