Ok, I tried that too and reproduced the crash. Overlaying maps that are just loaded on-the-fly are not intended to be overlayed by a vector map. Thus I never tried/tested it :) I will have a look into that and either fix it or prevent QLGT from doing the overlay giving a hint via message box. What ever is the best solution.
Oliver > Hi, another issue I'm investigating is the fact that, using QLGT 1.1.2 on > 32 bit Ubuntu Linux, the program sistematically crashes after eating all of > the system's memory, after activating a Garmin vector map overlay on top of > an existing raster map being shown. > > I have tried always when the same raster background map, and with up to > three different Gamin vector maps (Spain's Topohispania 2.00, > openmtbmaps_spain dated 20110526, and a custom made contouline map for > Spain). The raster background map (aerial image), which covers all of Spain, > is a remote WMS server with the following definition (trimmed): > > <GDAL_WMS> > <Service name="WMS"> > <Version>1.1.1</Version> > <ServerUrl>http://www.idee.es/wms/PNOA/PNOA?</ServerUrl> > <SRS>EPSG:4326</SRS> > <ImageFormat>image/jpeg</ImageFormat> > <Layers>pnoa</Layers> > </Service> > <DataWindow> > <UpperLeftX>-18.162115973099013</UpperLeftX> > <UpperLeftY>45.28628628820378</UpperLeftY> > <LowerRightX>6.289256402294638</LowerRightX> > <LowerRightY>21.899217861706028</LowerRightY> > <SizeX>16777216</SizeX> > <SizeY>16777216</SizeY> > </DataWindow> > <BlockSizeX>512</BlockSizeX> > <BlockSizeY>512</BlockSizeY> > </GDAL_WMS> > > To reproduce the problem, I open a saved track, and place the viewport at a > well known place. Next, I load the map (File -> Load Map -> wms_pnoa.xml), > and then I try to overlay any of the mentioned maps over the raster one, > single clicking the M next to the map name. At this moment, QLGT starts > eating memory like crazy, until it crashes due to failling allocations: > terminate called after throwing an instance of 'std::bad_alloc' > what(): std::bad_alloc > > > But, if instead of using the WMS from a .xml file, you include it in a > .qmap definition, I have yet to reproduce the above problem. I have created > the following .qmap, and everything works as expected: > > [description] > bottomright=N21\xb0 53.953 E006\xb0 17.355 > topleft=N45\xb0 17.177 W018\xb0 09.727 > width=1910879.05609401 > height=2594119.77034764 > comment=PNOA a todos niveles de zoom > > [home] > center=N40 47.460 W004 00.430 > zoom=8 > > [main] > levels=1 > quadraticZoom=false > > [level1] > files=frmt_wms_spain_pnoa.xml| > zoomLevelMin=1 > zoomLevelMax=1024 > > > So, it seems the problem has more to do with the way QLGT deals with the > raster map definition than with the Garmin vector map itself. I have tried > to debug the issue, but although there seems to be a neverending loop > somewhere, I have not found the reason why it happens. > > I'll try to find out, but any help would be appreciated. If you hace a > suspect and would like me to do some tests, please ask. > > Thank you. > > > > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Discover what all the cheering's about. > Get your free trial download today. > http://p.sf.net/sfu/quest-dev2dev2 > > > > _______________________________________________ > Qlandkartegt-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ Qlandkartegt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
