QGIS extract QTiles beyond layer extentQtiles on QGIS + QGIS ServerQtiles won't work with Range ScaleQGIS QTiles / QMetaTiles poor image qualityQTiles generating blank tiles on QGISQGIS canvas refresh & rendering control from plugin?QGIS Snow Cover extent extractQTiles PNG artefactsAdd tiles created with Qtiles as a layer into QgisQGIS extract average attribute value from layer based on vectorCadTools plugin functionality in QGIS 3 beyond Advanced Digitising Panel?
Is it unprofessional to ask if a job posting on GlassDoor is real?
How can I make a cone from a cube and view the cube with different angles?
How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?
Languages that we cannot (dis)prove to be Context-Free
Have astronauts in space suits ever taken selfies? If so, how?
What is the word for reserving something for yourself before others do?
Either or Neither in sentence with another negative
Why, historically, did Gödel think CH was false?
Fencing style for blades that can attack from a distance
Modeling an IP Address
Can I ask the recruiters in my resume to put the reason why I am rejected?
Schoenfled Residua test shows proportionality hazard assumptions holds but Kaplan-Meier plots intersect
Why doesn't H₄O²⁺ exist?
Which models of the Boeing 737 are still in production?
Did Shadowfax go to Valinor?
Test whether all array elements are factors of a number
What is the offset in a seaplane's hull?
Unknown notation: What do three bars mean?
Replacing matching entries in one column of a file by another column from a different file
a relationship between local compactness and closure
Is it possible to do 50 km distance without any previous training?
Why are electrically insulating heatsinks so rare? Is it just cost?
Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?
Compress a signal by storing signal diff instead of actual samples - is there such a thing?
QGIS extract QTiles beyond layer extent
Qtiles on QGIS + QGIS ServerQtiles won't work with Range ScaleQGIS QTiles / QMetaTiles poor image qualityQTiles generating blank tiles on QGISQGIS canvas refresh & rendering control from plugin?QGIS Snow Cover extent extractQTiles PNG artefactsAdd tiles created with Qtiles as a layer into QgisQGIS extract average attribute value from layer based on vectorCadTools plugin functionality in QGIS 3 beyond Advanced Digitising Panel?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm trying to export a layer via QTiles, gotten from the Data Source Manager and connecting to (USGSHydroCached).
I have QTiles set to zoom levels 0-20 and Render tiles outside of layers extent checked (basemap goes up to 20). For some reason, the hydro layer only shows up to zoom level 17 (as per Leaflet). At zoom levels 18,19,20 the layer disappears.
QTiles is generating folders and files up to zoom level 20 (assuming this is the extent checkbox).
Is there a way to have it render the tile beyond that zoom level (poor resolution is fine)?
qgis qgis-plugins qgis-3 tiles
New contributor
Antoine Zambelli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I'm trying to export a layer via QTiles, gotten from the Data Source Manager and connecting to (USGSHydroCached).
I have QTiles set to zoom levels 0-20 and Render tiles outside of layers extent checked (basemap goes up to 20). For some reason, the hydro layer only shows up to zoom level 17 (as per Leaflet). At zoom levels 18,19,20 the layer disappears.
QTiles is generating folders and files up to zoom level 20 (assuming this is the extent checkbox).
Is there a way to have it render the tile beyond that zoom level (poor resolution is fine)?
qgis qgis-plugins qgis-3 tiles
New contributor
Antoine Zambelli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Is the Leafletmaxzoomproperty > 17 ? stackoverflow.com/questions/38126343/…
– Richard Law
yesterday
Yeah it displays other layers to 20 without issue (it's set to 20).
– Antoine Zambelli
yesterday
add a comment |
I'm trying to export a layer via QTiles, gotten from the Data Source Manager and connecting to (USGSHydroCached).
I have QTiles set to zoom levels 0-20 and Render tiles outside of layers extent checked (basemap goes up to 20). For some reason, the hydro layer only shows up to zoom level 17 (as per Leaflet). At zoom levels 18,19,20 the layer disappears.
QTiles is generating folders and files up to zoom level 20 (assuming this is the extent checkbox).
Is there a way to have it render the tile beyond that zoom level (poor resolution is fine)?
qgis qgis-plugins qgis-3 tiles
New contributor
Antoine Zambelli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I'm trying to export a layer via QTiles, gotten from the Data Source Manager and connecting to (USGSHydroCached).
I have QTiles set to zoom levels 0-20 and Render tiles outside of layers extent checked (basemap goes up to 20). For some reason, the hydro layer only shows up to zoom level 17 (as per Leaflet). At zoom levels 18,19,20 the layer disappears.
QTiles is generating folders and files up to zoom level 20 (assuming this is the extent checkbox).
Is there a way to have it render the tile beyond that zoom level (poor resolution is fine)?
qgis qgis-plugins qgis-3 tiles
qgis qgis-plugins qgis-3 tiles
New contributor
Antoine Zambelli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Antoine Zambelli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Antoine Zambelli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked Apr 2 at 20:22
Antoine ZambelliAntoine Zambelli
186
186
New contributor
Antoine Zambelli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Antoine Zambelli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Antoine Zambelli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Is the Leafletmaxzoomproperty > 17 ? stackoverflow.com/questions/38126343/…
– Richard Law
yesterday
Yeah it displays other layers to 20 without issue (it's set to 20).
– Antoine Zambelli
yesterday
add a comment |
Is the Leafletmaxzoomproperty > 17 ? stackoverflow.com/questions/38126343/…
– Richard Law
yesterday
Yeah it displays other layers to 20 without issue (it's set to 20).
– Antoine Zambelli
yesterday
Is the Leaflet
maxzoom property > 17 ? stackoverflow.com/questions/38126343/…– Richard Law
yesterday
Is the Leaflet
maxzoom property > 17 ? stackoverflow.com/questions/38126343/…– Richard Law
yesterday
Yeah it displays other layers to 20 without issue (it's set to 20).
– Antoine Zambelli
yesterday
Yeah it displays other layers to 20 without issue (it's set to 20).
– Antoine Zambelli
yesterday
add a comment |
2 Answers
2
active
oldest
votes
The layer info at the link you provide indicates the MapServer should provide tiles up to level 19, not 20 as you'd like. But that shouldn't create problems at level 17!
However, I've played around with zooming in on the layer the QGis map window and it shows up at scales up to 1:6019, but not more detailed than that. So there's something funny with the tiles being returned by the server at levels 17+. QTiles is a red herring here, it's just that's what's asking for the layer at detailed scales.
Since it's actually a simple line layer, it would be much better if you could find a vector (rather than tile/raster) source for it. I tried a trick that often works, to try to connect to it as an ArcGisFeatureServer rather than MapServer, replacing MapServer with FeatureServer in the URI, but that didn't work. Your ideal solution would be to hunt and see a FeatureServer or WFS source for it.
Failing that, you can get a jagged version by exporting it in the region of interest at a scale that works, and then loading that into your map instead. To do that, load it in, zoom into a generous area well beyond your area of interest, right click on the layer in the layer tree and choose Export / Save as...
Then do the following; note VRT is off, click on Map Canvas Extent to set the region that will be exported, and the resolution 2.388657133974685 is chosen since that's the resolution of a Level 16 tile that works. Then use your saved .tif rather than the MapServer version.

If you want to get fancy, keep both layers, but make them visible at different scales via layer properties.
And/or vectorize the raster you saved, and then style it to your heart's content (color, line thickness etc) that will then render properly at any scale level (just of course with the level of underlying detail you exported, no more no less).
At usgs.gov/news/new-hydro-map-service-available found "This new cache supports visualization zooming down to 1:9,000 scale (Level 17 in Google Maps tile levels)." So Level 17 is the most detailed available and you're being thrown by the faulty info provided by the MapServer that up to Level 20 is available.
– Houska
yesterday
Thanks for digging into this! I was, in fact, being thrown off by QTiles and the map docs. Gotta wait a few hours before I can offer the bounty.
– Antoine Zambelli
yesterday
add a comment |
As @Houska has noted the map service that you are using only provides tiles down to level 17. However, the data supplied in the map service is the USGS National Hydrography Dataset which is freely available to download in vector form, so if you want to generate tiles at any zoom level, this can be done by using a styled version of the vector NHD data.
I'll take a look at styled vector data. Too new to this stuff to figure out the stylesheet stuff right now but I might 'upgrade' to using that in the future.
– Antoine Zambelli
yesterday
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "79"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Antoine Zambelli is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f317552%2fqgis-extract-qtiles-beyond-layer-extent%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The layer info at the link you provide indicates the MapServer should provide tiles up to level 19, not 20 as you'd like. But that shouldn't create problems at level 17!
However, I've played around with zooming in on the layer the QGis map window and it shows up at scales up to 1:6019, but not more detailed than that. So there's something funny with the tiles being returned by the server at levels 17+. QTiles is a red herring here, it's just that's what's asking for the layer at detailed scales.
Since it's actually a simple line layer, it would be much better if you could find a vector (rather than tile/raster) source for it. I tried a trick that often works, to try to connect to it as an ArcGisFeatureServer rather than MapServer, replacing MapServer with FeatureServer in the URI, but that didn't work. Your ideal solution would be to hunt and see a FeatureServer or WFS source for it.
Failing that, you can get a jagged version by exporting it in the region of interest at a scale that works, and then loading that into your map instead. To do that, load it in, zoom into a generous area well beyond your area of interest, right click on the layer in the layer tree and choose Export / Save as...
Then do the following; note VRT is off, click on Map Canvas Extent to set the region that will be exported, and the resolution 2.388657133974685 is chosen since that's the resolution of a Level 16 tile that works. Then use your saved .tif rather than the MapServer version.

If you want to get fancy, keep both layers, but make them visible at different scales via layer properties.
And/or vectorize the raster you saved, and then style it to your heart's content (color, line thickness etc) that will then render properly at any scale level (just of course with the level of underlying detail you exported, no more no less).
At usgs.gov/news/new-hydro-map-service-available found "This new cache supports visualization zooming down to 1:9,000 scale (Level 17 in Google Maps tile levels)." So Level 17 is the most detailed available and you're being thrown by the faulty info provided by the MapServer that up to Level 20 is available.
– Houska
yesterday
Thanks for digging into this! I was, in fact, being thrown off by QTiles and the map docs. Gotta wait a few hours before I can offer the bounty.
– Antoine Zambelli
yesterday
add a comment |
The layer info at the link you provide indicates the MapServer should provide tiles up to level 19, not 20 as you'd like. But that shouldn't create problems at level 17!
However, I've played around with zooming in on the layer the QGis map window and it shows up at scales up to 1:6019, but not more detailed than that. So there's something funny with the tiles being returned by the server at levels 17+. QTiles is a red herring here, it's just that's what's asking for the layer at detailed scales.
Since it's actually a simple line layer, it would be much better if you could find a vector (rather than tile/raster) source for it. I tried a trick that often works, to try to connect to it as an ArcGisFeatureServer rather than MapServer, replacing MapServer with FeatureServer in the URI, but that didn't work. Your ideal solution would be to hunt and see a FeatureServer or WFS source for it.
Failing that, you can get a jagged version by exporting it in the region of interest at a scale that works, and then loading that into your map instead. To do that, load it in, zoom into a generous area well beyond your area of interest, right click on the layer in the layer tree and choose Export / Save as...
Then do the following; note VRT is off, click on Map Canvas Extent to set the region that will be exported, and the resolution 2.388657133974685 is chosen since that's the resolution of a Level 16 tile that works. Then use your saved .tif rather than the MapServer version.

If you want to get fancy, keep both layers, but make them visible at different scales via layer properties.
And/or vectorize the raster you saved, and then style it to your heart's content (color, line thickness etc) that will then render properly at any scale level (just of course with the level of underlying detail you exported, no more no less).
At usgs.gov/news/new-hydro-map-service-available found "This new cache supports visualization zooming down to 1:9,000 scale (Level 17 in Google Maps tile levels)." So Level 17 is the most detailed available and you're being thrown by the faulty info provided by the MapServer that up to Level 20 is available.
– Houska
yesterday
Thanks for digging into this! I was, in fact, being thrown off by QTiles and the map docs. Gotta wait a few hours before I can offer the bounty.
– Antoine Zambelli
yesterday
add a comment |
The layer info at the link you provide indicates the MapServer should provide tiles up to level 19, not 20 as you'd like. But that shouldn't create problems at level 17!
However, I've played around with zooming in on the layer the QGis map window and it shows up at scales up to 1:6019, but not more detailed than that. So there's something funny with the tiles being returned by the server at levels 17+. QTiles is a red herring here, it's just that's what's asking for the layer at detailed scales.
Since it's actually a simple line layer, it would be much better if you could find a vector (rather than tile/raster) source for it. I tried a trick that often works, to try to connect to it as an ArcGisFeatureServer rather than MapServer, replacing MapServer with FeatureServer in the URI, but that didn't work. Your ideal solution would be to hunt and see a FeatureServer or WFS source for it.
Failing that, you can get a jagged version by exporting it in the region of interest at a scale that works, and then loading that into your map instead. To do that, load it in, zoom into a generous area well beyond your area of interest, right click on the layer in the layer tree and choose Export / Save as...
Then do the following; note VRT is off, click on Map Canvas Extent to set the region that will be exported, and the resolution 2.388657133974685 is chosen since that's the resolution of a Level 16 tile that works. Then use your saved .tif rather than the MapServer version.

If you want to get fancy, keep both layers, but make them visible at different scales via layer properties.
And/or vectorize the raster you saved, and then style it to your heart's content (color, line thickness etc) that will then render properly at any scale level (just of course with the level of underlying detail you exported, no more no less).
The layer info at the link you provide indicates the MapServer should provide tiles up to level 19, not 20 as you'd like. But that shouldn't create problems at level 17!
However, I've played around with zooming in on the layer the QGis map window and it shows up at scales up to 1:6019, but not more detailed than that. So there's something funny with the tiles being returned by the server at levels 17+. QTiles is a red herring here, it's just that's what's asking for the layer at detailed scales.
Since it's actually a simple line layer, it would be much better if you could find a vector (rather than tile/raster) source for it. I tried a trick that often works, to try to connect to it as an ArcGisFeatureServer rather than MapServer, replacing MapServer with FeatureServer in the URI, but that didn't work. Your ideal solution would be to hunt and see a FeatureServer or WFS source for it.
Failing that, you can get a jagged version by exporting it in the region of interest at a scale that works, and then loading that into your map instead. To do that, load it in, zoom into a generous area well beyond your area of interest, right click on the layer in the layer tree and choose Export / Save as...
Then do the following; note VRT is off, click on Map Canvas Extent to set the region that will be exported, and the resolution 2.388657133974685 is chosen since that's the resolution of a Level 16 tile that works. Then use your saved .tif rather than the MapServer version.

If you want to get fancy, keep both layers, but make them visible at different scales via layer properties.
And/or vectorize the raster you saved, and then style it to your heart's content (color, line thickness etc) that will then render properly at any scale level (just of course with the level of underlying detail you exported, no more no less).
answered yesterday
HouskaHouska
6807
6807
At usgs.gov/news/new-hydro-map-service-available found "This new cache supports visualization zooming down to 1:9,000 scale (Level 17 in Google Maps tile levels)." So Level 17 is the most detailed available and you're being thrown by the faulty info provided by the MapServer that up to Level 20 is available.
– Houska
yesterday
Thanks for digging into this! I was, in fact, being thrown off by QTiles and the map docs. Gotta wait a few hours before I can offer the bounty.
– Antoine Zambelli
yesterday
add a comment |
At usgs.gov/news/new-hydro-map-service-available found "This new cache supports visualization zooming down to 1:9,000 scale (Level 17 in Google Maps tile levels)." So Level 17 is the most detailed available and you're being thrown by the faulty info provided by the MapServer that up to Level 20 is available.
– Houska
yesterday
Thanks for digging into this! I was, in fact, being thrown off by QTiles and the map docs. Gotta wait a few hours before I can offer the bounty.
– Antoine Zambelli
yesterday
At usgs.gov/news/new-hydro-map-service-available found "This new cache supports visualization zooming down to 1:9,000 scale (Level 17 in Google Maps tile levels)." So Level 17 is the most detailed available and you're being thrown by the faulty info provided by the MapServer that up to Level 20 is available.
– Houska
yesterday
At usgs.gov/news/new-hydro-map-service-available found "This new cache supports visualization zooming down to 1:9,000 scale (Level 17 in Google Maps tile levels)." So Level 17 is the most detailed available and you're being thrown by the faulty info provided by the MapServer that up to Level 20 is available.
– Houska
yesterday
Thanks for digging into this! I was, in fact, being thrown off by QTiles and the map docs. Gotta wait a few hours before I can offer the bounty.
– Antoine Zambelli
yesterday
Thanks for digging into this! I was, in fact, being thrown off by QTiles and the map docs. Gotta wait a few hours before I can offer the bounty.
– Antoine Zambelli
yesterday
add a comment |
As @Houska has noted the map service that you are using only provides tiles down to level 17. However, the data supplied in the map service is the USGS National Hydrography Dataset which is freely available to download in vector form, so if you want to generate tiles at any zoom level, this can be done by using a styled version of the vector NHD data.
I'll take a look at styled vector data. Too new to this stuff to figure out the stylesheet stuff right now but I might 'upgrade' to using that in the future.
– Antoine Zambelli
yesterday
add a comment |
As @Houska has noted the map service that you are using only provides tiles down to level 17. However, the data supplied in the map service is the USGS National Hydrography Dataset which is freely available to download in vector form, so if you want to generate tiles at any zoom level, this can be done by using a styled version of the vector NHD data.
I'll take a look at styled vector data. Too new to this stuff to figure out the stylesheet stuff right now but I might 'upgrade' to using that in the future.
– Antoine Zambelli
yesterday
add a comment |
As @Houska has noted the map service that you are using only provides tiles down to level 17. However, the data supplied in the map service is the USGS National Hydrography Dataset which is freely available to download in vector form, so if you want to generate tiles at any zoom level, this can be done by using a styled version of the vector NHD data.
As @Houska has noted the map service that you are using only provides tiles down to level 17. However, the data supplied in the map service is the USGS National Hydrography Dataset which is freely available to download in vector form, so if you want to generate tiles at any zoom level, this can be done by using a styled version of the vector NHD data.
answered yesterday
Andy HarfootAndy Harfoot
2,4241427
2,4241427
I'll take a look at styled vector data. Too new to this stuff to figure out the stylesheet stuff right now but I might 'upgrade' to using that in the future.
– Antoine Zambelli
yesterday
add a comment |
I'll take a look at styled vector data. Too new to this stuff to figure out the stylesheet stuff right now but I might 'upgrade' to using that in the future.
– Antoine Zambelli
yesterday
I'll take a look at styled vector data. Too new to this stuff to figure out the stylesheet stuff right now but I might 'upgrade' to using that in the future.
– Antoine Zambelli
yesterday
I'll take a look at styled vector data. Too new to this stuff to figure out the stylesheet stuff right now but I might 'upgrade' to using that in the future.
– Antoine Zambelli
yesterday
add a comment |
Antoine Zambelli is a new contributor. Be nice, and check out our Code of Conduct.
Antoine Zambelli is a new contributor. Be nice, and check out our Code of Conduct.
Antoine Zambelli is a new contributor. Be nice, and check out our Code of Conduct.
Antoine Zambelli is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Geographic Information Systems Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f317552%2fqgis-extract-qtiles-beyond-layer-extent%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Is the Leaflet
maxzoomproperty > 17 ? stackoverflow.com/questions/38126343/…– Richard Law
yesterday
Yeah it displays other layers to 20 without issue (it's set to 20).
– Antoine Zambelli
yesterday