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 archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

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/QueryMapFeatures-throws-OSGeo-MapGuide-MgDbException-tp5291061p5291185.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

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-org.1560.x6.nabble.com/QueryMapFeatures-throws-OSGeo-MapGuide-MgDbException-tp5291061p5291165.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

[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
OSGeo.MapGuide.MapGuideCommon.dll

The MapGuide server error.log says:
Error: An exception occurred in DB component.
Db::put: DB_LOG_BUFFER_FULL: In-memory log buffer is full

If I validate the map in MapGuide Maestro I get no errors. How can I
troubleshoot what is causing this error?

Best regards
  Hans Milling...



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/QueryMapFeatures-throws-OSGeo-MapGuide-MgDbException-tp5291061.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users