Skip to main content
replaced http://gis.stackexchange.com/ with https://gis.stackexchange.com/
Source Link

I already have asked how to reduce file size and increase performance for publishing spatial data on the web using Leaflet, herehere.

A conversion to TopoJSON has reduced the file size by approximately 10x, which is awesome, and I thought that would solve both of my problems and world would come to peace.

Never have I been so wrong. (in the voice of Bilbo Baggins)

The problem is, when the map is zoomed, I have to wait a while before my polygons come to resolution. Until then, the map freezes and cannot be panned or done anything for about 3-4 seconds. If I overclick the map in this interval, the Chrome tab crashes.

This also happened when using GeoJSON, because I am using this client-side API that converts TopoJSON into GeoJSON within the browser. Thus, using TopoJSON reduces transferred data but does not increase the performance, because basically the browser is still reading data from the bulky GeoJSON, but I just don't see it. It's still taking up 10 times the file size of TopoJSON in the RAM, which explains the freezing.

Which Plugin can draw TopoJSON right within Leaflet without conversion, so that a lot of space frees up on RAM?

Thanks in advance.

EDIT: Although I upvoted R.K.'s answer, I still am in search for a decent plugin.

I already have asked how to reduce file size and increase performance for publishing spatial data on the web using Leaflet, here.

A conversion to TopoJSON has reduced the file size by approximately 10x, which is awesome, and I thought that would solve both of my problems and world would come to peace.

Never have I been so wrong. (in the voice of Bilbo Baggins)

The problem is, when the map is zoomed, I have to wait a while before my polygons come to resolution. Until then, the map freezes and cannot be panned or done anything for about 3-4 seconds. If I overclick the map in this interval, the Chrome tab crashes.

This also happened when using GeoJSON, because I am using this client-side API that converts TopoJSON into GeoJSON within the browser. Thus, using TopoJSON reduces transferred data but does not increase the performance, because basically the browser is still reading data from the bulky GeoJSON, but I just don't see it. It's still taking up 10 times the file size of TopoJSON in the RAM, which explains the freezing.

Which Plugin can draw TopoJSON right within Leaflet without conversion, so that a lot of space frees up on RAM?

Thanks in advance.

EDIT: Although I upvoted R.K.'s answer, I still am in search for a decent plugin.

I already have asked how to reduce file size and increase performance for publishing spatial data on the web using Leaflet, here.

A conversion to TopoJSON has reduced the file size by approximately 10x, which is awesome, and I thought that would solve both of my problems and world would come to peace.

Never have I been so wrong. (in the voice of Bilbo Baggins)

The problem is, when the map is zoomed, I have to wait a while before my polygons come to resolution. Until then, the map freezes and cannot be panned or done anything for about 3-4 seconds. If I overclick the map in this interval, the Chrome tab crashes.

This also happened when using GeoJSON, because I am using this client-side API that converts TopoJSON into GeoJSON within the browser. Thus, using TopoJSON reduces transferred data but does not increase the performance, because basically the browser is still reading data from the bulky GeoJSON, but I just don't see it. It's still taking up 10 times the file size of TopoJSON in the RAM, which explains the freezing.

Which Plugin can draw TopoJSON right within Leaflet without conversion, so that a lot of space frees up on RAM?

Thanks in advance.

EDIT: Although I upvoted R.K.'s answer, I still am in search for a decent plugin.

added 89 characters in body
Source Link
Doruk Karınca
  • 815
  • 1
  • 9
  • 21

I already have asked how to reduce file size and increase performance for publishing spatial data on the web using Leaflet, here.

A conversion to TopoJSON has reduced the file size by approximately 10x, which is awesome, and I thought that would solve both of my problems and world would come to peace.

Never have I been so wrong. (in the voice of Bilbo Baggins)

The problem is, when the map is zoomed, I have to wait a while before my polygons come to resolution. Until then, the map freezes and cannot be panned or done anything for about 3-4 seconds. If I overclick the map in this interval, the Chrome tab crashes.

This also happened when using GeoJSON, because I am using this client-side API that converts TopoJSON into GeoJSON within the browser. Thus, using TopoJSON reduces transferred data but does not increase the performance, because basically the browser is still reading data from the bulky GeoJSON, but I just don't see it. It's still taking up 10 times the file size of TopoJSON in the RAM, which explains the freezing.

Which Plugin can draw TopoJSON right within Leaflet without conversion, so that a lot of space frees up on RAM?

Thanks in advance.

EDIT: Although I upvoted R.K.'s answer, I still am in search for a decent plugin.

I already have asked how to reduce file size and increase performance for publishing spatial data on the web using Leaflet, here.

A conversion to TopoJSON has reduced the file size by approximately 10x, which is awesome, and I thought that would solve both of my problems and world would come to peace.

Never have I been so wrong. (in the voice of Bilbo Baggins)

The problem is, when the map is zoomed, I have to wait a while before my polygons come to resolution. Until then, the map freezes and cannot be panned or done anything for about 3-4 seconds. If I overclick the map in this interval, the Chrome tab crashes.

