1

Can anybody provide simple guidance to publishing large datasets on QGIS web client? I have a mixture of shapefiles and rasters to display. Biggest shapefile is 230 MB. Biggest raster is 1.4GB.

At present the browser shows a loading icon that does not go away...

Do I need to be creating pyramids or is this handled by the server? Maybe there are other quick solutions people can suggest....

1

It would help if you provided some sort of debugging result from when you load your map. I know that you can get the console up on firefox with ctrl + shift + k. Then jump to javascript tab (because thats where errors happend to me) and you can find your error there. Usually the infinite loading icon means there is an error.

And yes you should create pyramids because they are more server-welcome because of the way they work. If you zoom out alot on a raster you will draw the raster with low quality (lower resolution) because you can't see the details anyways. That way you have a smaller raster with smaller pixel density, consiquently smaller size. But if you zoom in then the quality of the raster increases. That way you dont always display the raster at its full resolution but on the needed one, which is perfect for a server. You can even speed things up by increasing the compression level. You can find a better explanation why here: Handling Many Raster Files in QGIS?

Another option are tiles, which would cut your raster layer into smaller pngs for example. That way when you zoom in you display a small tile of that raster and not the small part of your huge raster. http://gis-lab.info/qa/qtiles-eng.html

For the example of publishing large data sets I can't really understand what you're trying to acquire. The web client displays your project, so you should publish your large data sets into your project and then create pyramids in that project. You can create pyramids like this: http://www.northrivergeographic.com/archives/pyramid-layers-qgis-arcgis

  • pyramids helped speed things up. My trouble is primarily down to the fact that I live and work in countries with very low bandwidth. Now experimenting with server parameters – washways May 8 '15 at 17:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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