Skip to main content
Tweeted twitter.com/StackGIS/status/1423343047056691203
edited body; edited tags; edited title
Source Link
Taras
  • 34k
  • 4
  • 73
  • 148

OpenLayers is very slow when using WKT multipolygon with a large number of points

I'm showing the boundaries of Cyprus regions using OpenLayers with vector layer, I get the coordinates from a shapefile which has a lot of points, for instance some regions can have a multipolygon with in total 30000 points.

This is really slow on Firefox / IE and in Firefox it shows unresponsive script error. Only Chrome works well. What's the best way to get it working faster and smoothly?

I read one answer is to create a WMS server with MapServer to generate the images tiles instead to use the OpenLayers directly but I can't implement that solution because I want to change layer style dynamically to the different features in the vector layer i.e to show different colors to the region based on the dynamic value.

How can I overcome this issue.? Any Insights would be much appreciated.

OpenLayers is very slow when using WKT multipolygon with a large number of points

I'm showing the boundaries of Cyprus regions using OpenLayers with vector layer, I get the coordinates from a shapefile which has a lot of points, for instance some regions can have a multipolygon with in total 30000 points.

This is really slow on Firefox / IE and in Firefox it shows unresponsive script error. Only Chrome works well. What's the best way to get it working faster and smoothly?

I read one answer is to create a WMS server with MapServer to generate the images tiles instead to use the OpenLayers directly but I can't implement that solution because I want to change layer style dynamically to the different features in the vector layer i.e to show different colors to the region based on the dynamic value.

How can I overcome this issue. Any Insights would be much appreciated.

OpenLayers is very slow when using WKT multipolygon with large number of points

I'm showing the boundaries of Cyprus regions using OpenLayers with vector layer, I get the coordinates from a shapefile which has a lot of points, for instance some regions can have a multipolygon with in total 30000 points.

This is really slow on Firefox / IE and in Firefox it shows unresponsive script error. Only Chrome works well. What's the best way to get it working faster and smoothly?

I read one answer is to create a WMS server with MapServer to generate the images tiles instead to use the OpenLayers directly but I can't implement that solution because I want to change layer style dynamically to the different features in the vector layer i.e to show different colors to the region based on the dynamic value.

How can I overcome this issue? Any Insights would be much appreciated.

corrected spelling and typos
Source Link
nmtoken
  • 13.6k
  • 5
  • 38
  • 89

Openlayer OpenLayers is very slow when using WKT Multipolygonmultipolygon with a large number of Pointspoints

I'm showing the boundaries of cyprusCyprus regions using openlayersOpenLayers with vector layer, I get the coordscoordinates from a shapefile which has a lot of points, for instance some regions can have a multipolygon with in total :30000 Points30000 points.

This is really slow on firefoxFirefox / IE and in firefoxFirefox it shows unresponsive script error. Only chromeChrome works well. What's the best way to get it working faster and smoothly  ?

I read one answer is to create a WMS server with MapServer to generate the images tiles instead to use the OpenLayers directly but I can't implement that solution because I want to change layer style dynamically to the different features in the vector layer i.e to show different colors to the region based on the dynamic value.

How can I overcome this issue. Any Insights would be much appreciated.

Openlayer is very slow when using WKT Multipolygon with a large number of Points

I'm showing the boundaries of cyprus regions using openlayers with vector layer, I get the coords from a shapefile which has a lot of points, for instance some regions can have a multipolygon with in total :30000 Points.

This is really slow on firefox / IE and in firefox it shows unresponsive script error. Only chrome works well. What's the best way to get it working faster and smoothly  ?

I read one answer is to create a WMS server with MapServer to generate the images tiles instead to use the OpenLayers directly but I can't implement that solution because I want to change layer style dynamically to the different features in the vector layer i.e to show different colors to the region based on the dynamic value.

How can I overcome this issue. Any Insights would be much appreciated.

OpenLayers is very slow when using WKT multipolygon with a large number of points

I'm showing the boundaries of Cyprus regions using OpenLayers with vector layer, I get the coordinates from a shapefile which has a lot of points, for instance some regions can have a multipolygon with in total 30000 points.

This is really slow on Firefox / IE and in Firefox it shows unresponsive script error. Only Chrome works well. What's the best way to get it working faster and smoothly?

I read one answer is to create a WMS server with MapServer to generate the images tiles instead to use the OpenLayers directly but I can't implement that solution because I want to change layer style dynamically to the different features in the vector layer i.e to show different colors to the region based on the dynamic value.

How can I overcome this issue. Any Insights would be much appreciated.

Source Link
Loading