Hi Markus, thanks for the patches. I committed them into the repo.
It would be a bit easier if you attach the patches to the mail instead of copying them into the mail. Also keep in mind that QLandkarte GT is a lame duck. QMapShack is the replacement. Oliver Am 09.07.2015 um 01:43 schrieb Markus Heidelberg: > According to the robustness principle. > > The OpenStreetMap Notes API currently sends malformed files, example: > http://api.openstreetmap.org/api/0.6/notes.gpx?bbox=-0.65094,51.312159,0.374908,51.669148 > --- > src/CGpx.cpp | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/CGpx.cpp b/src/CGpx.cpp > index 34b021d..86cae0b 100644 > --- a/src/CGpx.cpp > +++ b/src/CGpx.cpp > @@ -219,7 +219,7 @@ void CGpx::load(const QString& filename) > } > > if (!docElem.hasAttribute("creator")) > - throw tr("GPX schema violation: no \"creator\" attribute."); > + qWarning() << tr("GPX schema violation: no \"creator\" attribute."); > > QString creator = docElem.attribute("creator"); > if (creator.startsWith("QLandkarte")) ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Qlandkartegt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
