Re: [mapguide-users] QueryMapFeatures throws OSGeo.MapGuide.MgDbException

2016-10-18 Thread Hans Milling
As a side note. Using HtppConnection instead of LocalNative, the max features -1 can be used with no errors. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/QueryMapFeatures-throws-OSGeo-MapGuide-MgDbException-tp5291061p5291239.html Sent from the MapGuide Users mailing list

Re: [mapguide-users] QueryMapFeatures throws OSGeo.MapGuide.MgDbException

2016-10-17 Thread Hans Milling
Hi Jackie I am selecting from a small rectangle on the map. Setting the max results to 100 works, even though it only returns 6 features. I guess the -1 makes some buffer run full. Thanks. Best regards Hans Milling... -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Quer

Re: [mapguide-users] QueryMapFeatures throws OSGeo.MapGuide.MgDbException

2016-10-17 Thread Jackie Ng
I find that DB_LOG_BUFFER_FULL is generally relating to persisting large selection XML payloads. And if I'm not mistaken from your code sample, it appears you're trying to select everything there is (no filter geometry, maxfeatures = -1)? - Jackie -- View this message in context: http://osgeo

[mapguide-users] QueryMapFeatures throws OSGeo.MapGuide.MgDbException

2016-10-17 Thread Hans Milling
Hi I am using MaestroAPI 6 and MapGuide 3.1. I am trying to query a map using the QueryMapFeatures function. I create the runtime map using the CreateMap function and later query the map. I call the query this way: The last lines fails with: Exception thrown: 'OSGeo.MapGuide.MgDbException' in O