This also happened when using GeoJSON, because I am using this client-side API that converts TopoJSON into GeoJSON within the browser. Thus, using TopoJSON reduces transferred data but does not increase the performance, because basically the browser is still reading data from the bulky GeoJSON, but I just don't see it. It's still taking up 10 times the file size of TopoJSON in the RAM, which explains the freezing.

Which Plugin can draw TopoJSON right within Leaflet without conversion, so that a lot of space frees up on RAM?

Thanks in advance.

I already have asked how to reduce file size and increase performance for publishing spatial data on the web using Leaflet, here.

A conversion to TopoJSON has reduced the file size by approximately 10x, which is awesome, and I thought that would solve both of my problems and world would come to peace.

Never have I been so wrong. (in the voice of Bilbo Baggins)

The problem is, when the map is zoomed, I have to wait a while before my polygons come to resolution. Until then, the map freezes and cannot be panned or done anything for about 3-4 seconds. If I overclick the map in this interval, the Chrome tab crashes.

This also happened when using GeoJSON, because I am using this client-side API that converts TopoJSON into GeoJSON within the browser. Thus, using TopoJSON reduces transferred data but does not increase the performance, because basically the browser is still reading data from the bulky GeoJSON, but I just don't see it. It's still taking up 10 times the file size of TopoJSON in the RAM, which explains the freezing.

Which Plugin can draw TopoJSON right within Leaflet without conversion, so that a lot of space frees up on RAM?

Thanks in advance.

EDIT: Although I upvoted R.K.'s answer, I still am in search for a decent plugin.

clarified question
Source Link
Devdatta Tengshe
  • 41.6k
  • 35
  • 144
  • 263

Which plugin can draw topoJson right within Leaflet ─ Poor map performance with topojson & geojsonwithout conversion?

I already have asked how to reduce file size and increase performance for publishing spatial data on the web using Leaflet, here.

A conversion to TopoJSON has reduced the file size by approximately 10x, which is awesome, and I thought that would solve both of my problems and world would come to peace.

Never have I been so wrong. (in the voice of Bilbo Baggins)

The problem is, when the map is zoomed, I have to wait a while before my polygons come to resolution. Until then, the map freezes and cannot be panned or done anything for about 3-4 seconds. If I overclick the map in this interval, the Chrome tab crashes.

This also happened when using GeoJSON, because I am using this client-side API that converts TopoJSON into GeoJSON within the browser. Thus, using TopoJSON reduces transferred data but does not increase the performance, because basically the browser is still reading data from the bulky GeoJSON, but I just don't see it. It's still taking up 10 times the file size of TopoJSON in the RAM, which explains the freezing.

Therefore what I think I need is a program thatWhich Plugin can draw TopoJSON right within Leaflet without conversion, so that a lot of space frees up on RAM.?

Thanks in advance.

Leaflet ─ Poor map performance with topojson & geojson

I already have asked how to reduce file size and increase performance for publishing spatial data on the web using Leaflet, here.

A conversion to TopoJSON has reduced the file size by approximately 10x, which is awesome, and I thought that would solve both of my problems and world would come to peace.

Never have I been so wrong. (in the voice of Bilbo Baggins)

The problem is, when the map is zoomed, I have to wait a while before my polygons come to resolution. Until then, the map freezes and cannot be panned or done anything for about 3-4 seconds. If I overclick the map in this interval, the Chrome tab crashes.

This also happened when using GeoJSON, because I am using this client-side API that converts TopoJSON into GeoJSON within the browser. Thus, using TopoJSON reduces transferred data but does not increase the performance, because basically the browser is still reading data from the bulky GeoJSON, but I just don't see it. It's still taking up 10 times the file size of TopoJSON in the RAM, which explains the freezing.

Therefore what I think I need is a program that can draw TopoJSON right within Leaflet without conversion, so that a lot of space frees up on RAM.

Thanks in advance.

Which plugin can draw topoJson right within Leaflet without conversion?

I already have asked how to reduce file size and increase performance for publishing spatial data on the web using Leaflet, here.

A conversion to TopoJSON has reduced the file size by approximately 10x, which is awesome, and I thought that would solve both of my problems and world would come to peace.

Never have I been so wrong. (in the voice of Bilbo Baggins)

The problem is, when the map is zoomed, I have to wait a while before my polygons come to resolution. Until then, the map freezes and cannot be panned or done anything for about 3-4 seconds. If I overclick the map in this interval, the Chrome tab crashes.

This also happened when using GeoJSON, because I am using this client-side API that converts TopoJSON into GeoJSON within the browser. Thus, using TopoJSON reduces transferred data but does not increase the performance, because basically the browser is still reading data from the bulky GeoJSON, but I just don't see it. It's still taking up 10 times the file size of TopoJSON in the RAM, which explains the freezing.

Which Plugin can draw TopoJSON right within Leaflet without conversion, so that a lot of space frees up on RAM?

Thanks in advance.

Source Link
Doruk Karınca
  • 815
  • 1
  • 9
  • 21
Loading