NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the 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.

Thanks...

asked 15 Apr '13, 08:15

Bhavin%20Patel's gravatar image

Bhavin Patel
1111
accept rate: 0%

closed 15 Apr '13, 08:40

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273

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 ♦
82.5k927201273
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

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:

×710
×126
×83
×1

question asked: 15 Apr '13, 08:15

question was seen: 3,906 times

last updated: 15 Apr '13, 08:40

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