[mapguide-users] Unmanaged SHP File Locations

Chris Gountanis cgountanis at mpower-tech.com
Wed May 30 14:31:06 EDT 2007


This is good news. Do you think there will be improvements to unmanaged SHP
before the 1.2 final releases? If you are zooming a layer there is no reason
for it to look through the other 20+ shp/dbf to process right? Is this a
confirmed bug?

Chris


-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Andy Morsell
Sent: Wednesday, May 30, 2007 12:59 PM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Unmanaged SHP File Locations

Yes, enabling connection pooling for shape made a huge (positive)
difference.  Performance is now acceptable.  I'm not sure the slow request
every 10 minutes will be a large issue.  In my case, the slowness was not
noticeable until fetching parcel polygon tooltips (10 seconds for each
tooltip).  But, at a higher zoom factor, other shape files from the same
unmanaged feature source are referenced in the map which is where I imagine
it creates the initial XML config and caches it. 

One thing to note is that the default installation has connection pooling
enabled, but the shape provider is excluded from pooling.  The default line
in serverconfig.ini reads:

DataConnectionPoolExcludedProviders = OSGeo.SDF,OSGeo.SHP

So it must be edited and OSGeo.SHP removed.  Not a huge deal, but maybe it
should be this way by default?


Andy 

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jason Birch
Sent: Wednesday, May 30, 2007 8:16 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Unmanaged SHP File Locations

I'd be interested in knowing whether turning on connection pooling makes a
difference.

If it does, having a single slow request every 10 minutes might not be such
a bitter pill, at least until it's fixed properly.

Does this affect SDF files as well?  I'd imagine that they're different, but
I'm not sure how MapGuide handles multiple SDF files in a single
directory... There's an additional level of complexity there; multiple
classes per schema.

Jason 

-----Original Message-----
From: Chris Gountanis
Subject: RE: [mapguide-users] Unmanaged SHP File Locations

I am also available to test if needed.

-----Original Message-----
From: Tom Fukushima
Subject: RE: [mapguide-users] Unmanaged SHP File Locations

By turning on connection pooling for the SHP provider, the server will cache
the connection so the next time it is accessed, things should be quick.
However, the cached connection gets purged every 10 minutes
(default) or so, so if the connection has been removed from the cache, the
next person to access the resource will still have to wait... hmmm, sounds
like we should still investigate the root problem of the slowness.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users




More information about the mapguide-users mailing list