<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi Juliana,</p>
<p>Not sure if you figured it out already. But smaller resolution means better quality and larger file sizes. A resolution of 0.05 degrees means that each pixel is 0.05 degrees in width and height. Gradually make this value smaller until you are satisfied and still works. At some point the WMS may refuse to server or your file will get too big.</p>
<p>About projection: it is generally not advised to work with EPSG:4326 projection. Depending on the area you work with, I would switch to a meter based projection, such as UTM zones.</p>
<p>Greetings,</p>
<p>Andreas</p>
<p>On 2016-11-07 22:33, Juliana Mori wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">Yes, I did set a resolution as you explained:<br /><br /><img style="margin-right: 0px;" src="cid:14786724965822c07032a3b487222280@carto.net" alt="Imagem inline 1" width="310" height="266" />
<div class="gmail_extra"><br />
<div class="gmail_quote"> </div>
<div class="gmail_quote">I could finally get a file but the resolution is too poor (all pixelized)> I tried with none compression but still not good. I guess the horizontal and vertical resolutions are too low, but don´t really understand the parameter to be sure what would be a good value. Any sugestions?</div>
<div class="gmail_quote"> </div>
<div class="gmail_quote">2016-11-07 19:27 GMT-02:00 Andreas Neumann <span><<a href="mailto:a.neumann@carto.net">a.neumann@carto.net</a>></span>:<br />
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
<div>
<p>So - have you tried setting a resolution and extent? The resolution input fields need to have values. Empty fields don't work. And no - QGIS can't autodetect it. It does not know the native resolution of WMS services.<span class="gmail-HOEnZb"><span style="color: #888888;"><br /></span></span></p>
<p>Andreas</p>
<div>
<div class="gmail-h5"><br />
<div class="gmail-m_7266711879721649913moz-cite-prefix">Am 07.11.2016 um 22:23 schrieb Juliana Mori:</div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div dir="ltr">sorry, I hit enter before finishing the email... Again:<br /><br /><span style="font-size: 12.8px;">Hi Andreas,</span><br style="font-size: 12.8px;" /><br style="font-size: 12.8px;" /><span style="font-size: 12.8px;">for sure it would be much better to use the webservice directly but I´m already investigating with CARTO and it seems there´s no WMS support - if I have any update on this, I´ll share with you.</span><br style="font-size: 12.8px;" /><br style="font-size: 12.8px;" /><span style="font-size: 12.8px;">EPSG:4326 would be perfect for me, even though I know the original file is in Magna Sirgas (EPSG:4686). So, if I understood right, I need to specify a resolution in decimal degrees, right?<br /></span><br /> I´m saving a raster image with only 3 color values (assigned by its column "dn" which indicates if the pixels correspond to forest, no forest or no information). Sorry, I don´t know to say if it´s orthoimage.<br /> I´ve already polygonized the other tiff files I had from this series (but were not from WMS) and the results were meaningful, probably because there´re only this 3 colors.  <br /><br /><br /></div>
<div class="gmail_extra"><br />
<div class="gmail_quote">2016-11-07 19:18 GMT-02:00 Juliana Mori <span><<a href="mailto:julmori@gmail.com">julmori@gmail.com</a>></span>:<br />
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
<div dir="ltr">Hi Andreas,<br /><br /> for sure it would be much better to use the webservice directly but I´m already investigating with CARTO and it seems there´s no WMS support - if I have any update on this, I´ll share with you.<br /><br /> EPSG:4326 would be perfect for me, even though I know the original file is in Magna Sirgas (EPSG:4686). <br /><br /><br /></div>
<div class="gmail-m_7266711879721649913HOEnZb">
<div class="gmail-m_7266711879721649913h5">
<div class="gmail_extra"><br />
<div class="gmail_quote">2016-11-07 19:15 GMT-02:00 Andreas Neumann <span><<a href="mailto:a.neumann@carto.net">a.neumann@carto.net</a>></span>:<br />
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
<div>
<p>Hi Juliana,</p>
<p>First, I would investigate with Carto, if you really cannot embed a WMS. It would be much better to use the webservice directly rather than downloading and uploading and then end up with an outdated image.</p>
<p>If that does not work, you need to set a meaningful resolution. As we can see in your screenshot the resolution text input fields are empty. Also check if the projection is correct. Do you really want to save in EPSG:4326 or rather in a meter based system?</p>
<p>What kind of data are you saving? Orthoimages or maps with few colors or black and white? If it is orthoimages, I would use JPEG compression in the Geotiff, otherwise probably deflate/LZW.</p>
<p>Then you have to find a meaningful resolution. If you really want to save in EPSG:4326, you have to specify a resolution in decimal degrees. Try with larger values first, such as 0.05 and then, if it is too coarse go to smaller values.</p>
<p>About polygonizing raster to vector: this really depends on the content - and I kind of doubt it if you really get meaningful results. Maybe it works with few colors and homogeneous areas. It certainly would not work well for aerial images.</p>
<span><span> Hope it helps,<br /> Andreas<br /><br /></span></span>
<div class="gmail-m_7266711879721649913m_-2942050913989496598m_8259830289514024908moz-cite-prefix">Am 07.11.2016 um 22:05 schrieb Juliana Mori:</div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div dir="ltr"><span><span>Hi Andreas,<br /><br /> thanks for your reply.<br /><br /> I chose layer extent for extensions and current layer for resolution but still doesn´t work. <br /><br /><br />  </span></span>
<div> </div>
<div>
<div class="gmail-m_7266711879721649913m_-2942050913989496598h5">
<div>Should I do this in a different way?<br /><br /> About the bigger question, no, CARTO doesn´t allow uploading geotiffs. What I´ve done so far is polygonizing the rasters in QGis and uploading the converted shapefile to CARTO. As you said WMS can´t be converted into shape, I´m not sure this is going to work at all... won´t I be able to polygonize a raster downloaded from a WMS server?<br /><br /> All the best, Juliana.<br />
<p style="font-size: 12.8px;"> </p>
<br /><br /></div>
</div>
</div>
</div>
<div>
<div class="gmail-m_7266711879721649913m_-2942050913989496598h5">
<div class="gmail_extra"><br />
<div class="gmail_quote">2016-11-07 18:44 GMT-02:00 Andreas Neumann <span><<a href="mailto:a.neumann@carto.net">a.neumann@carto.net</a>></span>:<br />
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
<div>
<p>Hi Juliana,</p>
<p>"Save AS" as a WMS should work fine - but you need to specify a useful extent and resolution (in map units of your projection). Otherwise it probably fails.</p>
<p>I just tested it and it works fine.</p>
<p>The bigger question is: will CARTO allow to upload larger Geotiff files? Did you check that?</p>
<p>Note that WMS are always raster. You can't convert it into a shp file.</p>
<p>Andreas</p>
<div>
<div class="gmail-m_7266711879721649913m_-2942050913989496598m_8259830289514024908h5"><br />
<div class="gmail-m_7266711879721649913m_-2942050913989496598m_8259830289514024908m_-2312473769754825031moz-cite-prefix">Am 07.11.2016 um 21:27 schrieb Juliana Mori:</div>
</div>
</div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div>
<div class="gmail-m_7266711879721649913m_-2942050913989496598m_8259830289514024908h5">
<div dir="ltr">Hello,<br /><br /> I have loaded a wms server to QGis, which is a raster format. As I need to use this in an external aplication (CARTO) which does not support wms, I´m trying to export the server loaded into QGIS through "save as" funcionality. But it´s not working.<br /><br /> Do you know how I can export the wms loaded to a file (raster or shp)?<br /><br /> Thanks a lot, Juliana.
<div> </div>
<div> </div>
<div>ps:: I´m working with QGis Essen, 2.14.3<br clear="all" />
<div> </div>
-- <br />
<div class="gmail-m_7266711879721649913m_-2942050913989496598m_8259830289514024908m_-2312473769754825031gmail_signature">
<div dir="ltr">
<div>
<div style="line-height: 17px; font-size: 10pt; text-indent: 0px;"><span style="font-family: tahoma; text-indent: 0px;"><strong style="line-height: 17px; font-weight: bold; text-indent: 0px;">Juliana Mori</strong></span></div>
<div style="line-height: 17px; font-family: tahoma; font-size: 10pt; text-indent: 0px;">
<div style="text-indent: 0px; line-height: 17px;"><a href="http://www.julianamori.com">www.julianamori.com</a></div>
<div style="text-indent: 0px; line-height: 17px;"> </div>
</div>
</div>
</div>
</div>
</div>
</div>
<br /><fieldset class="gmail-m_7266711879721649913m_-2942050913989496598m_8259830289514024908m_-2312473769754825031mimeAttachmentHeader"></fieldset></div>
</div>
<pre>______________________________<wbr />_________________
Qgis-user mailing list
<a class="gmail-m_7266711879721649913m_-2942050913989496598m_8259830289514024908m_-2312473769754825031moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="gmail-m_7266711879721649913m_-2942050913989496598m_8259830289514024908m_-2312473769754825031moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman<wbr />/listinfo/qgis-user</a>
Unsubscribe: <a class="gmail-m_7266711879721649913m_-2942050913989496598m_8259830289514024908m_-2312473769754825031moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman<wbr />/listinfo/qgis-user</a></pre>
</blockquote>
</div>
______________________________<wbr />_________________ Qgis-user mailing list <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman<wbr />/listinfo/qgis-user</a> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman<wbr />/listinfo/qgis-user</a></blockquote>
</div>
<div> </div>
--
<div class="gmail-m_7266711879721649913m_-2942050913989496598m_8259830289514024908gmail_signature">
<div dir="ltr">
<div>
<div style="line-height: 17px; font-size: 10pt; text-indent: 0px;"><span style="font-family: tahoma; text-indent: 0px;"><strong style="line-height: 17px; font-weight: bold; text-indent: 0px;">Juliana Mori</strong></span></div>
<div style="line-height: 17px; font-family: tahoma; font-size: 10pt; text-indent: 0px;">
<div style="text-indent: 0px; line-height: 17px;"><a href="http://www.julianamori.com">www.julianamori.com</a></div>
<div style="text-indent: 0px; line-height: 17px;"><a href="tel:%2B55%2011%20999653145">+55 11 999653145</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
<div> </div>
--
<div class="gmail-m_7266711879721649913m_-2942050913989496598gmail_signature">
<div dir="ltr">
<div>
<div style="line-height: 17px; font-size: 10pt; text-indent: 0px;"><span style="font-family: tahoma; text-indent: 0px;"><strong style="line-height: 17px; font-weight: bold; text-indent: 0px;">Juliana Mori</strong></span></div>
<div style="line-height: 17px; font-family: tahoma; font-size: 10pt; text-indent: 0px;">
<div style="text-indent: 0px; line-height: 17px;"><a href="http://www.julianamori.com">www.julianamori.com</a></div>
<div style="text-indent: 0px; line-height: 17px;"><a href="tel:%2B55%2011%20999653145">+55 11 999653145</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<div> </div>
--
<div class="gmail-m_7266711879721649913gmail_signature">
<div dir="ltr">
<div>
<div style="line-height: 17px; font-size: 10pt; text-indent: 0px;"><span style="font-family: tahoma; text-indent: 0px;"><strong style="line-height: 17px; font-weight: bold; text-indent: 0px;">Juliana Mori</strong></span></div>
<div style="line-height: 17px; font-family: tahoma; font-size: 10pt; text-indent: 0px;">
<div style="text-indent: 0px; line-height: 17px;"><a href="http://www.julianamori.com">www.julianamori.com</a></div>
<div style="text-indent: 0px; line-height: 17px;"><a href="tel:%2B55%2011%20999653145">+55 11 999653145</a></div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br /><br clear="all" />
<div> </div>
-- <br />
<div class="gmail_signature">
<div dir="ltr">
<div>
<div style="line-height: 17px; font-size: 10pt; text-indent: 0px;"><span style="font-family: tahoma; text-indent: 0px;"><strong style="line-height: 17px; font-weight: bold; text-indent: 0px;">Juliana Mori</strong></span></div>
<div style="line-height: 17px; font-family: tahoma; font-size: 10pt; text-indent: 0px;">
<div style="text-indent: 0px; line-height: 17px;"><a href="http://www.julianamori.com">www.julianamori.com</a></div>
<div style="text-indent: 0px; line-height: 17px;">+55 11 999653145</div>
<div> </div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<p> </p>
<div> </div>
</body></html>