<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 Jeshua,</p>
<p>If your want to use the label positions in an iOS app, it might be more useful to use the PAL label placement algorithm that is used in QGIS to place the labels dynamically in your iOS app?</p>
<p>Not sure if the licence would be compatible though. iOS is quite problematic in combination with OpenSource software.</p>
<p>Andreas</p>
<p>On 2017-07-05 23:41, Jeshua Lacock wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">On Jul 5, 2017, at 2:32 AM, Bernhard Ströbl <<a href="mailto:bernhard.stroebl@jena.de">bernhard.stroebl@jena.de</a>> wrote:<br /> <br /> - I assume you want to have QGIS create label texts for all your data in one go.</blockquote>
<br /> Hi Bernhard,<br /> <br /> That would be ideal.<br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">If that is the case this is a misunderstanding of what labels are (in QGIS): QGIS creates (and places) the labels at run-time for the map extract currently on display. Labels thus are no features of their own (GIS only knows points/lines/polygons) but a way to display GIS features (like e.g. color, outline etc.)</blockquote>
<br /> I was afraid that might be the case. :'(<br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">- This means the labels are valid for this particular map extract in this particular scale. E.g. imagine a lake (= one polygon) that expands on two map extracts, it will be labeled in both => one feature, two labels</blockquote>
<br /> Understood. I was thinking of generating text at say 4 different scales.<br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">- Thus the label text is only within QGIS, export may be possible with dxf-export</blockquote>
<br /> Is it possible to script or automate setting the view extents and exporting?<br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">- IMHO it doesn't make sense to try to use the labels outside of QGIS; what is your intended final result? Which software are you planning to use for creating your final result?</blockquote>
<br /> Initially it will be a custom iOS app (with planned android and possibly desktop computer versions). I might offer printed hard copies too at some point.<br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">- There will be map extracts with "many" labels (city centres) and map extracts with "few" labels (boondocks).</blockquote>
<br /> Yes, that is why I was looking for something that already can deal with crowded text versus re-inventing the wheel.<br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">- QGIS can prevent overlapping labels; in placement you can assign a priority to the labels of this layer (so e.g. rivers are always labeled whereas streets only if not in conflict with rivers)</blockquote>
<br /> Nice.<br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">- The rule based labelling works _within_ a layer; a rule is a logical statement about the feature to be labeled. The logic can be based on the feature's attribute values or geometry (e.g. label only lakes larger than x)</blockquote>
<br /> So essentially, I would want all the text on one layer - so point text doesn't overlap with say road or river text, correct?<br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">- points are vector features, too, so there is no real difference between labelling points, lines or polygons.</blockquote>
<br /> Great.<br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">- Be sure to have read the doc: <a href="http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/vector_properties.html#labels-menu#">http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/vector_properties.html#labels-menu#</a></blockquote>
<br /> Thanks for the link and help!<br /> <br /> <br /> Best,<br /> <br /> Jeshua Lacock<br /> Founder/Engineer<br /> <3DTOPO.com><br /> GlassPrinted.com<br /> <br /> _______________________________________________<br /> Qgis-user mailing list<br /> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br /> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br /> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</blockquote>
<p><br /></p>

</body></html>