Why not ask your question on the new OpenStreetMap Community Forum?

I am trying to render the kml file having 18000 line string data on OSM map using openlayer HTTP strategy. To render OSM map i am using GeoExt.MapPanel and ExtJS 3.4 viewport.

The problem is I am facing the stop running script error on page and in IE8 hang the PC and browser.


asked 15 Apr '13, 08:15

Bhavin%20Patel's gravatar image

Bhavin Patel
accept rate: 0%

closed 15 Apr '13, 08:40

Frederik%20Ramm's gravatar image

Frederik Ramm ♦

The question has been closed for the following reason "Question is off-topic or not relevant" by Frederik Ramm 15 Apr '13, 08:40

You need to set up a database on the server side and make it so that only data for the currently visible map extent is loaded from the database. Asking the browser to handle that amount of data is asking for trouble. Various options exist to do the database loading, one of the simplest probably being FeatureServer.

Your question is not OpenStreetMap related - the fact that you are using an OSM base map is not relevant to your problem. Check openlayers.org for OpenLayers help.

permanent link

answered 15 Apr '13, 08:39

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

edited 15 Apr '13, 08:39

Follow this question

By Email:

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



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:


question asked: 15 Apr '13, 08:15

question was seen: 3,591 times

last updated: 15 Apr '13, 08:40

powered by OSQA