<div dir="ltr">Hi,<br><br><div><div class="gmail_extra"><div class="gmail_quote">On Thu, Feb 28, 2013 at 4:32 PM, Larry Shaffer <span dir="ltr"><<a href="mailto:larrys@dakotacarto.com" target="_blank">larrys@dakotacarto.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 28, 2013 at 3:48 PM, Martin Dobias <span dir="ltr"><<a href="mailto:wonder.sk@gmail.com" target="_blank">wonder.sk@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Borys<br>
<br>
On Thu, Feb 28, 2013 at 11:36 PM, Borys Jurgiel <<a href="mailto:info@borysjurgiel.pl" target="_blank">info@borysjurgiel.pl</a>> wrote:<br>
> Wow, great!<br>
><br>
> Unfortunately seems it doesn't work with Wheezy's Spatialite 3.0.0. Tomorrow<br>
> I'll try to compile a newer version and test it.<br>
<br>
I have 3.1.0-rc2 on my computer - what's the problem in your installation?<br>
<br>
> Anyway, it would be nice to have it in Debian working out of the box. Maybe<br>
> updating the very outdated internal Spatialite (what is its current status and<br>
> purposes?) would solve the problem?<br>
<br>
I would like to have it working with any reasonable SpatiaLite version<br>
- with more details on the error I will try to fix it.<br></blockquote><div><br></div><div>Awesome to see this updated! Thank you, Martin.<br></div><div><br></div><div>Unfortunately, on Mac with Kyngchaos supporting frameworks, I get the following compile error:<br>

<br>Quantum-GIS/src/analysis/openstreetmap/qgsosmimport.cpp:18:10: fatal error: 'spatialite.h' file not found<br>#include <spatialite.h><br>^<br><br></div><div>Funny thing is, spatialite.h is definitely in the specified include directory. The CMake options I'm using are:<br>

<br></div><div>WITH_INTERNAL_SPATIALITE=FALSE<br>SPATIALITE_INCLUDE_DIR=/Library/Frameworks/SQLite3.framework/Headers<br>SPATIALITE_LIBRARY=/Library/Frameworks/SQLite3.framework<br></div><div><br></div><div>So, not sure what's up. Will investigate more...<br>
</div></div></div></div></div></blockquote><div><br></div>Ok, just had to add the following to Quantum-GIS/src/analysis/CMakeLists.txt:<br><br>INCLUDE_DIRECTORIES(<br>  ...<br>  ${SPATIALITE_INCLUDE_DIR}<br>)<br><br></div>
<div class="gmail_quote">Evidently needed for external spatialite libs, or just on Mac? Should I commit the change?<br><br></div><div class="gmail_quote">Once compiled and launched I get the following error when trying to download data [0], and again if I try to manual enter the extent [1]. The layer is in EPSG:26913 - NAD83 / UTM zone 13N for a fairly small area (15 ha). <br>
</div><div class="gmail_quote"><br>[0] <a href="http://drive.dakotacarto.com/qgis/osm-download-error.png">http://drive.dakotacarto.com/qgis/osm-download-error.png</a><br>[1] <a href="http://drive.dakotacarto.com/qgis/osm-download-error_manual.png">http://drive.dakotacarto.com/qgis/osm-download-error_manual.png</a><br>
<br></div><div class="gmail_quote">Regards,<br><br></div><div class="gmail_quote">Larry<br></div><div class="gmail_quote"><div class="gmail_quote"> <br><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

Martin<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div class="gmail_extra"><br></div></div></div>
</blockquote></div><br></div></div></div>