gisapp icon indicating copy to clipboard operation
gisapp copied to clipboard

unable pan whole area

Open scramatte opened this issue 4 years ago • 6 comments

Hello,

I've got qgis project with data across a large area. But in the viewer I'm unable to pan whole area.

Any idea of what occurs here ?

Regards

scramatte avatar Sep 20 '19 17:09 scramatte

What I need to achieve is have a maxExtent and startExtent . When I set my QGIS project extent to current view It looks that set maxExtent.

¿Someone can light me , what I'm doing wrong here ... ?

scramatte avatar Sep 20 '19 21:09 scramatte

Start extent in the viewer is defined from QGIS project properties -> QGIS Server -> WMS Capabilities -> Advertised extent. If this is not set, start extent is defined from extent when you save project. I recommend that you zoom to the whole area, set that extent in QGIS project properties and then test viewer.

uprel avatar Sep 21 '19 07:09 uprel

Hi , this what I've done and it works. But how can I set different startExtent ? May it possible to add such feature in the project itself.

scramatte avatar Sep 21 '19 07:09 scramatte

You always can set different start extent like I described above. If you have problem that you cannot pan outside of start extent you have to check project table in gisapp database and set field restrict_to_start_extent to false.

uprel avatar Sep 21 '19 08:09 uprel

despite of have restrict_to_start_extent set to false in my project, I'm unable to pan whole map. Zoom / Pan are limited.

We can make anydesk/teamviewer session if you want to check what I mean.

scramatte avatar Sep 21 '19 09:09 scramatte

In case if there is no baselayer, your project behaves as start_extent equals max extent. This is issue for now.

uprel avatar Apr 06 '20 07:04 uprel